Home
last modified time | relevance | path

Searched refs:nn (Results 1 – 14 of 14) 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()
Dpthread-timers.c128 int nn; in thr_timer_table_init() local
133 for (nn = 0; nn < MAX_THREAD_TIMERS; nn++) in thr_timer_table_init()
134 t->timers[nn].id = TIMER_ID_NONE; in thr_timer_table_init()
137 for (nn = 1; nn < MAX_THREAD_TIMERS; nn++) in thr_timer_table_init()
138 t->timers[nn-1].next = &t->timers[nn]; in thr_timer_table_init()
177 int nn; in thr_timer_table_start_stop() local
181 for (nn = 0; nn < MAX_THREAD_TIMERS; nn++) { in thr_timer_table_start_stop()
182 thr_timer_t* timer = &t->timers[nn]; in thr_timer_table_start_stop()
Dpthread.c181 int nn; in __init_tls() local
189 for (nn = TLS_SLOT_ERRNO; nn < BIONIC_TLS_SLOTS; nn++) in __init_tls()
190 tls[nn] = 0; in __init_tls()
/bionic/libc/unistd/
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()
/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.c1453 int nn; in getanswer() local
1456 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
1457 bp += nn; in getanswer()
/bionic/libc/inet/
Dbindresvport.c43 int nn, ret; in bindresvport() local
58 for (nn = NUM_PORTS; nn > 0; nn--, port++) in bindresvport()
/bionic/linker/
Dlinker_format.c430 int nn = 0; in out_vformat() local
448 mm = nn; in out_vformat()
456 if (mm > nn) { in out_vformat()
457 out_send(o, format+nn, mm-nn); in out_vformat()
458 nn = mm; in out_vformat()
466 nn++; // skip it in out_vformat()
470 c = format[nn++]; in out_vformat()
493 nn --; in out_vformat()
494 width = (int)parse_decimal(format, &nn); in out_vformat()
495 c = format[nn++]; in out_vformat()
[all …]
Dlinker.c2146 int nn; in __linker_init_post_relocation() local
2148 for ( nn = 0; nn < si->phnum; nn++ ) { in __linker_init_post_relocation()
2149 if (si->phdr[nn].p_type == PT_PHDR) { in __linker_init_post_relocation()
2150 si->base = (Elf32_Addr) si->phdr - si->phdr[nn].p_vaddr; in __linker_init_post_relocation()
/bionic/libc/string/
Dstrerror_r.c20 int nn = 0; in __code_string_lookup() local
24 if (strings[nn].msg == NULL) in __code_string_lookup()
27 if (strings[nn].code == code) in __code_string_lookup()
28 return strings[nn].msg; in __code_string_lookup()
30 nn++; in __code_string_lookup()
/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/stdlib/
Dwchar.c318 int nn; in wctype() local
320 for ( nn = 0; nn < WC_TYPE_MAX; nn++ ) in wctype()
321 if ( !strcmp( properties[nn], property ) ) in wctype()
322 return (wctype_t)(nn); in wctype()
/bionic/libc/netbsd/
Dgethnamaddr.c401 int nn; in getanswer() local
404 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
405 bp += nn; in getanswer()
/bionic/libc/kernel/tools/
Dcpp.py1622 nn = len(self.tokens)
1623 while ii < nn: