Home
last modified time | relevance | path

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

/bionic/libc/netbsd/net/
Dgetservent.c38 res_static rs = __res_get_static(); in setservent() local
39 if (rs) { in setservent()
40 rs->servent_ptr = NULL; in setservent()
51 getservent_r( res_static rs ) in getservent_r() argument
61 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 …]
Dgetservbyport.c35 res_static rs = __res_get_static(); in getservbyport() local
38 if (rs == NULL || proto == NULL) { in getservbyport()
43 rs->servent_ptr = NULL; in getservbyport()
45 struct servent* s = getservent_r(rs); in getservbyport()
Dgetservbyname.c36 res_static rs = __res_get_static(); in getservbyname() local
39 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()
Dservent.h44 struct servent* getservent_r(res_static rs);
/bionic/libc/bionic/
Darc4random.c66 static struct arc4_stream rs; variable
78 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 …]
Ddlmalloc.c4590 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace() local
4592 size_t tsize = granularity_align(rs); in create_mspace()
/bionic/libc/netbsd/
Dgethnamaddr.c185 res_static rs = __res_get_static(); in getanswer() local
191 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 …]
/bionic/libc/netbsd/resolv/
Dres_state.c76 _res_static_done( res_static rs ) in _res_static_done() argument
82 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()
/bionic/libc/kernel/arch-sh/asm/
Dptrace.h70 unsigned long rs; member
/bionic/libc/kernel/common/media/
Dmsm_camera.h380 int rs; member