Searched defs:cnt (Results 1 - 25 of 204) sorted by relevance

123456789

/external/elfutils/libasm/
H A Dasm_addstrz.c60 size_t cnt; local
62 for (cnt = 0; cnt < len; ++cnt)
63 if (str[cnt] != '\0')
H A Dasm_align.c65 for (size_t cnt = 0; cnt < asmscn->pattern->len; ++cnt)
67 asmscn->pattern->bytes[cnt]);
82 size_t cnt = value - (asmscn->offset & (value - 1)); local
85 result = __libasm_ensure_section_space (asmscn, cnt);
94 asmscn->offset += cnt;
104 while (--cnt > 0);
/external/elfutils/tests/
H A Dmsg_tst.c92 size_t cnt; local
99 for (cnt = 1; cnt < ELF_E_NUM; ++cnt)
101 const char *str = elf_errmsg (libelf_msgs[cnt].id);
103 if (strcmp (str, libelf_msgs[cnt].expected) != 0)
106 cnt, libelf_msgs[cnt].expected, str);
H A Dasm-tst4.c48 size_t cnt; local
67 for (cnt = 0; cnt < 66000; ++cnt)
73 snprintf (buf, sizeof (buf), ".data.%Zu", cnt);
86 if (asm_adduint32 (scn, cnt) != 0)
H A Dasm-tst5.c50 size_t cnt; local
69 for (cnt = 0; cnt < 66000; ++cnt)
75 snprintf (buf, sizeof (buf), ".data.%Zu", cnt);
88 snprintf (buf, sizeof (buf), "%Zu", cnt);
98 if (asm_adduint32 (scn, cnt) != 0)
H A Dasm-tst6.c48 size_t cnt; local
66 for (cnt = 0; cnt < 22000; ++cnt)
73 snprintf (buf, sizeof (buf), ".grp%Zu", cnt);
77 printf ("cannot section group %Zu: %s\n", cnt, asm_errmsg (-1));
87 cnt, asm_errmsg (-1));
93 snprintf (buf, sizeof (buf), "%Zu", cnt);
104 if (asm_adduint32 (scn, cnt) != 0)
116 cnt, asm_errms
[all...]
H A Dtest-nlist.c54 int cnt; local
64 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt)
74 cnt, nl[cnt].n_name,
75 cnt, nl[cnt].n_value,
76 cnt, nl[cnt]
[all...]
H A Dasm-tst7.c45 size_t cnt; local
104 for (cnt = 1; 1; ++cnt)
110 scn = elf_getscn (elf, cnt);
113 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1));
122 cnt, elf_errmsg (-1));
130 for (cnt = 1; cnt< (shdr->sh_size
132 ++cnt)
137 if (cnt >
[all...]
H A Dasm-tst8.c45 size_t cnt; local
105 for (cnt = 1; 1; ++cnt)
111 scn = elf_getscn (elf, cnt);
114 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1));
123 cnt, elf_errmsg (-1));
131 for (cnt = 1; cnt< (shdr->sh_size
133 ++cnt)
138 if (cnt >
[all...]
H A Decp.c67 int cnt; local
73 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt)
77 gelf_update_phdr (outelf, cnt, gelf_getphdr (inelf, cnt, &phdr_mem));
H A Dget-pubnames.c78 int cnt; local
80 for (cnt = 1; cnt < argc; ++cnt)
82 int fd = open (argv[cnt], O_RDONLY);
86 printf ("%s not usable: %s\n", argv[cnt], dwarf_errmsg (-1));
H A Dshowptable.c41 int cnt; local
84 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt)
97 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &mem);
109 cnt, p_type,
H A Dasm-tst1.c81 size_t cnt; local
162 for (cnt = 1; cnt < 4; ++cnt)
168 scn = elf_getscn (elf, cnt);
171 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1));
180 cnt, elf_errmsg (-1));
186 scnnames[cnt]) != 0)
188 printf ("section %Zd's name differs: %s vs %s\n", cnt,
190 scnnames[cnt]);
[all...]
H A Dasm-tst2.c80 size_t cnt; local
178 for (cnt = 1; cnt < 3; ++cnt)
184 scn = elf_getscn (elf, cnt);
187 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1));
196 cnt, elf_errmsg (-1));
202 scnnames[cnt]) != 0)
204 printf ("section %Zd's name differs: %s vs %s\n", cnt,
206 scnnames[cnt]);
[all...]
H A Dasm-tst9.c100 size_t cnt; local
135 for (cnt = 0; cnt < ninput; ++cnt)
137 if (asm_adduleb128 (scn, input[cnt]) != 0)
140 (uint32_t) input[cnt], asm_errmsg (-1));
144 if (asm_addsleb128 (scn, input[cnt]) != 0)
147 input[cnt], asm_errmsg (-1));
151 if (asm_adduleb128 (scn, -input[cnt]) != 0)
154 (uint32_t) -input[cnt], asm_errms
[all...]
H A Dget-aranges.c50 int cnt; local
52 for (cnt = 1; cnt < argc; ++cnt)
54 int fd = open (argv[cnt], O_RDONLY);
59 printf ("%s not usable\n", argv[cnt]);
68 printf ("%s: cannot get aranges\n", argv[cnt]);
/external/libusb/examples/
H A Dlsusb.c48 ssize_t cnt; local
54 cnt = libusb_get_device_list(NULL, &devs);
55 if (cnt < 0)
56 return (int) cnt;
/external/libusb_aah/examples/
H A Dlistdevs.c48 ssize_t cnt; local
54 cnt = libusb_get_device_list(NULL, &devs);
55 if (cnt < 0)
56 return (int) cnt;
/external/elfutils/libdw/
H A Ddwarf_getpubnames.c71 size_t cnt = 0; local
81 if (cnt >= allocated)
114 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp;
115 mem[cnt].address_len = len_bytes;
116 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size)
131 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2);
133 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2);
138 || (mem[cnt].cu_offset + 3
144 + mem[cnt].cu_offset);
146 mem[cnt]
[all...]
/external/elfutils/libelf/
H A Delf_end.c162 size_t cnt = list->max; local
164 while (cnt-- > 0)
168 Elf_Scn *scn = &list->data[cnt];
203 assert (list == NULL || oldp->cnt == oldp->max);
/external/linux-tools-perf/util/
H A Dhelp.h6 size_t cnt; member in struct:cmdnames
/external/ppp/pppd/plugins/radius/
H A Dradattr.c73 int cnt = 0; local
87 cnt++;
90 dbglog("RADATTR plugin wrote %d line(s) to file %s.", cnt, fname);
H A Dutil.c77 static unsigned short int cnt = 0; local
81 cnt & 0xFF);
82 cnt++;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_lfstack.h39 u64 cnt = (cmp & kCounterMask) + kCounterInc; local
40 u64 xch = (u64)(uptr)p | cnt;
55 u64 cnt = (cmp & kCounterMask); local
56 u64 xch = (u64)(uptr)nxt | cnt;
/external/dropbear/libtomcrypt/testprof/
H A Dkatja_test.c10 unsigned long kat_msgsize, len, len2, cnt; local
23 for (cnt = 0; cnt < 10; cnt++) {
31 for (cnt = 0; cnt < len; ) {
32 fprintf(stderr, "%02x ", tmp[cnt]);
33 if (!(++cnt & 15)) fprintf(stderr, "\n");
39 for (cnt = 0; cnt < le
[all...]

Completed in 1083 milliseconds

123456789