Home
last modified time | relevance | path

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

/libc/unistd/
A Dgetsubopt.c34 int cnt; in getsubopt() local
49 for (cnt = 0; tokens[cnt] != NULL; ++cnt) in getsubopt()
50 if (strncmp (*optionp, tokens[cnt], vstart - *optionp) == 0 in getsubopt()
51 && tokens[cnt][vstart - *optionp] == '\0') in getsubopt()
60 return cnt; in getsubopt()
/libc/string/ia64/
A Dbzero.S115 (p_y) add cnt = -8, cnt
122 (p_yy) add cnt = -4, cnt
130 (p_y) add cnt = -2, cnt
142 (p_yy) add cnt = -1, cnt
156 and cnt = (LINE_SIZE-1), cnt /* remainder */
215 and cnt = 0x1f, cnt /* compute the remaining cnt */
237 add cnt = -8, cnt /* subtract */
242 (p_y) add cnt = -8, cnt /* subtract */
246 (p_yy) add cnt = -8, cnt /* subtract */
302 (p_y) add cnt = -4, cnt /* [7, 6 (or less) left] */
[all …]
A Dmemset.S118 (p_y) add cnt = -8, cnt
125 (p_yy) add cnt = -4, cnt
133 (p_y) add cnt = -2, cnt
145 (p_yy) add cnt = -1, cnt
161 and cnt = (LINE_SIZE-1), cnt /* remainder */
235 and cnt = (LINE_SIZE-1), cnt /* remainder */
318 add cnt = -8, cnt /* subtract */
323 (p_y) add cnt = -8, cnt /* subtract */
327 (p_yy) add cnt = -8, cnt /* subtract */
383 (p_y) add cnt = -4, cnt /* [7, 6 (or less) left] */
[all …]
/libc/inet/
A Dether_addr.c34 int cnt; in ether_aton_r() local
36 for (cnt = 0; cnt < 6; ++cnt) { in ether_aton_r()
49 if ((cnt != 5 && ch != ':') /* not last group */ in ether_aton_r()
53 || (cnt == 5 && ch != '\0' /*&& !isspace(ch)*/) in ether_aton_r()
60 if (cnt != 5) { in ether_aton_r()
68 addr->ether_addr_octet[cnt] = number; in ether_aton_r()
A Dresolv.c1194 static int cnt = -1; in _dnsrand_getrandom_prng() local
1202 if (cnt == -1) { in _dnsrand_getrandom_prng()
1207 cnt += 1; in _dnsrand_getrandom_prng()
1208 if ((cnt % DNSRAND_TIMEFORCED_RESEED_CHECKMOD) == 0) { in _dnsrand_getrandom_prng()
1214 if (((cnt % nextReSeedWindow) == 0) || bTimeForcedReSeed) { in _dnsrand_getrandom_prng()
1224 cnt = 0; in _dnsrand_getrandom_prng()
1239 …DPRINTF("uCLibC:DBUG:DnsRandGetRand: PRNGPlus: %d, 0x%lx 0x%lx 0x%lx\n", cnt, val, val2, *rand_val… in _dnsrand_getrandom_prng()
/libc/termios/
A Dcfsetspeed.c156 size_t cnt; in cfsetspeed() local
158 for (cnt = 0; cnt < sizeof (speeds) / sizeof (speeds[0]); ++cnt) in cfsetspeed()
159 if (speed == speeds[cnt].internal) in cfsetspeed()
165 else if (speed == speeds[cnt].value) in cfsetspeed()
167 cfsetispeed (termios_p, speeds[cnt].internal); in cfsetspeed()
168 cfsetospeed (termios_p, speeds[cnt].internal); in cfsetspeed()
A Dtcgetattr.c64 size_t cnt; in tcgetattr() local
69 for (cnt = __KERNEL_NCCS; cnt < NCCS; ++cnt) in tcgetattr()
70 termios_p->c_cc[cnt] = _POSIX_VDISABLE; in tcgetattr()
/libc/misc/glob/
A Dglob-susv3.c211 size_t cnt, i; in glob() local
236 for (cnt=0, tail=head.next; tail; tail=tail->next, cnt++); in glob()
237 if (!cnt) { in glob()
242 cnt++; in glob()
248 char **pathv = realloc(g->gl_pathv, (offs + g->gl_pathc + cnt + 1) * sizeof(char *)); in glob()
256 g->gl_pathv = malloc((offs + cnt + 1) * sizeof(char *)); in glob()
264 for (i=0, tail=head.next; i<cnt; tail=tail->next, i++) in glob()
267 g->gl_pathc += cnt; in glob()
270 qsort(g->gl_pathv+offs, cnt, sizeof(char *), __glob_sort); in glob()
/libc/stdio/
A Dold_vfprintf.c334 int i, cnt, dataargtype, len; in vfprintf() local
349 cnt = 0; in vfprintf()
445 (intmax_t) (cnt)); in vfprintf()
562 cnt += _fpmaxtostr(op, in vfprintf()
569 cnt += _fpmaxtostr(op, in vfprintf()
664 ++cnt; in vfprintf()
675 ++cnt; in vfprintf()
684 i = (__FERROR_UNLOCKED(op)) ? -1 : cnt; in vfprintf()
A D_fpmaxtostr.c207 int cnt; in _fpmaxtostr() local
662 cnt = 0; in _fpmaxtostr()
673 cnt += num_groups * tslen; /* Adjust count now for sep chars. */ in _fpmaxtostr()
701 cnt += ppc[1]; in _fpmaxtostr()
735 cnt += ppc[1]; in _fpmaxtostr()
739 return cnt; in _fpmaxtostr()
A D_scanf.c1154 psfs.cnt = 0; in VFSCANF()
1335 psfs.cnt += psfs.store; in VFSCANF()
1433 psfs.cnt += psfs.store; in VFSCANF()
1464 psfs.cnt += psfs.store; in VFSCANF()
1504 psfs.cnt += psfs.store; in VFSCANF()
1552 psfs.cnt += psfs.store; in VFSCANF()
1660 psfs.cnt += psfs.store; in VFSCANF()
1697 return psfs.cnt; in VFSCANF()
1746 ++psfs->cnt; in __psfs_do_numeric()
1997 ++psfs->cnt; in __psfs_do_numeric()
[all …]
/libc/sysdeps/linux/common/bits/
A Dsched.h211 # define __sched_cpualloc(cnt) ((cpu_set_t *)malloc(__CPU_ALLOC_SIZE(cnt))) argument
/libc/misc/fnmatch/
A Dfnmatch_loop.c397 int cnt = 0; in FCT() local
399 while (cnt < len in FCT()
400 && (weights[idx + 1 + cnt] in FCT()
401 == weights[idx2 + 1 + cnt])) in FCT()
402 ++cnt; in FCT()
404 if (cnt == len) in FCT()
/libc/sysdeps/linux/hppa/
A Drshift.s26 ;! cnt gr23
A Dlshift.s26 ;! cnt gr23
/libc/string/metag/
A Dmemset.S11 ! D1Ar3 cnt
A Dmemcpy.S10 ! D1Ar3 cnt
A Dmemmove.S11 ! D1Ar3 cnt
/libc/misc/regex/
A Dregcomp.c3372 int cnt = 0; in build_equiv_class()
3373 while (cnt <= len && in build_equiv_class()
3374 weights[idx1 + 1 + cnt] == weights[idx2 + 1 + cnt]) in build_equiv_class()
3375 ++cnt; in build_equiv_class()
3377 if (cnt > len) in build_equiv_class()
A Dregexec.c3816 int cnt = 0; in check_node_accept_bytes()
3817 while (cnt <= weight_len in check_node_accept_bytes()
3818 && (weights[equiv_class_idx + 1 + cnt] in check_node_accept_bytes()
3819 == weights[idx + 1 + cnt])) in check_node_accept_bytes()
3820 ++cnt; in check_node_accept_bytes()
3821 if (cnt > weight_len) in check_node_accept_bytes()

Completed in 37 milliseconds