/external/v8/src/ast/ |
D | ast-value-factory.cc | 68 } else if (is_one_byte()) { in Internalize() 103 if (!is_one_byte()) return false; in IsOneByteEqualTo() 113 if (is_one_byte()) return literal_bytes_[0]; in FirstCharacter() 126 if (lhs->is_one_byte()) { in Compare() 127 if (rhs->is_one_byte()) { in Compare() 137 if (rhs->is_one_byte()) { in Compare() 184 bool is_one_byte = true; in AllocateFlat() local 188 is_one_byte = is_one_byte && current->string->is_one_byte(); in AllocateFlat() 191 if (is_one_byte) { in AllocateFlat() 223 if (current->string->is_one_byte()) { in AllocateFlat() [all …]
|
D | ast-value-factory.h | 55 return is_one_byte() ? literal_bytes_.length() in length() 67 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function 90 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, in AstRawString() argument 95 is_one_byte_(is_one_byte) {} in AstRawString() 372 const AstRawString* GetString(uint32_t hash, bool is_one_byte,
|
D | modules.cc | 28 if (lhs->is_one_byte() != rhs->is_one_byte()) { in ThreeWayCompare() 29 return lhs->is_one_byte() ? -1 : 1; in ThreeWayCompare()
|
D | prettyprinter.cc | 701 const char* format = value->is_one_byte() ? "%c" : "%lc"; in PrintLiteral() 702 const int increment = value->is_one_byte() ? 1 : 2; in PrintLiteral()
|
/external/v8/src/regexp/ |
D | regexp.cc | 82 Handle<String> sample_subject, bool is_one_byte); 86 bool is_one_byte); 91 Handle<String> sample_subject, bool is_one_byte, 98 static ByteArray IrregexpByteCode(FixedArray re, bool is_one_byte); 99 static Code IrregexpNativeCode(FixedArray re, bool is_one_byte); 390 bool is_one_byte) { in EnsureCompiledIrregexp() argument 391 Object compiled_code = re->Code(is_one_byte); in EnsureCompiledIrregexp() 392 Object bytecode = re->Bytecode(is_one_byte); in EnsureCompiledIrregexp() 414 return CompileIrregexp(isolate, re, sample_subject, is_one_byte); in EnsureCompiledIrregexp() 420 bool RegExpCodeIsValidForPreCompilation(Handle<JSRegExp> re, bool is_one_byte) { in RegExpCodeIsValidForPreCompilation() argument [all …]
|
D | regexp-macro-assembler.cc | 204 bool is_one_byte = String::IsOneByteRepresentationUnderneath(*subject_handle); in CheckStackGuardState() local 229 is_one_byte) { in CheckStackGuardState() 278 bool is_one_byte = subject_ptr.IsOneByteRepresentation(); in Match() local 281 int char_size_shift = is_one_byte ? 0 : 1; in Match() 304 bool is_one_byte = String::IsOneByteRepresentationUnderneath(input); in Execute() local 305 Code code = Code::cast(regexp.Code(is_one_byte)); in Execute()
|
D | regexp-compiler.h | 426 RegExpError AnalyzeRegExp(Isolate* isolate, bool is_one_byte, RegExpNode* node); 476 bool is_one_byte); 529 bool is_one_byte);
|
D | regexp.h | 127 bool is_one_byte);
|
D | regexp-compiler.cc | 2474 void TextNode::MakeCaseIndependent(Isolate* isolate, bool is_one_byte) { in MakeCaseIndependent() argument 2492 is_one_byte); in MakeCaseIndependent() 3595 Analysis(Isolate* isolate, bool is_one_byte) in Analysis() argument 3597 is_one_byte_(is_one_byte), in Analysis() 3711 RegExpError AnalyzeRegExp(Isolate* isolate, bool is_one_byte, in AnalyzeRegExp() argument 3714 is_one_byte); in AnalyzeRegExp() 3834 bool is_one_byte) { in PreprocessRegExp() argument 3861 if (is_one_byte) { in PreprocessRegExp()
|
D | regexp-interpreter.cc | 1059 bool is_one_byte = String::IsOneByteRepresentationUnderneath(subject_string); in Match() local 1060 ByteArray code_array = ByteArray::cast(regexp.Bytecode(is_one_byte)); in Match()
|
D | regexp-compiler-tonode.cc | 1144 bool is_one_byte) { in AddCaseEquivalents() argument 1156 if (is_one_byte && !RangeContainsLatin1Equivalents(range)) { in AddCaseEquivalents() 1199 if (is_one_byte && !RangeContainsLatin1Equivalents(range)) { in AddCaseEquivalents()
|
/external/v8/src/parsing/ |
D | literal-buffer.h | 27 if (is_one_byte()) { in AddChar() 37 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function 40 return is_one_byte() && keyword.length() == position_ && in Equals() 59 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length() 83 DCHECK(is_one_byte()); in AddOneByteChar()
|
D | literal-buffer.cc | 17 if (is_one_byte()) { in Internalize() 43 DCHECK(is_one_byte()); in ConvertToTwoByte() 67 DCHECK(!is_one_byte()); in AddTwoByteChar()
|
D | preparser.cc | 350 bool is_one_byte = true; in ParseFunctionLiteral() local 355 is_one_byte = string->is_one_byte(); in ParseFunctionLiteral() 359 function_scope->end_position(), name, name_byte_length, is_one_byte); in ParseFunctionLiteral()
|
D | scanner.h | 595 return current().literal_chars.is_one_byte(); in is_literal_one_byte() 609 return next().literal_chars.is_one_byte(); in is_next_literal_one_byte() 621 return current().raw_literal_chars.is_one_byte(); in is_raw_literal_one_byte()
|
D | preparse-data.cc | 396 byte_data_.WriteUint8(name->is_one_byte()); in SaveDataForVariable() 706 DCHECK_IMPLIES(name->is_one_byte(), data_one_byte); in RestoreDataForVariable() 708 if (!name->is_one_byte() && data_one_byte) { in RestoreDataForVariable()
|
D | scanner.cc | 238 if (!name.is_one_byte()) return; in TryToParseSourceURLComment() 928 if (can_be_keyword && next().literal_chars.is_one_byte()) { in ScanIdentifierOrKeywordInnerSlow()
|
/external/v8/src/strings/ |
D | unicode-decoder.cc | 22 bool is_one_byte = true; in Utf8Decoder() local 30 is_one_byte = is_one_byte && t <= unibrow::Latin1::kMaxChar; in Utf8Decoder() 38 is_one_byte = false; in Utf8Decoder() 42 encoding_ = is_one_byte ? Encoding::kLatin1 : Encoding::kUtf16; in Utf8Decoder()
|
D | unicode-decoder.h | 58 bool is_one_byte() const { return encoding_ <= Encoding::kLatin1; } in is_one_byte() function
|
/external/v8/src/extensions/ |
D | externalize-string-extension.cc | 116 bool is_one_byte = in IsOneByte() local 118 args.GetReturnValue().Set(is_one_byte); in IsOneByte()
|
/external/v8/src/logging/ |
D | log-utils.cc | 132 bool is_one_byte) { in AppendString() argument 134 if (is_one_byte) { in AppendString() 136 DCHECK_IMPLIES(is_one_byte, str[i] != '\0'); in AppendString()
|
D | log-utils.h | 72 void AppendString(const char* str, size_t length, bool is_one_byte = true);
|
D | log.h | 173 size_t function_name_length = 0, bool is_one_byte = true);
|
/external/v8/src/heap/ |
D | factory-base.cc | 598 bool is_one_byte = left_is_one_byte && right_is_one_byte; in NewConsString() local 608 if (is_one_byte) { in NewConsString() 642 return NewConsString(left, right, length, is_one_byte, allocation); in NewConsString()
|
D | factory.cc | 561 if (decoder.is_one_byte()) { in InternalizeUtf8String() 613 if (decoder.is_one_byte()) { in NewStringFromUtf8() 661 if (decoder.is_one_byte()) { in NewStringFromUtf8SubString() 741 template <bool is_one_byte, typename T> 750 if (is_one_byte) { in AllocateInternalizedStringImpl() 770 if (is_one_byte) { in AllocateInternalizedStringImpl()
|