Home
last modified time | relevance | path

Searched refs:is_one_byte (Results 1 - 25 of 35) sorted by relevance

12

/third_party/node/deps/v8/src/ast/
H A Dast-value-factory.cc69 } else if (is_one_byte()) { in Internalize()
104 if (!is_one_byte()) return false; in IsOneByteEqualTo()
114 if (is_one_byte()) return literal_bytes_[0]; in FirstCharacter()
127 if (lhs->is_one_byte()) { in Equal()
128 if (rhs->is_one_byte()) { in Equal()
138 if (rhs->is_one_byte()) { in Equal()
159 if (lhs->is_one_byte()) { in Compare()
160 if (rhs->is_one_byte()) { in Compare()
172 if (rhs->is_one_byte()) { in Compare()
223 bool is_one_byte in AllocateFlat() local
387 GetString( uint32_t raw_hash_field, bool is_one_byte, base::Vector<const byte> literal_bytes) GetString() argument
[all...]
H A Dast-value-factory.h60 return is_one_byte() ? literal_bytes_.length() in length()
72 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function in v8::internal::final
99 AstRawString(bool is_one_byte, const base::Vector<const byte>& literal_bytes, in AstRawString() argument
104 is_one_byte_(is_one_byte) {} in AstRawString()
395 const AstRawString* GetString(uint32_t raw_hash_field, bool is_one_byte,
/third_party/node/deps/v8/src/parsing/
H A Dliteral-buffer.h31 if (is_one_byte()) { in AddChar()
41 bool is_one_byte() const { return is_one_byte_; } in is_one_byte() function in v8::internal::final
44 return is_one_byte() && keyword.length() == position_ && in Equals()
65 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length()
89 DCHECK(is_one_byte()); in AddOneByteChar()
H A Dliteral-buffer.cc18 if (is_one_byte()) { in Internalize()
45 DCHECK(is_one_byte()); in ConvertToTwoByte()
69 DCHECK(!is_one_byte()); in AddTwoByteChar()
H A Dpreparser.cc350 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()
H A Dscanner.h604 return current().literal_chars.is_one_byte(); in is_literal_one_byte()
618 return next().literal_chars.is_one_byte(); in is_next_literal_one_byte()
630 return current().raw_literal_chars.is_one_byte(); in is_raw_literal_one_byte()
H A Dpreparse-data.cc398 byte_data_.WriteUint8(name->is_one_byte()); in SaveDataForVariable()
712 DCHECK_IMPLIES(name->is_one_byte(), data_one_byte); in RestoreDataForVariable()
714 if (!name->is_one_byte() && data_one_byte) { in RestoreDataForVariable()
H A Dscanner.cc241 if (!name.is_one_byte()) return; in TryToParseSourceURLComment()
928 if (can_be_keyword && next().literal_chars.is_one_byte()) { in ScanIdentifierOrKeywordInnerSlow()
/third_party/node/deps/v8/src/regexp/
H A Dregexp.cc85 Handle<String> sample_subject, bool is_one_byte);
89 bool is_one_byte);
94 Handle<String> sample_subject, bool is_one_byte,
101 static ByteArray IrregexpByteCode(FixedArray re, bool is_one_byte);
102 static Code IrregexpNativeCode(FixedArray re, bool is_one_byte);
430 bool is_one_byte) { in EnsureCompiledIrregexp()
431 Object compiled_code = re->code(is_one_byte); in EnsureCompiledIrregexp()
432 Object bytecode = re->bytecode(is_one_byte); in EnsureCompiledIrregexp()
454 return CompileIrregexp(isolate, re, sample_subject, is_one_byte); in EnsureCompiledIrregexp()
460 bool RegExpCodeIsValidForPreCompilation(Handle<JSRegExp> re, bool is_one_byte) { in RegExpCodeIsValidForPreCompilation() argument
428 EnsureCompiledIrregexp(Isolate* isolate, Handle<JSRegExp> re, Handle<String> sample_subject, bool is_one_byte) EnsureCompiledIrregexp() argument
530 CompileIrregexp(Isolate* isolate, Handle<JSRegExp> re, Handle<String> sample_subject, bool is_one_byte) CompileIrregexp() argument
622 IrregexpByteCode(FixedArray re, bool is_one_byte) IrregexpByteCode() argument
626 IrregexpNativeCode(FixedArray re, bool is_one_byte) IrregexpNativeCode() argument
646 bool is_one_byte = String::IsOneByteRepresentationUnderneath(*subject); IrregexpPrepare() local
666 bool is_one_byte = String::IsOneByteRepresentationUnderneath(*subject); IrregexpExecRaw() local
860 CompileForTesting(Isolate* isolate, Zone* zone, RegExpCompileData* data, RegExpFlags flags, Handle<String> pattern, Handle<String> sample_subject, bool is_one_byte) CompileForTesting() argument
870 Compile(Isolate* isolate, Zone* zone, RegExpCompileData* data, RegExpFlags flags, Handle<String> pattern, Handle<String> sample_subject, bool is_one_byte, uint32_t& backtrack_limit) Compile() argument
[all...]
H A Dregexp-macro-assembler.cc324 bool is_one_byte = String::IsOneByteRepresentationUnderneath(*subject_handle); in CheckStackGuardState() local
352 is_one_byte) { in CheckStackGuardState()
401 bool is_one_byte = subject_ptr.IsOneByteRepresentation(); in Match() local
404 int char_size_shift = is_one_byte ? 0 : 1; in Match()
434 bool is_one_byte = String::IsOneByteRepresentationUnderneath(input); in Execute() local
435 Code code = FromCodeT(CodeT::cast(regexp.code(is_one_byte))); in Execute()
H A Dregexp-compiler.h404 RegExpError AnalyzeRegExp(Isolate* isolate, bool is_one_byte, RegExpFlags flags,
455 RegExpFlags flags, bool is_one_byte);
508 bool is_one_byte);
H A Dregexp.h148 Handle<String> pattern, Handle<String> sample_subject, bool is_one_byte);
H A Dregexp-compiler.cc2527 void TextNode::MakeCaseIndependent(Isolate* isolate, bool is_one_byte, in MakeCaseIndependent() argument
2543 CharacterRange::AddCaseEquivalents(isolate, zone(), ranges, is_one_byte); in MakeCaseIndependent()
3671 Analysis(Isolate* isolate, bool is_one_byte, RegExpFlags flags) in Analysis() argument
3673 is_one_byte_(is_one_byte), in Analysis()
3789 RegExpError AnalyzeRegExp(Isolate* isolate, bool is_one_byte, RegExpFlags flags, in AnalyzeRegExp() argument
3792 isolate, is_one_byte, flags); in AnalyzeRegExp()
3912 bool is_one_byte) { in PreprocessRegExp()
3938 if (is_one_byte) { in PreprocessRegExp()
3910 PreprocessRegExp(RegExpCompileData* data, RegExpFlags flags, bool is_one_byte) PreprocessRegExp() argument
H A Dregexp-interpreter.cc1062 bool is_one_byte = String::IsOneByteRepresentationUnderneath(subject_string); in Match() local
1063 ByteArray code_array = ByteArray::cast(regexp.bytecode(is_one_byte)); in Match()
H A Dregexp-compiler-tonode.cc1246 bool is_one_byte) { in RationalizeConsecutiveAtoms()
1258 if (is_one_byte && !RangeContainsLatin1Equivalents(range)) { in RationalizeConsecutiveAtoms()
1301 if (is_one_byte && !RangeContainsLatin1Equivalents(range)) { in RationalizeConsecutiveAtoms()
1244 AddCaseEquivalents(Isolate* isolate, Zone* zone, ZoneList<CharacterRange>* ranges, bool is_one_byte) RationalizeConsecutiveAtoms() argument
/third_party/node/deps/v8/src/strings/
H A Dunicode-decoder.cc22 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()
H A Dunicode-decoder.h58 bool is_one_byte() const { return encoding_ <= Encoding::kLatin1; } in is_one_byte() function in v8::internal::final
/third_party/node/test/cctest/
H A Dtest_per_process.cc24 return p.second.is_one_byte(); in TEST_F()
28 return !p.second.is_one_byte(); in TEST_F()
/third_party/node/deps/v8/src/extensions/
H A Dexternalize-string-extension.cc113 bool is_one_byte = in IsOneByte() local
115 args.GetReturnValue().Set(is_one_byte); in IsOneByte()
/third_party/node/deps/v8/src/logging/
H A Dlog-utils.cc139 bool is_one_byte) { in AppendString()
141 if (is_one_byte) { in AppendString()
143 DCHECK_IMPLIES(is_one_byte, str[i] != '\0'); in AppendString()
138 AppendString(const char* str, size_t length, bool is_one_byte) AppendString() argument
H A Dlog-utils.h68 void AppendString(const char* str, size_t length, bool is_one_byte = true);
H A Dlog.h159 size_t function_name_length = 0, bool is_one_byte = true);
/third_party/node/src/
H A Dnode_union_bytes.h34 bool is_one_byte() const { return one_bytes_ != nullptr; } in is_one_byte() function in node::UnionBytes
H A Dutil.cc582 if (is_one_byte()) { in ToStringChecked()
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.cc735 bool is_one_byte = left_is_one_byte && right_is_one_byte; in NewConsString() local
745 if (is_one_byte) { in NewConsString()
779 return NewConsString(left, right, length, is_one_byte, allocation); in NewConsString()

Completed in 29 milliseconds

12