Home
last modified time | relevance | path

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

123

/bionic/libc/include/bits/
Dtcphdr.h39 uint16_t th_sport;
40 uint16_t th_dport;
46 uint16_t th_win;
47 uint16_t th_sum;
48 uint16_t th_urp;
51 uint16_t source;
52 uint16_t dest;
55 uint16_t res1:4;
56 uint16_t doff:4;
57 uint16_t fin:1;
[all …]
/bionic/libc/kernel/uapi/linux/
Didxd.h188 uint16_t int_handle;
189 uint16_t rsvd1;
211 uint16_t chk_app_tag_mask;
212 uint16_t chk_app_tag_seed;
220 uint16_t ins_app_tag_mask;
221 uint16_t ins_app_tag_seed;
229 uint16_t src_app_tag_mask;
230 uint16_t src_app_tag_seed;
232 uint16_t dest_app_tag_mask;
233 uint16_t dest_app_tag_seed;
[all …]
Dfuse.h43 uint16_t mode;
44 uint16_t __spare0[1];
422 uint16_t max_background;
423 uint16_t congestion_threshold;
426 uint16_t max_pages;
427 uint16_t map_alignment;
508 uint16_t total_extlen;
509 uint16_t padding;
Dsctp.h501 uint16_t stream_id;
502 uint16_t stream_value;
676 uint16_t srs_flags;
677 uint16_t srs_number_streams;
678 uint16_t srs_stream_list[];
682 uint16_t sas_instrms;
683 uint16_t sas_outstrms;
687 uint16_t se_type;
693 uint16_t sue_port;
/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/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/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/libc/include/netinet/
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;
/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/upstream-openbsd/lib/libc/net/
Dhtons.c11 uint16_t
12 htons(uint16_t x) in htons()
Dntohs.c11 uint16_t
12 ntohs(uint16_t x) in ntohs()
/bionic/libc/include/sys/
Dendian.h53 uint16_t htons(uint16_t __x) __attribute_const__;
55 uint16_t ntohs(uint16_t __x) __attribute_const__;
Ducontext.h282 uint16_t cwd;
283 uint16_t swd;
284 uint16_t ftw;
285 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.cpp28 static constexpr uint16_t le16 = 0x1234;
32 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_private.h184 uint16_t nscount;
185 uint16_t nstimes[MAXNS]; /* ms. */
435 void putshort(uint16_t, u_char *);
437 uint16_t _getshort(const u_char *);
485 const char * res_servicename(uint16_t, const char *);
492 __LIBC_HIDDEN__ uint16_t res_nametoclass(const char *, int *);
493 __LIBC_HIDDEN__ uint16_t res_nametotype(const char *, int *);
/bionic/libc/include/arpa/
Dnameser.h129 uint16_t _id, _flags, _counts[ns_s_max];
159 uint16_t type;
160 uint16_t rr_class;
162 uint16_t rdlength;
488 (s) = ((uint16_t)t_cp[0] << 8) \
489 | ((uint16_t)t_cp[1]) \
551 uint16_t ns_get16(const u_char* _Nonnull __src) __INTRODUCED_IN(22);
553 void ns_put16(uint16_t __src, u_char* _Nonnull __dst) __INTRODUCED_IN(22);

123