| /rk3399_rockchip-uboot/lib/lzo/ |
| H A D | lzo1x_decompress.c | 83 u32 slen, dlen; in lzop_decompress() local 104 slen = get_unaligned_be32(src); in lzop_decompress() 107 if (slen <= 0 || slen > dlen) in lzop_decompress() 117 if (dlen == slen) { in lzop_decompress() 118 memcpy(dst, src, slen); in lzop_decompress() 122 r = lzo1x_decompress_safe((u8 *)src, slen, dst, &tmp); in lzop_decompress() 133 src += slen; in lzop_decompress()
|
| /rk3399_rockchip-uboot/scripts/basic/ |
| H A D | fixdep.c | 198 static void use_config(const char *m, int slen) in use_config() argument 200 unsigned int hash = strhash(m, slen); in use_config() 203 if (is_defined_config(m, slen, hash)) in use_config() 206 define_config(m, slen, hash); in use_config() 209 for (i = 0; i < slen; i++) { in use_config() 285 int slen = strlen(s); in strrcmp() local 288 if (sublen > slen) in strrcmp() 291 return memcmp(s + slen - sublen, sub, sublen); in strrcmp()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | setexpr.c | 82 int *slen, /* current string length */ in substitute() argument 89 char *p = memstr(string, *slen, old, olen); in substitute() 98 if (*slen + nlen - olen > ssize) { in substitute() 119 *slen += nlen - olen; in substitute()
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | confdata.c | 193 static int add_byte(int c, char **lineptr, size_t slen, size_t *n) in add_byte() argument 196 size_t new_size = slen + 1; in add_byte() 208 (*lineptr)[slen] = c; in add_byte() 216 size_t slen = 0; in compat_getline() local 223 if (add_byte(c, &line, slen, n) < 0) in compat_getline() 225 slen++; in compat_getline() 228 if (add_byte('\0', &line, slen, n) < 0) in compat_getline() 231 if (slen == 0) in compat_getline() 233 return slen; in compat_getline() 235 if (add_byte(c, &line, slen, n) < 0) in compat_getline() [all …]
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | ubifs.c | 124 const u8 *src, unsigned int slen, u8 *dst, in crypto_comp_decompress() argument 132 memcpy(dst, src, slen); in crypto_comp_decompress() 133 *dlen = slen; in crypto_comp_decompress() 137 err = compr->decompress(src, slen, dst, &tmp_len); in crypto_comp_decompress() 140 "error %d", slen, compr->name, err); in crypto_comp_decompress()
|
| /rk3399_rockchip-uboot/fs/zfs/ |
| H A D | zfs.c | 184 uint32_t slen, uint32_t dlen) in zlib_decompress() argument 186 if (zlib_decompress(s, d, slen, dlen) < 0) in zlib_decompress() 1586 size_t slen; in zfs_nvlist_lookup_string() local 1597 slen = be32_to_cpu(*(uint32_t *) nvpair); in zfs_nvlist_lookup_string() 1598 if (slen > size - 4) in zfs_nvlist_lookup_string() 1599 slen = size - 4; in zfs_nvlist_lookup_string() 1600 ret = malloc(slen + 1); in zfs_nvlist_lookup_string() 1603 memcpy(ret, nvpair + 4, slen); in zfs_nvlist_lookup_string() 1604 ret[slen] = 0; in zfs_nvlist_lookup_string()
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | stb_truetype.h | 3126 stbtt_int32 slen = ttUSHORT(fc+loc+8); in stbtt__matchpair() local 3130 …_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen); in stbtt__matchpair() 3134 slen = ttUSHORT(fc+loc+12+8); in stbtt__matchpair() 3136 if (slen == 0) { in stbtt__matchpair() 3141 …reUTF8toUTF16_bigendian((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen)) in stbtt__matchpair()
|