Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/
Dheap-inl.h65 bool inline Heap::IsOneByte(Vector<const char> str, int chars) { in IsOneByte() function
73 bool inline Heap::IsOneByte(String* str, int chars) { in IsOneByte() function
80 if (IsOneByte(str, chars)) { in AllocateInternalizedStringFromUtf8()
91 if (IsOneByte(t, chars)) { in AllocateInternalizedStringImpl()
Dstring-search.h46 return String::IsOneByte(string.start(), string.length()); in IsOneByteString()
Dfactory.cc272 if (String::IsOneByte(start, length)) { in NewStringFromTwoByte()
651 String::IsOneByte(resource->data(), static_cast<int>(length)); in NewExternalStringFromTwoByte()
Dheap.h701 static inline bool IsOneByte(T t, int chars);
Dobjects.h9325 static inline bool IsOneByte(const uc16* chars, int length) { in IsOneByte() function
Dapi.cc4102 bool String::IsOneByte() const { in IsOneByte() function in v8::String
Dobjects.cc1140 ASSERT(String::IsOneByte(smart_chars.start(), this->length())); in MakeExternal()
/external/chromium_org/v8/test/cctest/
Dtest-strings.cc1298 CHECK(String::IsOneByte(static_cast<uc16*>(NULL), 0)); in TEST()
Dtest-api.cc15212 CHECK(lhs->IsOneByte()); in THREADED_TEST()
15213 CHECK(rhs->IsOneByte()); in THREADED_TEST()
19129 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
19132 CHECK(string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
19151 CHECK(string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
19154 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
19156 CHECK(!string->IsOneByte() && string->ContainsOnlyOneByte()); in TEST()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.cpp1252 if (!string->Length() || string->IsOneByte()) in writeString()
/external/chromium_org/v8/include/
Dv8.h1585 bool IsOneByte() const;