Searched refs:map_res (Results 1 – 19 of 19) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie() local 156 uptr map_end = map_res + map_size; in MmapAlignedOrDie() 157 uptr res = map_res; in MmapAlignedOrDie() 159 res = (map_res + alignment) & ~(alignment - 1); in MmapAlignedOrDie() 161 if (res != map_res) in MmapAlignedOrDie() 162 UnmapOrDie((void*)map_res, res - map_res); in MmapAlignedOrDie()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cpp | 88 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); in MmapAlignedOrDieOnFatalError() local 89 if (UNLIKELY(!map_res)) in MmapAlignedOrDieOnFatalError() 91 uptr map_end = map_res + map_size; in MmapAlignedOrDieOnFatalError() 92 uptr res = map_res; in MmapAlignedOrDieOnFatalError() 94 res = (map_res + alignment - 1) & ~(alignment - 1); in MmapAlignedOrDieOnFatalError() 95 UnmapOrDie((void*)map_res, res - map_res); in MmapAlignedOrDieOnFatalError()
|
/external/rust/crates/nom/tests/ |
D | ini.rs | 8 combinator::map_res, 16 map_res(delimited(char('['), take_while(|c| c != b']'), char(']')), str::from_utf8)(i) in category() 25 key: map_res!(alphanumeric, complete_byte_slice_to_str) 29 >> val: map_res!(
|
D | css.rs | 5 use nom::combinator::map_res; 24 map_res( in hex_primary()
|
D | inference.rs | 22 first_line: map_res!(is_not!("\n"), std::str::from_utf8) 29 map_res!(take_while!(call!(|c| c != b'\n')), std::str::from_utf8)
|
D | float.rs | 11 map_res!( 12 map_res!(
|
D | arithmetic.rs | 7 combinator::map_res, 38 map_res(delimited(space, digit, space), FromStr::from_str), in factor()
|
D | named_args.rs | 55 map_res!( 56 map_res!(
|
D | reborrow_fold.rs | 10 map!(map_res!(is_not!(" \t\r\n()"), str::from_utf8), ToString::to_string));
|
D | arithmetic_ast.rs | 12 combinator::{map, map_res}, 78 map_res( in factor()
|
D | json.rs | 28 map_res!(
|
D | mp4.rs | 245 named!(brand_name<&[u8],&str>, map_res!(take!(4), str::from_utf8));
|
D | issues.rs | 218 … do_parse!(tag!(" ") >> _atom: map_res!(take_till1!(atom_specials), std::str::from_utf8) >> ("a"))
|
/external/rust/crates/nom/src/combinator/ |
D | macros.rs | 535 macro_rules! map_res ( macro 541 map_res!(__impl $i, $submac!($($args)*), call!($g)); 544 map_res!(__impl $i, $submac!($($args)*), $submac2!($($args2)*)); 547 map_res!(__impl $i, call!($f), call!($g)); 550 map_res!(__impl $i, call!($f), $submac!($($args)*));
|
D | mod.rs | 116 pub fn map_res<I: Clone, O1, O2, E: ParseError<I>, E2, F, G>(first: F, second: G) -> impl Fn(I) -> … in map_res() function 137 map_res(first, second)(input) in map_resc()
|
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 822 named!(pub number<u32>, map_res!( 823 map_res!(
|
/external/rust/crates/nom/ |
D | README.md | 29 combinator::map_res, 49 map_res(
|
D | CHANGELOG.md | 888 - `map_opt!` and `map_res!` had issues with argument order due to bad macros 1005 - `FlatMap`, `FlatpMapOpt` and `Functor` traits (replaced by `map!`, `map_opt!` and `map_res!`) 1069 - `map!`, `map_opt!` and `map_res!` to combine a parser with a normal function, transforming the in…
|
/external/rust/crates/nom/src/bytes/ |
D | macros.rs | 378 map_res!(input, take!($size), $crate::lib::std::str::from_utf8)
|