Home
last modified time | relevance | path

Searched refs:map_res (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc155 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/
Dsanitizer_posix.cpp88 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/
Dini.rs8 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!(
Dcss.rs5 use nom::combinator::map_res;
24 map_res( in hex_primary()
Dinference.rs22 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)
Dfloat.rs11 map_res!(
12 map_res!(
Darithmetic.rs7 combinator::map_res,
38 map_res(delimited(space, digit, space), FromStr::from_str), in factor()
Dnamed_args.rs55 map_res!(
56 map_res!(
Dreborrow_fold.rs10 map!(map_res!(is_not!(" \t\r\n()"), str::from_utf8), ToString::to_string));
Darithmetic_ast.rs12 combinator::{map, map_res},
78 map_res( in factor()
Djson.rs28 map_res!(
Dmp4.rs245 named!(brand_name<&[u8],&str>, map_res!(take!(4), str::from_utf8));
Dissues.rs218 … do_parse!(tag!(" ") >> _atom: map_res!(take_till1!(atom_specials), std::str::from_utf8) >> ("a"))
/external/rust/crates/nom/src/combinator/
Dmacros.rs535 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)*));
Dmod.rs116 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/
Dmacros.rs822 named!(pub number<u32>, map_res!(
823 map_res!(
/external/rust/crates/nom/
DREADME.md29 combinator::map_res,
49 map_res(
DCHANGELOG.md888 - `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/
Dmacros.rs378 map_res!(input, take!($size), $crate::lib::std::str::from_utf8)