/third_party/node/deps/v8/src/ast/ |
H A D | ast-value-factory.cc | 69 } 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 D | ast-value-factory.h | 60 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 D | literal-buffer.h | 31 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 D | literal-buffer.cc | 18 if (is_one_byte()) { in Internalize() 45 DCHECK(is_one_byte()); in ConvertToTwoByte() 69 DCHECK(!is_one_byte()); in AddTwoByteChar()
|
H A 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()
|
H A D | scanner.h | 604 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 D | preparse-data.cc | 398 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 D | scanner.cc | 241 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 D | regexp.cc | 85 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 D | regexp-macro-assembler.cc | 324 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 D | regexp-compiler.h | 404 RegExpError AnalyzeRegExp(Isolate* isolate, bool is_one_byte, RegExpFlags flags, 455 RegExpFlags flags, bool is_one_byte); 508 bool is_one_byte);
|
H A D | regexp.h | 148 Handle<String> pattern, Handle<String> sample_subject, bool is_one_byte);
|
H A D | regexp-compiler.cc | 2527 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 D | regexp-interpreter.cc | 1062 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 D | regexp-compiler-tonode.cc | 1246 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 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()
|
H A D | unicode-decoder.h | 58 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 D | test_per_process.cc | 24 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 D | externalize-string-extension.cc | 113 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 D | log-utils.cc | 139 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 D | log-utils.h | 68 void AppendString(const char* str, size_t length, bool is_one_byte = true);
|
H A D | log.h | 159 size_t function_name_length = 0, bool is_one_byte = true);
|
/third_party/node/src/ |
H A D | node_union_bytes.h | 34 bool is_one_byte() const { return one_bytes_ != nullptr; } in is_one_byte() function in node::UnionBytes
|
H A D | util.cc | 582 if (is_one_byte()) { in ToStringChecked()
|
/third_party/node/deps/v8/src/heap/ |
H A D | factory-base.cc | 735 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()
|