Home
last modified time | relevance | path

Searched refs:get_u16 (Results 1 – 25 of 41) sorted by relevance

12

/external/libwebsockets/lib/roles/http/server/
Dfops-zip.c148 get_u16(void *p) in get_u16() function
187 i = get_u16(buf + ZE_NUM_ENTRIES); in lws_fops_zip_scan()
189 if (get_u16(buf + ZE_DESK_NUMBER) || in lws_fops_zip_scan()
190 get_u16(buf + ZE_CENTRAL_DIRECTORY_DISK_NUMBER) || in lws_fops_zip_scan()
191 i != get_u16(buf + ZE_NUM_ENTRIES_THIS_DISK)) in lws_fops_zip_scan()
215 priv->hdr.filename_len = get_u16(buf + ZC_FILE_NAME_LENGTH); in lws_fops_zip_scan()
216 priv->hdr.extra = get_u16(buf + ZC_EXTRA_FIELD_LENGTH); in lws_fops_zip_scan()
219 priv->hdr.method = get_u16(buf + ZC_COMPRESSION_METHOD); in lws_fops_zip_scan()
225 priv->hdr.file_com_len = get_u16(buf + ZC_FILE_COMMENT_LENGTH); in lws_fops_zip_scan()
258 get_u16(buf + ZL_REL_OFFSET_CONTENT); in lws_fops_zip_scan()
/external/rust/crates/quiche/src/
Doctets.rs153 pub fn get_u16(&mut self) -> Result<u16> { in get_u16() method
195 2 => u64::from(b.get_u16()?), in get_varint()
232 let len = self.get_u16()?; in get_bytes_with_u16_length()
348 pub fn get_u16(&mut self) -> Result<u16> { in get_u16() method
414 2 => u64::from(b.get_u16()?), in get_varint()
510 let len = self.get_u16()?; in get_bytes_with_u16_length()
689 assert_eq!(b.get_u16().unwrap(), 0x203); in get_u()
706 assert!(b.get_u16().is_err()); in get_u()
726 assert_eq!(b.get_u16().unwrap(), 0x203); in get_u_mut()
743 assert!(b.get_u16().is_err()); in get_u_mut()
[all …]
/external/rust/crates/bytes/tests/
Dtest_buf.rs34 assert_eq!(0x2154, buf.get_u16()); in test_get_u16()
43 buf.get_u16(); in test_get_u16_buffer_underflow()
/external/iproute2/tc/
Dq_mqprio.c74 if (get_u16(&opt.count[idx], tok, 10)) { in mqprio_parse_opt()
80 if (get_u16(&opt.offset[idx], tok, 10)) { in mqprio_parse_opt()
Dm_ife.c116 if (get_u16(&ife_tcindex_v, *argv, 0)) in parse_ife()
126 if (get_u16(&ife_type, *argv, 0)) in parse_ife()
Dm_connmark.c75 if (get_u16(&sel.zone, *argv, 10)) { in parse_connmark()
Dq_htb.c140 if (get_u16(&mpu, *argv, 10)) { in htb_parse_class_opt()
145 if (get_u16(&overhead, *argv, 10)) { in htb_parse_class_opt()
Dm_gact.c118 if (get_u16(&pp.pval, *argv, 10)) { in parse_gact()
Dm_skbmod.c84 if (get_u16(&skbmod_etype, *argv, 0)) in parse_skbmod()
Dm_vlan.c103 if (get_u16(&id, *argv, 0)) in parse_vlan()
Dq_cbq.c118 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_opt()
332 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_class_opt()
/external/iproute2/ip/
Diplink_ipoib.c52 if (get_u16(&pkey, *argv, 0)) in ipoib_parse_opt()
66 if (get_u16(&umcast, *argv, 0)) in ipoib_parse_opt()
Diplink_bond_slave.c130 if (get_u16(&queue_id, *argv, 0)) in bond_slave_parse_opt()
Diplink_bridge.c122 if (get_u16(&prio, *argv, 0)) in bridge_parse_opt()
146 if (get_u16(&fwd_mask, *argv, 0)) in bridge_parse_opt()
165 if (get_u16(&default_pvid, *argv, 0)) in bridge_parse_opt()
Dlink_ip6tnl.c284 else if (get_u16(&encapsport, *argv, 0)) in ip6tunnel_parse_opt()
288 if (get_u16(&encapdport, *argv, 0)) in ip6tunnel_parse_opt()
Diplink_bond.c326 if (get_u16(&ad_user_port_key, *argv, 0)) in bond_parse_opt()
333 if (get_u16(&ad_actor_sys_prio, *argv, 0)) in bond_parse_opt()
Dlink_iptnl.c287 else if (get_u16(&encapsport, *argv, 0)) in iptunnel_parse_opt()
291 if (get_u16(&encapdport, *argv, 0)) in iptunnel_parse_opt()
Dlink_gre.c305 else if (get_u16(&encapsport, *argv, 0)) in gre_parse_opt()
309 if (get_u16(&encapdport, *argv, 0)) in gre_parse_opt()
Diplink_vlan.c99 if (get_u16(&id, *argv, 0)) in vlan_parse_opt()
Dlink_gre6.c332 else if (get_u16(&encapsport, *argv, 0)) in gre_parse_opt()
336 if (get_u16(&encapdport, *argv, 0)) in gre_parse_opt()
/external/rust/crates/bytes/benches/
Dbuf.rs163 mod get_u16 { module
165 bench_group!(get_u16);
/external/rust/crates/bytes/src/buf/
Dbuf_impl.rs330 fn get_u16(&mut self) -> u16 { in get_u16() method
940 fn get_u16(&mut self) -> u16 {
941 (**self).get_u16()
/external/iproute2/include/
Dutils.h96 #define get_ushort get_u16
101 int get_u16(__u16 *val, const char *arg, int base);
/external/openssh/
Dmisc.h128 u_int16_t get_u16(const void *)
/external/rust/crates/tokio/src/io/util/
Dread_int.rs135 reader!(ReadU16, u16, get_u16);

12