Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 141) sorted by relevance

123456

/u-boot/lib/
A Dlz4.c111 const BYTE* match; in LZ4_decompress_generic() local
178 match = dictEnd - (lowPrefix-match); in LZ4_decompress_generic()
205 if (unlikely((op-match)<8)) in LZ4_decompress_generic()
208 op[0] = match[0]; in LZ4_decompress_generic()
209 op[1] = match[1]; in LZ4_decompress_generic()
210 op[2] = match[2]; in LZ4_decompress_generic()
211 op[3] = match[3]; in LZ4_decompress_generic()
212 match += dec32table[op-match]; in LZ4_decompress_generic()
213 LZ4_copy4(op+4, match); in LZ4_decompress_generic()
214 op += 8; match -= dec64; in LZ4_decompress_generic()
[all …]
A Dslre.c437 static int match(const struct slre *, int,
447 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_greedy()
449 if (match(r, pc + r->code[pc + 1], s, len, ofs, NULL)) in loop_greedy()
462 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_non_greedy()
517 res = match(r, pc + 3, s, len, ofs, caps); in match()
520 res = match(r, pc + r->code[pc + 1], in match()
538 if (!match(r, pc + 2, s, len, ofs, caps)) in match()
553 res = match(r, pc + 2, s, len, ofs, caps); in match()
561 res = match(r, pc + 2, s, len, ofs, caps); in match()
654 res = match(r, 0, buf, len, &ofs, caps); in slre_match()
[all …]
/u-boot/tools/patman/
A Dcheckpatch.py110 if re_note.match(line):
118 if re_new_file.match(line):
120 match = re_stats_full.match(line)
121 if not match:
122 match = re_stats.match(line)
123 if match:
126 if len(match.groups()) == 4:
132 elif re_ok.match(line):
135 elif re_bad.match(line):
138 err_match = re_error.match(line)
[all …]
A Dpatchstream.py314 change_id_match = RE_CHANGE_ID.match(line)
316 cover_match = RE_COVER.match(line)
317 signoff_match = RE_SIGNOFF.match(line)
319 diff_match = RE_DIFF.match(line)
320 line_match = RE_LINE.match(line)
323 tag_match = RE_TAG.match(line)
501 mat = RE_SPACE_BEFORE_TAB.match(line)
625 match = re_fname.match(line)
626 if match:
628 fname = match.group(1)
[all …]
A Dmain.py162 match = re_line.match(line) variable
163 if match and match.group(1) == args.patchfiles[0]:
164 for cc in match.group(2).split('\0'):
A Dpatman162 match = re_line.match(line) variable
163 if match and match.group(1) == args.patchfiles[0]:
164 for cc in match.group(2).split('\0'):
/u-boot/doc/device-tree-bindings/memory/
A Dmemory.txt6 ID masks. To match a set of board ids, a board-id node may define match-mask
7 and match-value ints to define a mask to apply to the board id, and the value
8 that the result should have for the match to be considered valid. The mask
9 defaults to -1, meaning that the value must fully match the board id.
23 match-mask - A mask to apply to the board id. This must be accompanied by
24 match-value.
25 match-value - The required resulting value of the board id mask for the given
26 node to be considered a match.
46 match-value = <17>;
51 match-mask = <2>;
[all …]
/u-boot/doc/sphinx/
A Dautomarkup.py135 base_target = match.group(2)
136 target_text = nodes.Text(match.group(0))
170 def markup_c_ref(docname, app, match): argument
194 base_target = match.group(2)
195 target_text = nodes.Text(match.group(0))
232 def markup_doc_ref(docname, app, match): argument
237 target = match.group(1)
257 return nodes.Text(match.group(0))
263 match = RE_namespace.search(l)
264 if match:
[all …]
A Dcdomain.py60 def markup_namespace(match): argument
63 namespace = match.group(1)
71 def markup_macro(match): argument
72 return ".. c:function:: " + match.group(1) + ' ' + match.group(2)
80 def markup_ctype(match): argument
81 return ".. c:type:: " + match.group(2)
88 def markup_ctype_refs(match): argument
95 def markup_c_expr(match): argument
96 return '\ ``' + match.group(2) + '``\ '
163 m = c_funcptr_sig_re.match(sig)
[all …]
A Dkernel_abi.py157 match = line_regex.search(line)
158 if match:
159 new_f = match.group(1)
170 ln = int(match.group(2)) - 1
/u-boot/drivers/soc/
A Dsoc-uclass.c52 bool match; in soc_device_match() local
67 match = true; in soc_device_match()
72 match = false; in soc_device_match()
79 match = false; in soc_device_match()
86 match = false; in soc_device_match()
90 if (match) in soc_device_match()
/u-boot/drivers/core/
A Ddump.c107 const struct udevice_id *match; in dm_dump_driver_compat() local
112 match = entry->of_match; in dm_dump_driver_compat()
115 if (match) { in dm_dump_driver_compat()
116 printf(" %s", match->compatible); in dm_dump_driver_compat()
117 match++; in dm_dump_driver_compat()
121 for (; match && match->compatible; match++) in dm_dump_driver_compat()
122 printf("%-20.20s %s\n", "", match->compatible); in dm_dump_driver_compat()
A Ddevres.c120 dr_match_t match, void *match_data) in devres_find() argument
127 if (match && !match(dev, dr->data, match_data)) in devres_find()
136 dr_match_t match, void *match_data) in devres_get() argument
141 res = devres_find(dev, new_dr->release, match, match_data); in devres_get()
153 dr_match_t match, void *match_data) in devres_remove() argument
157 res = devres_find(dev, release, match, match_data); in devres_remove()
169 dr_match_t match, void *match_data) in devres_destroy() argument
173 res = devres_remove(dev, release, match, match_data); in devres_destroy()
182 dr_match_t match, void *match_data) in devres_release() argument
186 res = devres_remove(dev, release, match, match_data); in devres_release()
/u-boot/include/dm/
A Ddevres.h93 dr_match_t match, void *match_data);
109 dr_match_t match, void *match_data);
126 dr_match_t match, void *match_data);
146 dr_match_t match, void *match_data);
163 dr_match_t match, void *match_data);
227 dr_match_t match, void *match_data) in devres_find() argument
233 dr_match_t match, void *match_data) in devres_get() argument
239 dr_match_t match, void *match_data) in devres_remove() argument
245 dr_match_t match, void *match_data) in devres_destroy() argument
251 dr_match_t match, void *match_data) in devres_release() argument
/u-boot/cmd/
A Dethsw.c639 .match = &keyword_match_gen,
642 .match = &keyword_match_gen,
645 .match = &keyword_match_port
648 .match = &keyword_match_gen,
651 .match = &keyword_match_gen,
654 .match = &keyword_match_gen,
657 .match = &keyword_match_gen,
660 .match = &keyword_match_gen,
663 .match = &keyword_match_gen,
669 .match = &keyword_match_gen,
[all …]
A Dlegacy_led.c90 int i, match = 0; in do_legacy_led() local
106 match = 1; in do_legacy_led()
142 if (!match) { in do_legacy_led()
/u-boot/lib/zlib/
A Dinftrees.c53 unsigned match; /* use base and extra for symbol >= match */ in inflate_table() local
181 match = 20; in inflate_table()
186 match = 257; in inflate_table()
191 match = 0; in inflate_table()
213 if (work[sym] + 1 < match) { in inflate_table()
216 } else if (work[sym] >= match) { in inflate_table()
217 this.op = (unsigned char)(extra[work[sym] - match]); in inflate_table()
218 this.val = base[work[sym] - match]; in inflate_table()
A Ddeflate.c1138 scan++, match++;
1174 } while (*++scan == *++match && *++scan == *++match &&
1175 *++scan == *++match && *++scan == *++match &&
1176 *++scan == *++match && *++scan == *++match &&
1177 *++scan == *++match && *++scan == *++match &&
1233 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1;
1248 } while (*++scan == *++match && *++scan == *++match &&
1249 *++scan == *++match && *++scan == *++match &&
1250 *++scan == *++match && *++scan == *++match &&
1251 *++scan == *++match && *++scan == *++match &&
[all …]
/u-boot/env/
A Dattr.c218 const char *match = strstr(cur_searched, search_for); in reverse_name_search() local
223 if (match == NULL) in reverse_name_search()
226 prevch = match - 1; in reverse_name_search()
227 nextch = match + strlen(search_for); in reverse_name_search()
236 cur_searched = match + 1; in reverse_name_search()
238 if (match != searched && in reverse_name_search()
248 *result = match; in reverse_name_search()
/u-boot/lib/efi_loader/
A Defi_var_mem.c38 bool match = true; in efi_var_mem_compare() local
41 i < sizeof(efi_guid_t) && match; ++i) in efi_var_mem_compare()
42 match = (guid1[i] == guid2[i]); in efi_var_mem_compare()
45 if (match) in efi_var_mem_compare()
46 match = (*data == *var_name); in efi_var_mem_compare()
57 if (match) in efi_var_mem_compare()
60 return match; in efi_var_mem_compare()
91 bool match; in efi_var_mem_find() local
93 match = efi_var_mem_compare(var, guid, name, &pos); in efi_var_mem_find()
96 if (match) { in efi_var_mem_find()
/u-boot/lib/zstd/
A Ddecompress.c903 match = dictEnd - (base - match); in ZSTD_execSequenceLast7()
914 match = base; in ZSTD_execSequenceLast7()
992 seq.match = NULL; in ZSTD_decodeSequence()
1029 match = dictEnd + (match - base); in ZSTD_execSequence()
1040 match = base; in ZSTD_execSequence()
1063 match -= sub2; in ZSTD_execSequence()
1068 match += 8; in ZSTD_execSequence()
1262 const BYTE *match = sequence.match; in ZSTD_execSequenceLong() local
1295 match = base; in ZSTD_execSequenceLong()
1318 match -= sub2; in ZSTD_execSequenceLong()
[all …]
/u-boot/include/
A Dfsl_lpuart.h18 u32 match; member
29 u32 match; member
/u-boot/tools/
A Dgenboardscfg.py181 params['target'], match, rear = defconfig.partition('_defconfig')
182 assert match and not rear, '%s : invalid defconfig' % defconfig
336 front, match, rear = f.partition('configs/')
337 if not front and match:
338 front, match, rear = rear.rpartition('_defconfig')
339 if match and not rear:
A Dzynqmp_pm_cfg_obj_convert.py265 num_match = num_re .match(item)
266 const_match = const_re.match(item)
/u-boot/api/
A Dapi.c519 struct env_entry *match, search; in API_env_enum() local
536 i = hsearch_r(search, ENV_FIND, &match, &env_htab, 0); in API_env_enum()
544 i = hmatch_r("", i, &match, &env_htab); in API_env_enum()
547 buflen = strlen(match->key) + strlen(match->data) + 2; in API_env_enum()
549 snprintf(var, buflen, "%s=%s", match->key, match->data); in API_env_enum()

Completed in 41 milliseconds

123456