Home
last modified time | relevance | path

Searched refs:is_one_byte (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/ast/
Dast-value-factory.cc63 if (string_->is_one_byte()) in IsMatch()
70 if (string_->is_one_byte()) in AsHandle()
106 if (!is_one_byte()) return false; in IsOneByteEqualTo()
116 if (is_one_byte()) return literal_bytes_[0]; in FirstCharacter()
130 if (lhs->is_one_byte()) { in Compare()
131 if (rhs->is_one_byte()) { in Compare()
141 if (rhs->is_one_byte()) { in Compare()
280 AstRawString* AstValueFactory::GetString(uint32_t hash_field, bool is_one_byte, in GetString() argument
286 AstRawString key(is_one_byte, literal_bytes, hash_field); in GetString()
294 is_one_byte, Vector<const byte>(new_literal_bytes, length), hash_field); in GetString()
Dast-value-factory.h52 return is_one_byte() ? literal_bytes_.length() in length()
62 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function
86 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, in AstRawString() argument
91 is_one_byte_(is_one_byte) {} in AstRawString()
335 AstRawString* GetString(uint32_t hash, bool is_one_byte,
Dmodules.cc21 if (lhs->is_one_byte() != rhs->is_one_byte()) { in operator ()()
22 return lhs->is_one_byte(); in operator ()()
Dprettyprinter.cc646 const char* format = value->is_one_byte() ? "%c" : "%lc"; in PrintLiteral()
647 const int increment = value->is_one_byte() ? 1 : 2; in PrintLiteral()
Dast.cc295 if (!string->is_one_byte()) break; in GetDebugName()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc171 bool is_one_byte = subject_handle->IsOneByteRepresentationUnderneath(); in CheckStackGuardState() local
202 if (subject_handle->IsOneByteRepresentationUnderneath() != is_one_byte) { in CheckStackGuardState()
254 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match() local
257 int char_size_shift = is_one_byte ? 0 : 1; in Match()
Djsregexp.h178 static ByteArray* IrregexpByteCode(FixedArray* re, bool is_one_byte);
179 static Code* IrregexpNativeCode(FixedArray* re, bool is_one_byte);
192 Handle<String> sample_subject, bool is_one_byte);
196 bool is_one_byte);
726 void MakeCaseIndependent(Isolate* isolate, bool is_one_byte);
1465 Analysis(Isolate* isolate, bool is_one_byte) in Analysis() argument
1466 : isolate_(isolate), is_one_byte_(is_one_byte), error_message_(nullptr) {} in Analysis()
1531 bool is_one_byte);
Djsregexp.cc301 bool is_one_byte) { in EnsureCompiledIrregexp() argument
302 Object* compiled_code = re->DataAt(JSRegExp::code_index(is_one_byte)); in EnsureCompiledIrregexp()
308 return CompileIrregexp(isolate, re, sample_subject, is_one_byte); in EnsureCompiledIrregexp()
313 bool is_one_byte) { in CompileIrregexp() argument
318 Object* entry = re->DataAt(JSRegExp::code_index(is_one_byte)); in CompileIrregexp()
341 sample_subject, is_one_byte); in CompileIrregexp()
356 data->set(JSRegExp::code_index(is_one_byte), result.code); in CompileIrregexp()
396 ByteArray* RegExpImpl::IrregexpByteCode(FixedArray* re, bool is_one_byte) { in IrregexpByteCode() argument
397 return ByteArray::cast(re->get(JSRegExp::code_index(is_one_byte))); in IrregexpByteCode()
401 Code* RegExpImpl::IrregexpNativeCode(FixedArray* re, bool is_one_byte) { in IrregexpNativeCode() argument
[all …]
Dregexp-ast.h118 bool is_one_byte);
/external/v8/src/extensions/
Dexternalize-string-extension.cc131 bool is_one_byte = in IsOneByte() local
133 args.GetReturnValue().Set(is_one_byte); in IsOneByte()
/external/v8/src/parsing/
Dscanner.h441 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function
445 return is_one_byte() && keyword.length() == position_ && in Equals()
679 current().literal_chars.is_one_byte(); in is_literal_one_byte()
693 return next().literal_chars.is_one_byte(); in is_next_literal_one_byte()
705 return current().raw_literal_chars.is_one_byte(); in is_raw_literal_one_byte()
Dpreparsed-scope-data.cc400 byte_data_->WriteUint8(name->is_one_byte()); in SaveDataForVariable()
620 DCHECK_IMPLIES(name->is_one_byte(), data_one_byte); in RestoreDataForVariable()
622 if (!name->is_one_byte() && data_one_byte) { in RestoreDataForVariable()
Dscanner.cc64 if (is_one_byte()) { in Internalize()
457 if (!name.is_one_byte()) return; in TryToParseSourceURLComment()
1614 if (next().literal_chars.is_one_byte()) { in ScanIdentifierOrKeywordInner()
Dparser.cc362 DCHECK(name->is_one_byte()); in NewV8Intrinsic()
/external/v8/src/runtime/
Druntime-strings.cc498 bool is_one_byte = separator->IsOneByteRepresentation(); in RUNTIME_FUNCTION() local
509 if (is_one_byte && !string->IsOneByteRepresentation()) { in RUNTIME_FUNCTION()
510 is_one_byte = false; in RUNTIME_FUNCTION()
546 if (is_one_byte) { in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Deffect-control-linearizer.h197 Node* LoadFromSeqString(Node* receiver, Node* position, Node* is_one_byte);
Deffect-control-linearizer.cc2983 Node* is_one_byte) { in LoadFromSeqString() argument
2986 __ GotoIf(is_one_byte, &one_byte_load); in LoadFromSeqString()
/external/v8/src/heap/
Dfactory.cc811 template <bool is_one_byte, typename T>
820 if (is_one_byte) { in AllocateInternalizedStringImpl()
838 if (is_one_byte) { in AllocateInternalizedStringImpl()
1082 bool is_one_byte = left_is_one_byte && right_is_one_byte; in NewConsString() local
1084 if (!is_one_byte) { in NewConsString()
1103 if (is_one_byte) { in NewConsString()
1130 bool one_byte = (is_one_byte || is_one_byte_data_in_two_byte_string); in NewConsString()
1273 bool is_one_byte = in NewExternalStringFromTwoByte() local
1279 map = is_one_byte ? short_external_string_with_one_byte_data_map() in NewExternalStringFromTwoByte()
1282 map = is_one_byte ? external_string_with_one_byte_data_map() in NewExternalStringFromTwoByte()
Dfactory.h992 template <bool is_one_byte, typename T>
/external/v8/src/
Dobjects.cc2621 bool is_one_byte = this->IsOneByteRepresentation(); in MakeExternal() local
2638 is_one_byte in MakeExternal()
2643 new_map = is_one_byte in MakeExternal()
2650 ? (is_one_byte in MakeExternal()
2653 : (is_one_byte ? roots.external_string_with_one_byte_data_map() in MakeExternal()