/bionic/tests/ |
H A D | uchar_test.cpp | 83 char bytes[MB_LEN_MAX]; local 84 EXPECT_EQ(1U, c16rtomb(bytes, L'\0', NULL)); 92 char bytes[MB_LEN_MAX]; local 94 memset(bytes, 0, sizeof(bytes)); 95 EXPECT_EQ(1U, c16rtomb(bytes, L'h', NULL)); 96 EXPECT_EQ('h', bytes[0]); 102 memset(bytes, 0, sizeof(bytes)); 103 EXPECT_EQ(1U, c16rtomb(bytes, 123 char bytes[MB_LEN_MAX]; local 139 char bytes[MB_LEN_MAX]; local 281 char bytes[MB_LEN_MAX]; local [all...] |
H A D | wchar_test.cpp | 35 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; local 36 EXPECT_EQ(0U, mbrlen(&bytes[0], 0, NULL)); 37 EXPECT_EQ(1U, mbrlen(&bytes[0], 1, NULL)); 39 EXPECT_EQ(1U, mbrlen(&bytes[4], 1, NULL)); 40 EXPECT_EQ(0U, mbrlen(&bytes[5], 1, NULL)); 50 char bytes[MB_LEN_MAX]; local 53 EXPECT_EQ(1, wctomb(bytes, L'\0')); 54 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', NULL)); 57 memset(bytes, 0, sizeof(bytes)); 121 char bytes[BUFSIZ]; local [all...] |
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while(0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while(0) 56 ({ ((chunkmap)[type / bytes(__u32)] & (1 << (type % bytes(__u32)))) ? 1 : 0; \
|
H A D | xt_set.h | 76 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3 92 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while(0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while(0) 56 ({ ((chunkmap)[type / bytes(__u32)] & (1 << (type % bytes(__u32)))) ? 1 : 0; \
|
H A D | xt_set.h | 76 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3 92 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
|
/bionic/libc/arch-mips/string/ |
H A D | memmove.c | 86 /* This code is called when aligning a pointer, there are remaining bytes 186 unsigned long words, unsigned long bytes, void *ret) 219 /* mop up any remaining bytes. */ 220 return do_bytes_aligned (a, b, bytes, ret); 225 unsigned long words, unsigned long bytes, void *ret) 258 /* mop up any remaining bytes. */ 259 return do_bytes_backward (a, b, bytes, ret); 266 unsigned long words, unsigned long bytes, void *ret) 268 return do_bytes_aligned (a, b, (sizeof (reg_t) * words) + bytes, ret); 273 unsigned long words, unsigned long bytes, voi 185 unaligned_words_forward(struct ulw *a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 224 unaligned_words_backward(struct ulw *a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 265 unaligned_words_forward(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 272 unaligned_words_backward(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 307 aligned_words_forward(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 347 aligned_words_backward(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 388 unsigned long bytes, words; variable [all...] |
H A D | memcpy.c | 86 /* This code is called when aligning a pointer, there are remaining bytes 106 /* This code is called to copy only remaining bytes within word or doubleword */ 148 unsigned long words, unsigned long bytes, void *ret) 194 /* mop up any remaining bytes. */ 195 return do_bytes_remaining (a, b, bytes, ret); 201 unsigned long words, unsigned long bytes, void *ret) 229 /* mop up any remaining bytes */ 230 return do_bytes_remaining (a, b, bytes, ret); 238 unsigned long words, unsigned long bytes, void *ret) 284 /* mop up any remaining bytes 147 unaligned_words(struct ulw *a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 200 unaligned_words(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 237 aligned_words(reg_t * a, const reg_t * b, unsigned long words, unsigned long bytes, void *ret) argument 291 unsigned long bytes, words; variable [all...] |
H A D | memcmp.c | 108 /* This code is called when aligning a pointer, there are remaining bytes 140 unsigned long words, unsigned long bytes) 211 /* mop up any remaining bytes. */ 212 return do_bytes (a, b, bytes); 217 unsigned long words, unsigned long bytes) 219 return do_bytes (a, b, (sizeof (reg_t) * words) + bytes); 226 unsigned long words, unsigned long bytes) 308 /* mop up any remaining bytes. */ 309 return do_bytes (a, b, bytes); 314 unsigned long bytes, word local 139 unaligned_words(const struct ulw *a, const reg_t *b, unsigned long words, unsigned long bytes) argument 216 unaligned_words(const reg_t *a, const reg_t *b, unsigned long words, unsigned long bytes) argument 225 aligned_words(const reg_t *a, const reg_t *b, unsigned long words, unsigned long bytes) argument [all...] |
/bionic/libc/arch-x86/silvermont/string/ |
H A D | sse4-memcmp-slm.S | 177 jz L(0bytes) 184 jz L(0bytes) 191 jz L(0bytes) 198 jz L(0bytes) 205 jz L(0bytes) 209 je L(0bytes) 222 L(0bytes): 324 L(16bytes): 329 L(12bytes): 334 L(8bytes) [all...] |
/bionic/libc/malloc_debug/ |
H A D | malloc_debug.cpp | 76 void* debug_memalign(size_t alignment, size_t bytes); 77 void* debug_realloc(void* pointer, size_t bytes); 78 void* debug_calloc(size_t nmemb, size_t bytes); 88 void* debug_pvalloc(size_t bytes); 320 size_t bytes = internal_malloc_usable_size(pointer); local 322 bytes = (bytes < fill_bytes) ? bytes : fill_bytes; 323 memset(pointer, g_debug->config().fill_alloc_value, bytes); 345 size_t bytes; local 412 debug_memalign(size_t alignment, size_t bytes) argument 471 size_t bytes = internal_malloc_usable_size(pointer); local 484 debug_realloc(void* pointer, size_t bytes) argument 573 size_t bytes = internal_malloc_usable_size(new_pointer); local 590 debug_calloc(size_t nmemb, size_t bytes) argument [all...] |
H A D | FreeTrackData.cpp | 71 size_t bytes = header->usable_size; local 72 bytes = (bytes < debug_->config().fill_on_free_bytes) ? bytes 74 while (bytes > 0) { 75 size_t bytes_to_cmp = (bytes < cmp_mem_.size()) ? bytes : cmp_mem_.size(); 80 bytes -= bytes_to_cmp;
|
/bionic/libc/arch-x86_64/string/ |
H A D | sse4-memcmp-slm.S | 753 jnc L(16bytes) 758 jnc L(16bytes) 763 jnc L(16bytes) 767 jmp L(16bytes) 772 jmp L(16bytes) 776 jmp L(16bytes) 780 jmp L(16bytes) 784 jmp L(16bytes) 788 jmp L(16bytes) 792 jmp L(16bytes) [all...] |
/bionic/libc/bionic/ |
H A D | jemalloc_wrapper.cpp | 24 void* je_pvalloc(size_t bytes) { argument 26 size_t size = BIONIC_ALIGN(bytes, pagesize); 27 if (size < bytes) {
|
H A D | malloc_common.cpp | 113 extern "C" void* malloc(size_t bytes) { argument 116 return _malloc(bytes); 118 return Malloc(malloc)(bytes); 129 extern "C" void* memalign(size_t alignment, size_t bytes) { argument 132 return _memalign(alignment, bytes); 134 return Malloc(memalign)(alignment, bytes); 145 extern "C" void* realloc(void* old_mem, size_t bytes) { argument 148 return _realloc(old_mem, bytes); 150 return Malloc(realloc)(old_mem, bytes); 154 extern "C" void* pvalloc(size_t bytes) { argument 162 valloc(size_t bytes) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | gen_stats.h | 37 __u64 bytes; member in struct:gnet_stats_basic 42 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | gen_stats.h | 37 __u64 bytes; member in struct:gnet_stats_basic 42 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
H A D | ev_streams.c | 49 static void consume(evStream *str, size_t bytes); 233 consume(evStream *str, size_t bytes) { argument 234 while (bytes > 0U) { 235 if (bytes < (size_t)str->iovCur->iov_len) { 236 str->iovCur->iov_len -= bytes; 238 ((u_char *)str->iovCur->iov_base + bytes); 239 str->ioDone += bytes; 240 bytes = 0; 242 bytes -= str->iovCur->iov_len; 268 /* Dribble out some bytes o 272 int bytes; local 295 int bytes; local [all...] |
/bionic/libc/arch-x86/atom/string/ |
H A D | ssse3-memcmp-atom.S | 1834 je L(8bytes) 1837 je L(9bytes) 1839 je L(10bytes) 1841 je L(11bytes) 1843 je L(12bytes) 1845 je L(13bytes) 1847 je L(14bytes) 1848 jmp L(15bytes) 1850 jmp L(12bytes) 1853 je L(10bytes) [all...] |
/bionic/libc/kernel/uapi/mtd/ |
H A D | ubi-user.h | 72 __s64 bytes; member in struct:ubi_mkvol_req 82 __s64 bytes; member in struct:ubi_rsvol_req 101 __s32 bytes; member in struct:ubi_leb_change_req
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/mtd/ |
H A D | ubi-user.h | 72 __s64 bytes; member in struct:ubi_mkvol_req 82 __s64 bytes; member in struct:ubi_rsvol_req 101 __s32 bytes; member in struct:ubi_leb_change_req
|
/bionic/linker/ |
H A D | linker_block_allocator.cpp | 44 uint8_t bytes[PAGE_SIZE - 16] __attribute__((aligned(16))); member in struct:LinkerBlockAllocatorPage 91 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; 128 FreeBlockInfo* first_block = reinterpret_cast<FreeBlockInfo*>(page->bytes);
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
H A D | chacha_private.h | 89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) argument 97 if (!bytes) return; 117 if (bytes < 64) { 118 for (i = 0;i < bytes;++i) tmp[i] = m[i]; 188 /* stopping at 2^70 bytes per nonce is user's responsibility */ 208 if (bytes <= 64) { 209 if (bytes < 64) { 210 for (i = 0;i < bytes;++i) ctarget[i] = c[i]; 216 bytes -= 64;
|
/bionic/tools/relocation_packer/src/ |
H A D | elf_file_unittest.cc | 52 size_t bytes; local 54 bytes = fread(buffer, 1, sizeof(buffer), testfile); 55 ASSERT_EQ(bytes, fwrite(buffer, 1, bytes, temporary)); 56 } while (bytes > 0);
|
/bionic/libc/kernel/uapi/drm/ |
H A D | omap_drm.h | 45 uint32_t bytes; member in union:omap_gem_size
|