/external/elfutils/tests/ |
D | test-nlist.c | 46 int cnt; in main() local 56 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt) in main() 66 cnt, nl[cnt].n_name, in main() 67 cnt, nl[cnt].n_value, in main() 68 cnt, nl[cnt].n_scnum, in main() 69 cnt, nl[cnt].n_type, in main() 70 cnt, nl[cnt].n_sclass, in main() 71 cnt, nl[cnt].n_numaux); in main() 73 if ((cnt != 4 && nl[cnt].n_value == 0 && nl[cnt].n_scnum == 0 in main() 74 && nl[cnt].n_type == 0 && nl[cnt].n_sclass == 0 in main() [all …]
|
D | asm-tst9.c | 93 size_t cnt; in main() local 128 for (cnt = 0; cnt < ninput; ++cnt) in main() 130 if (asm_adduleb128 (scn, input[cnt]) != 0) in main() 133 (uint32_t) input[cnt], asm_errmsg (-1)); in main() 137 if (asm_addsleb128 (scn, input[cnt]) != 0) in main() 140 input[cnt], asm_errmsg (-1)); in main() 144 if (asm_adduleb128 (scn, -input[cnt]) != 0) in main() 147 (uint32_t) -input[cnt], asm_errmsg (-1)); in main() 151 if (asm_addsleb128 (scn, -input[cnt]) != 0) in main() 154 -input[cnt], asm_errmsg (-1)); in main() [all …]
|
D | asm-tst2.c | 73 size_t cnt; in main() local 171 for (cnt = 1; cnt < 3; ++cnt) in main() 177 scn = elf_getscn (elf, cnt); in main() 180 printf ("cannot get section %zd: %s\n", cnt, elf_errmsg (-1)); in main() 189 cnt, elf_errmsg (-1)); in main() 195 scnnames[cnt]) != 0) in main() 197 printf ("section %zd's name differs: %s vs %s\n", cnt, in main() 199 scnnames[cnt]); in main() 203 if (shdr->sh_type != (cnt == 2 ? SHT_STRTAB : SHT_PROGBITS)) in main() 205 printf ("section %zd's type differs\n", cnt); in main() [all …]
|
D | asm-tst1.c | 74 size_t cnt; in main() local 155 for (cnt = 1; cnt < 4; ++cnt) in main() 161 scn = elf_getscn (elf, cnt); in main() 164 printf ("cannot get section %zd: %s\n", cnt, elf_errmsg (-1)); in main() 173 cnt, elf_errmsg (-1)); in main() 179 scnnames[cnt]) != 0) in main() 181 printf ("section %zd's name differs: %s vs %s\n", cnt, in main() 183 scnnames[cnt]); in main() 187 if (shdr->sh_type != (cnt == 3 ? SHT_STRTAB : SHT_PROGBITS)) in main() 189 printf ("section %zd's type differs\n", cnt); in main() [all …]
|
D | sectiondump.c | 41 int cnt; in main() local 62 for (cnt = 2; cnt < argc; ++cnt) in main() 63 if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0) in main() 65 error (EXIT_FAILURE, 0, "while processing section %d: %s", cnt, in main() 146 size_t cnt; in print_bytes() local 148 for (cnt = 0; cnt < size; cnt += 16) in print_bytes() 152 printf ("%*zx: ", sizeof (size_t) == 4 ? 8 : 16, (size_t) offset + cnt); in print_bytes() 154 for (inner = 0; inner < 16 && cnt + inner < size; ++inner) in print_bytes() 155 printf (" %02hhx", buf[cnt + inner]); in print_bytes() 168 size_t cnt; in print_symtab() local [all …]
|
/external/elfutils/src/ |
D | strip.c | 949 size_t cnt, in update_section_size() argument 960 cnt), NULL); in update_section_size() 1003 size_t cnt; in handle_elf() local 1121 for (cnt = 0; cnt < phnum; ++cnt) in handle_elf() 1124 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); in handle_elf() 1126 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf() 1164 for (cnt = 0; cnt < phnum; ++cnt) in handle_elf() 1167 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); in handle_elf() 1169 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) in handle_elf() 1210 cnt = 1; in handle_elf() [all …]
|
D | elflint.c | 343 size_t cnt; in check_elf_header() local 383 for (cnt = EI_PAD; cnt < EI_NIDENT; ++cnt) in check_elf_header() 384 if (ehdr->e_ident[cnt] != 0) in check_elf_header() 385 ERROR (_("e_ident[%zu] is not zero\n"), cnt); in check_elf_header() 393 for (cnt = 0; cnt < nvalid_e_machine; ++cnt) in check_elf_header() 394 if (valid_e_machine[cnt] == ehdr->e_machine) in check_elf_header() 396 if (cnt == nvalid_e_machine) in check_elf_header() 559 size_t cnt; in check_scn_group() local 561 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group() 563 Elf_Scn *scn = elf_getscn (ebl->elf, cnt); in check_scn_group() [all …]
|
/external/elfutils/libelf/ |
D | elf32_getshdr.c | 138 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local 140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2() 141 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2() 142 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2() 143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2() 144 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2() 145 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2() 146 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2() 147 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2() 148 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2() [all …]
|
D | elf32_getphdr.c | 160 for (size_t cnt = 0; cnt < phnum; ++cnt) in ElfW2() local 162 CONVERT_TO (phdr[cnt].p_type, notcvt[cnt].p_type); in ElfW2() 163 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset); in ElfW2() 164 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr); in ElfW2() 165 CONVERT_TO (phdr[cnt].p_paddr, notcvt[cnt].p_paddr); in ElfW2() 166 CONVERT_TO (phdr[cnt].p_filesz, notcvt[cnt].p_filesz); in ElfW2() 167 CONVERT_TO (phdr[cnt].p_memsz, notcvt[cnt].p_memsz); in ElfW2() 168 CONVERT_TO (phdr[cnt].p_flags, notcvt[cnt].p_flags); in ElfW2() 169 CONVERT_TO (phdr[cnt].p_align, notcvt[cnt].p_align); in ElfW2() 210 for (size_t cnt = 0; cnt < phnum; ++cnt) in ElfW2() local [all …]
|
/external/clang/test/CoverageMapping/ |
D | break.c | 4 int cnt = 0; // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0 in main() local 5 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+3]]:4 = #1 in main() 7 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = 0 in main() 9 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+6]]:4 = #2 in main() 12 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+3]]:4 = 0 in main() 14 ++cnt; in main() 16 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+7]]:4 = #3 in main() 18 if(cnt == 0) { // CHECK-NEXT: File 0, [[@LINE]]:18 -> [[@LINE+3]]:6 = #4 in main() 20 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+1]]:6 = 0 in main() 22 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = (#3 - #4) in main() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 47 size_t cnt = 0; in get_offsets() local 57 if (cnt >= allocated) in get_offsets() 89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets() 90 mem[cnt].address_len = len_bytes; in get_offsets() 92 if (mem[cnt].set_start >= max_size in get_offsets() 93 || len - (2 + 2 * len_bytes) > max_size - mem[cnt].set_start) in get_offsets() 109 &mem[cnt].cu_offset, IDX_debug_info, 3)) in get_offsets() 116 + mem[cnt].cu_offset); in get_offsets() 118 mem[cnt].cu_header_size = 23; in get_offsets() 120 mem[cnt].cu_header_size = 11; in get_offsets() [all …]
|
/external/llvm-project/clang/test/CoverageMapping/ |
D | break.c | 4 int cnt = 0; // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0 in main() local 5 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+3]]:4 = #1 in main() 7 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = 0 in main() 9 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+6]]:4 = #2 in main() 12 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+3]]:4 = 0 in main() 14 ++cnt; in main() 16 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+7]]:4 = #3 in main() 18 if(cnt == 0) { // CHECK: File 0, [[@LINE]]:18 -> [[@LINE+3]]:6 = #4 in main() 20 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+1]]:6 = 0 in main() 22 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = (#3 - #4) in main() [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_scan.c | 28 struct isl_counter *cnt = (struct isl_counter *)cb; in increment_counter() local 30 isl_int_add_ui(cnt->count, cnt->count, 1); in increment_counter() 34 if (isl_int_is_zero(cnt->max) || isl_int_lt(cnt->count, cnt->max)) in increment_counter() 41 struct isl_counter *cnt = (struct isl_counter *)cb; in increment_range() local 43 isl_int_add(cnt->count, cnt->count, max); in increment_range() 44 isl_int_sub(cnt->count, cnt->count, min); in increment_range() 45 isl_int_add_ui(cnt->count, cnt->count, 1); in increment_range() 47 if (isl_int_is_zero(cnt->max) || isl_int_lt(cnt->count, cnt->max)) in increment_range() 49 isl_int_set(cnt->count, cnt->max); in increment_range() 254 struct isl_counter cnt = { { &increment_counter } }; in isl_basic_set_count_upto() local [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/ |
D | 2-1.c | 31 int cnt; in main() local 42 for (cnt = 0; cnt < BARRIER_NUM; cnt++) { in main() 43 if (pthread_barrier_init(&barriers[cnt], &ba, 1) != 0) { in main() 44 printf("Error at %dth initialization\n", cnt); in main() 59 for (cnt = 0; cnt < BARRIER_NUM; cnt++) { in main() 60 rc = pthread_barrier_wait(&barriers[cnt]); in main() 62 printf("Test Fail: Error at %dth wait, %s\n", cnt, in main() 69 for (cnt = 0; cnt < BARRIER_NUM; cnt++) { in main() 70 rc = pthread_barrier_destroy(&barriers[cnt]); in main() 72 printf("Error at %dth destruction, %s\n", cnt, in main()
|
/external/rust/crates/futures-executor/tests/ |
D | local_pool.rs | 29 let mut cnt = 0; in run_until_single_future() localVariable 34 cnt += 1; in run_until_single_future() 39 assert_eq!(cnt, 1); in run_until_single_future() 70 let cnt = Rc::new(Cell::new(0)); in run_executes_spawned() localVariable 71 let cnt2 = cnt.clone(); in run_executes_spawned() 85 assert_eq!(cnt.get(), 1); in run_executes_spawned() 93 let cnt = Rc::new(Cell::new(0)); in run_spawn_many() localVariable 99 let cnt = cnt.clone(); in run_spawn_many() localVariable 101 cnt.set(cnt.get() + 1); in run_spawn_many() 107 assert_eq!(cnt.get(), ITER); in run_spawn_many() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_traceonoff_triggers.tc | 36 cnt=`cnt_trace` 37 if [ $cnt -ne 0 ]; then 49 cnt=`cnt_trace` 50 if [ $cnt -eq 0 ]; then 78 cnt=`grep schedule set_ftrace_filter | wc -l` 79 if [ $cnt -ne 1 ]; then 83 cnt=`cnt_trace` 87 if [ $cnt -ne $cnt2 ]; then 106 cnt=`cnt_trace` 107 if [ $cnt -ne 0 ]; then [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-vpopcnt.ll | 7 ; CHECK: cnt.8b 9 %cnt = tail call <8 x i8> @llvm.ctpop.v8i8(<8 x i8> %x) 10 ret <8 x i8> %cnt 16 ; CHECK: cnt.8b 18 %cnt = tail call <4 x i16> @llvm.ctpop.v4i16(<4 x i16> %x) 19 ret <4 x i16> %cnt 25 ; CHECK: cnt.8b 27 %cnt = tail call <2 x i32> @llvm.ctpop.v2i32(<2 x i32> %x) 28 ret <2 x i32> %cnt 35 ; CHECK: cnt.16b [all …]
|
/external/ltp/testcases/kernel/syscalls/readdir/ |
D | readdir01.c | 151 int cnt; in main() local 190 for (cnt = 0; cnt < nfiles; cnt++) { in main() 192 sprintf(fname, "%s%d", Basename, cnt); in main() 213 cnt = 0; in main() 218 cnt++; in main() 224 cnt + 1, errno, strerror(errno)); in main() 226 if (cnt == nfiles) { in main() 230 } else if (cnt > nfiles) { in main() 234 nfiles, cnt); in main() 239 nfiles, cnt); in main() [all …]
|
/external/fec/ |
D | peakval.c | 8 int peakval_port(signed short *b,int cnt); 10 int peakval_mmx(signed short *b,int cnt); 11 int peakval_sse(signed short *b,int cnt); 12 int peakval_sse2(signed short *b,int cnt); 16 int peakval_av(signed short *b,int cnt); 19 int peakval(signed short *b,int cnt){ in peakval() argument 25 return peakval_port(b,cnt); in peakval() 28 return peakval_mmx(b,cnt); in peakval() 30 return peakval_sse(b,cnt); in peakval() 32 return peakval_sse2(b,cnt); in peakval() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | lzcnt-tzcnt.ll | 10 %cnt = tail call i16 @llvm.ctlz.i16(i16 %v, i1 true) 12 %cond = select i1 %tobool, i16 16, i16 %cnt 21 %cnt = tail call i32 @llvm.ctlz.i32(i32 %v, i1 true) 23 %cond = select i1 %tobool, i32 32, i32 %cnt 32 %cnt = tail call i64 @llvm.ctlz.i64(i64 %v, i1 true) 34 %cond = select i1 %tobool, i64 64, i64 %cnt 43 %cnt = tail call i16 @llvm.ctlz.i16(i16 %v, i1 true) 45 %cond = select i1 %tobool, i16 16, i16 %cnt 54 %cnt = tail call i32 @llvm.ctlz.i32(i32 %v, i1 true) 56 %cond = select i1 %tobool, i32 32, i32 %cnt [all …]
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link05.c | 73 int cnt; in main() local 93 for (cnt = 1; cnt < nlinks; cnt++) { in main() 94 sprintf(lname, "%s%d", fname, cnt); in main() 107 for (cnt = 1; cnt < nlinks; cnt++) { in main() 108 sprintf(lname, "%s%d", fname, cnt); in main() 123 if (cnt >= nlinks) { in main() 131 for (cnt = 1; cnt < nlinks; cnt++) { in main() 132 sprintf(lname, "%s%d", fname, cnt); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/ |
D | 2-1.c | 71 int cnt; in main() local 86 for (cnt = 0; cnt < THREAD_NUM; cnt++) { in main() 88 (&child_threads[cnt], NULL, fn_chld, &cnt) != 0) { in main() 90 cnt); in main() 96 for (cnt = 0; cnt < THREAD_NUM; cnt++) { in main() 97 if (pthread_join(child_threads[cnt], NULL) != 0) { in main() 99 cnt); in main()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | datapid.c | 88 int cnt; in datapidgen() local 100 if (cnt = (offset % NBPW)) { /* partial word */ in datapidgen() 102 woff = offset - cnt; in datapidgen() 104 printf("partial at beginning, cnt = %d, woff = %d\n", cnt, in datapidgen() 114 for (tmp = 0; tmp < cnt; tmp++) { /* skip unused bytes */ in datapidgen() 118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen() 131 for (cnt = 0; cnt < num_full_words; woff += NBPW, cnt++) { in datapidgen() 153 if (cnt = ((bsize - boff) % NBPW)) { in datapidgen() 163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen() 185 int cnt; in datapidchk() local [all …]
|
/external/e2fsprogs/intl/ |
D | finddomain.c | 94 int cnt; in _nl_find_domain() local 102 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) in _nl_find_domain() 104 if (retval->successor[cnt]->decided == 0) in _nl_find_domain() 105 _nl_load_domain (retval->successor[cnt], domainbinding); in _nl_find_domain() 107 if (retval->successor[cnt]->data != NULL) in _nl_find_domain() 110 return cnt >= 0 ? retval : NULL; in _nl_find_domain() 155 int cnt; in _nl_find_domain() local 156 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) in _nl_find_domain() 158 if (retval->successor[cnt]->decided == 0) in _nl_find_domain() 159 _nl_load_domain (retval->successor[cnt], domainbinding); in _nl_find_domain() [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | lzcnt-tzcnt.ll | 15 %cnt = tail call i16 @llvm.ctlz.i16(i16 %v, i1 true) 17 %cond = select i1 %tobool, i16 16, i16 %cnt 27 %cnt = tail call i32 @llvm.ctlz.i32(i32 %v, i1 true) 29 %cond = select i1 %tobool, i32 32, i32 %cnt 39 %cnt = tail call i64 @llvm.ctlz.i64(i64 %v, i1 true) 41 %cond = select i1 %tobool, i64 64, i64 %cnt 51 %cnt = tail call i16 @llvm.ctlz.i16(i16 %v, i1 true) 53 %cond = select i1 %tobool, i16 16, i16 %cnt 63 %cnt = tail call i32 @llvm.ctlz.i32(i32 %v, i1 true) 65 %cond = select i1 %tobool, i32 32, i32 %cnt [all …]
|