/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Commands/ |
H A D | CommandObjectMultiword.cpp | 47 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 384 GetSubcommandSP(const char *sub_cmd, StringList *matches) argument 393 GetSubcommandObject(const char *sub_cmd, StringList *matches) argument 455 HandleCompletion(Args &input, int &cursor_index, int &cursor_char_position, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 476 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 D | CommandObjectHelp.cpp | 85 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 D | CommandCompletions.cpp | 61 StringList &matches 83 matches); 98 StringList &matches 108 matches); 120 return matches.GetSize(); 129 StringList *matches; member in struct:DiskFilesOrDirectoriesBaton 182 parameters->matches->AppendString(partial_name_copy); 194 StringList &matches 203 return matches.GetSize(); 208 // partial_name_copy starting from end_ptr with each of the matches 396 Symbols( CommandInterpreter &interpreter, const char *partial_file_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, StringList &matches) argument 427 SettingsNames(CommandInterpreter &interpreter, const char *partial_setting_name, int match_start_point, int max_return_elements, SearchFilter *searcher, bool &word_complete, StringList &matches) argument 458 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 472 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 487 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 D | CommandObjectPlugin.cpp | 58 StringList &matches) 70 matches); 71 return matches.GetSize(); 51 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.1-release/lib/libedit/ |
H A D | filecomplete.c | 262 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.1-release/contrib/gdb/gdb/ |
H A D | completer.h | 24 extern char *readline_line_completion_function (const char *text, int matches);
|
H A D | interps.c | 424 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.1-release/contrib/libreadline/ |
H A D | complete.c | 90 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.1-release/contrib/llvm/include/llvm/TableGen/ |
H A D | StringMatcher.h | 29 /// 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.1-release/sys/isa/ |
H A D | isahint.c | 107 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.1-release/contrib/llvm/lib/Option/ |
H A D | ArgList.cpp | 28 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.1-release/sys/dev/pci/ |
H A D | pci_user.c | 67 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.1-release/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | OptionValueArch.cpp | 94 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 D | OptionValueBoolean.cpp | 94 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 D | OptionValueUUID.cpp | 83 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 D | OptionValueEnumeration.cpp | 139 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.1-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
H A D | CommandObjectMultiword.h | 53 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 D | CommandCompletions.h | 32 // 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.1-release/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder_mf.c | 18 /// \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 D | lz_encoder.h | 53 /// 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.1-release/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_optimum_fast.c | 28 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.1-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 109 /// \brief If the provided matcher matches a node, binds the node to \c ID. 135 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g., 150 /// Examples matches \c X, \c C, and the friend declaration inside \c C; 161 /// Example matches \c X, \c S, the anonymous union type, \c i, and \c U; 180 /// matches "namespace {}" and "namespace test {}" 185 /// Example matches \c X, \c Z 196 /// Example matches \c Z 213 /// matches the specializations \c A<int> and \c A<double> 226 /// matches \c int y. 237 /// matches \ [all...] |
/freebsd-10.1-release/usr.bin/iscsictl/ |
H A D | periphs.c | 90 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;
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | Variable.cpp | 527 StringList &matches, 536 StringList &matches, 545 StringList &matches, 563 matches, 581 matches, 606 matches, 611 matches.AppendString (prefix_path + member_name); 623 StringList &matches, 649 matches.AppendString (prefix_path); 650 word_complete = matches 540 PrivateAutoCompleteMembers(StackFrame *frame, const std::string &partial_member_name, const std::string &partial_path, const std::string &prefix_path, const ClangASTType& clang_type, StringList &matches, bool &word_complete) argument 619 PrivateAutoComplete(StackFrame *frame, const std::string &partial_path, const std::string &prefix_path, const ClangASTType& clang_type, StringList &matches, bool &word_complete) argument 883 AutoComplete(const ExecutionContext &exe_ctx, const char *partial_path_cstr, StringList &matches, bool &word_complete) argument [all...] |
/freebsd-10.1-release/usr.sbin/mptutil/ |
H A D | mpt_cam.c | 79 ccb.cdm.matches = calloc(1, bufsize); 96 free(ccb.cdm.matches); 106 free(ccb.cdm.matches); 112 ccb.cdm.matches[0].type != DEV_MATCH_BUS) { 113 free(ccb.cdm.matches); 116 *path_id = ccb.cdm.matches[0].result.bus_result.path_id; 117 free(ccb.cdm.matches); 153 ccb.cdm.matches = calloc(1, bufsize); 170 free(ccb.cdm.matches); 180 free(ccb.cdm.matches); [all...] |