Searched refs:rs (Results 1 – 10 of 10) sorted by relevance
38 res_static rs = __res_get_static(); in setservent() local39 if (rs) { in setservent()40 rs->servent_ptr = NULL; in setservent()51 getservent_r( res_static rs ) in getservent_r() argument61 p = rs->servent_ptr; in getservent_r()82 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()87 rs->servent.s_aliases = (char**) p2; in getservent_r()89 rs->servent.s_name = p2; in getservent_r()91 rs->servent.s_proto = p2; in getservent_r()94 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r()[all …]
35 res_static rs = __res_get_static(); in getservbyport() local38 if (rs == NULL || proto == NULL) { in getservbyport()43 rs->servent_ptr = NULL; in getservbyport()45 struct servent* s = getservent_r(rs); in getservbyport()
36 res_static rs = __res_get_static(); in getservbyname() local39 if (rs == NULL || proto == NULL || name == NULL) { in getservbyname()44 rs->servent_ptr = NULL; in getservbyname()46 struct servent* s = getservent_r(rs); in getservbyname()
44 struct servent* getservent_r(res_static rs);
66 static struct arc4_stream rs; variable78 rs.s[n] = n; in arc4_init()79 rs.i = 0; in arc4_init()80 rs.j = 0; in arc4_init()89 rs.i--; in arc4_addrandom()91 rs.i = (rs.i + 1); in arc4_addrandom()92 si = rs.s[rs.i]; in arc4_addrandom()93 rs.j = (rs.j + si + dat[n % datlen]); in arc4_addrandom()94 rs.s[rs.i] = rs.s[rs.j]; in arc4_addrandom()95 rs.s[rs.j] = si; in arc4_addrandom()[all …]
4590 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace() local4592 size_t tsize = granularity_align(rs); in create_mspace()
185 res_static rs = __res_get_static(); in getanswer() local191 rs->host.h_name = NULL; in getanswer()210 bp = rs->hostbuf; in getanswer()211 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()234 rs->host.h_name = bp; in getanswer()237 qname = rs->host.h_name; in getanswer()239 ap = rs->host_aliases; in getanswer()241 rs->host.h_aliases = rs->host_aliases; in getanswer()242 hap = rs->h_addr_ptrs; in getanswer()244 rs->host.h_addr_list = rs->h_addr_ptrs; in getanswer()[all …]
76 _res_static_done( res_static rs ) in _res_static_done() argument82 if (rs->hostf) { /* should not happen in theory, but just be safe */ in _res_static_done()83 fclose(rs->hostf); in _res_static_done()84 rs->hostf = NULL; in _res_static_done()86 free(rs->servent.s_aliases); in _res_static_done()
70 unsigned long rs; member
380 int rs; member