Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/external/elfutils/0.153/src/
Dstrip.c432 size_t cnt; in handle_elf() local
532 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in handle_elf()
535 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); in handle_elf()
537 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf()
556 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in handle_elf()
559 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); in handle_elf()
561 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) in handle_elf()
591 cnt = 1; in handle_elf()
596 assert (elf_ndxscn (scn) == cnt); in handle_elf()
598 shdr_info[cnt].scn = scn; in handle_elf()
[all …]
Delflint.c356 size_t cnt; in check_elf_header() local
394 for (cnt = EI_PAD; cnt < EI_NIDENT; ++cnt) in check_elf_header()
395 if (ehdr->e_ident[cnt] != 0) in check_elf_header()
396 ERROR (gettext ("e_ident[%zu] is not zero\n"), cnt); in check_elf_header()
404 for (cnt = 0; cnt < nvalid_e_machine; ++cnt) in check_elf_header()
405 if (valid_e_machine[cnt] == ehdr->e_machine) in check_elf_header()
407 if (cnt == nvalid_e_machine) in check_elf_header()
539 size_t cnt; in check_scn_group() local
541 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group()
543 Elf_Scn *scn = elf_getscn (ebl->elf, cnt); in check_scn_group()
[all …]
Dar.c500 for (int cnt = 0; cnt < argc; ++cnt) in do_oper_extract() local
502 ENTRY entry = { .key = argv[cnt], .data = &argv[cnt] }; in do_oper_extract()
942 for (int cnt = 0; cnt < argc; ++cnt) in do_oper_delete() local
944 ENTRY entry = { .key = argv[cnt], .data = &argv[cnt] }; in do_oper_delete()
1142 for (int cnt = 0; cnt < argc; ++cnt) in do_oper_insert() local
1145 entry.key = full_path ? argv[cnt] : basename (argv[cnt]); in do_oper_insert()
1146 entry.data = &argv[cnt]; in do_oper_insert()
1237 for (int cnt = 0; cnt < argc; ++cnt) in do_oper_insert() local
1239 if (found[cnt] == NULL) in do_oper_insert()
1242 program_invocation_short_name, argv[cnt]); in do_oper_insert()
[all …]
/external/elfutils/0.153/libelf/
Delf32_getshdr.c135 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
137 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
138 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
139 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
140 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
142 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2()
143 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2()
144 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2()
145 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
[all …]
Delf32_getphdr.c163 for (size_t cnt = 0; cnt < phnum; ++cnt) variable
165 CONVERT_TO (phdr[cnt].p_type, notcvt[cnt].p_type);
166 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset);
167 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr);
168 CONVERT_TO (phdr[cnt].p_paddr, notcvt[cnt].p_paddr);
169 CONVERT_TO (phdr[cnt].p_filesz, notcvt[cnt].p_filesz);
170 CONVERT_TO (phdr[cnt].p_memsz, notcvt[cnt].p_memsz);
171 CONVERT_TO (phdr[cnt].p_flags, notcvt[cnt].p_flags);
172 CONVERT_TO (phdr[cnt].p_align, notcvt[cnt].p_align);
210 for (size_t cnt = 0; cnt < phnum; ++cnt) variable
[all …]
Dgnuhash_xlate.h66 for (unsigned int cnt = 0; cnt < 4; ++cnt) in elf_cvt_gnuhash() local
70 dest32[cnt] = bswap_32 (src32[cnt]); in elf_cvt_gnuhash()
79 for (unsigned int cnt = 0; cnt < bitmask_words; ++cnt) in elf_cvt_gnuhash() local
83 dest64[cnt] = bswap_64 (src64[cnt]); in elf_cvt_gnuhash()
Delf_begin.c301 elf->state.elf32.scns.cnt = scncnt; in file_read_elf()
333 for (size_t cnt = 0; cnt < scncnt; ++cnt) in file_read_elf() local
335 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
336 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
337 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf()
338 &elf->state.elf32.shdr[cnt]; in file_read_elf()
339 if (likely (elf->state.elf32.shdr[cnt].sh_offset < maxsize) in file_read_elf()
340 && likely (maxsize - elf->state.elf32.shdr[cnt].sh_offset in file_read_elf()
341 <= elf->state.elf32.shdr[cnt].sh_size)) in file_read_elf()
342 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()
[all …]
/external/elfutils/0.153/libdw/
Ddwarf_getpubnames.c68 size_t cnt = 0; in get_offsets() local
78 if (cnt >= allocated) in get_offsets()
110 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
111 mem[cnt].address_len = len_bytes; in get_offsets()
112 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size) in get_offsets()
127 &mem[cnt].cu_offset, IDX_debug_info, 3)) in get_offsets()
134 + mem[cnt].cu_offset); in get_offsets()
136 mem[cnt].cu_header_size = 23; in get_offsets()
138 mem[cnt].cu_header_size = 11; in get_offsets()
140 ++cnt; in get_offsets()
[all …]
Ddwarf_begin_elf.c135 size_t cnt; in check_section() local
136 for (cnt = 0; cnt < ndwarf_scnnames; ++cnt) in check_section()
137 if (strcmp (scnname, dwarf_scnnames[cnt]) == 0) in check_section()
140 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section()
148 result->sectiondata[cnt] = data; in check_section()
154 && strcmp (&scnname[2], &dwarf_scnnames[cnt][1]) == 0) in check_section()
158 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section()
214 result->sectiondata[cnt] = zdata; in check_section()
215 result->sectiondata_gzip_mask |= 1U << cnt; in check_section()
279 size_t cnt; in scngrp_read() local
[all …]
/external/linux-tools-perf/perf-3.12.0/arch/ia64/lib/
Dmemset.S25 #define cnt in2 macro
67 cmp.eq p_scr, p0 = cnt, r0
82 cmp.gt p_scr, p0 = 16, cnt // is it a minimalistic task?
91 (p_y) add cnt = -8, cnt //
98 (p_yy) add cnt = -4, cnt //
106 (p_y) add cnt = -2, cnt //
116 cmp.gt p_scr, p0 = tmp, cnt // is it a minimalistic task?
118 (p_yy) add cnt = -1, cnt //
124 shr.u linecnt = cnt, LSIZE_SH
130 and tmp = -(LINE_SIZE), cnt // compute end of range
[all …]
Dmemcpy.S28 # define cnt r16 macro
67 shr.u cnt=in2,3 // number of 8-byte words to copy
71 adds cnt=-1,cnt // br.ctop is repeat/until
77 mov ar.lc=cnt
119 adds cnt=-1,in2 // br.ctop is repeat/until
123 mov ar.lc=cnt
203 mov cnt=r0
208 (p3) adds cnt=1,cnt
212 (p4) adds cnt=2,cnt
215 (p5) adds cnt=4,cnt
[all …]
/external/qemu/include/qemu/
Dhost-utils.h65 int cnt = 0; in clz32()
68 cnt += 16; in clz32()
72 cnt += 8; in clz32()
76 cnt += 4; in clz32()
80 cnt += 2; in clz32()
84 cnt++; in clz32()
88 cnt++; in clz32()
90 return cnt; in clz32()
117 int cnt = 0; in clz64()
120 cnt += 32; in clz64()
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-vpopcnt.ll7 ; 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 …]
Darm64-popcnt.ll4 %cnt = tail call i32 @llvm.ctpop.i32(i32 %x)
5 ret i32 %cnt
7 ; CHECK: cnt.8b v0, v0
14 %cnt = tail call i64 @llvm.ctpop.i64(i64 %x)
15 ret i64 %cnt
17 ; CHECK: cnt.8b v0, v0
27 %cnt = tail call i32 @llvm.ctpop.i32(i32 %x)
28 ret i32 %cnt
35 %cnt = tail call i64 @llvm.ctpop.i64(i64 %x)
36 ret i64 %cnt
/external/llvm/test/CodeGen/X86/
Dlzcnt-tzcnt.ll10 %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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Dfindnearmv.c31 int cnt[4], in vp8_find_near_mvs()
41 int *cntx = cnt; in vp8_find_near_mvs()
46 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; in vp8_find_near_mvs()
80 cnt[CNT_INTRA] += 2; in vp8_find_near_mvs()
102 cnt[CNT_INTRA] += 1; in vp8_find_near_mvs()
106 if (cnt[CNT_SPLITMV]) in vp8_find_near_mvs()
110 cnt[CNT_NEAREST] += 1; in vp8_find_near_mvs()
113 cnt[CNT_SPLITMV] = ((above->mbmi.mode == SPLITMV) in vp8_find_near_mvs()
118 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in vp8_find_near_mvs()
121 tmp = cnt[CNT_NEAREST]; in vp8_find_near_mvs()
[all …]
/external/libvpx/libvpx/vp8/common/
Dfindnearmv.c31 int cnt[4], in vp8_find_near_mvs()
41 int *cntx = cnt; in vp8_find_near_mvs()
46 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; in vp8_find_near_mvs()
80 cnt[CNT_INTRA] += 2; in vp8_find_near_mvs()
102 cnt[CNT_INTRA] += 1; in vp8_find_near_mvs()
106 if (cnt[CNT_SPLITMV]) in vp8_find_near_mvs()
110 cnt[CNT_NEAREST] += 1; in vp8_find_near_mvs()
113 cnt[CNT_SPLITMV] = ((above->mbmi.mode == SPLITMV) in vp8_find_near_mvs()
118 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in vp8_find_near_mvs()
121 tmp = cnt[CNT_NEAREST]; in vp8_find_near_mvs()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dhelp.c16 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname()
17 cmds->names[cmds->cnt++] = ent; in add_cmdname()
24 for (i = 0; i < cmds->cnt; ++i) in clean_cmdnames()
27 cmds->cnt = 0; in clean_cmdnames()
42 if (!cmds->cnt) in uniq()
45 for (i = j = 1; i < cmds->cnt; i++) in uniq()
49 cmds->cnt = j; in uniq()
58 while (ci < cmds->cnt && ei < excludes->cnt) { in exclude_cmds()
68 while (ci < cmds->cnt) in exclude_cmds()
71 cmds->cnt = cj; in exclude_cmds()
[all …]
/external/e2fsprogs/intl/
Dfinddomain.c94 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 …]
Dl10nflist.c184 int cnt; in _nl_make_l10nflist() local
334 for (cnt = dirlist_count > 1 ? mask : mask - 1; cnt >= 0; --cnt) in _nl_make_l10nflist()
335 if ((cnt & ~mask) == 0 in _nl_make_l10nflist()
336 && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) in _nl_make_l10nflist()
337 && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) in _nl_make_l10nflist()
348 cnt, language, territory, codeset, in _nl_make_l10nflist()
355 cnt, language, territory, codeset, in _nl_make_l10nflist()
375 size_t cnt; in _nl_normalize_codeset() local
377 for (cnt = 0; cnt < name_len; ++cnt) in _nl_normalize_codeset()
378 if (isalnum ((unsigned char) codeset[cnt])) in _nl_normalize_codeset()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dprof.h271 prof_thr_cnt_t *cnt);
272 void prof_malloc(const void *ptr, size_t usize, prof_thr_cnt_t *cnt);
273 void prof_realloc(const void *ptr, size_t usize, prof_thr_cnt_t *cnt,
364 prof_malloc_record_object(const void *ptr, size_t usize, prof_thr_cnt_t *cnt) { in prof_malloc_record_object() argument
365 prof_ctx_set(ptr, cnt->ctx); in prof_malloc_record_object()
367 cnt->epoch++; in prof_malloc_record_object()
371 cnt->cnts.curobjs++; in prof_malloc_record_object()
372 cnt->cnts.curbytes += usize; in prof_malloc_record_object()
374 cnt->cnts.accumobjs++; in prof_malloc_record_object()
375 cnt->cnts.accumbytes += usize; in prof_malloc_record_object()
[all …]
/external/llvm/test/CodeGen/MSP430/
Dshifts.ll5 define zeroext i8 @lshr8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone {
9 %shr = lshr i8 %a, %cnt
13 define signext i8 @ashr8(i8 signext %a, i8 zeroext %cnt) nounwind readnone {
17 %shr = ashr i8 %a, %cnt
21 define zeroext i8 @shl8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone {
25 %shl = shl i8 %a, %cnt
29 define zeroext i16 @lshr16(i16 zeroext %a, i16 zeroext %cnt) nounwind readnone {
33 %shr = lshr i16 %a, %cnt
37 define signext i16 @ashr16(i16 signext %a, i16 zeroext %cnt) nounwind readnone {
41 %shr = ashr i16 %a, %cnt
[all …]
/external/chromium_org/third_party/skia/tests/
DGrAllocatorTest.cpp26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt,
31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt, in check_allocator() argument
35 for (int i = 0; i < cnt; ++i) { in check_allocator()
43 check_allocator_helper(allocator, cnt, popCnt, reporter); in check_allocator()
50 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt, in check_allocator_helper() argument
52 REPORTER_ASSERT(reporter, (0 == cnt) == allocator->empty()); in check_allocator_helper()
53 REPORTER_ASSERT(reporter, cnt == allocator->count()); in check_allocator_helper()
54 REPORTER_ASSERT(reporter, cnt == C::gInstCnt); in check_allocator_helper()
57 for (int i = 0; i < cnt; ++i) { in check_allocator_helper()
61 if (cnt > 0) { in check_allocator_helper()
[all …]
/external/oprofile/opjitconv/
Djitsymbol.c37 u32 cnt = 0; in count_entries() local
39 cnt++; in count_entries()
40 return cnt; in count_entries()
156 int cnt = 1; in replacement_name() local
161 cnt++; in replacement_name()
162 cnt += 2 + strlen(s); in replacement_name()
163 res = xmalloc(cnt); in replacement_name()
164 snprintf(res, cnt, "%s~%i", s, i); in replacement_name()
375 int cnt; in handle_overlap_region() local
399 cnt = 1; in handle_overlap_region()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_stack_trace.cc26 StackTrace::StackTrace(uptr *buf, uptr cnt) in StackTrace() argument
29 , c_(cnt) { in StackTrace()
31 CHECK_NE(cnt, 0); in StackTrace()
47 void StackTrace::Init(const uptr *pcs, uptr cnt) { in Init() argument
49 if (cnt == 0) in Init()
53 CHECK_LE(cnt, c_); in Init()
55 s_ = (uptr*)internal_alloc(MBlockStackTrace, cnt * sizeof(s_[0])); in Init()
57 n_ = cnt; in Init()
58 internal_memcpy(s_, pcs, cnt * sizeof(s_[0])); in Init()

12345678910>>...22