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.c4630 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace() local
4632 size_t tsize = granularity_align(rs); in create_mspace()
/bionic/libc/netbsd/
Dgethnamaddr.c186 res_static rs = __res_get_static(); in getanswer() local
192 rs->host.h_name = NULL; in getanswer()
211 bp = rs->hostbuf; in getanswer()
212 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()
235 rs->host.h_name = bp; in getanswer()
238 qname = rs->host.h_name; in getanswer()
240 ap = rs->host_aliases; in getanswer()
242 rs->host.h_aliases = rs->host_aliases; in getanswer()
243 hap = rs->h_addr_ptrs; in getanswer()
245 rs->host.h_addr_list = rs->h_addr_ptrs; in getanswer()
[all …]
/bionic/libc/netbsd/resolv/
Dres_state.c82 _res_static_done( res_static rs ) in _res_static_done() argument
88 if (rs->hostf) { /* should not happen in theory, but just be safe */ in _res_static_done()
89 fclose(rs->hostf); in _res_static_done()
90 rs->hostf = NULL; in _res_static_done()
92 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