/bionic/tests/ |
D | ctype_test.cpp | 30 for (int i = kMin; i < kMax; ++i) { in TEST() local 42 for (int i = kMin; i < kMax; ++i) { in TEST() local 54 for (int i = kMin; i < kMax; ++i) { in TEST() local 65 for (int i = kMin; i < kMax; ++i) { in TEST() local 76 for (int i = kMin; i < kMax; ++i) { in TEST() local 86 for (int i = kMin; i < kMax; ++i) { in TEST() local 96 for (int i = kMin; i < kMax; ++i) { in TEST() local 106 for (int i = kMin; i < kMax; ++i) { in TEST() local 116 for (int i = kMin; i < kMax; ++i) { in TEST() local 126 for (int i = kMin; i < kMax; ++i) { in TEST() local [all …]
|
D | malloc_test.cpp | 81 for (size_t i = 0; i < alloc_len; i++) { in TEST() local 113 for (size_t i = 0; i <= 12; i++) { in TEST() local 153 for (size_t i = 0; i < 100; i++) { in TEST() local 161 for (size_t i = 0; i < 200; i++) { in TEST() local 169 for (size_t i = 0; i < 250; i++) { in TEST() local 186 for (size_t i = 0; i < 100; i++) { in TEST() local 202 for (size_t i = 0; i < 100; i++) { in TEST() local 218 for (size_t i = 0; i < 100; i++) { in TEST() local 225 for (size_t i = 0; i < 50; i++) { in TEST() local 232 for (size_t i = 0; i < 50; i++) { in TEST() local [all …]
|
D | __cxa_atexit_test.cpp | 56 for (int i = 0; i < 500; ++i) { in TEST() local 62 for (int i = 500; i < 750; ++i) { in TEST() local 69 for (int i = 498; i >= 0; i -= 2) expected.push_back(i); in TEST() local 70 for (int i = 749; i >= 500; --i) expected.push_back(i); in TEST() local 71 for (int i = 499; i >= 1; i -= 2) expected.push_back(i); in TEST() local 74 for (size_t i = 0; i < expected.size(); ++i) { in TEST() local
|
D | sched_test.cpp | 33 int i = 0; in TEST() local 64 int i = 0; in TEST() local 76 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 102 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 113 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 117 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 151 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 156 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 161 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local 197 for (int i = 0; i < set_size; i++) { in TEST() local [all …]
|
D | stdatomic_test.cpp | 90 atomic_int i; in TEST() local 98 atomic_int i; in TEST() local 105 atomic_int i; in TEST() local 148 atomic_int i = ATOMIC_VAR_INIT(123); in TEST() local 155 atomic_int i = ATOMIC_VAR_INIT(123); in TEST() local 162 atomic_int i = ATOMIC_VAR_INIT(0x100); in TEST() local 169 atomic_int i = ATOMIC_VAR_INIT(0x100); in TEST() local 176 atomic_int i = ATOMIC_VAR_INIT(0x123); in TEST() local 198 for (uint_least32_t i = 0; i <= BIG; i+=2) { in writer() local
|
D | buffer_tests.cpp | 210 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in SetFencepost() local 217 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in VerifyFencepost() local 250 for (size_t i = 0; i < g_single_aligns_len; i++) { in RunSingleBufferAlignTest() local 283 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunSrcDstBufferAlignTest() local 321 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunCmpBufferAlignTest() local 371 for (size_t i = 0; i < pagesize; i++) { in RunSingleBufferOverreadTest() local 394 for (size_t i = 0; i < 16; i++) { in RunSrcDstBufferOverreadTest() local 430 for (size_t i = 0; i < pagesize; i++) { in RunCmpBufferOverreadTest() local 444 for (size_t i = 1; i < miscmp_len; i++) { in RunCmpBufferOverreadTest() local
|
D | system_properties_test2.cpp | 60 for (size_t i = 0; i < PROP_VALUE_MAX; i++) { in TEST() local 79 for (size_t i = 0; i < sizeof(suffix); i++) { in TEST() local 141 for (size_t i = 0; i < 100; ++i) { in TEST() local 164 for (size_t i = 0; i < 1000; ++i) { in TEST() local
|
D | string_test.cpp | 48 static int signum(int i) { in signum() 229 for (size_t i = 1; i < ITER; ++i) { in InitLenArray() local 257 for (size_t i = 1; i < state.n; i++) { in TEST() local 429 for (size_t i = 0; i < sizeof(str) - 1; i++) { in TEST() local 439 for (size_t i = 1; i < state.n; i++) { in TEST() local 475 for (size_t i = 1; i < state.n; i++) { in TEST() local 559 for (size_t i = 0; i < state.n; i++) { in TEST() local 619 for (size_t i = 1; i < state.n; i++) { in TEST() local 643 for (size_t i = 1; i < state.n; i++) { in TEST() local 751 for (size_t i = 1; i < state.n; i++) { in TEST() local [all …]
|
D | sys_socket_test.cpp | 129 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in SendMultiple() local 149 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg() local 165 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg() local 192 for (size_t i = 0; i < NUM_SEND_MSGS; i++) { in SendMMsg() local 216 for (size_t i = 0; i < NUM_SEND_MSGS; i++) { in TestSendMMsg() local
|
D | malloc_iterate_test.cpp | 63 for (size_t i = 0; i < test_data->allocs.size(); i++) { in FreePtrs() local 79 for (size_t i = 0; i < test_data->allocs.size(); i++) { in SavePointers() local 116 for (size_t i = 0; i < test_data->allocs.size(); i++) { in VerifyPtrs() local 131 for (size_t i = 0; i < kInitialAllocations; i++) { in AllocateSizes() local 137 for (size_t i = 0; i < kNumAllocs; i++) { in AllocateSizes() local
|
D | leak_test.cpp | 45 for (size_t i = 0; i < tid_count; ++i) { in WaitUntilAllThreadsExited() local 116 for (int i = 0; i < 100; ++i) { in TEST() local 141 for (int i = 0; i < thread_count; ++i) { in TEST() local
|
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/ |
D | sha1.c | 56 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ argument 59 # define blk0(i) block->l[i] argument 61 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ argument 67 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 68 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 69 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 70 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument 71 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument 100 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument 101 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument [all …]
|
/bionic/libc/system_properties/ |
D | contexts_serialized.cpp | 61 for (size_t i = 0; i < num_context_nodes; ++i) { in InitializeContextNodes() local 111 for (size_t i = 0; i < num_context_nodes_; ++i) { in Initialize() local 148 for (size_t i = 0; i < num_context_nodes_; ++i) { in ForEach() local 156 for (size_t i = 0; i < num_context_nodes_; ++i) { in ResetAccess() local 164 for (size_t i = 0; i < num_context_nodes_; ++i) { in FreeAndUnmap() local
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 55 for (int i = 0; i < nprops; i++) { in LocalPropertyTestState() local 104 for (int i = 0; i < nprops; i++) { in ~LocalPropertyTestState() local 161 for (size_t i = 0; i < nprops; ++i) { in BM_property_read() local 165 size_t i = 0; in BM_property_read() local 182 for (size_t i = 0; i < nprops; ++i) { in BM_property_serial() local 186 size_t i = 0; in BM_property_serial() local
|
D | stdlib_benchmark.cpp | 101 for (size_t i = 0; i < numAllocs; i++) { in MallocMultiple() local 106 for (size_t i = 0; i < numAllocs; i++) { in MallocMultiple() local 177 size_t i, j, k, l; in BM_stdlib_mbstowcs() local 217 size_t i, j, k, l; in BM_stdlib_mbrtowc() local
|
D | get_heap_size_benchmark.cpp | 50 for (int i = 0; i < 5; i++) { in BM_mallinfo() local 62 for (int i = 0; i < 5; i++) { in BM_mallinfo() local
|
/bionic/linker/ |
D | linker_gnu_hash_test.cpp | 43 for (size_t i = 0; i < sizeof(test1) - 1; ++i) { in TEST() local 48 for (size_t i = 0; i < sizeof(test2) - 1; ++i) { in TEST() local 53 for (size_t i = 0; i < sizeof(test3) - 1; ++i) { in TEST() local
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 154 for (size_t i = 0; i < size; i++) { in ShowDiffs() local 168 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 176 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 183 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 190 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 198 for (size_t i = 0; i < alloc_size; i++) { in VerifyAllocCalls() local 201 for (size_t i = alloc_size; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 208 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls() local 247 for (size_t i = 0; i < 25; i++) { in TEST_F() local 305 for (size_t i = 0; i < usable_size; i++) { in TEST_F() local [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | s_logl.c | 121 #define G(i) (T[(i)].G) argument 122 #define F_hi(i) (T[(i)].F_hi) argument 123 #define F_lo(i) (T[(i)].F_lo) argument 126 #define E(i) (U[(i)].E) argument 127 #define H(i) (U[(i)].H) argument 460 int i, k; in k_logl() local 572 int i, k; in log1pl() local
|
/bionic/libc/bionic/ |
D | vdso.cpp | 93 for (size_t i = 0; i < vdso_ehdr->e_shnum; ++i) { in __libc_init_vdso() local 106 for (size_t i = 0; i < vdso_ehdr->e_phnum; ++i) { in __libc_init_vdso() local 132 for (size_t i = 0; i < symbol_count; ++i) { in __libc_init_vdso() local
|
D | bionic_elf_tls.cpp | 58 for (size_t i = 0; i < phdr_count; ++i) { in __bionic_get_tls_segment() local 187 for (size_t i = 0; i < modules.module_count; ++i) { in __init_static_tls() local 260 for (size_t i = 0; i < dtv->count; ++i) { in update_tls_dtv() local 349 for (size_t i = 0; i < dtv->count; ++i) { in __free_dynamic_tls() local
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 242 int i; in regcomp() local 623 sopno pos, i; in p_simp_re() local 803 ssize_t i; in p_bracket() local 816 ssize_t i; in p_bracket() local 849 int i; in p_b_term() local 1241 size_t i; in allocset() local 1293 size_t i; in freeset() local 1325 size_t i; in freezeset() local 1365 size_t i; in firstch() local 1389 size_t i; in nch() local [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | misc.c | 174 int i, wds; local 260 i2b in i2b() argument 400 int i; local 469 int i, k1, n, n1; local 526 int i, j; local 560 int i, wa, wb; local 729 int i; local
|
D | hexnan.c | 36 L_shift(x, x1, i) ULong *x; ULong *x1; int i; in L_shift() argument 62 int havedig, hd0, i, nbits; local
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 496 int i; in res_setoptions() local 610 register uint32_t i = ntohl(in.s_addr); in net_mask() local 674 int i, nserv; in res_setservers() local 726 int i; in res_getservers() local
|