Home
last modified time | relevance | path

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

123

/external/v8/src/
Dstub-cache.cc127 if (!maybe_code->ToObject(&code)) return maybe_code; in ComputeLoadNonexistent()
135 if (!maybe_result->ToObject(&result)) return maybe_result; in ComputeLoadNonexistent()
153 if (!maybe_code->ToObject(&code)) return maybe_code; in ComputeLoadField()
161 if (!maybe_result->ToObject(&result)) return maybe_result; in ComputeLoadField()
180 if (!maybe_code->ToObject(&code)) return maybe_code; in ComputeLoadCallback()
188 if (!maybe_result->ToObject(&result)) return maybe_result; in ComputeLoadCallback()
207 if (!maybe_code->ToObject(&code)) return maybe_code; in ComputeLoadConstant()
215 if (!maybe_result->ToObject(&result)) return maybe_result; in ComputeLoadConstant()
232 if (!maybe_code->ToObject(&code)) return maybe_code; in ComputeLoadInterceptor()
240 if (!maybe_result->ToObject(&result)) return maybe_result; in ComputeLoadInterceptor()
[all …]
Dheap.cc863 if (!maybe_obj->ToObject(&obj)) { in FindCodeObject()
1389 if (maybe_result->ToObject(&result)) { in EvacuateObject()
1562 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocatePartialMap()
1583 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateMap()
1616 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateCodeCache()
1652 if (!maybe_obj->ToObject(&obj)) return false; in CreateInitialMaps()
1661 if (!maybe_obj->ToObject(&obj)) return false; in CreateInitialMaps()
1666 if (!maybe_obj->ToObject(&obj)) return false; in CreateInitialMaps()
1672 if (!maybe_obj->ToObject(&obj)) return false; in CreateInitialMaps()
1677 if (!maybe_obj->ToObject(&obj)) return false; in CreateInitialMaps()
[all …]
Dv8natives.js199 return "[object " + %_ClassOf(ToObject(this)) + "]";
211 return ToObject(this);
217 return %HasLocalProperty(ToObject(this), ToString(V));
230 return %IsPropertyEnumerable(ToObject(this), ToString(V));
246 DefineOwnProperty(ToObject(this), ToString(name), desc, false);
254 return %LookupAccessor(ToObject(this), ToString(name), GETTER);
270 DefineOwnProperty(ToObject(this), ToString(name), desc, false);
278 return %LookupAccessor(ToObject(this), ToString(name), SETTER);
544 var props = %GetOwnProperty(ToObject(obj), ToString(p));
555 var current_or_access = %GetOwnProperty(ToObject(obj), ToString(p));
[all …]
Dobjects.cc68 if (!maybe_result->ToObject(&result)) return maybe_result; in CreateJSValue()
75 MaybeObject* Object::ToObject(Context* global_context) { in ToObject() function in v8::internal::Object
88 MaybeObject* Object::ToObject() { in ToObject() function in v8::internal::Object
414 if (!maybe_store_value->ToObject(&store_value)) return maybe_store_value; in SetNormalizedProperty()
419 if (!maybe_dict->ToObject(&dict)) return maybe_dict; in SetNormalizedProperty()
457 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in DeleteNormalizedProperty()
708 if (!maybe_object->ToObject(&object)) return maybe_object; in SlowTryFlatten()
723 if (!maybe_object->ToObject(&object)) return maybe_object; in SlowTryFlatten()
1273 if (!maybe_values->ToObject(&values)) return maybe_values; in AddFastPropertyUsingMap()
1312 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in AddFastProperty()
[all …]
Dbuiltins.cc199 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in BUILTIN()
216 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in BUILTIN()
224 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in BUILTIN()
239 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in BUILTIN()
263 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateJSArray()
272 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateEmptyJSArray()
446 if (!maybe_elms_obj->ToObject(&elms_obj)) return maybe_elms_obj; in BUILTIN()
467 if (!maybe_obj->ToObject(&obj)) return maybe_obj; in BUILTIN()
501 if (!maybe_elms_obj->ToObject(&elms_obj)) return maybe_elms_obj; in BUILTIN()
535 if (!maybe_elms_obj->ToObject(&elms_obj)) return maybe_elms_obj; in BUILTIN()
[all …]
Dheap-inl.h88 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateAsciiSymbol()
121 if (!maybe_result->ToObject(&result)) return maybe_result; in AllocateTwoByteSymbol()
499 if (__maybe_object__->ToObject(&__object__)) RETURN_VALUE; \
507 if (__maybe_object__->ToObject(&__object__)) RETURN_VALUE; \
518 if (__maybe_object__->ToObject(&__object__)) RETURN_VALUE; \
673 if (!maybe_heap_number->ToObject(&heap_number)) return maybe_heap_number; in Get()
Dic.cc468 frame->SetExpression(index, *isolate()->factory()->ToObject(object)); in ReceiverToObjectIfRequired()
489 if (!maybe_result->ToObject(&result)) return maybe_result; in LoadFunction()
524 if (!maybe_result->ToObject(&result)) return maybe_result; in LoadFunction()
770 if (maybe_code == NULL || !maybe_code->ToObject(&code)) return; in UpdateCaches()
817 if (maybe_code->ToObject(&code)) { in LoadFunction()
1019 if (!maybe_result->ToObject(&result)) return maybe_result; in Load()
1119 if (maybe_code == NULL || !maybe_code->ToObject(&code)) return; in UpdateCaches()
1175 if (!maybe_code->ToObject(&code)) return maybe_code; in Load()
1192 if (!maybe_code->ToObject(&code)) return maybe_code; in Load()
1210 if (!maybe_code->ToObject(&code)) return maybe_code; in Load()
[all …]
Dcode-stubs.cc151 if (!maybe_new_object->ToObject(&new_object)) return maybe_new_object; in TryGetCode()
160 if (maybe_new_object->ToObject(&new_object)) { in TryGetCode()
Druntime.cc112 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
124 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
135 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
143 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
161 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
166 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
192 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
211 if (!maybe_result->ToObject(&result)) return maybe_result; in DeepCopyBoilerplate()
600 if (!maybe_object->ToObject(&object)) return maybe_object; in RUNTIME_FUNCTION()
608 if (!maybe_value->ToObject(&value)) return maybe_value; in RUNTIME_FUNCTION()
[all …]
Druntime.js342 return %DeleteProperty(%ToObject(this), %ToString(key), strict);
459 return %ToObject(this);
543 function ToObject(x) { class
Daccessors.cc463 if (!maybe_prototype->ToObject(&prototype)) return maybe_prototype; in FunctionGetPrototype()
467 if (!maybe_result->ToObject(&result)) return maybe_result; in FunctionGetPrototype()
494 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in FunctionSetPrototype()
500 if (!maybe_prototype->ToObject(&prototype)) return maybe_prototype; in FunctionSetPrototype()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8ArrayBufferViewCustom.h46 ArrayBuffer* buf = V8ArrayBuffer::toNative(args[0]->ToObject()); in constructWebGLArrayWithArrayBufferArgument()
129 srcArray = args[0]->ToObject(); in constructWebGLArray()
175 CPlusPlusArrayType* src = JavaScriptWrapperArrayType::toNative(args[0]->ToObject()); in setWebGLArrayHelper()
187 v8::Local<v8::Object> array = args[0]->ToObject(); in setWebGLArrayHelper()
DV8CustomPositionErrorCallback.h46 return adoptRef(new V8CustomPositionErrorCallback(value->ToObject(), context)); in create()
DV8CustomPositionCallback.h46 return adoptRef(new V8CustomPositionCallback(value->ToObject(), context)); in create()
DV8CustomApplicationInstalledCallback.h44 return adoptRef(new V8CustomApplicationInstalledCallback(value->ToObject(), frame)); in create()
DV8CustomVoidCallback.h49 return adoptRef(new V8CustomVoidCallback(value->ToObject(), context)); in create()
DV8AudioNodeCustom.cpp44 AudioNode* destinationNode = toNative(args[0]->ToObject()); in connectCallback()
DV8DOMFormDataCustom.cpp52 form = V8HTMLFormElement::toNative(args[0]->ToObject()); in constructorCallback()
DV8SQLTransactionSyncCustom.cpp67 v8::Local<v8::Object> sqlArgsObject = args[1]->ToObject(); in executeSqlCallback()
DV8DeviceMotionEventCustom.cpp66 v8::Local<v8::Object> object = value->ToObject(); in readAccelerationArgument()
98 v8::Local<v8::Object> object = value->ToObject(); in readRotationRateArgument()
DV8SQLTransactionCustom.cpp67 v8::Local<v8::Object> sqlArgsObject = args[1]->ToObject(); in executeSqlCallback()
/external/webkit/Source/WebCore/bindings/v8/
DIDBBindingUtilities.cpp60 v8::Local<v8::Object> object = v8Value->ToObject(); in getValueFrom()
70 v8::Local<v8::Object> object = v8Object->ToObject(); in setValue()
DV8NodeFilterCondition.cpp74 v8::Local<v8::Value> value = m_filter->ToObject()->Get(v8::String::New("acceptNode")); in acceptNode()
/external/webkit/Source/WebCore/bindings/scripts/test/V8/
DV8TestCallback.h42 return adoptRef(new V8TestCallback(value->ToObject(), context)); in create()
/external/v8/test/cctest/
Dtest-mark-compact.cc133 if (!maybe_obj->ToObject(&obj)) break; in TEST()
161 } while (maybe_array->ToObject(&array)); in TEST()
171 } while (maybe_mapp->ToObject(&mapp)); in TEST()

123