/external/clang/test/CoverageMapping/ |
H A D | break.c | 4 int cnt = 0; // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0 local 5 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+3]]:4 = #1 7 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = 0 9 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+6]]:4 = #2 12 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+3]]:4 = 0 14 ++cnt; 16 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+7]]:4 = #3 18 if(cnt == 0) { // CHECK-NEXT: File 0, [[@LINE]]:18 -> [[@LINE+3]]:6 = #4 20 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+1]]:6 = 0 22 ++cnt; // CHEC [all...] |
/external/elfutils/src/tests/ |
H A D | test-nlist.c | 46 int cnt; local 56 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt) 66 cnt, nl[cnt].n_name, 67 cnt, nl[cnt].n_value, 68 cnt, nl[cnt] [all...] |
H A D | asm-tst2.c | 72 size_t cnt; local 170 for (cnt = 1; cnt < 3; ++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 | dwarf-getstring.c | 33 int cnt; local 35 for (cnt = 1; cnt < argc; ++cnt) 40 int fd = open64 (argv[cnt], O_RDONLY); 43 printf ("cannot open '%s': %m\n", argv[cnt]); 50 printf ("%s not usable: %s\n", argv[cnt], dwarf_errmsg (-1));
|
H A D | asm-tst9.c | 92 size_t cnt; local 127 for (cnt = 0; cnt < ninput; ++cnt) 129 if (asm_adduleb128 (scn, input[cnt]) != 0) 132 (uint32_t) input[cnt], asm_errmsg (-1)); 136 if (asm_addsleb128 (scn, input[cnt]) != 0) 139 input[cnt], asm_errmsg (-1)); 143 if (asm_adduleb128 (scn, -input[cnt]) != 0) 146 (uint32_t) -input[cnt], asm_errms [all...] |
H A D | asm-tst1.c | 73 size_t cnt; local 154 for (cnt = 1; cnt < 4; ++cnt) 160 scn = elf_getscn (elf, cnt); 163 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 172 cnt, elf_errmsg (-1)); 178 scnnames[cnt]) != 0) 180 printf ("section %Zd's name differs: %s vs %s\n", cnt, 182 scnnames[cnt]); [all...] |
H A D | asm-tst6.c | 40 size_t cnt; local 58 for (cnt = 0; cnt < 22000; ++cnt) 65 snprintf (buf, sizeof (buf), ".grp%Zu", cnt); 69 printf ("cannot section group %Zu: %s\n", cnt, asm_errmsg (-1)); 79 cnt, asm_errmsg (-1)); 85 snprintf (buf, sizeof (buf), "%Zu", cnt); 96 if (asm_adduint32 (scn, cnt) != 0) 108 cnt, asm_errms [all...] |
H A D | msg_tst.c | 84 size_t cnt; local 91 for (cnt = 1; cnt < ELF_E_NUM; ++cnt) 93 const char *str = elf_errmsg (libelf_msgs[cnt].id); 95 if (strcmp (str, libelf_msgs[cnt].expected) != 0) 98 cnt, libelf_msgs[cnt].expected, str);
|
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 | asm-tst5.c | 42 size_t cnt; local 61 for (cnt = 0; cnt < 66000; ++cnt) 67 snprintf (buf, sizeof (buf), ".data.%Zu", cnt); 80 snprintf (buf, sizeof (buf), "%Zu", cnt); 90 if (asm_adduint32 (scn, cnt) != 0)
|
H A D | get-files.c | 33 int cnt; local 35 for (cnt = 1; cnt < argc; ++cnt) 37 int fd = open (argv[cnt], O_RDONLY); 42 printf ("%s not usable\n", argv[cnt]); 65 printf ("%s: cannot get CU die\n", argv[cnt]); 74 printf ("%s: cannot get files\n", argv[cnt]); 83 printf ("%s: cannot get include directories\n", argv[cnt]);
|
H A D | asm-tst7.c | 37 size_t cnt; local 96 for (cnt = 1; 1; ++cnt) 102 scn = elf_getscn (elf, cnt); 105 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 114 cnt, elf_errmsg (-1)); 122 for (cnt = 1; cnt< (shdr->sh_size 124 ++cnt) 129 if (cnt > [all...] |
H A D | asm-tst8.c | 37 size_t cnt; local 97 for (cnt = 1; 1; ++cnt) 103 scn = elf_getscn (elf, cnt); 106 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 115 cnt, elf_errmsg (-1)); 123 for (cnt = 1; cnt< (shdr->sh_size 125 ++cnt) 130 if (cnt > [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
H A D | macro.c | 12 int j, cnt;
|
/external/elfutils/src/libelf/ |
H A D | gnuhash_xlate.h | 45 for (unsigned int cnt = 0; cnt < 4; ++cnt) 49 dest32[cnt] = bswap_32 (src32[cnt]); 58 for (unsigned int cnt = 0; cnt < bitmask_words; ++cnt) 62 dest64[cnt] = bswap_64 (src64[cnt]); [all...] |
H A D | elf32_getshdr.c | 128 for (size_t cnt = 0; cnt < shnum; ++cnt) 130 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); 131 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); 132 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); 133 CONVERT_TO (shdr[cnt] [all...] |
H A D | elf32_getphdr.c | 154 for (size_t cnt = 0; cnt < phnum; ++cnt) 156 CONVERT_TO (phdr[cnt].p_type, notcvt[cnt].p_type); 157 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset); 158 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr); 159 CONVERT_TO (phdr[cnt] [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-1257.js | 33 var cnt = 0; 43 if (cnt++ < 10000000) {
|
/external/elfutils/src/src/ |
H A D | strip.c | 424 size_t cnt; local 530 for (cnt = 0; cnt < phnum; ++cnt) 533 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); 535 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) 554 for (cnt = 0; cnt < phnum; ++cnt) 557 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_stack_trace.cc | 39 void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { argument 40 ResizeBuffer(cnt + !!extra_top_pc); 41 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); 43 trace_buffer[cnt] = extra_top_pc;
|
/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/libvpx/libvpx/vp8/common/ |
H A D | findnearmv.c | 31 int cnt[4], 41 int *cntx = cnt; 46 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; 80 cnt[CNT_INTRA] += 2; 102 cnt[CNT_INTRA] += 1; 106 if (cnt[CNT_SPLITMV]) 110 cnt[CNT_NEARES 24 vp8_find_near_mvs( MACROBLOCKD *xd, const MODE_INFO *here, int_mv *nearest, int_mv *nearby, int_mv *best_mv, int cnt[4], int refframe, int *ref_frame_sign_bias ) argument 149 vp8_find_near_mvs_bias( MACROBLOCKD *xd, const MODE_INFO *here, int_mv mode_mv_sb[2][MB_MODE_COUNT], int_mv best_mv_sb[2], int cnt[4], int refframe, int *ref_frame_sign_bias ) argument [all...] |
/external/elfutils/src/libdw/ |
H A D | dwarf_getpubnames.c | 47 size_t cnt = 0; local 57 if (cnt >= allocated) 89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; 90 mem[cnt].address_len = len_bytes; 92 if (mem[cnt].set_start >= max_size 93 || len - (2 + 2 * len_bytes) > max_size - mem[cnt].set_start) 109 &mem[cnt].cu_offset, IDX_debug_info, 3)) 116 + mem[cnt].cu_offset); 118 mem[cnt].cu_header_size = 23; 120 mem[cnt] [all...] |
/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/libusb/examples/ |
H A D | lsusb.c | 48 ssize_t cnt; local 54 cnt = libusb_get_device_list(NULL, &devs); 55 if (cnt < 0) 56 return (int) cnt;
|