Searched refs:parse_string (Results 1 – 7 of 7) sorted by relevance
| /packages/modules/Bluetooth/tools/pdl/src/ |
| D | parser.rs | 272 fn parse_string<'i>(iter: &mut impl Iterator<Item = Node<'i>>) -> Result<String, String> { in parse_string() function 529 let function = parse_string(&mut children)?; in parse_toplevel() 539 let function = parse_string(&mut children)?; in parse_toplevel() 649 assert_eq!(parse_string(&mut pairs).as_deref(), Ok("test")); in test_parse_string_bare() 657 assert_eq!(parse_string(&mut pairs).as_deref(), Ok("test with space")); in test_parse_string_space() 666 assert_eq!(parse_string(&mut pairs).as_deref(), Ok(r#""test""#)); in test_parse_string_escape()
|
| /packages/services/Car/tools/telemetry/lua-interpreter/ |
| D | json.lua | 196 local function parse_string(str, i) function 323 [ '"' ] = parse_string,
|
| /packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
| D | battery_service.rs | 161 UuidHelper::parse_string(uuid::BAS), in handle_action() 162 UuidHelper::parse_string(CHARACTERISTIC_BATTERY_LEVEL), in handle_action()
|
| D | bluetooth_gatt.rs | 2253 let uuid = match UuidHelper::parse_string(&app_uuid) { in register_client() 2339 let uuid = UuidHelper::parse_string(uuid); in discover_service_by_uuid() 2353 let uuid = match UuidHelper::parse_string(uuid) { in btif_gattc_discover_service_by_uuid() 2396 let uuid = UuidHelper::parse_string(uuid); in read_using_characteristic_uuid() 2606 let uuid = match UuidHelper::parse_string(&app_uuid) { in register_server() 4497 let uuid = UuidHelper::parse_string("abcdef"); in test_uuid_from_string() 4500 let uuid = UuidHelper::parse_string("0123456789abcdef0123456789abcdef"); in test_uuid_from_string() 4516 let uuid1 = UuidHelper::parse_string("00000000000000000000000000000001").unwrap().uu; in test_context_map_clients() 4536 let uuid2 = UuidHelper::parse_string("00000000000000000000000000000002").unwrap().uu; in test_context_map_clients()
|
| D | uuid.rs | 268 pub fn parse_string<T: Into<String>>(uuid: T) -> Option<Uuid> { in parse_string() method
|
| D | bluetooth_adv.rs | 285 service_data.iter().filter_map(|(s, d)| UuidHelper::parse_string(s).map(|s| (s, d))) in append_service_data()
|
| /packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
| D | command_handler.rs | 1415 let uuid = match UuidHelper::parse_string(get_arg(args, 2)?) { in cmd_sdp() 1586 let uuid = match UuidHelper::parse_string(psm_or_uuid.clone()) { in cmd_socket()
|