Home
last modified time | relevance | path

Searched refs:IsInRange (Results 1 – 25 of 47) sorted by relevance

12

/external/v8/src/objects/
Dfunction-kind.h64 return base::IsInRange(kind, FunctionKind::kArrowFunction, in IsArrowFunction()
69 return base::IsInRange(kind, FunctionKind::kModule, in IsModule()
78 return base::IsInRange(kind, FunctionKind::kAsyncConciseGeneratorMethod, in IsAsyncGeneratorFunction()
83 return base::IsInRange(kind, FunctionKind::kAsyncConciseGeneratorMethod, in IsGeneratorFunction()
88 return base::IsInRange(kind, FunctionKind::kAsyncArrowFunction, in IsAsyncFunction()
97 return base::IsInRange(kind, FunctionKind::kAsyncConciseMethod, in IsConciseMethod()
99 base::IsInRange(kind, FunctionKind::kConciseGeneratorMethod, in IsConciseMethod()
104 return base::IsInRange(kind, FunctionKind::kGetterFunction, in IsStrictFunctionWithoutPrototype()
106 base::IsInRange(kind, FunctionKind::kAsyncConciseMethod, in IsStrictFunctionWithoutPrototype()
108 base::IsInRange(kind, FunctionKind::kConciseGeneratorMethod, in IsStrictFunctionWithoutPrototype()
[all …]
Delements-kind.h139 return base::IsInRange(kind, FAST_SLOPPY_ARGUMENTS_ELEMENTS, in IsSloppyArgumentsElementsKind()
144 return base::IsInRange(kind, FAST_STRING_WRAPPER_ELEMENTS, in IsStringWrapperElementsKind()
149 return base::IsInRange(kind, FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND, in IsTypedArrayElementsKind()
169 return base::IsInRange(kind, PACKED_DOUBLE_ELEMENTS, HOLEY_DOUBLE_ELEMENTS); in IsDoubleElementsKind()
182 return base::IsInRange(kind, FIRST_ANY_NONEXTENSIBLE_ELEMENTS_KIND, in IsAnyNonextensibleElementsKindUnchecked()
193 DCHECK_IMPLIES(base::IsInRange(kind, PACKED_NONEXTENSIBLE_ELEMENTS, in IsNonextensibleElementsKind()
196 return base::IsInRange(kind, PACKED_NONEXTENSIBLE_ELEMENTS, in IsNonextensibleElementsKind()
202 base::IsInRange(kind, PACKED_SEALED_ELEMENTS, HOLEY_SEALED_ELEMENTS), in IsSealedElementsKind()
204 return base::IsInRange(kind, PACKED_SEALED_ELEMENTS, HOLEY_SEALED_ELEMENTS); in IsSealedElementsKind()
209 base::IsInRange(kind, PACKED_FROZEN_ELEMENTS, HOLEY_FROZEN_ELEMENTS), in IsFrozenElementsKind()
[all …]
Dinstance-type-inl.h28 return base::IsInRange(value, lower_limit, upper_limit); in Check()
Djs-date-time-format.cc304 base::IsInRange(input[8], '0', '9')) { in GetGMTTzID()
310 base::IsInRange(input[9], '0', '4')) { in GetGMTTzID()
321 return base::IsInRange(ch, 'A', 'Z') || base::IsInRange(ch, 'a', 'z'); in IsAsciiAlpha()
327 return (base::IsInRange(ch, 'a', 'z')) ? (ch - 'a' + 'A') : ch; in LocaleIndependentAsciiToUpper()
332 return (base::IsInRange(ch, 'A', 'Z')) ? (ch - 'A' + 'a') : ch; in LocaleIndependentAsciiToLower()
/external/v8/src/parsing/
Dtoken.h237 if (V8_LIKELY(base::IsInRange(token, IDENTIFIER, ASYNC))) return true; in IsValidIdentifier()
244 return base::IsInRange(token, SUPER, ESCAPED_STRICT_RESERVED_WORD); in IsCallable()
248 return base::IsInRange(token, SEMICOLON, EOS); in IsAutoSemicolon()
252 return base::IsInRange(token, IDENTIFIER, ESCAPED_STRICT_RESERVED_WORD); in IsAnyIdentifier()
256 return base::IsInRange(token, YIELD, ESCAPED_STRICT_RESERVED_WORD); in IsStrictReservedWord()
260 return base::IsInRange(token, NULL_LITERAL, STRING); in IsLiteral()
264 return base::IsInRange(token, TEMPLATE_SPAN, TEMPLATE_TAIL); in IsTemplate()
268 return base::IsInRange(token, TEMPLATE_SPAN, LBRACK); in IsMember()
272 return base::IsInRange(token, PERIOD, LBRACK); in IsProperty()
276 return base::IsInRange(token, TEMPLATE_SPAN, LPAREN); in IsPropertyOrCall()
[all …]
Dscanner.h261 bool IsValid() const { return base::IsInRange(beg_pos, 0, end_pos); } in IsValid()
441 base::IsInRange(token, Token::NUMBER, Token::STRING) || in CanAccessLiteral()
443 base::IsInRange(token, Token::TEMPLATE_SPAN, Token::TEMPLATE_TAIL); in CanAccessLiteral()
447 base::IsInRange(token, Token::TEMPLATE_SPAN, Token::TEMPLATE_TAIL); in CanAccessRawLiteral()
462 return base::IsInRange(kind, BINARY, DECIMAL); in IsValidBigIntKind()
466 return base::IsInRange(kind, DECIMAL, DECIMAL_WITH_LEADING_ZERO); in IsDecimalNumberKind()
548 base::IsInRange(c0_, 0u, unibrow::Utf16::kMaxNonSurrogateCharCode)); in PushBack()
Dexpression-scope.h220 return base::IsInRange(type_, kParameterDeclaration, kLexicalDeclaration); in IsCertainlyDeclaration()
287 return base::IsInRange(type_, kExpression, in CanBeExpression()
291 return base::IsInRange(type_, kMaybeArrowParameterDeclaration, in CanBeDeclaration()
295 return base::IsInRange(type_, kVarDeclaration, kLexicalDeclaration); in IsVariableDeclaration()
324 return base::IsInRange(type_, kMaybeArrowParameterDeclaration, in IsArrowHeadParsingScope()
329 return base::IsInRange(type_, kMaybeArrowParameterDeclaration, in CanBeParameterDeclaration()
333 return base::IsInRange(type_, kMaybeArrowParameterDeclaration, in CanBeArrowParameterDeclaration()
Dkeywords-gen.h157 if (base::IsInRange(len, MIN_WORD_LENGTH, MAX_WORD_LENGTH)) { in GetToken()
Dscanner.cc112 DCHECK(c == Invalid() || base::IsInRange(c, 0u, String::kMaxCodePoint)); in IsInvalid()
932 if (base::IsInRange(token, Token::IDENTIFIER, Token::YIELD)) return token; in ScanIdentifierOrKeywordInnerSlow()
942 if (base::IsInRange(token, Token::LET, Token::STATIC)) { in ScanIdentifierOrKeywordInnerSlow()
/external/v8/src/strings/
Dchar-predicates-inl.h29 return base::IsInRange(AsciiAlphaToLower(c), 'a', 'z') || IsDecimalDigit(c); in IsAlphaNumeric()
34 return base::IsInRange(c, '0', '9'); in IsDecimalDigit()
39 return IsDecimalDigit(c) || base::IsInRange(AsciiAlphaToLower(c), 'a', 'f'); in IsHexDigit()
44 return base::IsInRange(c, '0', '7'); in IsOctalDigit()
48 return base::IsInRange(c, '8', '9'); in IsNonOctalDecimalDigit()
57 return base::IsInRange(c, 'a', 'z'); in IsAsciiLower()
61 return base::IsInRange(c, 'A', 'Z'); in IsAsciiUpper()
134 if (!base::IsInRange(c, 0, 255)) return IsIdentifierStartSlow(c); in IsIdentifierStart()
141 if (!base::IsInRange(c, 0, 255)) return IsIdentifierPartSlow(c); in IsIdentifierPart()
148 if (!base::IsInRange(c, 0, 255)) return IsWhiteSpaceSlow(c); in IsWhiteSpace()
[all …]
/external/v8/src/regexp/
Dregexp-bytecodes.h234 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeLength()
245 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeName()
Dregexp-macro-assembler.cc150 DCHECK(base::IsInRange(cp_offset, kMinCPOffset, kMaxCPOffset)); in LoadCurrentCharacterImpl()
/external/v8/src/interpreter/
Dbytecode-operands.h185 return base::IsInRange(operand_type, OperandType::kImm, in IsScalableSignedByte()
191 return base::IsInRange(operand_type, OperandType::kIdx, in IsScalableUnsignedByte()
/external/v8/src/snapshot/
Dserializer-deserializer.h186 return base::IsInRange(static_cast<int>(value), kMinValue, kMaxValue); in IsEncodable()
195 CONSTEXPR_DCHECK(base::IsInRange(bytecode, in Decode()
/external/v8/src/base/
Dbounds.h17 inline constexpr bool IsInRange(T value, U lower_limit, U higher_limit) { in IsInRange() function
/external/v8/src/compiler/
Dallocation-builder-inl.h18 DCHECK(base::IsInRange(map.instance_type(), FIRST_CONTEXT_TYPE, in AllocateContext()
Dnode-matchers.h146 bool IsInRange(const T& low, const T& high) const { in IsInRange() function
188 bool IsInRange(const T& low, const T& high) const { in IsInRange() function
Dmachine-operator-reducer.cc1260 m.right().IsInRange(1, 24)) || in ReduceStore()
1262 m.right().IsInRange(1, 16)))) { in ReduceStore()
1431 if (m.right().IsInRange(1, 31)) { in ReduceWord32Shl()
1442 mleft.right().IsInRange(1, 31)) { in ReduceWord32Shl()
1484 if (m.right().IsInRange(1, 63) && in ReduceWord64Shl()
1495 mleft.right().IsInRange(1, 63)) { in ReduceWord64Shl()
/external/v8/src/codegen/
Dregister.h36 CONSTEXPR_DCHECK(base::IsInRange(code, 0, kNumRegisters - 1)); in from_code()
Dreloc-info.h144 return base::IsInRange(mode, FIRST_EMBEDDED_OBJECT_RELOC_MODE, in IsEmbeddedObjectMode()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp222 bool IsInRange = IntVal >= From && IntVal <= To; in assumeWithinInclusiveRange() local
223 bool isFeasible = (IsInRange == InRange); in assumeWithinInclusiveRange()
/external/v8/src/snapshot/embedded/
Dembedded-data.h81 DCHECK(base::IsInRange(addr, start, start + code_size_)); in AddressForHashing()
/external/v8/src/asmjs/
Dasm-scanner.cc427 return base::IsInRange(AsciiAlphaToLower(ch), 'a', 'z') || ch == '_' || in IsIdentifierStart()
/external/v8/src/json/
Djson-parser.cc912 if (base::IsInRange(c, 0, in ParseJsonNumber()
936 (!base::IsInRange(c, 0, in ParseJsonNumber()
1157 if (V8_UNLIKELY(!base::IsInRange( in ScanJsonString()
/external/v8/src/compiler/backend/ppc/
Dinstruction-selector-ppc.cc475 if (mleft.right().IsInRange(0, 31)) { in VisitWord32And()
514 if (mleft.right().IsInRange(0, 63)) { in VisitWord64And()
627 if (m.left().IsWord32And() && m.right().IsInRange(0, 31)) { in VisitWord32Shl()
653 if (m.left().IsWord64And() && m.right().IsInRange(0, 63)) { in VisitWord64Shl()
696 if (m.left().IsWord32And() && m.right().IsInRange(0, 31)) { in VisitWord32Shr()
723 if (m.left().IsWord64And() && m.right().IsInRange(0, 63)) { in VisitWord64Shr()

12