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

1234567

/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86MatchDrivers.h30 char *matches[MATCH_DRIVERS_LIMIT]; member in struct:_XF86MatchedDrivers
H A Dxf86AutoConfig.c158 if (xf86NameCmp(md->matches[j], driver) == 0) {
165 md->matches[nmatches] = xnfstrdup(driver);
195 md.matches[i], 0, md.matches[i]);
198 md.matches[i], 0, md.matches[i], 0);
205 md.matches[i], 0);
211 free(md.matches[i]);
445 md.matches[i], i);
460 ptr->driver = md.matches[
[all...]
/xsrc/external/mit/brotli/dist/c/enc/
H A Dstatic_dict.c27 uint32_t* matches) {
29 matches[len] = BROTLI_MIN(uint32_t, matches[len], match);
79 size_t min_length, size_t max_length, uint32_t* matches) {
100 AddMatch(id, l, l, matches);
106 AddMatch(id + 12 * n, l - 1, l, matches);
110 AddMatch(id + 49 * n, l + 3, l, matches);
122 AddMatch(id + transform_id * n, len, l, matches);
131 AddMatch(id + n, l + 1, l, matches);
134 AddMatch(id + 28 * n, l + 3, l, matches);
26 AddMatch(size_t distance,size_t len,size_t len_code,uint32_t * matches) argument
77 BrotliFindAllStaticDictionaryMatches(const BrotliEncoderDictionary * dictionary,const uint8_t * data,size_t min_length,size_t max_length,uint32_t * matches) argument
[all...]
H A Dstatic_dict.h25 for which a match is found, updates matches[l] to be the minimum possible
27 Returns 1 if matches have been found, otherwise 0.
29 matches array is at least BROTLI_MAX_STATIC_DICTIONARY_MATCH_LEN + 1 long
34 uint32_t* matches);
H A Dhash_to_binary_tree_inc.h104 hash bucket's binary tree is searched for matches and is re-rooted at the
108 current position is searched for matches, but the state of the hash table
117 BackwardMatch* BROTLI_RESTRICT matches) {
163 if (matches && len > *best_len) {
165 InitBackwardMatch(matches++, backward, len);
191 return matches;
194 /* Finds all backward matches of &data[cur_ix & ring_buffer_mask] up to the
197 Sets *num_matches to the number of matches found, and stores the found
198 matches in matches[
[all...]
H A Dbackward_references_hq.c407 const BackwardMatch* matches, const ZopfliCostModel* model,
443 /* Look for last distance matches using the distance cache from this
500 /* At higher iterations look only for new last distance matches, since
509 BackwardMatch match = matches[j];
513 /* We already tried all possible last distance matches, so we can use
620 const BackwardMatch* matches, ZopfliNode* nodes) {
633 num_matches[i], &matches[cur_match_pos], model, &queue, nodes);
637 BackwardMatchLength(&matches[cur_match_pos - 1]) > max_zopfli_len) {
639 BackwardMatchLength(&matches[cur_match_pos - 1]), skip);
666 BackwardMatch matches[ local in function:BrotliZopfliComputeShortestPath
402 UpdateNodes(const size_t num_bytes,const size_t block_start,const size_t pos,const uint8_t * ringbuffer,const size_t ringbuffer_mask,const BrotliEncoderParams * params,const size_t max_backward_limit,const int * starting_dist_cache,const size_t num_matches,const BackwardMatch * matches,const ZopfliCostModel * model,StartPosQueue * queue,ZopfliNode * nodes) argument
616 ZopfliIterate(size_t num_bytes,size_t position,const uint8_t * ringbuffer,size_t ringbuffer_mask,const BrotliEncoderParams * params,const size_t gap,const int * dist_cache,const ZopfliCostModel * model,const uint32_t * num_matches,const BackwardMatch * matches,ZopfliNode * nodes) argument
758 BackwardMatch* matches = BROTLI_ALLOC(m, BackwardMatch, matches_size); local in function:BrotliCreateHqZopfliBackwardReferences
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86AutoConfig.c98 static void listPossibleVideoDrivers(char *matches[], int nmatches);
199 listPossibleVideoDrivers(char *matches[], int nmatches) argument
204 matches[i] = NULL;
210 matches[i++] = xnfstrdup("chips");
211 matches[i++] = xnfstrdup("igs");
213 matches[i++] = xnfstrdup("crime");
214 matches[i++] = xnfstrdup("newport");
240 matches[i++] = xnfstrdup(sbusDeviceTable[dev].driverName);
276 matches[i++] = xnfstrdup("nvidia");
290 matches[
382 char *matches[20]; /* If we have more than 20 drivers we're in trouble */ local in function:autoConfigDevice
[all...]
H A Dxf86pciBus.h40 int xf86PciMatchDriver(char* matches[], int nmatches);
H A Dxf86pciBus.c385 * xf86CheckPciMemBase() checks that the memory base value matches one of the
599 Bool claimed; /* BusID matches with a device section */
1196 matchDriverFromFiles (char** matches, uint16_t match_vendor, uint16_t match_chip) argument
1260 while (matches[i]) {
1263 matches[i] = (char*)malloc(sizeof(char) * strlen(direntry->d_name) - 3);
1264 if (!matches[i]) {
1273 matches[i][j] = '\0';
1276 matches[i][j] = direntry->d_name[j];
1279 xf86Msg(X_INFO, "Matched %s from file name %s\n", matches[i], direntry->d_name);
1300 xf86PciMatchDriver(char* matches[], in argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c76 static int match_length(regmatch_t * matches, int index) argument
78 return matches[index].rm_eo - matches[index].rm_so;
84 regmatch_t * matches,
99 err_code = regexec(&regex, search_str, num_matches, matches, 0);
103 matches[i].rm_so, matches[i].rm_eo);
140 regmatch_t matches[REGEX_SRC_MATCHES]; local in function:init_rc_normal_src
146 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) {
152 tokens.Negate.String = src_str + matches[
81 regex_helper(const char * regex_str,const char * search_str,regmatch_t * matches,int num_matches) argument
269 regmatch_t matches[REGEX_DST_MATCHES]; local in function:init_rc_normal_dst
375 regmatch_t matches[REGEX_INST_MATCHES]; local in function:parse_rc_normal_instruction
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c76 static int match_length(regmatch_t * matches, int index) argument
78 return matches[index].rm_eo - matches[index].rm_so;
84 regmatch_t * matches,
99 err_code = regexec(&regex, search_str, num_matches, matches, 0);
103 matches[i].rm_so, matches[i].rm_eo);
140 regmatch_t matches[REGEX_SRC_MATCHES]; local in function:init_rc_normal_src
146 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) {
152 tokens.Negate.String = src_str + matches[
81 regex_helper(const char * regex_str,const char * search_str,regmatch_t * matches,int num_matches) argument
269 regmatch_t matches[REGEX_DST_MATCHES]; local in function:init_rc_normal_dst
375 regmatch_t matches[REGEX_INST_MATCHES]; local in function:parse_rc_normal_instruction
[all...]
/xsrc/external/mit/xorg-server.old/dist/config/
H A Dfdi2iclass.py144 matches = []
149 matches.append((key, value))
162 return matches
166 def print_section(matches, driver, ignore, options):
172 for m, v in matches:
183 '''Parse x11 matches from fdi'''
195 matches = parse_all_matches(match_node)
198 print_section(matches, driver, ignore, options)
/xsrc/external/mit/xorg-server/dist/config/
H A Dfdi2iclass.py144 matches = []
149 matches.append((key, value))
162 return matches
166 def print_section(matches, driver, ignore, options):
172 for m, v in matches:
183 '''Parse x11 matches from fdi'''
195 matches = parse_all_matches(match_node)
198 print_section(matches, driver, ignore, options)
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_function.cpp99 * be exact matches.
123 /* Classes of parameter match, sorted (mostly) best matches first.
202 ir_function_signature **matches,
221 for (ir_function_signature **other = matches;
222 other < matches + num_matches; other++) {
263 ir_function_signature **matches,
270 return *matches;
273 * there is no overload resolution among multiple inexact matches. Note
280 for (ir_function_signature **sig = matches; sig < matches
201 is_best_inexact_overload(const exec_list * actual_parameters,ir_function_signature ** matches,int num_matches,ir_function_signature * sig) argument
261 choose_best_inexact_overload(_mesa_glsl_parse_state * state,const exec_list * actual_parameters,ir_function_signature ** matches,int num_matches) argument
[all...]
H A Dlink_varyings.cpp1816 } *matches; member in class:__anon14e2ae980110::varying_matches
1819 * The number of elements in the \c matches array that are currently in
1825 * The number of elements that were set aside for the \c matches array when
1855 this->matches = (match *)
1856 malloc(sizeof(*this->matches) * this->matches_capacity);
1863 free(this->matches);
1951 this->matches = (match *)
1952 realloc(this->matches,
1953 sizeof(*this->matches) * this->matches_capacity);
1980 this->matches[thi
2796 varying_matches matches(disable_varying_packing, local in function:assign_varying_locations
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_function.cpp98 * be exact matches.
122 /* Classes of parameter match, sorted (mostly) best matches first.
201 ir_function_signature **matches,
220 for (ir_function_signature **other = matches;
221 other < matches + num_matches; other++) {
262 ir_function_signature **matches,
269 return *matches;
272 * there is no overload resolution among multiple inexact matches. Note
279 for (ir_function_signature **sig = matches; sig < matches
200 is_best_inexact_overload(const exec_list * actual_parameters,ir_function_signature ** matches,int num_matches,ir_function_signature * sig) argument
260 choose_best_inexact_overload(_mesa_glsl_parse_state * state,const exec_list * actual_parameters,ir_function_signature ** matches,int num_matches) argument
[all...]
H A Dlink_varyings.cpp1681 } *matches; member in class:__anone5c4aea50110::varying_matches
1684 * The number of elements in the \c matches array that are currently in
1690 * The number of elements that were set aside for the \c matches array when
1718 this->matches = (match *)
1719 malloc(sizeof(*this->matches) * this->matches_capacity);
1726 free(this->matches);
1813 this->matches = (match *)
1814 realloc(this->matches,
1815 sizeof(*this->matches) * this->matches_capacity);
1845 this->matches[thi
2577 varying_matches matches(disable_varying_packing, xfb_enabled, local in function:assign_varying_locations
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DParseCmd.c90 int matches; local in function:XrmParseCommand
114 matches = 0;
132 /* give preference to exact matches, StickyArg and IsArg */
133 matches = 1;
140 matches++;
153 if (matches == 1) {
/xsrc/external/mit/MesaLib.old/dist/src/util/xmlpool/
H A Dgen_xmlpool.py109 # Expand matches. The first match is always a DESC or DESC_BEGIN match.
110 # Subsequent matches are ENUM matches.
114 def expandMatches(matches, translations, outfile, end=None):
115 assert len(matches) > 0
124 if len(matches) == 1 and i < len(translations) and \
125 not matches[0].expand(r'\7').endswith('\\'):
128 matches[0].expand (r'\5'))))
129 text = (matches[0].expand(r'\1' + lang + r'\3"' + text + r'"\7') + suffix)
134 for match in matches[
[all...]
/xsrc/external/mit/xedit/dist/lisp/modules/
H A Dsyntax.lsp80 is a rule to match only EOL, but some other rule matches up to the end
100 currently does not have rules for matches in the format RE/TRAILING, as
113 Token1 matches "int" and token2 matches "integer", but since token2 is
281 ;; Don't allow a regex that matches the null string enter the
284 #+xedit (error "SYNTOKEN: regex matches empty string ~S" regex)
770 matches
782 ;; Use cache as a list of matches to avoid repetitive
857 ;; If empty line, and current table does not have matches for
900 ;; matches lis
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A DREADME.md4 - `>>` skips to the first line which matches the pattern, or fails the test if there is none
18 - A `%` in the pattern followed by an identifier is the same as a `#` but it expects a `%` before the integer in the output. It basically matches a ACO temporary.
22 - `s64`, `s96`, `s128`, `v2`, `v3`, etc, expand to a pattern which matches a disassembled instruction's definition or operand. It later checks that the size and alignment is what's expected.
/xsrc/external/mit/xedit/dist/lisp/
H A Ddebugger.c347 int i = 0, frame, matches, action = -1, subaction = 0; local in function:LispDebuggerCommand
408 for (i = matches = 0; i < sizeof(commands) / sizeof(commands[0]);
420 matches = 1;
423 ++matches;
426 if (matches == 0) {
432 else if (matches > 1) {
450 for (i = matches = 0;
463 matches = 1;
466 ++matches;
469 if (matches
[all...]
H A Dpathname.c174 char *sep, *base, *ptr, **dirs, **matches, local in function:Lisp_Directory
256 matches = NULL;
355 matches = LispRealloc(matches, sizeof(char*) *
357 matches[nmatches++] = LispStrdup(ptr);
386 strlen(matches[j]) + 1);
387 sprintf(dirs[i + j], "%s%s", dirs[i], matches[j]);
390 length + strlen(matches[0]) + 1);
391 strcpy(dirs[i] + length, matches[0]);
396 LispFree(matches[
[all...]
/xsrc/external/mit/xedit/dist/
H A Dcommands.c678 char **matches, *save, *dir_name, *file_name, match[257]; local in function:FileCompletion
741 matches = NULL;
852 matches = (char **)XtRealloc((char*)matches, sizeof(char**)
856 matches[n_matches] = XtMalloc(d_namlen + 2);
857 strcpy(matches[n_matches], ent->d_name);
858 strcat(matches[n_matches], "/");
862 matches[n_matches] = XtNewString(ent->d_name);
920 matches = (char **)XtRealloc((char*)matches, sizeo
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/
H A Dsystemd-logind.c175 int matches = 0; local in function:systemd_logind_release_fd
184 matches++;
187 if (matches > 1) {

Completed in 27 milliseconds

1234567