Searched refs:nlen (Results 1 – 9 of 9) sorted by relevance
| /u-boot/cmd/ |
| A D | setexpr.c | 164 if (olen != nlen) { in substitute() 167 len = (olen > nlen) ? olen : nlen; in substitute() 177 memcpy(p, new, nlen); in substitute() 179 *slen += nlen - olen; in substitute() 181 return p + nlen; in substitute() 189 int res, len, nlen, loop; in setexpr_regex_sub() local 232 nlen = strlen(s); in setexpr_regex_sub() 234 if (nlen + 1 >= nbuf_size) { in setexpr_regex_sub() 236 nbuf_size, nlen + 1); in setexpr_regex_sub() 280 np = substitute(np, &nlen, in setexpr_regex_sub() [all …]
|
| /u-boot/fs/ubifs/ |
| A D | replay.c | 400 union ubifs_key *key, const char *name, int nlen, in insert_dent() argument 414 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent() 428 r->nm.len = nlen; in insert_dent() 429 memcpy(nbuf, name, nlen); in insert_dent() 430 nbuf[nlen] = '\0'; in insert_dent() 449 int nlen = le16_to_cpu(dent->nlen); in ubifs_validate_entry() local 451 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 || in ubifs_validate_entry() 453 nlen > UBIFS_MAX_NLEN || dent->name[nlen] != 0 || in ubifs_validate_entry() 454 strnlen(dent->name, nlen) != nlen || in ubifs_validate_entry() 630 le16_to_cpu(dent->nlen), snod->sqnum, in replay_bud()
|
| A D | tnc.c | 542 int nlen, err; in matches_name() local 561 nlen = le16_to_cpu(dent->nlen); in matches_name() 562 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); in matches_name() 564 if (nlen == nm->len) in matches_name() 566 else if (nlen < nm->len) in matches_name() 830 int nlen, err; in fallible_matches_name() local 854 nlen = le16_to_cpu(dent->nlen); in fallible_matches_name() 857 if (nlen == nm->len) in fallible_matches_name() 859 else if (nlen < nm->len) in fallible_matches_name() 1874 len = le16_to_cpu(dent->nlen); in ubifs_tnc_lookup_nm() [all …]
|
| A D | debug.c | 297 nm.len = le16_to_cpu(dent->nlen); in ubifs_dump_inode() 458 int nlen = le16_to_cpu(dent->nlen); in ubifs_dump_node() local 466 pr_err("\tnlen %d\n", nlen); in ubifs_dump_node() 469 if (nlen > UBIFS_MAX_NLEN) in ubifs_dump_node() 1170 nm.len = le16_to_cpu(dent->nlen); in dbg_check_dir() 1270 nlen1 = le16_to_cpu(dent1->nlen); in dbg_check_key_order() 1271 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order() 2135 int nlen; in check_leaf() local 2170 nlen = le16_to_cpu(dent->nlen); in check_leaf() 2175 fscki1->calc_xnms += nlen; in check_leaf() [all …]
|
| A D | ubifs-media.h | 524 __le16 nlen; member
|
| A D | ubifs.c | 348 nm.len = le16_to_cpu(dent->nlen); in ubifs_printdir() 432 nm.len = le16_to_cpu(dent->nlen); in ubifs_finddir()
|
| /u-boot/lib/zlib/ |
| A D | inflate.h | 108 unsigned nlen; /* number of length code lengths */ member
|
| A D | inflate.c | 612 state->nlen = BITS(5) + 257; in inflate() 619 if (state->nlen > 286 || state->ndist > 30) { in inflate() 650 while (state->have < state->nlen + state->ndist) { in inflate() 688 if (state->have + copy > state->nlen + state->ndist) { in inflate() 705 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), in inflate() 714 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, in inflate()
|
| /u-boot/drivers/video/ |
| A D | stb_truetype.h | 3139 …stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,… in stbtt__matchpair() 3146 if (matchlen == nlen) in stbtt__matchpair() 3148 } else if (matchlen < nlen && name[matchlen] == ' ') { in stbtt__matchpair() 3155 if (matchlen == nlen) in stbtt__matchpair() 3169 stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); in stbtt__matches() local 3184 if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1; in stbtt__matches() 3185 if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1; in stbtt__matches() 3186 if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; in stbtt__matches() 3188 if (stbtt__matchpair(fc, nm, name, nlen, 16, 17)) return 1; in stbtt__matches() 3189 if (stbtt__matchpair(fc, nm, name, nlen, 1, 2)) return 1; in stbtt__matches() [all …]
|
Completed in 35 milliseconds