Home
last modified time | relevance | path

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

/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.c1247 int nn; in getanswer() local
1250 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
1251 bp += nn; in getanswer()
/bionic/libc/unistd/
Dpathconf.c71 int nn = 0; in __filesizebits() local
74 if ( known64[nn] == EOL_MAGIC ) in __filesizebits()
77 if ( known64[nn] == s->f_type ) in __filesizebits()
100 int nn = 0; in __link_max() local
103 if ( knownMax[nn].type == EOL_MAGIC ) in __link_max()
106 if ( knownMax[nn].type == s->f_type ) in __link_max()
107 return knownMax[nn].max; in __link_max()
122 int nn = 0; in __2_symlinks() local
125 if (knownNoSymlinks[nn] == 0) in __2_symlinks()
127 if (knownNoSymlinks[nn] == s->f_type) in __2_symlinks()
/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, mm; in out_vformat() local
446 mm = nn; in out_vformat()
454 if (mm > nn) { in out_vformat()
455 out_send(o, format+nn, mm-nn); in out_vformat()
456 nn = mm; in out_vformat()
464 nn++; // skip it in out_vformat()
468 c = format[nn++]; in out_vformat()
491 nn --; in out_vformat()
492 width = (int)parse_decimal(format, &nn); in out_vformat()
493 c = format[nn++]; in out_vformat()
[all …]
/bionic/libc/string/
Dstrerror_r.c20 int nn = 0; in __code_string_lookup() local
24 if (strings[nn].code == 0) 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/bionic/
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.c174 int nn; in __init_tls() local
182 for (nn = TLS_SLOT_ERRNO; nn < BIONIC_TLS_SLOTS; nn++) in __init_tls()
183 tls[nn] = 0; in __init_tls()
/bionic/libc/netbsd/resolv/
Dres_cache.c274 int nn = 0; in _bprint_hex() local
277 text[nn++] = "0123456789abcdef"[(value >> (numDigits*4)) & 15]; in _bprint_hex()
279 return _bprint_b(p, end, text, nn); in _bprint_hex()
290 int nn; in _bprint_hexdump() local
295 for (nn = 0; nn < avail; nn++) { in _bprint_hexdump()
296 if (nn > 0) in _bprint_hexdump()
298 p = _bprint_hex(p, end, data[nn], 2); in _bprint_hexdump()
300 for ( ; nn < lineSize; nn++ ) { in _bprint_hexdump()
305 for (nn = 0; nn < avail; nn++) { in _bprint_hexdump()
306 int c = data[nn]; in _bprint_hexdump()
[all …]
/bionic/libc/stdlib/
Dwchar.c324 int nn; in wctype() local
326 for ( nn = 0; nn < WC_TYPE_MAX; nn++ ) in wctype()
327 if ( !strcmp( properties[nn], property ) ) in wctype()
328 return (wctype_t)(nn); in wctype()
/bionic/libc/netbsd/
Dgethnamaddr.c400 int nn; in getanswer() local
403 nn = strlen(bp) + 1; /* for the \0 */ in getanswer()
404 bp += nn; in getanswer()
/bionic/libc/kernel/tools/
Dcpp.py1772 nn = i
1773 while nn < k:
1774 dst.append(src[nn])
1775 nn += 1