/glibc-2.36/sysdeps/i386/i686/ |
D | memcmp.S | 86 L(28bytes): 91 L(24bytes): 96 L(20bytes): 101 L(16bytes): 106 L(12bytes): 111 L(8bytes): 116 L(4bytes): 121 L(0bytes): 131 L(29bytes): 136 L(25bytes): [all …]
|
/glibc-2.36/sysdeps/i386/i686/multiarch/ |
D | memcmp-sse4.S | 122 jz L(0bytes) 129 jz L(0bytes) 136 jz L(0bytes) 143 jz L(0bytes) 150 jz L(0bytes) 154 je L(0bytes) 167 L(0bytes): 269 L(16bytes): 274 L(12bytes): 279 L(8bytes): [all …]
|
D | memcmp-ssse3.S | 1672 je L(8bytes) 1675 je L(9bytes) 1677 je L(10bytes) 1679 je L(11bytes) 1681 je L(12bytes) 1683 je L(13bytes) 1685 je L(14bytes) 1686 jmp L(15bytes) 1688 jmp L(12bytes) 1696 je L(16bytes) [all …]
|
/glibc-2.36/malloc/ |
D | malloc-debug.c | 169 __debug_malloc (size_t bytes) in __debug_malloc() argument 173 return (*hook)(bytes, RETURN_ADDRESS (0)); in __debug_malloc() 176 size_t orig_bytes = bytes; in __debug_malloc() 178 || !malloc_mcheck_before (&bytes, &victim))) in __debug_malloc() 181 ? malloc_check (bytes) : __libc_malloc (bytes)); in __debug_malloc() 217 __debug_realloc (void *oldmem, size_t bytes) in strong_alias() 222 return (*hook)(oldmem, bytes, RETURN_ADDRESS (0)); in strong_alias() 224 size_t orig_bytes = bytes, oldsize = 0; in strong_alias() 228 || !realloc_mcheck_before (&oldmem, &bytes, &oldsize, &victim))) in strong_alias() 236 if (bytes == 0 && oldmem != NULL) in strong_alias() [all …]
|
D | malloc-check.c | 245 realloc_check (void *oldmem, size_t bytes) in realloc_check() argument 252 if (__builtin_add_overflow (bytes, 1, &rb)) in realloc_check() 258 return malloc_check (bytes); in realloc_check() 260 if (bytes == 0) in realloc_check() 334 return mem2mem_check (tag_new_usable (newmem), bytes); in realloc_check() 338 memalign_check (size_t alignment, size_t bytes) in memalign_check() argument 343 return malloc_check (bytes); in memalign_check() 357 if (bytes > SIZE_MAX - alignment - MINSIZE) in memalign_check() 374 mem = _int_memalign (&main_arena, alignment, bytes + 1); in memalign_check() 376 return mem2mem_check (tag_new_usable (mem), bytes); in memalign_check()
|
D | malloc.c | 3233 const size_t bytes = sizeof (tcache_perthread_struct); in tcache_init() local 3238 arena_get (ar_ptr, bytes); in tcache_init() 3239 victim = _int_malloc (ar_ptr, bytes); in tcache_init() 3242 ar_ptr = arena_get_retry (ar_ptr, bytes); in tcache_init() 3243 victim = _int_malloc (ar_ptr, bytes); in tcache_init() 3280 __libc_malloc (size_t bytes) in __libc_malloc() argument 3292 size_t tbytes = checked_request2size (bytes); in __libc_malloc() 3315 victim = tag_new_usable (_int_malloc (&main_arena, bytes)); in __libc_malloc() 3321 arena_get (ar_ptr, bytes); in __libc_malloc() 3323 victim = _int_malloc (ar_ptr, bytes); in __libc_malloc() [all …]
|
/glibc-2.36/sysdeps/alpha/alphaev6/ |
D | memcpy.S | 77 ldq $1, 0($17) # L : get 8 bytes 94 wh64 ($7) # L1 : memory subsystem hint: 64 bytes at 96 ldq $6, 0($17) # L0 : bytes 0..7 100 ldq $4, 8($17) # L : bytes 8..15 101 ldq $5, 16($17) # L : bytes 16..23 105 ldq $3, 24($17) # L : bytes 24..31 110 addq $17, 32, $17 # E : src += 32 bytes 111 stq $6, 0($16) # L : bytes 0..7 115 stq $4, 8($16) # L : bytes 8..15 116 stq $5, 16($16) # L : bytes 16..23 [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | readdir64.c | 49 ssize_t bytes; in __readdir64() local 51 bytes = __getdents64 (dirp->fd, dirp->data, maxread); in __readdir64() 52 if (bytes <= 0) in __readdir64() 57 if (bytes < 0 && errno == ENOENT) in __readdir64() 58 bytes = 0; in __readdir64() 61 if (bytes == 0) in __readdir64() 66 dirp->size = (size_t) bytes; in __readdir64() 127 ssize_t bytes; 129 bytes = __old_getdents64 (dirp->fd, dirp->data, maxread); 130 if (bytes <= 0) [all …]
|
D | readdir64_r.c | 47 ssize_t bytes; in __readdir64_r() local 51 bytes = __getdents64 (dirp->fd, dirp->data, maxread); in __readdir64_r() 52 if (bytes <= 0) in __readdir64_r() 57 if (bytes < 0 && errno == ENOENT) in __readdir64_r() 59 bytes = 0; in __readdir64_r() 62 if (bytes < 0) in __readdir64_r() 68 dirp->size = (size_t) bytes; in __readdir64_r() 152 ssize_t bytes; 156 bytes = __old_getdents64 (dirp->fd, dirp->data, maxread); 157 if (bytes <= 0) [all …]
|
D | readdir.c | 40 ssize_t bytes; in __readdir_unlocked() local 42 bytes = __getdents (dirp->fd, dirp->data, maxread); in __readdir_unlocked() 43 if (bytes <= 0) in __readdir_unlocked() 48 if (bytes < 0 && errno == ENOENT) in __readdir_unlocked() 49 bytes = 0; in __readdir_unlocked() 52 if (bytes == 0) in __readdir_unlocked() 57 dirp->size = (size_t) bytes; in __readdir_unlocked()
|
D | getentropy.c | 45 ssize_t bytes = INLINE_SYSCALL_CALL (getrandom, buffer, end - buffer, 0); in getentropy() local 46 if (bytes < 0) in getentropy() 54 if (bytes == 0) in getentropy() 62 buffer += bytes; in getentropy()
|
/glibc-2.36/sysdeps/posix/ |
D | readv.c | 43 size_t bytes = 0; in __readv() local 47 if (SSIZE_MAX - bytes < vector[i].iov_len) in __readv() 52 bytes += vector[i].iov_len; in __readv() 61 if (__libc_use_alloca (bytes)) in __readv() 62 buffer = (char *) __alloca (bytes); in __readv() 65 malloced_buffer = buffer = (char *) malloc (bytes); in __readv() 71 ssize_t bytes_read = __read (fd, buffer, bytes); in __readv() 76 bytes = bytes_read; in __readv() 79 size_t copy = MIN (vector[i].iov_len, bytes); in __readv() 84 bytes -= copy; in __readv() [all …]
|
D | preadv_common.c | 39 size_t bytes = 0; in PREADV() local 43 if (SSIZE_MAX - bytes < vector[i].iov_len) in PREADV() 48 bytes += vector[i].iov_len; in PREADV() 58 void *buffer = __mmap (NULL, bytes, PROT_READ | PROT_WRITE, in PREADV() 63 ssize_t bytes_read = PREAD (fd, buffer, bytes, offset); in PREADV() 68 bytes = bytes_read; in PREADV() 72 size_t copy = MIN (vector[i].iov_len, bytes); in PREADV() 77 bytes -= copy; in PREADV() 78 if (bytes == 0) in PREADV() 83 __munmap (buffer, bytes); in PREADV()
|
D | writev.c | 44 size_t bytes = 0; in __writev() local 48 if (SSIZE_MAX - bytes < vector[i].iov_len) in __writev() 53 bytes += vector[i].iov_len; in __writev() 62 if (__libc_use_alloca (bytes)) in __writev() 63 buffer = (char *) __alloca (bytes); in __writev() 66 malloced_buffer = buffer = (char *) malloc (bytes); in __writev() 74 size_t to_copy = bytes; in __writev() 87 ssize_t bytes_written = __write (fd, buffer, bytes); in __writev()
|
D | pwritev_common.c | 39 size_t bytes = 0; in PWRITEV() local 43 if (SSIZE_MAX - bytes < vector[i].iov_len) in PWRITEV() 48 bytes += vector[i].iov_len; in PWRITEV() 58 void *buffer = __mmap (NULL, bytes, PROT_READ | PROT_WRITE, in PWRITEV() 69 ssize_t ret = PWRITE (fd, buffer, bytes, offset); in PWRITEV() 71 __munmap (buffer, bytes); in PWRITEV()
|
/glibc-2.36/stdlib/ |
D | tst-arc4random-fork.c | 53 unsigned char bytes[random_size]; member 64 generate_arc4random (unsigned char *bytes) in generate_arc4random() argument 69 memcpy (&bytes[4 * i], &x, sizeof x); in generate_arc4random() 74 generate_arc4random_buf (unsigned char *bytes) in generate_arc4random_buf() argument 76 arc4random_buf (bytes, random_size); in generate_arc4random_buf() 80 generate_arc4random_uniform (unsigned char *bytes) in generate_arc4random_uniform() argument 83 bytes[i] = arc4random_uniform (256); in generate_arc4random_uniform() 91 func (shared_data->results[run][process_index].bytes); in subprocess() 108 return memcmp (shared_data->results[left->run][left->process_index].bytes, in index_compare() 109 shared_data->results[right->run][right->process_index].bytes, in index_compare() [all …]
|
D | tst-arc4random-thread.c | 54 unsigned char bytes[max_size]; member 64 generate_arc4random (unsigned char *bytes, size_t size) in generate_arc4random() argument 70 memcpy (&bytes[4 * i], &x, sizeof x); in generate_arc4random() 76 memcpy (&bytes[4 * i], &x, rem); in generate_arc4random() 81 generate_arc4random_buf (unsigned char *bytes, size_t size) in generate_arc4random_buf() argument 83 arc4random_buf (bytes, size); in generate_arc4random_buf() 87 generate_arc4random_uniform (unsigned char *bytes, size_t size) in generate_arc4random_uniform() argument 90 bytes[i] = arc4random_uniform (256); in generate_arc4random_uniform() 109 return memcmp (left->bytes, right->bytes, left->size); in compare_blob() 160 func (place->bytes, place->size); in inner_thread() [all …]
|
/glibc-2.36/crypt/ |
D | sha256.c | 113 uint32_t bytes = ctx->buflen; in __sha256_finish_ctx() local 117 ctx->total64 += bytes; in __sha256_finish_ctx() 119 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; in __sha256_finish_ctx() 120 memcpy (&ctx->buffer[bytes], fillbuf, pad); in __sha256_finish_ctx() 124 ctx->buffer64[(bytes + pad) / 8] = SWAP64 (ctx->total64 << 3); in __sha256_finish_ctx() 126 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP (ctx->total[TOTAL64_low] << 3); in __sha256_finish_ctx() 127 ctx->buffer32[(bytes + pad) / 4] = SWAP ((ctx->total[TOTAL64_high] << 3) in __sha256_finish_ctx() 132 __sha256_process_block (ctx->buffer, bytes + pad + 8, ctx); in __sha256_finish_ctx()
|
D | sha512.c | 134 uint64_t bytes = ctx->buflen; in __sha512_finish_ctx() local 139 ctx->total128 += bytes; in __sha512_finish_ctx() 141 ctx->total[TOTAL128_low] += bytes; in __sha512_finish_ctx() 142 if (ctx->total[TOTAL128_low] < bytes) in __sha512_finish_ctx() 146 pad = bytes >= 112 ? 128 + 112 - bytes : 112 - bytes; in __sha512_finish_ctx() 147 memcpy (&ctx->buffer[bytes], fillbuf, pad); in __sha512_finish_ctx() 150 ctx->buffer64[(bytes + pad + 8) / 8] = SWAP (ctx->total[TOTAL128_low] << 3); in __sha512_finish_ctx() 151 ctx->buffer64[(bytes + pad) / 8] = SWAP ((ctx->total[TOTAL128_high] << 3) in __sha512_finish_ctx() 155 __sha512_process_block (ctx->buffer, bytes + pad + 16, ctx); in __sha512_finish_ctx()
|
D | md5.c | 106 md5_uint32 bytes = ctx->buflen; in md5_finish_ctx() local 110 ctx->total[0] += bytes; in md5_finish_ctx() 111 if (ctx->total[0] < bytes) in md5_finish_ctx() 114 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; in md5_finish_ctx() 115 memcpy (&ctx->buffer[bytes], fillbuf, pad); in md5_finish_ctx() 118 ctx->buffer32[(bytes + pad) / 4] = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 119 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP ((ctx->total[1] << 3) in md5_finish_ctx() 123 __md5_process_block (ctx->buffer, bytes + pad + 8, ctx); in md5_finish_ctx()
|
/glibc-2.36/stdio-common/ |
D | tst-printf.c | 269 char bytes[7]; in do_test() local 272 memset (bytes, '\xff', sizeof bytes); in do_test() 273 sprintf (buf, "foo%hhn\n", &bytes[3]); in do_test() 274 if (bytes[0] != '\xff' || bytes[1] != '\xff' || bytes[2] != '\xff' in do_test() 275 || bytes[4] != '\xff' || bytes[5] != '\xff' || bytes[6] != '\xff') in do_test() 280 if (bytes[3] != 3) in do_test()
|
/glibc-2.36/inet/ |
D | inet_ntoa.c | 32 unsigned char *bytes = (unsigned char *) ∈ in inet_ntoa() local 34 bytes[0], bytes[1], bytes[2], bytes[3]); in inet_ntoa()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | getentropy.c | 44 ssize_t bytes = __getrandom (buffer, end - buffer, 0); in getentropy() local 45 if (bytes < 0) in getentropy() 53 if (bytes == 0) in getentropy() 61 buffer += bytes; in getentropy()
|
/glibc-2.36/sysdeps/generic/ |
D | dl-osinfo.h | 28 unsigned char bytes[sizeof (uintptr_t)]; in _dl_setup_stack_chk_guard() member 33 ret.bytes[sizeof (ret) - 1] = 255; in _dl_setup_stack_chk_guard() 34 ret.bytes[sizeof (ret) - 2] = '\n'; in _dl_setup_stack_chk_guard() 38 memcpy (ret.bytes, dl_random, sizeof (ret)); in _dl_setup_stack_chk_guard()
|
/glibc-2.36/io/ |
D | tst-open-tmpfile.c | 129 unsigned long long bytes[2]; in get_random_name() local 136 ssize_t ret = read (random_device, bytes, sizeof (bytes)); in get_random_name() 142 if (ret != sizeof (bytes)) in get_random_name() 148 return xasprintf ("tst-open-tmpfile-%08llx%08llx.tmp", bytes[0], bytes[1]); in get_random_name()
|