Home
last modified time | relevance | path

Searched refs:nlen (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/cmd/
H A Dsetexpr.c86 int nlen) /* length of new string */ in substitute() argument
94 (long)(p - string), olen, nlen); in substitute()
97 if (*slen + nlen - olen > ssize) { in substitute()
103 if (olen != nlen) { in substitute()
106 len = (olen > nlen) ? olen : nlen; in substitute()
112 memmove(p + nlen, p + olen, tail); in substitute()
116 memcpy(p, new, nlen); in substitute()
118 *slen += nlen - olen; in substitute()
120 return p + nlen; in substitute()
136 int res, len, nlen, loop; in regex_sub() local
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dreplay.c398 union ubifs_key *key, const char *name, int nlen, in insert_dent() argument
412 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
426 r->nm.len = nlen; in insert_dent()
427 memcpy(nbuf, name, nlen); in insert_dent()
428 nbuf[nlen] = '\0'; in insert_dent()
447 int nlen = le16_to_cpu(dent->nlen); in ubifs_validate_entry() local
449 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 || in ubifs_validate_entry()
451 nlen > UBIFS_MAX_NLEN || dent->name[nlen] != 0 || in ubifs_validate_entry()
452 strnlen(dent->name, nlen) != nlen || in ubifs_validate_entry()
628 le16_to_cpu(dent->nlen), snod->sqnum, in replay_bud()
H A Dtnc.c520 int nlen, err; in matches_name() local
539 nlen = le16_to_cpu(dent->nlen); in matches_name()
540 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); in matches_name()
542 if (nlen == nm->len) in matches_name()
544 else if (nlen < nm->len) in matches_name()
808 int nlen, err; in fallible_matches_name() local
832 nlen = le16_to_cpu(dent->nlen); in fallible_matches_name()
833 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); in fallible_matches_name()
835 if (nlen == nm->len) in fallible_matches_name()
837 else if (nlen < nm->len) in fallible_matches_name()
[all …]
H A Ddebug.c293 nm.len = le16_to_cpu(dent->nlen); in ubifs_dump_inode()
453 int nlen = le16_to_cpu(dent->nlen); in ubifs_dump_node() local
461 pr_err("\tnlen %d\n", nlen); in ubifs_dump_node()
464 if (nlen > UBIFS_MAX_NLEN) in ubifs_dump_node()
467 for (i = 0; i < nlen && dent->name[i]; i++) in ubifs_dump_node()
1140 nm.len = le16_to_cpu(dent->nlen); in dbg_check_dir()
1240 nlen1 = le16_to_cpu(dent1->nlen); in dbg_check_key_order()
1241 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order()
2105 int nlen; in check_leaf() local
2140 nlen = le16_to_cpu(dent->nlen); in check_leaf()
[all …]
H A Dubifs-media.h524 __le16 nlen; member
H A Dubifs.c358 nm.len = le16_to_cpu(dent->nlen); in ubifs_printdir()
442 nm.len = le16_to_cpu(dent->nlen); in ubifs_finddir()
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c145 int nlen; in check_aligned_anonymous_unfixed_colliding_mmaps() local
162 nlen = pagesize * 8; in check_aligned_anonymous_unfixed_colliding_mmaps()
163 p3 = mmap(NULL, nlen, PROT_READ, in check_aligned_anonymous_unfixed_colliding_mmaps()
169 && (p3 + nlen) > p2) { in check_aligned_anonymous_unfixed_colliding_mmaps()
182 munmap(p3, nlen); in check_aligned_anonymous_unfixed_colliding_mmaps()
/openbmc/u-boot/lib/zlib/
H A Dinflate.h108 unsigned nlen; /* number of length code lengths */ member
H A Dinflate.c612 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()
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h3111 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/pam/pam-ssh-agent-auth/
H A D0001-Adapt-to-OpenSSL-1.1.1.patch363 nlen = BN_num_bytes(k->rsa->n);
365 len = nlen + elen;
368 BN_bn2bin(k->rsa->e, blob + nlen);
370 + nlen = BN_num_bytes(RSA_get0_n(k->rsa));
372 + len = nlen + elen;
375 + BN_bn2bin(RSA_get0_e(k->rsa), blob + nlen);
H A D0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch164 nlen = BN_num_bytes(k->rsa->n);
166 len = nlen + elen;
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_gpu.h286 uint32_t nlen; member
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-virgl.c355 cc.nlen, in virgl_cmd_context_create()
361 virgl_renderer_context_create(cc.hdr.ctx_id, cc.nlen, cc.debug_name); in virgl_cmd_context_create()
H A Dvirtio-gpu-rutabaga.c215 cc.context_init, cc.debug_name, cc.nlen); in rutabaga_cmd_context_create()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvirgl.c45 virgl_renderer_context_create(cc.hdr.ctx_id, cc.nlen, in virgl_cmd_context_create()