/third_party/rust/crates/nom/benchmarks/benches/ |
D | ini.rs | 11 combinator::{map, map_res, opt}, 20 map_res( in category() 27 let (i, key) = map_res(alphanumeric, str::from_utf8)(i)?; in key_value() 29 let (i, val) = map_res(take_while(|c| c != b'\n' && c != b';'), str::from_utf8)(i)?; in key_value()
|
D | arithmetic.rs | 11 combinator::map_res, 26 map_res(digit1, |digits| { in factor()
|
D | json.rs | 12 combinator::{map, map_opt, map_res, value, verify}, 37 map_res(take(4usize), |s| u16::from_str_radix(s, 16))(input) in u16_hex() 69 map_res(anychar, |c| { in character()
|
/third_party/rust/crates/nom/tests/ |
D | float.rs | 4 use nom::combinator::{map, map_res, opt, recognize}; 16 let float_str = map_res(float_bytes, str::from_utf8); in unsigned_float() 17 map_res(float_str, FromStr::from_str)(i) in unsigned_float()
|
D | ini.rs | 6 combinator::{map, map_res, opt}, 16 map_res( in category() 23 let (i, key) = map_res(alphanumeric, str::from_utf8)(i)?; in key_value() 25 let (i, val) = map_res(take_while(|c| c != b'\n' && c != b';'), str::from_utf8)(i)?; in key_value()
|
D | reborrow_fold.rs | 8 use nom::combinator::{map, map_res}; 16 map_res(is_not(" \t\r\n"), str::from_utf8), in atom()
|
D | css.rs | 2 use nom::combinator::map_res; 22 map_res(take_while_m_n(2, 2, is_hex_digit), from_hex)(input) in hex_primary()
|
D | arithmetic.rs | 6 combinator::map_res, 27 map_res(delimited(space, digit, space), FromStr::from_str), in factor()
|
D | json.rs | 7 combinator::{map, map_opt, map_res, value, verify}, 32 map_res(take(4usize), |s| u16::from_str_radix(s, 16))(input) in u16_hex() 64 map_res(anychar, |c| { in character()
|
D | arithmetic_ast.rs | 10 combinator::{map, map_res}, 72 map_res(delimited(multispace, digit, multispace), FromStr::from_str), in factor()
|
D | mp4.rs | 6 combinator::{map, map_res}, 247 map_res(take(4_usize), str::from_utf8)(input) in brand_name()
|
/third_party/rust/crates/nom/fuzz/fuzz_targets/ |
D | fuzz_arithmetic.rs | 12 combinator::{map, map_res, verify}, 61 map_res(delimited(space, digit, space), FromStr::from_str), in factor()
|
/third_party/rust/crates/nom/examples/ |
D | string.rs | 17 use nom::combinator::{map, map_opt, map_res, value, verify}; 51 let parse_u32 = map_res(parse_delimited_hex, move |hex| u32::from_str_radix(hex, 16)); in parse_unicode()
|
D | s_expression.rs | 11 combinator::{cut, map, map_res, opt}, 123 map_res(digit1, |digit_str: &str| { in parse_num()
|
/third_party/rust/crates/nom/src/multi/ |
D | tests.rs | 323 use crate::combinator::map_res; in number() 325 map_res(map_res(digit, str::from_utf8), FromStr::from_str)(i) in number()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_device.c | 2223 ID3D12Resource_Unmap(mem->map_res, 0, NULL); in dzn_device_memory_destroy() 2225 if (mem->map_res) in dzn_device_memory_destroy() 2226 ID3D12Resource_Release(mem->map_res); in dzn_device_memory_destroy() 2349 (void **)&mem->map_res); in dzn_device_memory_create() 2407 assert(mem->map_res); in dzn_MapMemory() 2412 if (FAILED(ID3D12Resource_Map(mem->map_res, 0, &range, &map))) in dzn_MapMemory() 2432 assert(mem->map_res); in dzn_UnmapMemory() 2433 ID3D12Resource_Unmap(mem->map_res, 0, NULL); in dzn_UnmapMemory()
|
D | dzn_private.h | 287 ID3D12Resource *map_res; member
|
/third_party/rust/crates/nom/doc/ |
D | nom_recipes.md | 195 combinator::{map_res, recognize}, 202 map_res(
|
D | choosing_a_combinator.md | 84 - [`map_res`](https://docs.rs/nom/latest/nom/combinator/fn.map_res.html): Maps a function returning…
|
D | error_management.md | 290 And there is also the `FromExternalError<I, E>` used by `map_res` to wrap
|
/third_party/rust/crates/nom/doc/archive/ |
D | FAQ.md | 117 named!(multi<Vec<&str>>, many0!( map_res!(tag!( "abcd" ), str::from_utf8) ) );
|
D | upgrading_to_nom_2.md | 156 map_res!(flat_map!(take_s!(1), digit), FromStr::from_str))));
|
/third_party/rust/crates/nom/ |
D | README.md | 48 combinator::map_res, 68 map_res(
|
D | CHANGELOG.md | 318 `ContextError` for the `context` combinator, and `FromExternalError` for `map_res`. 344 - the `FromExternalError` allows wrapping the error returned by the function in the `map_res` combi… 1257 - `map_opt!` and `map_res!` had issues with argument order due to bad macros 1374 - `FlatMap`, `FlatpMapOpt` and `Functor` traits (replaced by `map!`, `map_opt!` and `map_res!`) 1438 - `map!`, `map_opt!` and `map_res!` to combine a parser with a normal function, transforming the in…
|
/third_party/rust/crates/nom/src/combinator/ |
D | mod.rs | 104 pub fn map_res<I: Clone, O1, O2, E: FromExternalError<I, E2>, E2, F, G>( in map_res() function
|