Home
last modified time | relevance | path

Searched refs:ToArrayIndex (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/runtime/
Druntime-classes.cc328 if (key->ToArrayIndex(&index)) { in RUNTIME_FUNCTION()
426 if (key->ToArrayIndex(&index)) { in StoreKeyedToSuper()
Druntime-literals.cc26 if (key->ToArrayIndex(&element_index)) { in ComputeObjectLiteralMap()
105 } else if (key->ToArrayIndex(&element_index)) { in CreateObjectLiteralBoilerplate()
Druntime-object.cc475 DCHECK(!name->ToArrayIndex(&index)); in RUNTIME_FUNCTION()
501 CHECK(key->ToArrayIndex(&index)); in RUNTIME_FUNCTION()
532 CHECK(array->length()->ToArrayIndex(&index)); in RUNTIME_FUNCTION()
Druntime-strings.cc144 if (!index->ToArrayIndex(&start_index)) return Smi::FromInt(-1); in RUNTIME_FUNCTION()
195 if (!index->ToArrayIndex(&start_index)) return Smi::FromInt(-1); in RUNTIME_FUNCTION()
Druntime-scopes.cc1197 if (raw_key->ToArrayIndex(&index) && index < argument_count) { in RUNTIME_FUNCTION()
/external/v8/src/
Dkey-accumulator.cc118 key->ToArrayIndex(&index)) { in AddKey()
Dlookup.cc23 if (key->ToArrayIndex(&index)) { in PropertyOrElement()
Delements.cc690 CHECK(array->length()->ToArrayIndex(&old_length)); in SetLengthImpl()
1108 CHECK(dict->KeyAt(entry)->ToArrayIndex(&result)); in GetIndexForEntryImpl()
Dapi.cc3374 MaybeLocal<Uint32> Value::ToArrayIndex(Local<Context> context) const { in ToArrayIndex() function in v8::Value
3400 Local<Uint32> Value::ToArrayIndex() const { in ToArrayIndex() function in v8::Value
3407 RETURN_TO_LOCAL_UNCHECKED(ToArrayIndex(context), Uint32); in ToArrayIndex()
3852 if (key_obj->ToArrayIndex(&index)) { in Has()
Dobjects-inl.h2333 bool Object::ToArrayIndex(uint32_t* index) { in ToArrayIndex() function
Dobjects.h1360 inline bool ToArrayIndex(uint32_t* index);
/external/v8/include/
Dv8.h2014 V8_DEPRECATED("Use maybe version", Local<Uint32> ToArrayIndex() const);
2015 V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToArrayIndex(
/external/v8/test/cctest/heap/
Dtest-heap.cc1016 CHECK(array->length()->ToArrayIndex(&int_length)); in TEST()
1023 CHECK(array->length()->ToArrayIndex(&new_int_length)); in TEST()
/external/v8/test/cctest/
Dtest-api.cc8509 THREADED_TEST(ToArrayIndex) { in THREADED_TEST() argument
8515 v8::MaybeLocal<v8::Uint32> index = str->ToArrayIndex(context.local()); in THREADED_TEST()
8520 index = str->ToArrayIndex(context.local()); in THREADED_TEST()
8523 index = str->ToArrayIndex(context.local()); in THREADED_TEST()
8526 index = str->ToArrayIndex(context.local()); in THREADED_TEST()
8531 index = num->ToArrayIndex(context.local()); in THREADED_TEST()
8536 index = num->ToArrayIndex(context.local()); in THREADED_TEST()
8539 index = obj->ToArrayIndex(context.local()); in THREADED_TEST()