/u-boot/lib/ |
H A D | lz4.c | 185 const BYTE *match; local 201 * 2) Further if the match length is 4..18, copy 18 bytes 223 * prepare for match copying, decode full info. 226 length = token & ML_MASK; /* match length */ 229 match = op - offset; 230 assert(match <= op); /* check overflow */ 235 (dict == withPrefix64k || match >= lowPrefix)) { 236 /* Copy the match. */ 237 memcpy(op + 0, match + 0, 8); 238 memcpy(op + 8, match [all...] |
H A D | slre.c | 68 * Try to match the code block that follows the BRANCH instruction 69 * (code block ends with END). If no match, try to match code block that 70 * starts at offset1. If either of these match, jump to offset2. 73 * Try to match exact string. String is recorded in data section from 437 static int match(const struct slre *, int, 447 while (match(r, pc + 2, s, len, ofs, NULL)) { 449 if (match(r, pc + r->code[pc + 1], s, len, ofs, NULL)) 462 while (match(r, pc + 2, s, len, ofs, NULL)) { 464 if (match( 504 match(const struct slre *r, int pc, const char *s, int len, function [all...] |
/u-boot/scripts/ |
H A D | env2string.awk | 29 # Avoid using the non-POSIX third parameter to match(), by splitting 31 has_var = match($0, "^([^ \t=][^ =]*)=(.*)$") 42 match($0, "^([^ \t=][^ =]*)=") 47 # variable. Again we are careful to use POSIX match() 48 if (length(env) != 0 && match(var, "^(.*)[+]$")) {
|
/u-boot/drivers/soc/ |
H A D | soc-uclass.c | 54 bool match; local 69 match = true; 74 match = false; 81 match = false; 88 match = false; 92 if (match)
|
/u-boot/tools/patman/ |
H A D | checkpatch.py | 65 if RE_NOTE.match(message): 70 err_match = RE_ERROR.match(message) 71 warn_match = RE_WARNING.match(message) 72 check_match = RE_CHECK.match(message) 167 match = re_stats_full.match(message) 168 if not match: 169 match = re_stats.match(message) 170 if match [all...] |
H A D | __main__.py | 64 match = re_line.match(line) 65 if match and match.group(1) == args.patchfiles[0]: 66 for cca in match.group(2).split('\0'):
|
H A D | patman | 64 match = re_line.match(line) 65 if match and match.group(1) == args.patchfiles[0]: 66 for cca in match.group(2).split('\0'):
|
H A D | patchstream.py | 311 commit_match = RE_COMMIT.match(line) if self.is_log else None 318 series_tag_match = RE_SERIES_TAG.match(line) 319 change_id_match = RE_CHANGE_ID.match(line) 320 commit_tag_match = RE_COMMIT_TAG.match(line) 321 cover_match = RE_COVER.match(line) 322 signoff_match = RE_SIGNOFF.match(line) 323 leading_whitespace_match = RE_LEADING_WHITESPACE.match(line) 324 diff_match = RE_DIFF.match(line) 325 line_match = RE_LINE.match(line) 326 invalid_match = RE_INV_TAG.match(lin [all...] |
/u-boot/doc/sphinx/ |
H A D | automarkup.py | 107 # Include any text prior to match as a normal text node. 125 # own C role, but both match the same regex, so we try both. 127 def markup_func_ref_sphinx3(docname, app, match): 135 base_target = match.group(2) 136 target_text = nodes.Text(match.group(0)) 170 def markup_c_ref(docname, app, match): 194 base_target = match.group(2) 195 target_text = nodes.Text(match.group(0)) 205 if not (match.re == RE_function and target in Skipfuncs): 206 lit_text = nodes.literal(classes=['xref', 'c', class_str[match [all...] |
H A D | cdomain.py | 60 def markup_namespace(match): 63 namespace = match.group(1) 71 def markup_macro(match): 72 return ".. c:function:: " + match.group(1) + ' ' + match.group(2) 80 def markup_ctype(match): 81 return ".. c:type:: " + match.group(2) 88 def markup_ctype_refs(match): 89 return ":c:type:`" + match.group(2) + '`' 95 def markup_c_expr(match) [all...] |
H A D | kernel_abi.py | 157 match = line_regex.search(line) 158 if match: 159 new_f = match.group(1) 170 ln = int(match.group(2)) - 1
|
H A D | kerneldoc.py | 135 match = line_regex.search(line) 136 if match: 138 lineoffset = int(match.group(1)) - 1
|
/u-boot/test/py/tests/ |
H A D | test_event_dump.py | 24 assert re.match(expect, out, re.MULTILINE) is not None
|
/u-boot/include/dm/ |
H A D | devres.h | 83 * @match: Match function (optional) 84 * @match_data: Data for the match function 87 * and for which @match returns 1. If @match is NULL, it's considered 88 * to match all. 93 dr_match_t match, void *match_data); 99 * @match: Match function (optional) 100 * @match_data: Data for the match function 103 * as @new_res and for which @match return 1. If found, @new_res is 109 dr_match_t match, voi 226 devres_find(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 232 devres_get(struct udevice *dev, void *new_res, dr_match_t match, void *match_data) argument 238 devres_remove(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 244 devres_destroy(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 250 devres_release(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument [all...] |
/u-boot/lib/zlib/ |
H A D | inftrees.c | 53 unsigned match; /* use base and extra for symbol >= match */ local 181 match = 20; 186 match = 257; 191 match = 0; 213 if (work[sym] + 1 < match) { 216 } else if (work[sym] >= match) { 217 this.op = (unsigned char)(extra[work[sym] - match]); 218 this.val = base[work[sym] - match];
|
H A D | deflate.c | 18 * string matches are performed only when the previous match ends. So it 22 * is used to find longer strings when a small match has been found. 97 local void check_match OF((deflate_state *s, IPos start, IPos match, 119 ush good_length; /* reduce lazy search above this match length */ 120 ush max_lazy; /* do not perform lazy search above this match length */ 121 ush nice_length; /* quit search above this match length */ 1046 * Initialize the "longest match" routines for a new zlib stream 1077 * Set match_start to the longest match starting at the given string and 1083 * OUT assertion: the match length is not greater than s->lookahead. 1086 /* For 80x86 and 680x0, an optimized version will be provided in match 1095 register Bytef *match; /* matched string */ local 1243 register Bytef *match; /* matched string */ local [all...] |
/u-boot/drivers/core/ |
H A D | devres.c | 120 dr_match_t match, void *match_data) 127 if (match && !match(dev, dr->data, match_data)) 136 dr_match_t match, void *match_data) 141 res = devres_find(dev, new_dr->release, match, match_data); 153 dr_match_t match, void *match_data) 157 res = devres_find(dev, release, match, match_data); 169 dr_match_t match, void *match_data) 173 res = devres_remove(dev, release, match, match_data); 182 dr_match_t match, voi 119 devres_find(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 135 devres_get(struct udevice *dev, void *new_res, dr_match_t match, void *match_data) argument 152 devres_remove(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 168 devres_destroy(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument 181 devres_release(struct udevice *dev, dr_release_t release, dr_match_t match, void *match_data) argument [all...] |
H A D | dump.c | 217 const struct udevice_id *match; local 222 match = entry->of_match; 225 if (match) { 226 printf(" %s", match->compatible); 227 match++; 231 for (; match && match->compatible; match++) 232 printf("%-20.20s %s\n", "", match->compatible);
|
/u-boot/cmd/ |
H A D | ethsw.c | 634 int (*match)(enum ethsw_keyword_id key_id, int argc, char *const argv[], member in struct:keyword_def 639 .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 [all...] |
H A D | legacy_led.c | 90 int i, match = 0; local 106 match = 1; 142 if (!match) {
|
/u-boot/include/ |
H A D | fsl_lpuart.h | 18 u32 match; member in struct:lpuart_fsl_reg32 29 u32 match; member in struct:lpuart_fsl_reg32
|
/u-boot/lib/efi_loader/ |
H A D | efi_var_mem.c | 28 * Return: true if match 37 bool match = true; local 40 i < sizeof(efi_guid_t) && match; ++i) 41 match = (guid1[i] == guid2[i]); 44 if (match) 45 match = (*data == *var_name); 58 if (match) 61 return match; 109 bool match; local 111 match [all...] |
/u-boot/env/ |
H A D | attr.c | 218 const char *match = strstr(cur_searched, search_for); local 222 /* Stop looking if no new match is found */ 223 if (match == NULL) 226 prevch = match - 1; 227 nextch = match + strlen(search_for); 235 /* Start looking past the current match so last is found */ 236 cur_searched = match + 1; 237 /* Check for an exact match */ 238 if (match != searched && 248 *result = match; [all...] |
/u-boot/tools/ |
H A D | zynqmp_pm_cfg_obj_convert.py | 267 num_match = num_re .match(item) 268 const_match = const_re.match(item)
|
/u-boot/tools/dtoc/ |
H A D | src_scan.py | 256 In case of no match found, the return will be the same as 306 m_struct = re_struct.match(line) 311 m_asm = re_asm.match(rel_fname) 381 m_priv = re_priv.match(line) 382 m_per_dev_priv = re_per_device_priv.match(line) 383 m_per_dev_plat = re_per_device_plat.match(line) 384 m_per_child_priv = re_per_child_priv.match(line) 385 m_per_child_plat = re_per_child_plat.match(line) 499 m_priv = re_priv.match(line) 500 m_plat = re_plat.match(lin [all...] |