Home
last modified time | relevance | path

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

123

/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_icmp.h71 uint16_t icmp_cksum; /* ones complement cksum of struct */
76 uint16_t icd_id;
77 uint16_t icd_seq;
83 uint16_t ipm_void;
84 uint16_t ipm_nextmtu;
90 uint16_t irt_lifetime;
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;
Din.h44 typedef uint16_t in_port_t;
/bionic/libc/kernel/uapi/linux/
Didxd.h112 uint16_t int_handle;
113 uint16_t rsvd1;
133 uint16_t chk_app_tag_mask;
134 uint16_t chk_app_tag_seed;
142 uint16_t ins_app_tag_mask;
143 uint16_t ins_app_tag_seed;
151 uint16_t src_app_tag_mask;
152 uint16_t src_app_tag_seed;
154 uint16_t dest_app_tag_mask;
155 uint16_t dest_app_tag_seed;
[all …]
Dsctp.h511 uint16_t stream_id;
512 uint16_t stream_value;
686 uint16_t srs_flags;
687 uint16_t srs_number_streams;
688 uint16_t srs_stream_list[];
692 uint16_t sas_instrms;
693 uint16_t sas_outstrms;
697 uint16_t se_type;
Dfuse.h355 uint16_t max_background;
356 uint16_t congestion_threshold;
359 uint16_t max_pages;
360 uint16_t map_alignment;
/bionic/libc/bionic/
Dpthread_mutex.cpp142 uint16_t counter;
455 _Atomic(uint16_t) state;
456 uint16_t __pad;
473 _Atomic(uint16_t) state;
475 _Atomic(uint16_t) owner_tid;
476 uint16_t pi_mutex_id;
511 uint16_t state = 0; in pthread_mutex_init()
556 uint16_t shared) { in NormalMutexTryLock()
557 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexTryLock()
558 const uint16_t locked_uncontended = shared | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; in NormalMutexTryLock()
[all …]
Diconv.cpp190 uint16_t hi = wc; in GetNext()
191 uint16_t lo = In16(*src_buf + 2, swap); in GetNext()
285 uint16_t In16(const char* buf, bool swap) { in In16()
287 uint16_t wc = (src[0]) | (src[1] << 8); in In16()
/bionic/linker/
Dlinker_cfi.cpp50 ShadowWrite(uint16_t* s, uint16_t* e) { in ShadowWrite()
64 uint16_t* begin() { in begin()
65 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_start - aligned_start)); in begin()
68 uint16_t* end() { in end()
69 return reinterpret_cast<uint16_t*>(tmp_start + (shadow_end - aligned_start)); in end()
85 void CFIShadowWriter::AddConstant(uintptr_t begin, uintptr_t end, uint16_t v) { in AddConstant()
86 uint16_t* shadow_begin = MemToShadow(begin); in AddConstant()
87 uint16_t* shadow_end = MemToShadow(end - 1) + 1; in AddConstant()
108 uint16_t* shadow_begin = MemToShadow(begin); in Add()
109 uint16_t* shadow_end = MemToShadow(end - 1) + 1; in Add()
[all …]
Dlinker_cfi.h47 uint16_t* MemToShadow(uintptr_t x) { in MemToShadow()
48 return reinterpret_cast<uint16_t*>(*shadow_start + MemToShadowOffset(x)); in MemToShadow()
52 void AddConstant(uintptr_t begin, uintptr_t end, uint16_t v);
/bionic/tests/headers/posix/
Darpa_inet_h.c42 FUNCTION(htons, uint16_t (*f)(uint16_t)); in arpa_inet_h()
44 FUNCTION(ntohs, uint16_t (*f)(uint16_t)); in arpa_inet_h()
47 TYPE(uint16_t); in arpa_inet_h()
Dnetinet_in_h.c84 FUNCTION(htons, uint16_t (*f)(uint16_t)); in netinet_in_h()
86 FUNCTION(ntohs, uint16_t (*f)(uint16_t)); in netinet_in_h()
/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/libdl/
Dlibdl_cfi.cpp46 static uint16_t shadow_load(void* p) { in shadow_load()
51 return *reinterpret_cast<uint16_t*>(shadow_base_storage.v + ofs); in shadow_load()
54 static uintptr_t cfi_check_addr(uint16_t v, void* Ptr) { in cfi_check_addr()
70 uint16_t v = shadow_load(Ptr); in cfi_slowpath_common()
/bionic/libc/arch-x86/bionic/
D__set_tls.cpp66 uint16_t table_indicator = 0; // GDT in __set_tls()
67 uint16_t rpl = 3; // Requested privilege level in __set_tls()
68 uint16_t selector = (tls_descriptor.entry_number << 3) | table_indicator | rpl; in __set_tls()
/bionic/libc/include/sys/
Dendian.h53 uint16_t htons(uint16_t __x) __attribute_const__ __INTRODUCED_IN(21);
55 uint16_t ntohs(uint16_t __x) __attribute_const__ __INTRODUCED_IN(21);
Ducontext.h283 uint16_t cwd;
284 uint16_t swd;
285 uint16_t ftw;
286 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()
Dbyteswap_test.cpp21 static constexpr uint16_t le16 = 0x1234;
25 static constexpr uint16_t be16 = 0x3412;
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/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;
484 (s) = ((uint16_t)t_cp[0] << 8) \
485 | ((uint16_t)t_cp[1]) \
567 uint16_t ns_get16(const u_char* __src);
569 void ns_put16(uint16_t __src, u_char* __dst);
595 uint16_t ns_get16(const u_char* __src) __INTRODUCED_IN_64(22);
597 void ns_put16(uint16_t __src, u_char* __dst) __INTRODUCED_IN_64(22);
/bionic/libc/dns/include/
Dresolv_private.h183 uint16_t nscount;
184 uint16_t nstimes[MAXNS]; /* ms. */
443 void putshort(uint16_t, u_char *);
445 uint16_t _getshort(const u_char *);
493 const char * res_servicename(uint16_t, const char *);
500 __LIBC_HIDDEN__ uint16_t res_nametoclass(const char *, int *);
501 __LIBC_HIDDEN__ uint16_t res_nametotype(const char *, int *);
/bionic/libc/malloc_debug/
Dbacktrace.cpp101 uint16_t value = (*reinterpret_cast<uint16_t*>(ip - 2)) >> 11; in trace_function()

123