Searched refs:parse_u8 (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/rusticata-macros/src/ |
D | combinator.rs | 201 fn parse_u8(i: &[u8]) -> IResult<&[u8], u8> { in test_cond_else() function 205 cond_else(|| a == 1, parse_u8, pure(0x02))(input), in test_cond_else() 209 cond_else(|| a == 1, parse_u8, pure(0x02))(input), in test_cond_else() 213 cond_else(|| a == 2, parse_u8, pure(0x02))(input), in test_cond_else() 217 cond_else(|| a == 1, pure(0x02), parse_u8)(input), in test_cond_else() 220 let res: IResult<&[u8], u8> = cond_else(|| a == 1, parse_u8, parse_u8)(input); in test_cond_else()
|
/external/iproute2/tc/ |
D | p_icmp.c | 41 res = parse_u8(&argc, &argv, 0); in parse_icmp() 46 res = parse_u8(&argc, &argv, 1); in parse_icmp()
|
D | f_u32.c | 292 static int parse_u8(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, in parse_u8() function 505 res = parse_u8(&argc, &argv, sel, 1, 0); in parse_ip() 508 res = parse_u8(&argc, &argv, sel, 0, 0); in parse_ip() 511 res = parse_u8(&argc, &argv, sel, 9, 0); in parse_ip() 532 res = parse_u8(&argc, &argv, sel, 20, 0); in parse_ip() 535 res = parse_u8(&argc, &argv, sel, 21, 0); in parse_ip() 564 res = parse_u8(&argc, &argv, sel, 6, 0); in parse_ip6() 576 res = parse_u8(&argc, &argv, sel, 40, 0); in parse_ip6() 579 res = parse_u8(&argc, &argv, sel, 41, 1); in parse_ip6() 649 res = parse_u8(&argc, &argv, sel, 0, -1); in parse_icmp() [all …]
|
/external/rust/crates/serde_cbor/src/ |
D | de.rs | 260 fn parse_u8(&mut self) -> Result<u8> { in parse_u8() function 304 let byte = self.parse_u8()?; in parse_indefinite_bytes() 307 0x58 => self.parse_u8()? as usize, in parse_indefinite_bytes() 371 let byte = self.parse_u8()?; in parse_indefinite_str() 374 0x78 => self.parse_u8()? as usize, in parse_indefinite_str() 586 let byte = self.parse_u8()?; in parse_value() 591 let value = self.parse_u8()?; in parse_value() 611 let value = self.parse_u8()?; in parse_value() 634 let len = self.parse_u8()?; in parse_value() 658 let len = self.parse_u8()?; in parse_value() [all …]
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 1167 static int parse_u8(const char *str, uint8_t *val_p) in parse_u8() function 1207 if (!parse_u8(entry->d_name, &devaddr)) { in usbfs_scan_busdir() 1255 if (!parse_u8(entry->d_name, &busnum)) { in usbfs_get_device_list()
|