Home
last modified time | relevance | path

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

/lib/
Dstring.c95 char *strcpy(char *dest, const char *src) in strcpy() argument
97 char *tmp = dest; in strcpy()
99 while ((*dest++ = *src++) != '\0') in strcpy()
120 char *strncpy(char *dest, const char *src, size_t count) in strncpy() argument
122 char *tmp = dest; in strncpy()
130 return dest; in strncpy()
147 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() argument
153 memcpy(dest, src, len); in strlcpy()
154 dest[len] = '\0'; in strlcpy()
185 ssize_t strscpy(char *dest, const char *src, size_t count) in strscpy() argument
[all …]
Ducs2_string.c82 ucs2_as_utf8(u8 *dest, const ucs2_char_t *src, unsigned long maxlength) in ucs2_as_utf8() argument
95 dest[j++] = 0xe0 | (c & 0xf000) >> 12; in ucs2_as_utf8()
96 dest[j++] = 0x80 | (c & 0x0fc0) >> 6; in ucs2_as_utf8()
97 dest[j++] = 0x80 | (c & 0x003f); in ucs2_as_utf8()
102 dest[j++] = 0xc0 | (c & 0x7c0) >> 6; in ucs2_as_utf8()
103 dest[j++] = 0x80 | (c & 0x03f); in ucs2_as_utf8()
106 dest[j++] = c & 0x7f; in ucs2_as_utf8()
110 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.c260 size_t match_strlcpy(char *dest, const substring_t *src, size_t size) in match_strlcpy() argument
266 memcpy(dest, src->from, len); in match_strlcpy()
267 dest[len] = '\0'; in match_strlcpy()
Dnlattr.c278 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy() argument
282 memcpy(dest, nla_data(src), minlen); in nla_memcpy()
Ddynamic_debug.c283 static int check_set(const char **dest, char *src, char *name) in check_set() argument
287 if (*dest) { in check_set()
290 name, *dest, src); in check_set()
292 *dest = src; in check_set()
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/lz4/
Dlz4_decompress.c55 static int lz4_uncompress(const char *source, char *dest, int osize) in lz4_uncompress() argument
59 BYTE *op = (BYTE *) dest; in lz4_uncompress()
104 if (unlikely(ref < (BYTE *const) dest)) in lz4_uncompress()
173 static int lz4_uncompress_unknownoutputsize(const char *source, char *dest, in lz4_uncompress_unknownoutputsize() argument
181 BYTE *op = (BYTE *) dest; in lz4_uncompress_unknownoutputsize()
228 if (ref < (BYTE * const) dest) in lz4_uncompress_unknownoutputsize()
296 return (int) (((char *) op) - dest); in lz4_uncompress_unknownoutputsize()
304 unsigned char *dest, size_t actual_dest_len) in lz4_decompress() argument
309 input_len = lz4_uncompress(src, dest, actual_dest_len); in lz4_decompress()
323 unsigned char *dest, size_t *dest_len) in lz4_decompress_unknownoutputsize() argument
[all …]
Dlz4_compress.c54 char *dest, in lz4_compressctx() argument
70 u8 *op = (u8 *) dest; in lz4_compressctx()
219 if (((char *)op - dest) + lastrun + 1 in lz4_compressctx()
235 return (int)(((char *)op) - dest); in lz4_compressctx()
240 char *dest, in lz4_compress64kctx() argument
252 u8 *op = (u8 *) dest; in lz4_compress64kctx()
415 return (int)(((char *)op) - dest); in lz4_compress64kctx()
Dlz4hc_compress.c319 char *dest, in lz4_compresshcctx() argument
328 u8 *op = (u8 *)dest; in lz4_compresshcctx()
513 return (int) (((char *)op) - dest); in lz4_compresshcctx()
/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()