Searched refs:matches (Results 1 - 25 of 170) sorted by relevance

1234567

/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectMultiword.cpp47 CommandObjectMultiword::GetSubcommandSP (const char *sub_cmd, StringList *matches) argument
56 // An exact match; append the sub_cmd to the 'matches' string list.
57 if (matches)
58 matches->AppendString(sub_cmd);
65 if (matches == NULL)
66 matches = &local_matches;
67 int num_matches = CommandObject::AddNamesMatchingPartialString (m_subcommand_dict, sub_cmd, *matches);
74 sub_cmd = matches->GetStringAtIndex(0);
85 CommandObjectMultiword::GetSubcommandObject (const char *sub_cmd, StringList *matches) argument
87 return GetSubcommandSP(sub_cmd, matches)
132 StringList matches; local
383 GetSubcommandSP(const char *sub_cmd, StringList *matches) argument
392 GetSubcommandObject(const char *sub_cmd, StringList *matches) argument
454 HandleCompletion(Args &input, int &cursor_index, int &cursor_char_position, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
475 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
[all...]
H A DCommandObjectHelp.cpp85 StringList matches; local
86 cmd_obj = m_interpreter.GetCommandObject (command.GetArgumentAtIndex (0), &matches);
92 StringList matches; local
100 matches.Clear();
108 found_cmd = sub_cmd_obj->GetSubcommandObject(sub_command.c_str(), &matches);
111 else if (matches.GetSize() > 1)
122 if (matches.GetSize() >= 2)
126 size_t num_matches = matches.GetSize();
129 s.Printf ("\n\t%s", matches.GetStringAtIndex(match_idx));
163 else if (matches
[all...]
H A DCommandCompletions.cpp62 StringList &matches
84 matches);
99 StringList &matches
109 matches);
121 return matches.GetSize();
130 StringList &matches
139 return matches.GetSize();
144 // partial_name_copy starting from end_ptr with each of the matches. Thus we will preserve
177 return matches.GetSize();
180 // The user name didn't resolve, let's look in the password database for matches
374 Symbols( CommandInterpreter &interpreter, const char *partial_file_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, StringList &matches) argument
405 SettingsNames(CommandInterpreter &interpreter, const char *partial_setting_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, StringList &matches) argument
436 PlatformPluginNames(CommandInterpreter &interpreter, const char *partial_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, lldb_private::StringList &matches) argument
450 ArchitectureNames(CommandInterpreter &interpreter, const char *partial_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, lldb_private::StringList &matches) argument
465 VariablePath(CommandInterpreter &interpreter, const char *partial_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, lldb_private::StringList &matches) argument
[all...]
H A DCommandObjectPlugin.cpp62 StringList &matches)
74 matches);
75 return matches.GetSize();
55 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
/freebsd-10.0-release/lib/libedit/
H A Dfilecomplete.c262 size_t matches; local
264 matches = 0;
266 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) {
268 if (matches + 3 >= match_list_len) {
270 while (matches + 3 >= match_list_len)
281 match_list[++matches] = retstr;
291 for (; which <= matches; which++) {
308 match_list[matches + 1] = (char *) NULL;
329 * 'matches' is list of strings, 'len' is number of strings in 'matches',
333 fn_display_match_list(EditLine *el, char **matches, size_t len, size_t max) argument
393 char **matches; local
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dcompleter.h24 extern char *readline_line_completion_function (const char *text, int matches);
H A Dinterps.c424 char **matches; local
431 matches = (char **) xmalloc (alloced * sizeof (char *));
439 matches[num_matches] =
442 strcpy (matches[num_matches], interp->name);
446 strcpy (matches[num_matches], interp->name + (word - text));
451 strncpy (matches[num_matches], word, text - word);
452 matches[num_matches][text - word] = '\0';
453 strcat (matches[num_matches], interp->name);
461 xfree (matches);
462 matches
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Option/
H A DArgList.cpp28 if (O.matches(Id0) ||
29 (Id1.isValid() && O.matches(Id1)) ||
30 (Id2.isValid() && O.matches(Id2)))
49 if ((*it)->getOption().matches(Id)) {
61 if ((*it)->getOption().matches(Id))
69 if ((*it)->getOption().matches(Id)) {
81 if ((*it)->getOption().matches(Id0) ||
82 (*it)->getOption().matches(Id1)) {
96 if ((*it)->getOption().matches(Id0) ||
97 (*it)->getOption().matches(Id
[all...]
/freebsd-10.0-release/contrib/libreadline/
H A Dcomplete.c90 completing a word would normally display the list of possible matches.
92 It takes three arguments: (char **matches, int num_matches, int max_length)
137 /* If non-zero, non-unique completions always show the list of matches. */
140 /* If non-zero, non-unique completions show the list of matches, unless it
192 /* Pointer to alternative function to create matches.
250 /* If non-zero, then disallow duplicates in the matches. */
253 /* Non-zero means that the results of the matches are to be treated
258 /* Non-zero means that the results of the matches are to be quoted using
267 generated. It is passed a (char**) known as matches in the code below.
269 matching strings. The 1st element (matches[
954 char **matches; local
1199 char *t, **matches, **temp_matches; local
1642 char **matches; local
1796 int matches; local
2120 static char **matches = (char **)0; local
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/TableGen/
H A DStringMatcher.h29 /// not exit this code fragment. If nothing matches, execution falls through.
41 const std::vector<StringPair> &matches, raw_ostream &os)
42 : StrVariableName(strVariableName), Matches(matches), OS(os) {}
40 StringMatcher(StringRef strVariableName, const std::vector<StringPair> &matches, raw_ostream &os) argument
/freebsd-10.0-release/sys/isa/
H A Disahint.c107 int line, matches, unit; local
129 matches = 0;
147 matches++;
154 matches++;
158 if (matches > 0)
162 matches++;
168 matches++;
174 if (matches > 0) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Driver/
H A DArgList.cpp29 if (O.matches(Id0) ||
30 (Id1.isValid() && O.matches(Id1)) ||
31 (Id2.isValid() && O.matches(Id2)))
50 if ((*it)->getOption().matches(Id)) {
62 if ((*it)->getOption().matches(Id))
70 if ((*it)->getOption().matches(Id)) {
82 if ((*it)->getOption().matches(Id0) ||
83 (*it)->getOption().matches(Id1)) {
96 if ((*it)->getOption().matches(Id0) ||
97 (*it)->getOption().matches(Id
[all...]
/freebsd-10.0-release/sys/dev/pci/
H A Dpci_user.c67 static int pci_conf_match(struct pci_match_conf *matches, int num_matches,
102 * structures. The first argument, 'matches', is an array of num_matches
104 * structure that will be compared to every entry in the matches array.
108 pci_conf_match(struct pci_match_conf *matches, int num_matches, argument
113 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0))
120 if (matches[i].flags == PCI_GETCONF_NO_MATCH)
128 if (((matches[i].flags & PCI_GETCONF_MATCH_DOMAIN) != 0)
130 matches[i].pc_sel.pc_domain))
133 if (((matches[i].flags & PCI_GETCONF_MATCH_BUS) != 0)
134 && (match_buf->pc_sel.pc_bus != matches[
263 uint32_t matches; /* match buffer member in struct:pci_conf_io32
281 pci_conf_match_old(struct pci_match_conf_old *matches, int num_matches, struct pci_conf *match_buf) argument
345 pci_conf_match_old32(struct pci_match_conf_old32 *matches, int num_matches, struct pci_conf *match_buf) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionValueArch.cpp94 StringList &matches)
97 matches.Clear();
105 matches);
106 return matches.GetSize();
89 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
H A DOptionValueBoolean.cpp94 StringList &matches)
97 matches.Clear();
122 matches.AppendString(g_autocomplete_entries[i].string);
129 matches.AppendString(g_autocomplete_entries[i].string);
131 return matches.GetSize();
89 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
H A DOptionValueFileSpec.cpp129 StringList &matches)
132 matches.Clear();
140 matches);
141 return matches.GetSize();
124 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
H A DOptionValueUUID.cpp83 StringList &matches)
86 matches.Clear();
114 matches.AppendString(uuid_str.c_str());
121 return matches.GetSize();
78 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
H A DOptionValueEnumeration.cpp139 StringList &matches)
142 matches.Clear();
152 matches.AppendString(name);
159 matches.AppendString(m_enumerations.GetCStringAtIndex(i));
161 return matches.GetSize();
134 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DCommandObjectMultiword.h53 GetSubcommandSP (const char *sub_cmd, StringList *matches = NULL);
56 GetSubcommandObject (const char *sub_cmd, StringList *matches = NULL);
74 StringList &matches);
125 GetSubcommandSP (const char *sub_cmd, StringList *matches = NULL);
128 GetSubcommandObject (const char *sub_cmd, StringList *matches = NULL);
157 StringList &matches);
167 StringList &matches);
H A DCommandCompletions.h32 // it is bound to (in the OptionDefinition table below). Return the total number of matches.
36 int match_start_point, // This is the point in the list of matches that you should start returning elements
37 int max_return_elements, // This is the number of matches requested.
40 lldb_private::StringList &matches); // The array of matches we return.
73 StringList &matches);
85 StringList &matches);
93 StringList &matches);
102 StringList &matches);
111 lldb_private::StringList &matches);
[all...]
/freebsd-10.0-release/contrib/xz/src/liblzma/lz/
H A Dlz_encoder_mf.c18 /// \brief Find matches starting from the current byte
22 lzma_mf_find(lzma_mf *mf, uint32_t *count_ptr, lzma_match *matches) argument
27 const uint32_t count = mf->find(mf, matches);
29 // Length of the longest match; assume that no matches were found
35 // Validate the matches.
37 assert(matches[i].len <= mf->nice_len);
38 assert(matches[i].dist < mf->read_pos);
40 mf_ptr(mf) - matches[i].dist - 2,
41 matches[i].len) == 0);
47 len_best = matches[coun
248 hc_find_func( const uint32_t len_limit, const uint32_t pos, const uint8_t *const cur, uint32_t cur_match, uint32_t depth, uint32_t *const son, const uint32_t cyclic_pos, const uint32_t cyclic_size, lzma_match *matches, uint32_t len_best) argument
306 lzma_mf_hc3_find(lzma_mf *mf, lzma_match *matches) argument
368 lzma_mf_hc4_find(lzma_mf *mf, lzma_match *matches) argument
453 bt_find_func( const uint32_t len_limit, const uint32_t pos, const uint8_t *const cur, uint32_t cur_match, uint32_t depth, uint32_t *const son, const uint32_t cyclic_pos, const uint32_t cyclic_size, lzma_match *matches, uint32_t len_best) argument
594 lzma_mf_bt2_find(lzma_mf *mf, lzma_match *matches) argument
627 lzma_mf_bt3_find(lzma_mf *mf, lzma_match *matches) argument
683 lzma_mf_bt4_find(lzma_mf *mf, lzma_match *matches) argument
[all...]
H A Dlz_encoder.h53 /// Match finders store locations of matches using 32-bit integers.
90 /// Find matches. Returns the number of distance-length pairs written
91 /// to the matches array. This is called only via lzma_mf_find().
92 uint32_t (*find)(lzma_mf *mf, lzma_match *matches);
142 /// This is used to extend matches of length nice_len to the
146 /// Match finder will search matches up to this length.
175 // times. Since matches are looked up to
214 // 3. The literals and matches are encoded using e.g. LZMA.
311 lzma_mf *mf, uint32_t *count, lzma_match *matches);
313 extern uint32_t lzma_mf_hc3_find(lzma_mf *dict, lzma_match *matches);
[all...]
/freebsd-10.0-release/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder_optimum_fast.c28 len_main = mf_find(mf, &matches_count, coder->matches);
45 // Look for repeated matches; scan the previous four match distances
82 *back_res = coder->matches[matches_count - 1].dist
91 back_main = coder->matches[matches_count - 1].dist;
94 coder->matches[matches_count - 2].len + 1) {
95 if (!change_pair(coder->matches[
101 len_main = coder->matches[matches_count - 1].len;
102 back_main = coder->matches[matches_count - 1].dist;
128 // Get the matches for the next byte. If we find a better match,
131 &coder->matches_count, coder->matches);
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h98 /// \brief If the provided matcher matches a node, binds the node to \c ID.
124 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
139 /// Examples matches \c X, \c C, and the friend declaration inside \c C;
150 /// Example matches \c X, \c S, the anonymous union type, \c i, and \c U;
169 /// matches "namespace {}" and "namespace test {}"
174 /// Example matches \c X, \c Z
185 /// Example matches \c Z
202 /// matches the specializations \c A<int> and \c A<double>
217 /// matches 'public:'
233 /// matches 'in
[all...]
/freebsd-10.0-release/usr.bin/iscsictl/
H A Dperiphs.c90 ccb.cdm.matches = (struct dev_match_result *)malloc(bufsize);
91 if (ccb.cdm.matches == NULL) {
92 warnx("can't malloc memory for matches");
127 switch (ccb.cdm.matches[i].type) {
131 bus_result = &ccb.cdm.matches[i].result.bus_result;
161 &ccb.cdm.matches[i].result.periph_result;

Completed in 133 milliseconds

1234567