| /rk3399_rockchip-uboot/cmd/ |
| H A D | setexpr.c | 87 int nlen) /* length of new string */ in substitute() argument 95 (long)(p - string), olen, nlen); in substitute() 98 if (*slen + nlen - olen > ssize) { in substitute() 104 if (olen != nlen) { in substitute() 107 len = (olen > nlen) ? olen : nlen; in substitute() 113 memmove(p + nlen, p + olen, tail); in substitute() 117 memcpy(p, new, nlen); in substitute() 119 *slen += nlen - olen; in substitute() 121 return p + nlen; in substitute() 137 int res, len, nlen, loop; in regex_sub() local [all …]
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | replay.c | 399 union ubifs_key *key, const char *name, int nlen, in insert_dent() argument 413 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent() 427 r->nm.len = nlen; in insert_dent() 428 memcpy(nbuf, name, nlen); in insert_dent() 429 nbuf[nlen] = '\0'; in insert_dent() 448 int nlen = le16_to_cpu(dent->nlen); in ubifs_validate_entry() local 450 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 || in ubifs_validate_entry() 452 nlen > UBIFS_MAX_NLEN || dent->name[nlen] != 0 || in ubifs_validate_entry() 453 strnlen(dent->name, nlen) != nlen || in ubifs_validate_entry() 629 le16_to_cpu(dent->nlen), snod->sqnum, in replay_bud()
|
| H A D | tnc.c | 538 int nlen, err; in matches_name() local 557 nlen = le16_to_cpu(dent->nlen); in matches_name() 558 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); in matches_name() 560 if (nlen == nm->len) in matches_name() 562 else if (nlen < nm->len) in matches_name() 826 int nlen, err; in fallible_matches_name() local 850 nlen = le16_to_cpu(dent->nlen); in fallible_matches_name() 851 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); in fallible_matches_name() 853 if (nlen == nm->len) in fallible_matches_name() 855 else if (nlen < nm->len) in fallible_matches_name() [all …]
|
| H A D | debug.c | 294 nm.len = le16_to_cpu(dent->nlen); in ubifs_dump_inode() 454 int nlen = le16_to_cpu(dent->nlen); in ubifs_dump_node() local 462 pr_err("\tnlen %d\n", nlen); in ubifs_dump_node() 465 if (nlen > UBIFS_MAX_NLEN) in ubifs_dump_node() 468 for (i = 0; i < nlen && dent->name[i]; i++) in ubifs_dump_node() 1141 nm.len = le16_to_cpu(dent->nlen); in dbg_check_dir() 1241 nlen1 = le16_to_cpu(dent1->nlen); in dbg_check_key_order() 1242 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order() 2106 int nlen; in check_leaf() local 2141 nlen = le16_to_cpu(dent->nlen); in check_leaf() [all …]
|
| H A D | ubifs-media.h | 525 __le16 nlen; member
|
| H A D | ubifs.c | 359 nm.len = le16_to_cpu(dent->nlen); in ubifs_printdir() 443 nm.len = le16_to_cpu(dent->nlen); in ubifs_finddir()
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | inflate.h | 108 unsigned nlen; /* number of length code lengths */ member
|
| H 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()
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | stb_truetype.h | 3111 static int stbtt__matchpair(stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, … in stbtt__matchpair() argument 3130 …stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,… in stbtt__matchpair() 3137 if (matchlen == nlen) in stbtt__matchpair() 3139 } else if (matchlen < nlen && name[matchlen] == ' ') { in stbtt__matchpair() 3141 …if (stbtt_CompareUTF8toUTF16_bigendian((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOf… in stbtt__matchpair() 3146 if (matchlen == nlen) in stbtt__matchpair() 3160 stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); in stbtt__matches() local 3175 if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1; in stbtt__matches() 3176 if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1; in stbtt__matches() 3177 if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; in stbtt__matches() [all …]
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_v2.c | 834 static int ccm128_set_iv_reg(u32 chn, const u8 *nonce, u32 nlen) in ccm128_set_iv_reg() argument 841 L = 15 - nlen; in ccm128_set_iv_reg() 848 if (nlen < (14 - L)) in ccm128_set_iv_reg()
|
| H A D | crypto_ce.c | 440 static int hw_crypto_ccm128_setiv(u8 *iv_buf, u8 *nonce, u32 nlen, u32 mlen) in hw_crypto_ccm128_setiv() argument 444 if (nlen < (14 - L)) in hw_crypto_ccm128_setiv()
|