Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 13 of 13) sorted by relevance

/lib/lz4/
Dlz4_decompress.c449 int LZ4_decompress_safe(const char *source, char *dest, in LZ4_decompress_safe() argument
452 return LZ4_decompress_generic(source, dest, in LZ4_decompress_safe()
455 noDict, (BYTE *)dest, NULL, 0); in LZ4_decompress_safe()
467 int LZ4_decompress_fast(const char *source, char *dest, int originalSize) in LZ4_decompress_fast() argument
469 return LZ4_decompress_generic(source, dest, 0, originalSize, in LZ4_decompress_fast()
472 (BYTE *)dest - 64 * KB, NULL, 0); in LZ4_decompress_fast()
477 int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest, in LZ4_decompress_safe_withPrefix64k() argument
480 return LZ4_decompress_generic(source, dest, in LZ4_decompress_safe_withPrefix64k()
484 (BYTE *)dest - 64 * KB, NULL, 0); in LZ4_decompress_safe_withPrefix64k()
487 static int LZ4_decompress_safe_withSmallPrefix(const char *source, char *dest, in LZ4_decompress_safe_withSmallPrefix() argument
[all …]
Dlz4_compress.c179 char * const dest, in LZ4_compress_generic() argument
200 BYTE *op = (BYTE *) dest; in LZ4_compress_generic()
435 ((op - (BYTE *)dest) + lastRun + 1 + in LZ4_compress_generic()
455 return (int) (((char *)op) - dest); in LZ4_compress_generic()
461 char *dest, in LZ4_compress_fast_extState() argument
481 dest, inputSize, 0, in LZ4_compress_fast_extState()
486 dest, inputSize, 0, in LZ4_compress_fast_extState()
492 dest, inputSize, in LZ4_compress_fast_extState()
497 dest, inputSize, in LZ4_compress_fast_extState()
503 int LZ4_compress_fast(const char *source, char *dest, int inputSize, in LZ4_compress_fast() argument
[all …]
Dlz4hc_compress.c341 char * const dest, in LZ4HC_compress_generic() argument
354 BYTE *op = (BYTE *) dest; in LZ4HC_compress_generic()
559 && (((char *)op - dest) + lastRun + 1 in LZ4HC_compress_generic()
578 return (int) (((char *)op) - dest); in LZ4HC_compress_generic()
670 char *dest, in LZ4_compressHC_continue_generic() argument
712 return LZ4HC_compress_generic(ctxPtr, source, dest, in LZ4_compressHC_continue_generic()
719 char *dest, in LZ4_compress_HC_continue() argument
725 source, dest, inputSize, maxOutputSize, limitedOutput); in LZ4_compress_HC_continue()
728 source, dest, inputSize, maxOutputSize, noLimit); in LZ4_compress_HC_continue()
/lib/
Dstring.c89 char *strcpy(char *dest, const char *src) in strcpy() argument
91 char *tmp = dest; in strcpy()
93 while ((*dest++ = *src++) != '\0') in strcpy()
114 char *strncpy(char *dest, const char *src, size_t count) in strncpy() argument
116 char *tmp = dest; in strncpy()
124 return dest; in strncpy()
141 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() argument
147 memcpy(dest, src, len); in strlcpy()
148 dest[len] = '\0'; in strlcpy()
180 ssize_t strscpy(char *dest, const char *src, size_t count) in strscpy() argument
[all …]
Ducs2_string.c83 ucs2_as_utf8(u8 *dest, const ucs2_char_t *src, unsigned long maxlength) in ucs2_as_utf8() argument
96 dest[j++] = 0xe0 | (c & 0xf000) >> 12; in ucs2_as_utf8()
97 dest[j++] = 0x80 | (c & 0x0fc0) >> 6; in ucs2_as_utf8()
98 dest[j++] = 0x80 | (c & 0x003f); in ucs2_as_utf8()
103 dest[j++] = 0xc0 | (c & 0x7c0) >> 6; in ucs2_as_utf8()
104 dest[j++] = 0x80 | (c & 0x03f); in ucs2_as_utf8()
107 dest[j++] = c & 0x7f; in ucs2_as_utf8()
111 dest[j] = '\0'; in ucs2_as_utf8()
Ddecompress_unxz.c204 void *memmove(void *dest, const void *src, size_t size) in memmove() argument
206 uint8_t *d = dest; in memmove()
219 return dest; in memmove()
252 long (*fill)(void *dest, unsigned long size), in unxz() argument
Dparser.c299 size_t match_strlcpy(char *dest, const substring_t *src, size_t size) in match_strlcpy() argument
305 memcpy(dest, src->from, len); in match_strlcpy()
306 dest[len] = '\0'; in match_strlcpy()
Dtest_blackhole_dev.c52 uh->source = uh->dest = htons(UDP_PORT); in test_blackholedev_init()
Ddynamic_debug.c292 static int check_set(const char **dest, char *src, char *name) in check_set() argument
296 if (*dest) { in check_set()
299 name, *dest, src); in check_set()
301 *dest = src; in check_set()
Dnlattr.c570 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy() argument
574 memcpy(dest, nla_data(src), minlen); in nla_memcpy()
576 memset(dest + minlen, 0, count - minlen); in nla_memcpy()
Dbtree.c116 static unsigned long *longcpy(unsigned long *dest, const unsigned long *src, in longcpy() argument
122 dest[i] = src[i]; in longcpy()
123 return dest; in longcpy()
/lib/xz/
Dxz_dec_bcj.c99 uint32_t dest; in bcj_x86() local
132 dest = src - (s->pos + (uint32_t)i + 5); in bcj_x86()
137 b = (uint8_t)(dest >> (24 - j)); in bcj_x86()
141 src = dest ^ (((uint32_t)1 << (32 - j)) - 1); in bcj_x86()
144 dest &= 0x01FFFFFF; in bcj_x86()
145 dest |= (uint32_t)0 - (dest & 0x01000000); in bcj_x86()
146 put_unaligned_le32(dest, buf + i + 1); in bcj_x86()
Dxz_dec_lzma2.c537 uint32_t *dest, uint32_t limit) in rc_bittree_reverse() argument
545 *dest += 1 << i; in rc_bittree_reverse()
553 static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit) in rc_direct() argument
563 *dest = (*dest << 1) + (mask + 1); in rc_direct()