Home
last modified time | relevance | path

Searched refs:is_positive (Results 1 – 17 of 17) sorted by relevance

/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/
Dparse.rs76 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
79 match is_positive { in parse_exponent()
137 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
142 if !is_positive { in parse_float()
148 if !is_positive { in parse_float()
154 if !is_positive { in parse_float()
172 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
174 (parse_exponent(exponent, is_positive), bytes) in parse_float()
201 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/tests/
Dintegration_tests.rs76 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
79 match is_positive { in parse_exponent()
137 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
142 if !is_positive { in parse_float()
148 if !is_positive { in parse_float()
154 if !is_positive { in parse_float()
172 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
174 (parse_exponent(exponent, is_positive), bytes) in parse_float()
201 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/
D_common.rs81 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
84 match is_positive { in parse_exponent()
114 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
125 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
127 (parse_exponent(exponent, is_positive), bytes) in parse_float()
139 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/examples/
Dsimple.rs123 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
126 match is_positive { in parse_exponent()
156 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
174 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
176 (parse_exponent(exponent, is_positive), bytes) in parse_float()
199 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
D_common.rs95 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
98 match is_positive { in parse_exponent()
128 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
139 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
141 (parse_exponent(exponent, is_positive), bytes) in parse_float()
153 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/
Dmain.rs88 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
91 match is_positive { in parse_exponent()
121 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
132 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
134 (parse_exponent(exponent, is_positive), bytes) in parse_float()
146 if !is_positive { in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dmain.rs95 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
98 match is_positive { in parse_exponent()
128 let (is_positive, bytes) = parse_sign(bytes); in parse_float()
139 let (is_positive, bytes) = parse_sign(&bytes[1..]); in parse_float()
141 (parse_exponent(exponent, is_positive), bytes) in parse_float()
153 if !is_positive { in parse_float()
/third_party/node/deps/v8/src/regexp/
Dregexp-ast.h516 RegExpLookaround(RegExpTree* body, bool is_positive, int capture_count, in RegExpLookaround() argument
519 is_positive_(is_positive), in RegExpLookaround()
531 bool is_positive() const { return is_positive_; } in is_positive() function
538 Builder(bool is_positive, RegExpNode* on_success,
Dregexp-ast.cc126 return is_positive() && type() == LOOKAHEAD && body()->IsAnchoredAtStart(); in IsAnchoredAtStart()
281 os_ << (that->is_positive() ? " + " : " - "); in VisitLookaround()
Dregexp-compiler-tonode.cc967 RegExpLookaround::Builder::Builder(bool is_positive, RegExpNode* on_success, in RationalizeConsecutiveAtoms() argument
972 : is_positive_(is_positive), in RationalizeConsecutiveAtoms()
1020 Builder builder(is_positive(), on_success, stack_pointer_register, in RationalizeConsecutiveAtoms()
Dregexp-parser.cc582 bool is_positive = (group_type == POSITIVE_LOOKAROUND); in ParseDisjunction() local
584 body, is_positive, end_capture_index - capture_index, in ParseDisjunction()
/third_party/ltp/tools/sparse/sparse-src/
Dlinearize.h61 static inline bool is_positive(pseudo_t pseudo, unsigned size) in is_positive() function
Dsimplify.c1944 if (!is_positive(defr->src2, defr->itype->bit_size)) in simplify_and_one_side()
/third_party/googletest/googlemock/test/
Dgmock-matchers-comparisons_test.cc1425 Matcher<int> is_positive = Gt(0); in TEST() local
1428 EXPECT_THAT(p, Key(is_positive)); in TEST()
1553 Matcher<int> is_positive = Gt(0); in TEST() local
1556 EXPECT_THAT(p, Pair(is_positive, _)); in TEST()
1558 EXPECT_THAT(p, Pair(_, is_positive)); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex_test.cc931 auto is_positive = std::bind(std::less<int>(), 0, std::cref(value)); local
932 absl::Condition c(&is_positive);
/third_party/mesa3d/src/compiler/glsl/
Dfloat64.glsl1631 bool is_positive =
1640 if (is_positive || __feq64(tr, a)) {
/third_party/node/deps/v8/src/compiler/
Djs-call-reducer.cc8145 Node* is_positive = graph()->NewNode(simplified()->NumberLessThanOrEqual(), in ReduceRegExpPrototypeTest() local
8150 is_positive, effect, control); in ReduceRegExpPrototypeTest()