Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 48) sorted by relevance

12

/bionic/libc/include/netinet/
Dtcp.h44 uint16_t th_sport;
45 uint16_t th_dport;
51 uint16_t th_win;
52 uint16_t th_sum;
53 uint16_t th_urp;
56 uint16_t source;
57 uint16_t dest;
60 uint16_t res1:4;
61 uint16_t doff:4;
62 uint16_t fin:1;
[all …]
Dip.h230 uint16_t tot_len;
231 uint16_t id;
232 uint16_t frag_off;
235 uint16_t check;
243 uint16_t reserved;
258 uint16_t cpi;
Dip_icmp.h69 uint16_t icmp_cksum; /* ones complement cksum of struct */
74 uint16_t icd_id;
75 uint16_t icd_seq;
81 uint16_t ipm_void;
82 uint16_t ipm_nextmtu;
88 uint16_t irt_lifetime;
Din.h45 typedef uint16_t in_port_t;
/bionic/libc/bionic/
Dpthread_mutex.cpp219 _Atomic(uint16_t) state;
221 uint16_t __pad;
225 _Atomic(uint16_t) owner_tid;
251 uint16_t state = 0; in pthread_mutex_init()
276 uint16_t shared) { in __pthread_normal_mutex_trylock()
277 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_trylock()
278 const uint16_t locked_uncontended = shared | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; in __pthread_normal_mutex_trylock()
280 uint16_t old_state = unlocked; in __pthread_normal_mutex_trylock()
301 uint16_t shared, in __pthread_normal_mutex_lock()
314 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_lock()
[all …]
/bionic/libc/kernel/uapi/scsi/
Dscsi_netlink.h31 uint16_t magic;
32 uint16_t msgtype;
34 uint16_t msglen;
49 uint16_t host_no;
50 uint16_t vmsg_datalen;
Dscsi_netlink_fc.h30 uint16_t host_no;
31 uint16_t event_datalen;
/bionic/libc/dns/nameser/
Dns_netint.c35 uint16_t
37 uint16_t dst; in ns_get16()
52 ns_put16(uint16_t src, u_char *dst) { in ns_put16()
/bionic/linker/
Dlinker_cfi.cpp50 ShadowWrite(uint16_t* s, uint16_t* e) { in ShadowWrite()
63 uint16_t* begin() { in begin()
64 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); in begin()
67 uint16_t* end() { in end()
68 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_end - aligned_start)); in end()
84 void CFIShadowWriter::AddConstant(uintptr_t begin, uintptr_t end, uint16_t v) { in AddConstant()
85 uint16_t* shadow_begin = MemToShadow(begin); in AddConstant()
86 uint16_t* shadow_end = MemToShadow(end - 1) + 1; in AddConstant()
107 uint16_t* shadow_begin = MemToShadow(begin); in Add()
108 uint16_t* shadow_end = MemToShadow(end - 1) + 1; in Add()
[all …]
Dlinker_cfi.h48 uint16_t* MemToShadow(uintptr_t x) { in MemToShadow()
49 return reinterpret_cast<uint16_t*>(*shadow_start + MemToShadowOffset(x)); in MemToShadow()
53 void AddConstant(uintptr_t begin, uintptr_t end, uint16_t v);
/bionic/libc/arch-x86/bionic/
D__set_tls.cpp67 uint16_t table_indicator = 0; // GDT in __set_tls()
68 uint16_t rpl = 3; // Requested privilege level in __set_tls()
69 uint16_t selector = (tls_descriptor.entry_number << 3) | table_indicator | rpl; in __set_tls()
/bionic/libdl/
Dlibdl_cfi.cpp41 static uint16_t shadow_load(void* p) { in shadow_load()
45 return *reinterpret_cast<uint16_t*>(shadow_base_storage.v + ofs); in shadow_load()
48 static uintptr_t cfi_check_addr(uint16_t v, void* Ptr) { in cfi_check_addr()
61 uint16_t v = shadow_load(Ptr); in cfi_slowpath_common()
/bionic/libc/include/sys/
Dendian.h53 uint16_t htons(uint16_t) __attribute_const__ __INTRODUCED_IN(21);
55 uint16_t ntohs(uint16_t) __attribute_const__ __INTRODUCED_IN(21);
Ducontext.h279 uint16_t cwd;
280 uint16_t swd;
281 uint16_t ftw;
282 uint16_t fop;
/bionic/tests/
Dsstream_test.cpp48 CheckOverflow<uint16_t>(std::numeric_limits<uint16_t>::max(), "65535", false); in TEST()
49 CheckOverflow<uint16_t>(0, "65536", true); in TEST()
Dnetinet_in_test.cpp25 static constexpr uint16_t le16 = 0x1234;
29 static constexpr uint16_t be16 = 0x3412;
Dendian_test.cpp21 static constexpr uint16_t le16 = 0x1234;
25 static constexpr uint16_t be16 = 0x3412;
/bionic/libc/dns/include/
Dresolv_params.h39 uint16_t sample_validity; // sample lifetime in s
Dresolv_private.h194 uint16_t nscount;
195 uint16_t nstimes[MAXNS]; /* ms. */
454 void putshort(uint16_t, u_char *);
456 uint16_t _getshort(const u_char *);
504 const char * res_servicename(uint16_t, const char *);
511 __LIBC_HIDDEN__ uint16_t res_nametoclass(const char *, int *);
512 __LIBC_HIDDEN__ uint16_t res_nametotype(const char *, int *);
/bionic/libc/kernel/uapi/drm/
Domap_drm.h47 uint16_t width;
49 uint16_t height;
/bionic/libc/kernel/android/uapi/linux/usb/
Df_mtp.h29 uint16_t command;
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_roundl.c43 uint16_t hx; in roundl()
/bionic/libc/include/arpa/
Dnameser.h127 uint16_t _id, _flags, _counts[ns_s_max];
157 uint16_t type;
158 uint16_t rr_class;
160 uint16_t rdlength;
483 (s) = ((uint16_t)t_cp[0] << 8) \
484 | ((uint16_t)t_cp[1]) \
566 uint16_t ns_get16(const u_char*);
568 void ns_put16(uint16_t, u_char*);
595 uint16_t ns_get16(const u_char*) __INTRODUCED_IN_64(23);
597 void ns_put16(uint16_t, u_char*) __INTRODUCED_IN_64(23);
/bionic/libc/kernel/uapi/linux/nfsd/
Dcld.h32 uint16_t cn_len;
/bionic/libc/private/
DCFIShadow.h84 enum ShadowValues : uint16_t {

12