Home
last modified time | relevance | path

Searched refs:cnt (Results 1 - 25 of 828) sorted by relevance

12345678910>>...34

/third_party/elfutils/tests/
H A Dtest-nlist.c46 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] in main()
[all...]
H A Dasm-tst9.c93 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_errms in main()
[all...]
H A Dasm-tst2.c73 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()
[all...]
H A Dasm-tst1.c74 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()
[all...]
H A Dsectiondump.c41 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 in print_bytes()
168 size_t cnt; print_symtab() local
[all...]
/third_party/ffmpeg/libavutil/
H A Dlzo.c69 int cnt = x & mask; in get_len() local
70 if (!cnt) { in get_len()
72 if (cnt >= INT_MAX - 1000) { in get_len()
76 cnt += 255; in get_len()
78 cnt += mask + x; in get_len()
80 return cnt; in get_len()
85 * @param cnt number of bytes to copy, must be >= 0
87 static inline void copy(LZOContext *c, int cnt) in copy() argument
91 av_assert0(cnt >= 0); in copy()
92 if (cnt > in copy()
120 copy_backptr(LZOContext *c, int back, int cnt) copy_backptr() argument
164 int cnt, back; av_lzo1x_decode() local
[all...]
/third_party/elfutils/src/
H A Dstrip.c958 size_t cnt, in update_section_size()
970 cnt), NULL); in update_section_size()
1013 size_t cnt; in handle_elf() local
1130 for (cnt = 0; cnt < phnum; ++cnt) in handle_elf()
1133 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); in handle_elf()
1135 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf()
1173 for (cnt = 0; cnt < phnu in handle_elf()
955 update_section_size(Elf_Scn *scn, const Elf_Data *newdata, Elf *debugelf, size_t cnt, const char *fname) update_section_size() argument
[all...]
H A Delflint.c342 size_t cnt; in check_elf_header() local
382 for (cnt = EI_PAD; cnt < EI_NIDENT; ++cnt) in check_elf_header()
383 if (ehdr->e_ident[cnt] != 0) in check_elf_header()
384 ERROR (_("e_ident[%zu] is not zero\n"), cnt); in check_elf_header()
392 for (cnt = 0; cnt < nvalid_e_machine; ++cnt) in check_elf_header()
393 if (valid_e_machine[cnt] in check_elf_header()
558 size_t cnt; check_scn_group() local
1101 size_t cnt; is_rel_dyn() local
1371 check_one_reloc(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, GElf_Addr r_offset, GElf_Xword r_info, const GElf_Shdr *destshdr, bool reldyn, struct loaded_segment *loaded, enum load_state *statep) check_one_reloc() argument
1603 size_t cnt; check_dynamic() local
2053 size_t cnt; check_sysv_hash() local
2110 size_t cnt; check_sysv_hash64() local
2200 size_t cnt; check_gnu_hash() local
2685 size_t cnt; check_group() local
3162 idx, section_name (ebl, idx), need->vn_cnt - cnt2, cnt); check_verneed() local
3170 idx, section_name (ebl, idx), need->vn_cnt - cnt2, cnt); check_verneed() local
3180 cnt, (int) hashval, (int) aux->vna_hash); check_verneed() local
3189 cnt, verstr); check_verneed() local
3199 idx, section_name (ebl, idx), need->vn_cnt - cnt2, cnt); check_verneed() local
4423 check_note(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Phdr *phdr, int cnt) check_note() argument
[all...]
/third_party/elfutils/libelf/
H A Delf32_getshdr.c136 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2()
138 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
139 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
140 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
141 CONVERT_TO (shdr[cnt] in ElfW2()
[all...]
H A Delf32_getphdr.c158 for (size_t cnt = 0; cnt < phnum; ++cnt) in ElfW2()
160 CONVERT_TO (phdr[cnt].p_type, notcvt[cnt].p_type); in ElfW2()
161 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset); in ElfW2()
162 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr); in ElfW2()
163 CONVERT_TO (phdr[cnt] in ElfW2()
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_getpubnames.c47 size_t cnt = 0; in get_offsets() local
57 if (cnt >= allocated) in get_offsets()
88 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
89 mem[cnt].address_len = len_bytes; in get_offsets()
91 if (mem[cnt].set_start >= max_size in get_offsets()
92 || len - (2 + 2 * len_bytes) > max_size - mem[cnt].set_start) in get_offsets()
108 &mem[cnt].cu_offset, IDX_debug_info, 3)) in get_offsets()
115 + mem[cnt].cu_offset); in get_offsets()
117 mem[cnt].cu_header_size = 23; in get_offsets()
119 mem[cnt] in get_offsets()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/
H A D2-1.c31 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()
[all...]
/third_party/musl/libc-test/src/functionalext/time/
H A Dstrptime_ext.c49 size_t cnt = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strptime_0100() local
50 EXPECT_TRUE("strptime_0100", cnt > 0); in strptime_0100()
93 int cnt = sprintf(buffResult, "%d-%d-%d %d:%d:%d wday=%d,yday=%d,isdst=%d,gmtoff=%ld,zone=%s", in strptime_0200() local
97 EXPECT_TRUE("strptime_0200", cnt > 0); in strptime_0200()
114 int cnt = sprintf(buffResult, "%04d-%02d-%02d", in strptime_0300() local
116 EXPECT_TRUE("strptime_0300", cnt > 0); in strptime_0300()
132 int cnt = sprintf(buffResult, "%d", tmTime.tm_year); in strptime_0400() local
133 EXPECT_TRUE("strptime_0400", cnt > 0); in strptime_0400()
149 int cnt = sprintf(buffResult, "%d", tmTime.tm_hour); in strptime_0500() local
150 EXPECT_TRUE("strptime_0500", cnt > in strptime_0500()
166 int cnt = sprintf(buffResult, "%d", tmTime.tm_hour); strptime_0600() local
192 int cnt = sprintf(buffResult, "%lld", second); strptime_0700() local
209 int cnt = sprintf(buffResult, "%d", tmTime.tm_wday); strptime_0800() local
226 int cnt = sprintf(buffResult, "%d-%d-%d", strptime_0900() local
244 int cnt = sprintf(buffResult, "%s", result); strptime_1000() local
261 int cnt = sprintf(buffResult, "%d", tmTime.tm_yday); strptime_1100() local
290 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour); strptime_1200() local
319 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour); strptime_1300() local
336 int cnt = sprintf(buffResult, "%s", result); strptime_1400() local
353 int cnt = sprintf(buffResult, "%d", tmTime.tm_wday); strptime_1500() local
370 int cnt = sprintf(buffResult, "%d-%d-%d", strptime_1600() local
388 int cnt = sprintf(buffResult, "%s", result); strptime_1700() local
405 int cnt = sprintf(buffResult, "%s", tmTime.__tm_zone); strptime_1800() local
422 int cnt = sprintf(buffResult, "%s", tmTime.__tm_zone); strptime_1900() local
453 int cnt = sprintf(buffResult, "%d", tmTime.tm_mday); strptime_2100() local
484 int cnt = sprintf(buffResult, "%s", result); strptime_2300() local
529 int cnt = sprintf(buffResult, "%s", result); strptime_2600() local
546 int cnt = sprintf(buffResult, "%d:%d:%d", tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec); strptime_2700() local
647 int cnt = sprintf(buffResult, "%d/%d/%d", (tmTime.tm_mon + 1), tmTime.tm_mday, (tmTime.tm_year + gYearBase)); strptime_3400() local
678 int cnt = sprintf(buffResult, "%d:%d:%d", tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec); strptime_3600() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/link/
H A Dlink05.c25 int cnt; in verify_link() local
29 for (cnt = 1; cnt < nlinks; cnt++) { in verify_link()
30 sprintf(lname, "%s_%d", fname, cnt); in verify_link()
36 for (cnt = 1; cnt < nlinks; cnt++) { in verify_link()
37 sprintf(lname, "%s_%d", fname, cnt); in verify_link()
53 if (cnt > in verify_link()
[all...]
/third_party/musl/src/malloc/mallocng/
H A Dmalloc.c212 int cnt = m->mem->active_idx + 2; in try_avail() local
214 int span = UNIT + size*cnt; in try_avail()
217 cnt++; in try_avail()
220 if (cnt > m->last_idx+1) in try_avail()
221 cnt = m->last_idx+1; in try_avail()
222 m->mem->active_idx = cnt-1; in try_avail()
244 int i = 0, cnt; in alloc_group() local
254 cnt = small_cnt_tab[sc][i]; in alloc_group()
259 cnt = med_cnt_tab[sc&3]; in alloc_group()
261 // reduce cnt t in alloc_group()
[all...]
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmalloc.c208 int cnt = m->mem->active_idx + 2; in try_avail() local
210 int span = UNIT + size*cnt; in try_avail()
213 cnt++; in try_avail()
216 if (cnt > m->last_idx+1) in try_avail()
217 cnt = m->last_idx+1; in try_avail()
218 m->mem->active_idx = cnt-1; in try_avail()
241 int i = 0, cnt; in alloc_group() local
251 cnt = small_cnt_tab[sc][i]; in alloc_group()
256 cnt = med_cnt_tab[sc&3]; in alloc_group()
258 // reduce cnt t in alloc_group()
[all...]
/third_party/musl/src/network/
H A Dlookup_serv.c16 int cnt = 0; in __lookup_serv() local
78 buf[cnt].port = port; in __lookup_serv()
79 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv()
80 buf[cnt++].proto = IPPROTO_TCP; in __lookup_serv()
83 buf[cnt].port = port; in __lookup_serv()
84 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv()
85 buf[cnt++].proto = IPPROTO_UDP; in __lookup_serv()
87 return cnt; in __lookup_serv()
120 buf[cnt].port = port; in __lookup_serv()
121 buf[cnt] in __lookup_serv()
[all...]
H A Dlookup_name.c41 int cnt = 0; in name_from_null() local
45 buf[cnt++] = (struct address){ .family = AF_INET }; in name_from_null()
47 buf[cnt++] = (struct address){ .family = AF_INET6 }; in name_from_null()
50 buf[cnt++] = (struct address){ .family = AF_INET, .addr = { 127,0,0,1 } }; in name_from_null()
52 buf[cnt++] = (struct address){ .family = AF_INET6, .addr = { [15] = 1 } }; in name_from_null()
54 return cnt; in name_from_null()
87 int cnt = 0, badfam = 0, have_canon = 0; in name_from_hosts() local
91 while (i < FIXED_HOSTS_MAX_LENGTH && get_hosts_str(line, sizeof line, f, &i) && cnt < MAXADDRS) { in name_from_hosts()
102 switch (name_from_numeric(buf+cnt, line, family)) { in name_from_hosts()
104 cnt in name_from_hosts()
133 int cnt; global() member
350 int cnt = name_from_dns(buf, canon, canon, family, &conf, netid); name_from_dns_search() local
436 int cnt = 0, i, j; lookup_name_ext() local
652 int cnt = linklist_size(host_ips_list_); predefined_host_remove_host() local
727 int cnt = 0; _predefined_host_parse_host_ips() local
825 int cnt = 0; predefined_host_name_from_hosts() local
[all...]
/third_party/node/test/fixtures/v8-coverage/combined_coverage/
H A Dcommon.js3 let cnt = 0;
6 cnt++;
8 cnt++;
10 cnt++;
16 return cnt;
18 cnt++;
48 let cnt = 0;
51 cnt++;
53 cnt++;
55 cnt
[all...]
/third_party/musl/porting/linux/user/src/network/
H A Dlookup_name.c41 int cnt = 0; in name_from_null() local
45 buf[cnt++] = (struct address){ .family = AF_INET }; in name_from_null()
47 buf[cnt++] = (struct address){ .family = AF_INET6 }; in name_from_null()
50 buf[cnt++] = (struct address){ .family = AF_INET, .addr = { 127,0,0,1 } }; in name_from_null()
52 buf[cnt++] = (struct address){ .family = AF_INET6, .addr = { [15] = 1 } }; in name_from_null()
54 return cnt; in name_from_null()
87 int cnt = 0, badfam = 0, have_canon = 0; in name_from_hosts() local
91 while (i < FIXED_HOSTS_MAX_LENGTH && get_hosts_str(line, sizeof line, f, &i) && cnt < MAXADDRS) { in name_from_hosts()
102 switch (name_from_numeric(buf+cnt, line, family)) { in name_from_hosts()
104 cnt in name_from_hosts()
133 int cnt; global() member
291 int cnt = name_from_dns(buf, canon, canon, family, &conf, netid); name_from_dns_search() local
377 int cnt = 0, i, j; lookup_name_ext() local
584 int cnt = linklist_size(host_ips_list_); predefined_host_remove_host() local
659 int cnt = 0; _predefined_host_parse_host_ips() local
736 int cnt = 0; predefined_host_name_from_hosts() local
[all...]
H A Dlookup_serv.c16 int cnt = 0; in __lookup_serv() local
57 buf[cnt].port = port; in __lookup_serv()
58 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv()
59 buf[cnt++].proto = IPPROTO_TCP; in __lookup_serv()
62 buf[cnt].port = port; in __lookup_serv()
63 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv()
64 buf[cnt++].proto = IPPROTO_UDP; in __lookup_serv()
66 return cnt; in __lookup_serv()
94 buf[cnt].port = port; in __lookup_serv()
95 buf[cnt] in __lookup_serv()
[all...]
/third_party/musl/porting/linux/user/src/stdio/
H A D__stdio_read.c6 ssize_t cnt = syscall(SYS_read, f->fd, buf, len); in __stdio_readx() local
7 if (cnt <= 0) { in __stdio_readx()
8 f->flags |= cnt ? F_ERR : F_EOF; in __stdio_readx()
11 return cnt; in __stdio_readx()
20 ssize_t cnt; in __stdio_read() local
22 cnt = iov_buf[0].iov_len ? syscall(SYS_readv, f->fd, iov_buf, 2) in __stdio_read()
24 if (cnt <= 0) { in __stdio_read()
25 f->flags |= cnt ? F_ERR : F_EOF; in __stdio_read()
28 if (cnt <= iov_buf[0].iov_len) { in __stdio_read()
29 return cnt; in __stdio_read()
[all...]
/third_party/musl/src/stdio/
H A D__stdio_read.c6 ssize_t cnt = syscall(SYS_read, f->fd, buf, len); in __stdio_readx() local
7 if (cnt <= 0) { in __stdio_readx()
8 f->flags |= cnt ? F_ERR : F_EOF; in __stdio_readx()
11 return cnt; in __stdio_readx()
20 ssize_t cnt; in __stdio_read() local
22 cnt = iov_buf[0].iov_len ? syscall(SYS_readv, f->fd, iov_buf, 2) in __stdio_read()
24 if (cnt <= 0) { in __stdio_read()
25 f->flags |= cnt ? F_ERR : F_EOF; in __stdio_read()
28 if (cnt <= iov_buf[0].iov_len) { in __stdio_read()
29 return cnt; in __stdio_read()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
H A D2-1.c71 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()
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddatapid.c88 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()
185 int cnt; datapidchk() local
[all...]

Completed in 14 milliseconds

12345678910>>...34