/external/v8/src/objects/ |
D | function-kind.h | 64 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 …]
|
D | elements-kind.h | 139 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 …]
|
D | instance-type-inl.h | 28 return base::IsInRange(value, lower_limit, upper_limit); in Check()
|
D | js-date-time-format.cc | 304 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/ |
D | token.h | 237 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 …]
|
D | scanner.h | 261 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()
|
D | expression-scope.h | 220 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()
|
D | keywords-gen.h | 157 if (base::IsInRange(len, MIN_WORD_LENGTH, MAX_WORD_LENGTH)) { in GetToken()
|
D | scanner.cc | 112 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/ |
D | char-predicates-inl.h | 29 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/ |
D | regexp-bytecodes.h | 234 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeLength() 245 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeName()
|
D | regexp-macro-assembler.cc | 150 DCHECK(base::IsInRange(cp_offset, kMinCPOffset, kMaxCPOffset)); in LoadCurrentCharacterImpl()
|
/external/v8/src/interpreter/ |
D | bytecode-operands.h | 185 return base::IsInRange(operand_type, OperandType::kImm, in IsScalableSignedByte() 191 return base::IsInRange(operand_type, OperandType::kIdx, in IsScalableUnsignedByte()
|
/external/v8/src/snapshot/ |
D | serializer-deserializer.h | 186 return base::IsInRange(static_cast<int>(value), kMinValue, kMaxValue); in IsEncodable() 195 CONSTEXPR_DCHECK(base::IsInRange(bytecode, in Decode()
|
/external/v8/src/base/ |
D | bounds.h | 17 inline constexpr bool IsInRange(T value, U lower_limit, U higher_limit) { in IsInRange() function
|
/external/v8/src/compiler/ |
D | allocation-builder-inl.h | 18 DCHECK(base::IsInRange(map.instance_type(), FIRST_CONTEXT_TYPE, in AllocateContext()
|
D | node-matchers.h | 146 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
|
D | machine-operator-reducer.cc | 1260 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/ |
D | register.h | 36 CONSTEXPR_DCHECK(base::IsInRange(code, 0, kNumRegisters - 1)); in from_code()
|
D | reloc-info.h | 144 return base::IsInRange(mode, FIRST_EMBEDDED_OBJECT_RELOC_MODE, in IsEmbeddedObjectMode()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 222 bool IsInRange = IntVal >= From && IntVal <= To; in assumeWithinInclusiveRange() local 223 bool isFeasible = (IsInRange == InRange); in assumeWithinInclusiveRange()
|
/external/v8/src/snapshot/embedded/ |
D | embedded-data.h | 81 DCHECK(base::IsInRange(addr, start, start + code_size_)); in AddressForHashing()
|
/external/v8/src/asmjs/ |
D | asm-scanner.cc | 427 return base::IsInRange(AsciiAlphaToLower(ch), 'a', 'z') || ch == '_' || in IsIdentifierStart()
|
/external/v8/src/json/ |
D | json-parser.cc | 912 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/ |
D | instruction-selector-ppc.cc | 475 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()
|