Home
last modified time | relevance | path

Searched refs:unicode_cache (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/
Dconversions-inl.h185 inline bool AdvanceToNonspace(UnicodeCache* unicode_cache, in AdvanceToNonspace() argument
189 if (!unicode_cache->IsWhiteSpaceOrLineTerminator(**current)) return true; in AdvanceToNonspace()
198 double InternalStringToIntDouble(UnicodeCache* unicode_cache, in InternalStringToIntDouble() argument
225 !AdvanceToNonspace(unicode_cache, &current, end)) { in InternalStringToIntDouble()
257 AdvanceToNonspace(unicode_cache, &current, end)) { in InternalStringToIntDouble()
299 double InternalStringToInt(UnicodeCache* unicode_cache, in InternalStringToInt() argument
306 if (!AdvanceToNonspace(unicode_cache, &current, end)) { in InternalStringToInt()
372 unicode_cache, current, end, negative, allow_trailing_junk); in InternalStringToInt()
375 unicode_cache, current, end, negative, allow_trailing_junk); in InternalStringToInt()
378 unicode_cache, current, end, negative, allow_trailing_junk); in InternalStringToInt()
[all …]
Dconversions.h108 double StringToDouble(UnicodeCache* unicode_cache,
112 double StringToDouble(UnicodeCache* unicode_cache,
117 double StringToDouble(UnicodeCache* unicode_cache,
123 double StringToInt(UnicodeCache* unicode_cache,
128 double StringToInt(UnicodeCache* unicode_cache,
177 double StringToDouble(UnicodeCache* unicode_cache, Handle<String> string,
189 bool IsSpecialIndex(UnicodeCache* unicode_cache, String* string);
Dconversions.cc71 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() argument
77 return InternalStringToDouble(unicode_cache, start, end, flags, in StringToDouble()
82 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() argument
90 return InternalStringToDouble(unicode_cache, start, end, flags, in StringToDouble()
95 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() argument
100 return InternalStringToDouble(unicode_cache, str.start(), end, flags, in StringToDouble()
106 double StringToInt(UnicodeCache* unicode_cache, in StringToInt() argument
110 unicode_cache, vector.start(), vector.start() + vector.length(), radix); in StringToInt()
114 double StringToInt(UnicodeCache* unicode_cache, in StringToInt() argument
118 unicode_cache, vector.start(), vector.start() + vector.length(), radix); in StringToInt()
[all …]
Dbackground-parsing-task.h33 UnicodeCache unicode_cache; member
Dbackground-parsing-task.cc33 info->set_unicode_cache(&source_->unicode_cache); in BackgroundParsingTask()
Ddateparser.h52 InputReader(UnicodeCache* unicode_cache, Vector<Char> s) in InputReader() argument
55 unicode_cache_(unicode_cache) { in InputReader()
Ddateparser-inl.h18 UnicodeCache* unicode_cache) { in Parse() argument
20 InputReader<Char> in(unicode_cache, str); in Parse()
Dlookup.cc551 result = IsSpecialIndex(isolate_->unicode_cache(), *name_string); in IsIntegerIndexedExotic()
Disolate.h853 UnicodeCache* unicode_cache() { in unicode_cache() function
Dbuiltins.cc2127 isolate->unicode_cache()); in ParseDateTimeString()
2130 isolate->unicode_cache()); in ParseDateTimeString()
Dfactory.cc285 decoder(isolate()->unicode_cache()->utf8_decoder()); in NewStringFromUtf8()
Dobjects.cc11125 StringToDouble(isolate->unicode_cache(), subject, flags)); in ToNumber()
11625 UnicodeCache* cache = isolate->unicode_cache(); in CalculateLineEndsImpl()
/external/v8/src/runtime/
Druntime-numbers.cc135 StringToInt(isolate->unicode_cache(), flat.ToOneByteVector(), radix); in RUNTIME_FUNCTION()
137 value = StringToInt(isolate->unicode_cache(), flat.ToUC16Vector(), radix); in RUNTIME_FUNCTION()
152 StringToDouble(isolate->unicode_cache(), subject, ALLOW_TRAILING_JUNK, in RUNTIME_FUNCTION()
Druntime-strings.cc1100 UnicodeCache* unicode_cache = isolate->unicode_cache(); in RUNTIME_FUNCTION() local
1103 unicode_cache->IsWhiteSpaceOrLineTerminator(string->Get(left))) { in RUNTIME_FUNCTION()
1112 unicode_cache->IsWhiteSpaceOrLineTerminator(string->Get(right - 1))) { in RUNTIME_FUNCTION()
/external/v8/test/cctest/
Dtest-parsing.cc64 i::UnicodeCache unicode_cache; in TEST() local
73 i::Scanner scanner(&unicode_cache); in TEST()
81 i::Scanner scanner(&unicode_cache); in TEST()
92 i::Scanner scanner(&unicode_cache); in TEST()
102 i::Scanner scanner(&unicode_cache); in TEST()
154 i::Scanner scanner(CcTest::i_isolate()->unicode_cache()); in TEST()
172 i::Scanner scanner(CcTest::i_isolate()->unicode_cache()); in TEST()
326 i::Scanner scanner(CcTest::i_isolate()->unicode_cache()); in TEST()
362 i::Scanner scanner(CcTest::i_isolate()->unicode_cache()); in TEST()
433 i::Scanner scanner(CcTest::i_isolate()->unicode_cache()); in TEST()
[all …]
Dtest-conversions.cc370 CHECK_EQ(expected, IsSpecialIndex(isolate->unicode_cache(), *string)); in CheckNonArrayIndex()
/external/v8/src/parsing/
Djson-parser.h586 number = StringToDouble(isolate()->unicode_cache(), chars, in ParseJsonNumber()
594 number = StringToDouble(isolate()->unicode_cache(), in ParseJsonNumber()
Dparser.h114 UnicodeCache* unicode_cache() { return unicode_cache_; } in unicode_cache() function
115 void set_unicode_cache(UnicodeCache* unicode_cache) { in set_unicode_cache() argument
116 unicode_cache_ = unicode_cache; in set_unicode_cache()
Dscanner.cc39 Scanner::Scanner(UnicodeCache* unicode_cache) in Scanner() argument
40 : unicode_cache_(unicode_cache), in Scanner()
Dscanner.h412 UnicodeCache* unicode_cache() { return unicode_cache_; } in unicode_cache() function
Dpreparser.cc1114 DuplicateFinder duplicate_finder(scanner()->unicode_cache()); in ParseFunctionLiteral()
Dparser.cc72 set_unicode_cache(isolate_->unicode_cache()); in ParseInfo()
89 set_unicode_cache(isolate_->unicode_cache()); in ParseInfo()
744 scanner_(info->unicode_cache()), in Parser()
4139 DuplicateFinder duplicate_finder(scanner()->unicode_cache()); in ParseFunctionLiteral()
/external/v8/src/compiler/
Daccess-info.cc312 IsSpecialIndex(isolate()->unicode_cache(), String::cast(*name))) { in ComputePropertyAccessInfo()
/external/v8/test/cctest/interpreter/
Dtest-interpreter.cc1506 i::UnicodeCache unicode_cache; in TEST() local
1515 double lhs = StringToDouble(&unicode_cache, lhs_cstr, in TEST()
1517 double rhs = StringToDouble(&unicode_cache, rhs_cstr, in TEST()
/external/v8/src/crankshaft/
Dhydrogen.cc6407 IsSpecialIndex(isolate()->unicode_cache(), String::cast(*name_)); in IsIntegerIndexedExotic()