Home
last modified time | relevance | path

Searched refs:nn (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dsched_cpucount.c33 int nn = 0, nn_max = setsize / sizeof(__CPU_BITTYPE); in __sched_cpucount() local
36 for ( ; nn < nn_max; nn++ ) in __sched_cpucount()
37 count += __builtin_popcount(set->__bits[nn]); in __sched_cpucount()
Dpathconf.c71 int nn = 0; in __filesizebits() local
73 for (; known64[nn] != EOL_MAGIC; ++nn) { in __filesizebits()
74 if (known64[nn] == s->f_type) { in __filesizebits()
99 int nn = 0; in __link_max() local
101 for (; knownMax[nn].type != EOL_MAGIC; ++nn) { in __link_max()
102 if (knownMax[nn].type == s->f_type) { in __link_max()
103 return knownMax[nn].max; in __link_max()
119 int nn = 0; in __2_symlinks() local
121 for (; knownNoSymlinks[nn] != EOL_MAGIC; ++nn) { in __2_symlinks()
122 if (knownNoSymlinks[nn] == s->f_type) { in __2_symlinks()
Dbindresvport.c43 int nn, ret; in bindresvport() local
58 for (nn = NUM_PORTS; nn > 0; nn--, port++) in bindresvport()
Dlibc_logging.cpp229 int nn = 0; in out_vformat() local
246 mm = nn; in out_vformat()
254 if (mm > nn) { in out_vformat()
255 o.Send(format+nn, mm-nn); in out_vformat()
256 nn = mm; in out_vformat()
264 nn++; // skip it in out_vformat()
268 c = format[nn++]; in out_vformat()
291 nn --; in out_vformat()
292 width = (int)parse_decimal(format, &nn); in out_vformat()
293 c = format[nn++]; in out_vformat()
[all …]
Dpthread-timers.c132 int nn; in thr_timer_table_init() local
137 for (nn = 0; nn < MAX_THREAD_TIMERS; nn++) in thr_timer_table_init()
138 t->timers[nn].id = TIMER_ID_NONE; in thr_timer_table_init()
141 for (nn = 1; nn < MAX_THREAD_TIMERS; nn++) in thr_timer_table_init()
142 t->timers[nn-1].next = &t->timers[nn]; in thr_timer_table_init()
184 for (int nn = 0; nn < MAX_THREAD_TIMERS; ++nn) { in thr_timer_table_start_stop() local
185 thr_timer_t* timer = &t->timers[nn]; in thr_timer_table_start_stop()
/bionic/libc/netbsd/net/
Dgetservent.c56 int nn,count; in getservent_r() local
75 for (nn = 0; nn < count; nn++) { in getservent_r()
106 for (nn = 0; nn < count; nn++) { in getservent_r()
108 rs->servent.s_aliases[nn] = p2; in getservent_r()
114 rs->servent.s_aliases[nn] = NULL; in getservent_r()
Dgetaddrinfo.c1445 int nn; in getanswer() local
1448 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
1449 bp += nn; in getanswer()
/bionic/libc/netbsd/resolv/
Dres_cache.c302 int nn = 0; in _bprint_hex() local
305 text[nn++] = "0123456789abcdef"[(value >> (numDigits*4)) & 15]; in _bprint_hex()
307 return _bprint_b(p, end, text, nn); in _bprint_hex()
318 int nn; in _bprint_hexdump() local
323 for (nn = 0; nn < avail; nn++) { in _bprint_hexdump()
324 if (nn > 0) in _bprint_hexdump()
326 p = _bprint_hex(p, end, data[nn], 2); in _bprint_hexdump()
328 for ( ; nn < lineSize; nn++ ) { in _bprint_hexdump()
333 for (nn = 0; nn < avail; nn++) { in _bprint_hexdump()
334 int c = data[nn]; in _bprint_hexdump()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c406 int nn; in getanswer() local
409 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
410 bp += nn; in getanswer()
/bionic/libc/kernel/tools/
Dcpp.py1622 nn = len(self.tokens)
1623 while ii < nn: