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

/external/v8/src/ast/
H A Dast-value-factory.cc356 AstRawString* AstValueFactory::GetString(uint32_t hash, bool is_one_byte, argument
362 AstRawString key(is_one_byte, literal_bytes, hash);
370 is_one_byte, Vector<const byte>(new_literal_bytes, length), hash);
390 if (lhs->is_one_byte()) {
391 if (rhs->is_one_byte()) {
401 if (rhs->is_one_byte()) {
H A Dast-value-factory.h83 bool is_one_byte() const { return is_one_byte_; } function in class:v8::internal::final
102 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, argument
104 : is_one_byte_(is_one_byte), literal_bytes_(literal_bytes), hash_(hash) {}
348 AstRawString* GetString(uint32_t hash, bool is_one_byte,
/external/v8/src/extensions/
H A Dexternalize-string-extension.cc136 bool is_one_byte = local
138 args.GetReturnValue().Set(is_one_byte);
/external/v8/src/parsing/
H A Dscanner.h122 int AddSymbol(Vector<const uint8_t> key, bool is_one_byte, int value);
127 uint8_t* BackupKey(Vector<const uint8_t> key, bool is_one_byte);
134 static uint32_t Hash(Vector<const uint8_t> key, bool is_one_byte);
195 bool is_one_byte() const { return is_one_byte_; } function in class:v8::internal::LiteralBuffer
198 return is_one_byte() && keyword.length() == position_ &&
660 return current_.literal_chars->is_one_byte();
678 return next_.literal_chars->is_one_byte();
690 return current_.raw_literal_chars->is_one_byte();
H A Dscanner.cc24 if (is_one_byte()) {
385 if (!name.is_one_byte()) return;
1268 if (!string->is_one_byte()) return false;
1355 if (next_.literal_chars->is_one_byte()) {
1384 if (escaped && next_.literal_chars->is_one_byte()) {
1585 bool is_one_byte,
1587 uint32_t hash = Hash(key, is_one_byte);
1588 byte* encoding = BackupKey(key, is_one_byte);
1650 uint32_t DuplicateFinder::Hash(Vector<const uint8_t> key, bool is_one_byte) { argument
1654 uint32_t hash = (length << 1) | (is_one_byte
1584 AddSymbol(Vector<const uint8_t> key, bool is_one_byte, int value) argument
1686 BackupKey(Vector<const uint8_t> bytes, bool is_one_byte) argument
[all...]
H A Dpreparse-data.h164 bool is_one_byte; member in struct:v8::internal::CompleteParserRecorder::Key
H A Dparser.cc5423 if (raw_string->is_one_byte()) {
/external/v8/src/regexp/
H A Dregexp-macro-assembler.cc166 bool is_one_byte = subject_handle->IsOneByteRepresentationUnderneath(); local
194 if (subject_handle->IsOneByteRepresentationUnderneath() != is_one_byte) {
243 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); local
246 int char_size_shift = is_one_byte ? 0 : 1;
H A Djsregexp.h203 static ByteArray* IrregexpByteCode(FixedArray* re, bool is_one_byte);
204 static Code* IrregexpNativeCode(FixedArray* re, bool is_one_byte);
217 Handle<String> sample_subject, bool is_one_byte);
220 bool is_one_byte);
747 void MakeCaseIndependent(Isolate* isolate, bool is_one_byte);
1487 Analysis(Isolate* isolate, JSRegExp::Flags flags, bool is_one_byte) argument
1490 is_one_byte_(is_one_byte),
1560 bool is_one_byte);
H A Djsregexp.cc324 bool is_one_byte) {
325 Object* compiled_code = re->DataAt(JSRegExp::code_index(is_one_byte));
333 Object* saved_code = re->DataAt(JSRegExp::saved_code_index(is_one_byte));
336 re->SetDataAt(JSRegExp::code_index(is_one_byte), saved_code);
340 return CompileIrregexp(re, sample_subject, is_one_byte);
346 bool is_one_byte) {
353 Object* entry = re->DataAt(JSRegExp::code_index(is_one_byte));
367 Object* error_string = re->DataAt(JSRegExp::saved_code_index(is_one_byte));
389 sample_subject, is_one_byte);
399 data->set(JSRegExp::code_index(is_one_byte), resul
322 EnsureCompiledIrregexp(Handle<JSRegExp> re, Handle<String> sample_subject, bool is_one_byte) argument
344 CompileIrregexp(Handle<JSRegExp> re, Handle<String> sample_subject, bool is_one_byte) argument
439 IrregexpByteCode(FixedArray* re, bool is_one_byte) argument
444 IrregexpNativeCode(FixedArray* re, bool is_one_byte) argument
467 bool is_one_byte = subject->IsOneByteRepresentationUnderneath(); local
498 bool is_one_byte = subject->IsOneByteRepresentationUnderneath(); local
3439 MakeCaseIndependent(Isolate* isolate, bool is_one_byte) argument
5890 AddCaseEquivalents(Isolate* isolate, Zone* zone, ZoneList<CharacterRange>* ranges, bool is_one_byte) argument
6624 Compile( Isolate* isolate, Zone* zone, RegExpCompileData* data, JSRegExp::Flags flags, Handle<String> pattern, Handle<String> sample_subject, bool is_one_byte) argument
[all...]
H A Dregexp-ast.h113 bool is_one_byte);
/external/v8/src/runtime/
H A Druntime-strings.cc649 bool is_one_byte = separator->IsOneByteRepresentation(); local
660 if (is_one_byte && !string->IsOneByteRepresentation()) {
661 is_one_byte = false;
697 if (is_one_byte) {
/external/v8/src/
H A Dfactory.cc535 bool is_one_byte = left_is_one_byte && right_is_one_byte; local
537 if (!is_one_byte) {
556 if (is_one_byte) {
583 (is_one_byte || is_one_byte_data_in_two_byte_string)
696 bool is_one_byte = length <= kOneByteCheckLengthLimit && local
701 map = is_one_byte ? short_external_string_with_one_byte_data_map()
704 map = is_one_byte ? external_string_with_one_byte_data_map()
H A Dobjects.cc1980 bool is_one_byte = this->IsOneByteRepresentation(); local
1992 ? (is_one_byte
1995 : (is_one_byte ? heap->short_external_string_with_one_byte_data_map()
1999 ? (is_one_byte
2002 : (is_one_byte ? heap->external_string_with_one_byte_data_map()
/external/v8/src/heap/
H A Dmark-compact.cc1230 bool is_one_byte) {
1240 Object* code = re->DataAt(JSRegExp::code_index(is_one_byte));
1244 re->SetDataAt(JSRegExp::saved_code_index(is_one_byte), code);
1253 data->data_start() + JSRegExp::saved_code_index(is_one_byte);
1258 re->SetDataAt(JSRegExp::code_index(is_one_byte),
1270 re->SetDataAt(JSRegExp::code_index(is_one_byte),
1272 re->SetDataAt(JSRegExp::saved_code_index(is_one_byte),
1229 UpdateRegExpCodeAgeAndFlush(Heap* heap, JSRegExp* re, bool is_one_byte) argument
H A Dheap.h1920 template <bool is_one_byte, typename T>
H A Dheap.cc3661 template <bool is_one_byte, typename T>
3671 if (is_one_byte) {
3694 if (is_one_byte) {
/external/v8/test/cctest/
H A Dtest-regexp.cc594 bool is_one_byte, Zone* zone) {
610 sample_subject, is_one_byte);
616 bool is_one_byte, bool dot_output = false) {
619 RegExpNode* node = Compile(input, multiline, unicode, is_one_byte, &zone);
593 Compile(const char* input, bool multiline, bool unicode, bool is_one_byte, Zone* zone) argument
615 Execute(const char* input, bool multiline, bool unicode, bool is_one_byte, bool dot_output = false) argument

Completed in 382 milliseconds