/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
H A D | 6-1.c | 111 int cnt; local 134 cnt = 0; 137 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); 151 cnt = 0; 154 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); 156 if (cnt >= 2 * TIMEOUT) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
H A D | 1-1.c | 53 int cnt = 0; local 87 while (cnt++ < 10) {
|
/external/ltp/utils/sctp/lib/ |
H A D | addrs.c | 40 int cnt, err; local 81 cnt = getaddrs->addr_num; 85 return cnt;
|
/external/skia/tests/ |
H A D | GrAllocatorTest.cpp | 26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, 29 // Adds cnt items to the allocator, tests the cnts and iterators, pops popCnt items and checks 31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt, argument 35 for (int i = 0; i < cnt; ++i) { 43 check_allocator_helper(allocator, cnt, popCnt, reporter); 50 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, argument 52 REPORTER_ASSERT(reporter, (0 == cnt) == allocator->empty()); 53 REPORTER_ASSERT(reporter, cnt == allocator->count()); 54 REPORTER_ASSERT(reporter, cnt == C::gInstCnt); 57 for (int i = 0; i < cnt; [all...] |
/external/skqp/tests/ |
H A D | GrAllocatorTest.cpp | 26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, 29 // Adds cnt items to the allocator, tests the cnts and iterators, pops popCnt items and checks 31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt, argument 35 for (int i = 0; i < cnt; ++i) { 43 check_allocator_helper(allocator, cnt, popCnt, reporter); 50 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, argument 52 REPORTER_ASSERT(reporter, (0 == cnt) == allocator->empty()); 53 REPORTER_ASSERT(reporter, cnt == allocator->count()); 54 REPORTER_ASSERT(reporter, cnt == C::gInstCnt); 57 for (int i = 0; i < cnt; [all...] |
/external/toybox/toys/other/ |
H A D | makedevs.c | 57 unsigned int mode = 0755, major = 0, minor = 0, cnt = 0, incr = 0, local 72 user, group, &major, &minor, &st_val, &incr, &cnt); 86 for (i = 0; (!cnt && !i) || i < cnt; i++) { 87 if (cnt>1) {
|
/external/clang/test/OpenMP/ |
H A D | for_lastprivate_codegen.cpp | 133 char cnt; variable 444 #pragma omp for lastprivate(cnt) 445 for (cnt = 0; cnt < 2; ++cnt) { 625 // Calculate private cnt value. 627 // original cnt=private_cnt;
|
H A D | for_linear_codegen.cpp | 24 char cnt; variable
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_atomic_msvc.h | 75 INLINE void proc_yield(int cnt) { argument 76 for (int i = 0; i < cnt; i++)
|
H A D | sanitizer_stacktrace.cc | 34 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { argument 35 size = cnt + !!extra_top_pc; 37 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); 39 trace_buffer[cnt] = extra_top_pc;
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_posix.cc | 22 int *cnt; member in struct:thread_key 23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) argument 27 , cnt(cnt) { 34 (*k->cnt)++; 35 __tsan_write4(&k->cnt); 54 int cnt = 0; local 60 thread_key k1 = thread_key(key, &mtx, 42, &cnt); 61 thread_key k2 = thread_key(key, &mtx, 43, &cnt); 62 thread_key k3 = thread_key(key, &mtx, 44, &cnt); [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | deSharedPtr.cpp | 80 deUint64 cnt = 0; local 82 for (;; cnt++) 84 if (((cnt&(1<<14)) != 0) && (deGetMicroseconds()-startTime >= THREAD_TEST_TIME)) 116 deUint64 cnt = 0; local 118 for (;; cnt++) 120 if (((cnt&(1<<14)) != 0) && (deGetMicroseconds()-startTime >= THREAD_TEST_TIME))
|
/external/e2fsprogs/intl/ |
H A D | finddomain.c | 94 int cnt; local 102 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) 104 if (retval->successor[cnt]->decided == 0) 105 _nl_load_domain (retval->successor[cnt], domainbinding); 107 if (retval->successor[cnt]->data != NULL) 110 return cnt >= 0 ? retval : NULL; 155 int cnt; local 156 for (cnt [all...] |
/external/elfutils/libdw/ |
H A D | dwarf_begin_elf.c | 112 size_t cnt; local 114 for (cnt = 0; cnt < ndwarf_scnnames; ++cnt) 115 if (strcmp (scnname, dwarf_scnnames[cnt]) == 0) 118 && strcmp (&scnname[2], &dwarf_scnnames[cnt][1]) == 0) 124 if (cnt >= ndwarf_scnnames) 128 if (unlikely (result->sectiondata[cnt] != NULL)) 145 if (cnt == IDX_debug_info) 166 result->sectiondata[cnt] 264 size_t cnt; local [all...] |
/external/elfutils/libelf/ |
H A D | nlist.c | 71 size_t cnt; local 144 for (cnt = 0; cnt < nsyms; ++cnt) 150 sym = INTUSE(gelf_getsym) (data, cnt, &mem.sym);
|
/external/elfutils/tests/ |
H A D | asm-tst3.c | 64 size_t cnt; local 170 for (cnt = 1; cnt < 5; ++cnt) 176 scn = elf_getscn (elf, cnt); 179 printf ("cannot get section %zd: %s\n", cnt, elf_errmsg (-1)); 188 cnt, elf_errmsg (-1)); 194 scnnames[cnt]) != 0) 196 printf ("section %zd's name differs: %s vs %s\n", cnt, 198 scnnames[cnt]); [all...] |
H A D | elfputzdata.c | 38 int cnt; local 56 for (cnt = 2; cnt < argc; ++cnt) 58 int fd = open (argv[cnt], O_RDONLY); 63 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1));
|
H A D | get-lines.c | 34 int cnt; local 36 for (cnt = 1; cnt < argc; ++cnt) 38 int fd = open (argv[cnt], O_RDONLY); 43 printf ("%s not usable: %s\n", argv[cnt], dwarf_errmsg (-1)); 65 printf ("%s: cannot get CU die\n", argv[cnt]); 75 printf ("%s: cannot get lines\n", argv[cnt]); 87 printf ("%s: cannot get individual line\n", argv[cnt]);
|
H A D | line2addr.c | 114 int cnt; local 120 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &cnt, &dwfl); local 123 for (; cnt < argc; ++cnt) 125 struct args a = { .arg = argv[cnt] }; 131 printf ("ignored %s\n", argv[cnt]);
|
H A D | sectiondump.c | 41 int cnt; local 62 for (cnt = 2; cnt < argc; ++cnt) 63 if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0) 65 error (EXIT_FAILURE, 0, "while processing section %d: %s", cnt, 146 size_t cnt; local 148 for (cnt = 0; cnt < size; cnt 168 size_t cnt; local [all...] |
H A D | show-abbrev.c | 30 int cnt; local 32 for (cnt = 1; cnt < argc; ++cnt) 34 int fd = open (argv[cnt], O_RDONLY); 38 printf ("%s not usable: %s\n", argv[cnt], dwarf_errmsg (-1)); 124 printf ("dwarf_end failed for %s: %s\n", argv[cnt],
|
/external/flac/libFLAC/ |
H A D | lpc_intrin_avx2.c | 55 __m128i cnt = _mm_cvtsi32_si128(lp_quantization); local 92 summ = _mm256_sra_epi32(summ, cnt); 123 summ = _mm256_sra_epi32(summ, cnt); 154 summ = _mm256_sra_epi32(summ, cnt); 181 summ = _mm256_sra_epi32(summ, cnt); 210 summ = _mm256_sra_epi32(summ, cnt); 233 summ = _mm256_sra_epi32(summ, cnt); 256 summ = _mm256_sra_epi32(summ, cnt); 275 summ = _mm256_sra_epi32(summ, cnt); 296 summ = _mm256_sra_epi32(summ, cnt); 410 __m128i cnt = _mm_cvtsi32_si128(lp_quantization); local 767 __m128i cnt = _mm_cvtsi32_si128(lp_quantization); local [all...] |
/external/iproute2/tipc/ |
H A D | cmdl.c | 86 int cnt = 0; local 101 cnt++; 106 return cnt;
|
/external/libconstrainedcrypto/ |
H A D | sha.c | 125 uint64_t cnt = ctx->count * 8; local 133 uint8_t tmp = (uint8_t) (cnt >> ((7 - i) * 8));
|
/external/libedit/src/ |
H A D | parse.c | 207 int cnt, ch; local 209 for (cnt = 0, c = 0; cnt < 3; cnt++) {
|