/external/v8/src/ast/ |
D | ast-value-factory.cc | 354 AstRawString* AstValueFactory::GetString(uint32_t hash, bool is_one_byte, in GetString() argument 360 AstRawString key(is_one_byte, literal_bytes, hash); in GetString() 368 is_one_byte, Vector<const byte>(new_literal_bytes, length), hash); in GetString() 388 if (lhs->is_one_byte()) { in AstRawStringCompare() 389 if (rhs->is_one_byte()) { in AstRawStringCompare() 399 if (rhs->is_one_byte()) { in AstRawStringCompare()
|
D | ast-value-factory.h | 83 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function 102 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, in AstRawString() argument 104 : is_one_byte_(is_one_byte), literal_bytes_(literal_bytes), hash_(hash) {} in AstRawString() 345 AstRawString* GetString(uint32_t hash, bool is_one_byte,
|
/external/v8/src/parsing/ |
D | scanner.h | 121 int AddSymbol(Vector<const uint8_t> key, bool is_one_byte, int value); 126 uint8_t* BackupKey(Vector<const uint8_t> key, bool is_one_byte); 133 static uint32_t Hash(Vector<const uint8_t> key, bool is_one_byte); 184 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function 187 return is_one_byte() && keyword.length() == position_ && in is_contextual_keyword() 598 return current_.literal_chars->is_one_byte(); in is_literal_one_byte() 616 return next_.literal_chars->is_one_byte(); in is_next_literal_one_byte() 628 return current_.raw_literal_chars->is_one_byte(); in is_raw_literal_one_byte()
|
D | scanner.cc | 24 if (is_one_byte()) { in Internalize() 369 if (!name.is_one_byte()) return; in TryToParseSourceURLComment() 1225 if (!string->is_one_byte()) return false; in IdentifierIsFutureStrictReserved() 1312 if (next_.literal_chars->is_one_byte()) { in ScanIdentifierOrKeyword() 1341 if (escaped && next_.literal_chars->is_one_byte()) { in ScanIdentifierSuffix() 1544 bool is_one_byte, in AddSymbol() argument 1546 uint32_t hash = Hash(key, is_one_byte); in AddSymbol() 1547 byte* encoding = BackupKey(key, is_one_byte); in AddSymbol() 1609 uint32_t DuplicateFinder::Hash(Vector<const uint8_t> key, bool is_one_byte) { in Hash() argument 1613 uint32_t hash = (length << 1) | (is_one_byte ? 1 : 0); in Hash() [all …]
|
D | preparse-data.h | 163 bool is_one_byte; member
|
D | parser.cc | 5245 if (raw_string->is_one_byte()) { in ComputeTemplateLiteralHash()
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler.cc | 79 bool is_one_byte = subject_handle->IsOneByteRepresentationUnderneath(); in CheckStackGuardState() local 107 if (subject_handle->IsOneByteRepresentationUnderneath() != is_one_byte) { in CheckStackGuardState() 156 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match() local 159 int char_size_shift = is_one_byte ? 0 : 1; in Match()
|
D | jsregexp.h | 199 static ByteArray* IrregexpByteCode(FixedArray* re, bool is_one_byte); 200 static Code* IrregexpNativeCode(FixedArray* re, bool is_one_byte); 213 Handle<String> sample_subject, bool is_one_byte); 216 bool is_one_byte); 702 void MakeCaseIndependent(Isolate* isolate, bool is_one_byte); 1443 Analysis(Isolate* isolate, bool ignore_case, bool is_one_byte) in Analysis() argument 1446 is_one_byte_(is_one_byte), in Analysis() 1512 bool is_one_byte);
|
D | jsregexp.cc | 318 bool is_one_byte) { in EnsureCompiledIrregexp() argument 319 Object* compiled_code = re->DataAt(JSRegExp::code_index(is_one_byte)); in EnsureCompiledIrregexp() 327 Object* saved_code = re->DataAt(JSRegExp::saved_code_index(is_one_byte)); in EnsureCompiledIrregexp() 330 re->SetDataAt(JSRegExp::code_index(is_one_byte), saved_code); in EnsureCompiledIrregexp() 334 return CompileIrregexp(re, sample_subject, is_one_byte); in EnsureCompiledIrregexp() 340 bool is_one_byte) { in CompileIrregexp() argument 347 Object* entry = re->DataAt(JSRegExp::code_index(is_one_byte)); in CompileIrregexp() 361 Object* error_string = re->DataAt(JSRegExp::saved_code_index(is_one_byte)); in CompileIrregexp() 385 flags & JSRegExp::kSticky, pattern, sample_subject, is_one_byte); in CompileIrregexp() 395 data->set(JSRegExp::code_index(is_one_byte), result.code); in CompileIrregexp() [all …]
|
D | regexp-ast.h | 103 ZoneList<CharacterRange>* ranges, bool is_one_byte);
|
/external/v8/src/extensions/ |
D | externalize-string-extension.cc | 136 bool is_one_byte = in IsOneByte() local 138 args.GetReturnValue().Set(is_one_byte); in IsOneByte()
|
/external/v8/src/runtime/ |
D | runtime-strings.cc | 639 bool is_one_byte = separator->IsOneByteRepresentation(); in RUNTIME_FUNCTION() local 657 if (is_one_byte && !string->IsOneByteRepresentation()) { in RUNTIME_FUNCTION() 658 is_one_byte = false; in RUNTIME_FUNCTION() 694 if (is_one_byte) { in RUNTIME_FUNCTION() 1135 CONVERT_BOOLEAN_ARG_CHECKED(is_one_byte, 1); in RUNTIME_FUNCTION() 1138 if (is_one_byte) { in RUNTIME_FUNCTION()
|
/external/v8/src/ |
D | factory.cc | 539 bool is_one_byte = left_is_one_byte && right_is_one_byte; in NewConsString() local 541 if (!is_one_byte) { in NewConsString() 560 if (is_one_byte) { in NewConsString() 587 (is_one_byte || is_one_byte_data_in_two_byte_string) in NewConsString() 700 bool is_one_byte = length <= kOneByteCheckLengthLimit && in NewExternalStringFromTwoByte() local 705 map = is_one_byte ? short_external_string_with_one_byte_data_map() in NewExternalStringFromTwoByte() 708 map = is_one_byte ? external_string_with_one_byte_data_map() in NewExternalStringFromTwoByte()
|
D | objects.cc | 1767 bool is_one_byte = this->IsOneByteRepresentation(); in MakeExternal() local 1779 ? (is_one_byte in MakeExternal() 1782 : (is_one_byte ? heap->short_external_string_with_one_byte_data_map() in MakeExternal() 1786 ? (is_one_byte in MakeExternal() 1789 : (is_one_byte ? heap->external_string_with_one_byte_data_map() in MakeExternal()
|
/external/v8/test/cctest/ |
D | test-regexp.cc | 549 bool is_one_byte, Zone* zone) { in Compile() argument 563 false, pattern, sample_subject, is_one_byte); in Compile() 569 bool is_one_byte, bool dot_output = false) { in Execute() argument 572 RegExpNode* node = Compile(input, multiline, unicode, is_one_byte, &zone); in Execute()
|
/external/v8/src/heap/ |
D | mark-compact.cc | 1235 bool is_one_byte) { in UpdateRegExpCodeAgeAndFlush() argument 1245 Object* code = re->DataAt(JSRegExp::code_index(is_one_byte)); in UpdateRegExpCodeAgeAndFlush() 1249 re->SetDataAt(JSRegExp::saved_code_index(is_one_byte), code); in UpdateRegExpCodeAgeAndFlush() 1257 data->data_start() + JSRegExp::saved_code_index(is_one_byte); in UpdateRegExpCodeAgeAndFlush() 1261 re->SetDataAt(JSRegExp::code_index(is_one_byte), in UpdateRegExpCodeAgeAndFlush() 1273 re->SetDataAt(JSRegExp::code_index(is_one_byte), in UpdateRegExpCodeAgeAndFlush() 1275 re->SetDataAt(JSRegExp::saved_code_index(is_one_byte), in UpdateRegExpCodeAgeAndFlush()
|
D | heap.cc | 3649 template <bool is_one_byte, typename T> 3659 if (is_one_byte) { in AllocateInternalizedStringImpl() 3682 if (is_one_byte) { in AllocateInternalizedStringImpl()
|
D | heap.h | 2069 template <bool is_one_byte, typename T>
|