Lines Matching refs:idx
102 size_t l, ms, idx; in _nss_mymachines_gethostbyname4_r() local
168 idx = ALIGN(l+1); in _nss_mymachines_gethostbyname4_r()
171 r_tuple_first = (struct gaih_addrtuple*) (buffer + idx); in _nss_mymachines_gethostbyname4_r()
199 r_tuple = (struct gaih_addrtuple*) (buffer + idx); in _nss_mymachines_gethostbyname4_r()
206 idx += ALIGN(sizeof(struct gaih_addrtuple)); in _nss_mymachines_gethostbyname4_r()
216 assert(idx == ms); in _nss_mymachines_gethostbyname4_r()
254 size_t l, idx, ms, alen; in _nss_mymachines_gethostbyname3_r() local
323 idx = ALIGN(l+1); in _nss_mymachines_gethostbyname3_r()
326 r_aliases = buffer + idx; in _nss_mymachines_gethostbyname3_r()
328 idx += sizeof(char*); in _nss_mymachines_gethostbyname3_r()
331 r_addr = buffer + idx; in _nss_mymachines_gethostbyname3_r()
362 idx += c * ALIGN(alen); in _nss_mymachines_gethostbyname3_r()
369 r_addr_list = buffer + idx; in _nss_mymachines_gethostbyname3_r()
374 idx += (c+1) * sizeof(char*); in _nss_mymachines_gethostbyname3_r()
376 assert(idx == ms); in _nss_mymachines_gethostbyname3_r()