/bionic/libc/dns/net/ |
D | getservent.c | 39 res_static rs = __res_get_static(); in setservent() local 40 if (rs) { in setservent() 41 rs->servent_ptr = NULL; in setservent() 52 getservent_r( res_static rs ) in getservent_r() argument 62 p = rs->servent_ptr; in getservent_r() 83 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r() 88 rs->servent.s_aliases = (char**) p2; in getservent_r() 90 rs->servent.s_name = p2; in getservent_r() 92 rs->servent.s_proto = p2; in getservent_r() 95 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r() [all …]
|
D | getservbyport.c | 35 res_static rs = __res_get_static(); in getservbyport() local 37 if (rs == NULL || proto == NULL) { in getservbyport() 42 rs->servent_ptr = NULL; in getservbyport() 44 struct servent* s = getservent_r(rs); in getservbyport()
|
D | getservbyname.c | 34 res_static rs = __res_get_static(); in getservbyname() local 35 rs->servent_ptr = NULL; in getservbyname() 37 while ((s = getservent_r(rs)) != NULL) { in getservbyname()
|
D | servent.h | 44 struct servent* getservent_r(res_static rs);
|
D | gethnamaddr.c | 1572 res_static rs = __res_get_static(); /* Use res_static to provide thread-safety. */ in gethostbyname() local 1574 gethostbyname_r(name, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname() 1582 res_static rs = __res_get_static(); /* Use res_static to provide thread-safety. */ in gethostbyname2() local 1584 gethostbyname2_r(name, af, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname2() 1595 res_static rs = __res_get_static(); /* Use res_static to provide thread-safety. */ in android_gethostbynamefornet() local 1596 hp = gethostbyname_internal(name, af, res, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), in android_gethostbynamefornet() 1618 res_static rs = __res_get_static(); /* Use res_static to provide thread-safety. */ in android_gethostbyaddrfornet_proxy() local 1619 return android_gethostbyaddrfornet_proxy_internal(addr, len, af, &rs->host, rs->hostbuf, in android_gethostbyaddrfornet_proxy() 1620 sizeof(rs->hostbuf), &h_errno, netid, mark); in android_gethostbyaddrfornet_proxy() 1626 res_static rs = __res_get_static(); in gethostent() local [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 55 } *rs; variable 75 if (rs == NULL) { in _rs_init() 76 if (_rs_allocate(&rs, &rsx) == -1) in _rs_init() 92 if (!rs) in _rs_stir() 99 rs->rs_have = 0; in _rs_stir() 102 rs->rs_count = 1600000; in _rs_stir() 109 if (!rs || rs->rs_count <= len) in _rs_stir_if_needed() 111 if (rs->rs_count <= len) in _rs_stir_if_needed() 112 rs->rs_count = 0; in _rs_stir_if_needed() 114 rs->rs_count -= len; in _rs_stir_if_needed() [all …]
|
/bionic/libc/upstream-openbsd/android/include/ |
D | arc4random.h | 64 if (rs) in _rs_forkdetect() 65 memset(rs, 0, sizeof(*rs)); in _rs_forkdetect() 75 struct _rs rs; in _rs_allocate() member 85 *rsp = &p->rs; in _rs_allocate()
|
/bionic/libc/dns/resolv/ |
D | res_state.c | 71 _res_static_done( res_static rs ) in _res_static_done() argument 77 if (rs->hostf) { /* should not happen in theory, but just be safe */ in _res_static_done() 78 fclose(rs->hostf); in _res_static_done() 79 rs->hostf = NULL; in _res_static_done() 81 free(rs->servent.s_aliases); in _res_static_done()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | inst.h | 926 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 931 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 936 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 941 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 946 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 951 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 961 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 981 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… 991 …e : 6, __BITFIELD_FIELD(signed int s10 : 10, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIEL… 996 …__BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(u… [all …]
|