Searched refs:nlen (Results 1 - 9 of 9) sorted by last modified time

/u-boot/lib/zlib/
H A Dinflate.h108 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
H A Dinflate.c610 state->nlen = BITS(5) + 257;
617 if (state->nlen > 286 || state->ndist > 30) {
648 while (state->have < state->nlen + state->ndist) {
686 if (state->have + copy > state->nlen + state->ndist) {
703 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
712 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
/u-boot/cmd/
H A Dsetexpr.c142 * @nlen: Length of @new excluding terminator
147 const char *old, int olen, const char *new, int nlen)
155 (long)(p - string), olen, nlen);
158 if (*slen + nlen - olen > ssize) {
164 if (olen != nlen) {
167 len = (olen > nlen) ? olen : nlen;
173 memmove(p + nlen, p + olen, tail);
177 memcpy(p, new, nlen);
179 *slen += nlen
146 substitute(char *string, int *slen, int ssize, const char *old, int olen, const char *new, int nlen) argument
189 int res, len, nlen, loop; local
[all...]
/u-boot/fs/ubifs/
H A Dubifs.c342 nm.len = le16_to_cpu(dent->nlen);
426 nm.len = le16_to_cpu(dent->nlen);
H A Ddebug.c298 nm.len = le16_to_cpu(dent->nlen);
459 int nlen = le16_to_cpu(dent->nlen); local
467 pr_err("\tnlen %d\n", nlen);
470 if (nlen > UBIFS_MAX_NLEN)
473 for (i = 0; i < nlen && dent->name[i]; i++)
1171 nm.len = le16_to_cpu(dent->nlen);
1271 nlen1 = le16_to_cpu(dent1->nlen);
1272 nlen2 = le16_to_cpu(dent2->nlen);
2136 int nlen; local
[all...]
H A Dtnc.c542 int nlen, err; local
561 nlen = le16_to_cpu(dent->nlen);
562 err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len));
564 if (nlen == nm->len)
566 else if (nlen < nm->len)
830 int nlen, err; local
854 nlen = le16_to_cpu(dent->nlen);
855 err = memcmp(dent->name, nm->name, min_t(int, nlen, n
[all...]
H A Dreplay.c390 * @nlen: directory entry name length
400 union ubifs_key *key, const char *name, int nlen,
414 nbuf = kmalloc(nlen + 1, GFP_KERNEL);
428 r->nm.len = nlen;
429 memcpy(nbuf, name, nlen);
430 nbuf[nlen] = '\0';
449 int nlen = le16_to_cpu(dent->nlen); local
451 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 ||
453 nlen > UBIFS_MAX_NLE
399 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument
[all...]
H A Dubifs-media.h511 * @nlen: name length
524 __le16 nlen; member in struct:ubifs_dent_node
/u-boot/drivers/video/
H A Dstb_truetype.h4843 static int stbtt__matchpair(stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, stbtt_int32 target_id, stbtt_int32 next_id) argument
4862 stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen);
4869 if (matchlen == nlen)
4871 } else if (matchlen < nlen && name[matchlen] == ' ') {
4873 if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen))
4878 if (matchlen == nlen)
4892 stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); local
4907 if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1;
4908 if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1;
4909 if (stbtt__matchpair(fc, nm, name, nlen,
[all...]

Completed in 147 milliseconds