Home
last modified time | relevance | path

Searched refs:IsOneByte (Results 1 – 23 of 23) sorted by relevance

/external/v8/src/extensions/
Dexternalize-string-extension.cc53 ExternalizeStringExtension::IsOneByte); in GetNativeFunctionTemplate()
126 void ExternalizeStringExtension::IsOneByte( in IsOneByte() function in v8::internal::ExternalizeStringExtension
Dexternalize-string-extension.h19 static void IsOneByte(const v8::FunctionCallbackInfo<v8::Value>& args);
/external/v8/src/runtime/
Druntime-strings.cc42 if (seq_pat.IsOneByte()) { in StringMatch()
44 if (seq_sub.IsOneByte()) { in StringMatch()
52 if (seq_sub.IsOneByte()) { in StringMatch()
217 if (pat_content.IsOneByte()) { in RUNTIME_FUNCTION()
219 if (sub_content.IsOneByte()) { in RUNTIME_FUNCTION()
228 if (sub_content.IsOneByte()) { in RUNTIME_FUNCTION()
766 if (content.IsOneByte()) { in RUNTIME_FUNCTION()
Druntime-regexp.cc213 if (content.IsOneByte()) { in Compile()
347 if (subject_content.IsOneByte()) { in FindStringIndicesDispatch()
349 if (pattern_content.IsOneByte()) { in FindStringIndicesDispatch()
365 if (pattern_content.IsOneByte()) { in FindStringIndicesDispatch()
Druntime-numbers.cc133 if (flat.IsOneByte()) { in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dheap-inl.h90 bool inline Heap::IsOneByte(Vector<const char> str, int chars) {
97 bool inline Heap::IsOneByte(String* str, int chars) { in IsOneByte() function
104 if (IsOneByte(str, chars)) { in AllocateInternalizedStringFromUtf8()
115 if (IsOneByte(t, chars)) { in AllocateInternalizedStringImpl()
Dheap.h755 static inline bool IsOneByte(T t, int chars);
/external/v8/src/ast/
Dast-value-factory.cc232 if (content.IsOneByte()) { in GetString()
/external/v8/src/
Dconversions.cc495 if (flat.IsOneByte()) { in StringToDouble()
Dstring-search.h49 return String::IsOneByte(string.start(), string.length()); in IsOneByteString()
Dfactory.cc312 if (String::IsOneByte(start, length)) { in NewStringFromTwoByte()
701 String::IsOneByte(resource->data(), static_cast<int>(length)); in NewExternalStringFromTwoByte()
Dobjects.cc1822 DCHECK(String::IsOneByte(smart_chars.start(), this->length())); in MakeExternal()
11346 is_one_byte_ = content.IsOneByte(); in PostGarbageCollection()
11655 if (content.IsOneByte()) { in CalculateLineEnds()
11906 if (flat1.IsOneByte() && flat2.IsOneByte()) { in SlowEquals()
11954 if (x_content.IsOneByte()) { in Compare()
11956 if (y_content.IsOneByte()) { in Compare()
11965 if (y_content.IsOneByte()) { in Compare()
12017 if (content.IsOneByte()) { in IsOneByteEqualTo()
Dobjects.h8637 bool IsOneByte() { return state_ == ONE_BYTE; } in IsOneByte() function
8919 static inline bool IsOneByte(const uc16* chars, int length) { in IsOneByte() function
Dbuiltins.cc2125 if (str_content.IsOneByte()) { in ParseDateTimeString()
Dobjects-inl.h3703 DCHECK(flat.IsOneByte()); in GetCharVector()
Dapi.cc4561 bool String::IsOneByte() const { in IsOneByte() function in v8::String
/external/v8/src/regexp/
Dinterpreter-irregexp.cc598 if (subject_content.IsOneByte()) { in Match()
Djsregexp.cc263 (needle_content.IsOneByte() in AtomExecRaw()
264 ? (subject_content.IsOneByte() in AtomExecRaw()
269 : (subject_content.IsOneByte() in AtomExecRaw()
/external/v8/src/parsing/
Djson-parser.h110 if (content.IsOneByte()) { in ParseJsonString()
/external/v8/test/cctest/
Dtest-strings.cc1378 CHECK(String::IsOneByte(static_cast<uc16*>(NULL), 0)); in TEST()
Dtest-api.cc14934 CHECK(lhs->IsOneByte()); in THREADED_TEST()
14935 CHECK(rhs->IsOneByte()); in THREADED_TEST()
18692 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
18697 CHECK(string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
18717 CHECK(string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
18720 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
18722 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
Dtest-parsing.cc848 CHECK(content.IsOneByte()); in TestScanRegExp()
/external/v8/include/
Dv8.h2123 bool IsOneByte() const;