Home
last modified time | relevance | path

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

123

/external/chromium_org/v8/src/
Dharmony-array.js17 var array = ToObject(this);
32 thisArg = ToObject(thisArg);
52 var array = ToObject(this);
67 thisArg = ToObject(thisArg);
87 var array = ToObject(this);
Darray.js198 var e_obj = ToObject(e);
348 array = ToObject(this);
359 var array = ToObject(this);
471 var array = ToObject(this);
1122 var array = ToObject(this);
1131 receiver = ToObject(receiver);
1158 var array = ToObject(this);
1167 receiver = ToObject(receiver);
1189 var array = ToObject(this);
1198 receiver = ToObject(receiver);
[all …]
Dv8natives.js222 return "[object " + %_ClassOf(ToObject(this)) + "]";
235 return ToObject(this);
270 return %IsPropertyEnumerable(ToObject(this), P);
288 DefineOwnProperty(ToObject(receiver), ToName(name), desc, false);
297 return %LookupAccessor(ToObject(receiver), ToName(name), GETTER);
314 DefineOwnProperty(ToObject(receiver), ToName(name), desc, false);
323 return %LookupAccessor(ToObject(receiver), ToName(name), SETTER);
646 var props = %GetOwnProperty(ToObject(obj), p);
688 var current_array = %GetOwnProperty(ToObject(obj), ToName(p));
690 var extensible = %IsExtensible(ToObject(obj));
[all …]
Darray-iterator.js28 var object = ToObject(array);
51 var iterator = ToObject(this);
Dweak-collection.js26 iter = GetIterator(ToObject(iterable));
142 iter = GetIterator(ToObject(iterable));
Dcollection.js26 iter = GetIterator(ToObject(iterable));
157 iter = GetIterator(ToObject(iterable));
Dstring-iterator.js39 var iterator = ToObject(this);
Druntime.js318 return %DeleteProperty(%ToObject(this), %ToName(key), strict);
452 return %ToObject(this);
547 function ToObject(x) { class
/external/chromium_org/extensions/renderer/
Dbinding_generating_native_handler.cc21 module_system_->Require("binding")->ToObject(); in NewInstance()
24 ->ToObject(); in NewInstance()
31 create_binding->Call(binding, arraysize(argv), argv)->ToObject(); in NewInstance()
Dsafe_builtins.cc141 return value->ToObject(); in Load()
169 recv = info[1]->ToObject(); in Apply()
171 recv = v8::StringObject::New(info[1]->ToString())->ToObject(); in Apply()
179 v8::Local<v8::Object> args = info[2]->ToObject(); in Apply()
Dset_icon_natives.cc42 image_data->Get(v8::String::NewFromUtf8(isolate, "data"))->ToObject(); in ConvertImageDataToBitmapValue()
110 details->Get(v8::String::NewFromUtf8(isolate, "imageData"))->ToObject(); in ConvertImageDataSetToBitmapValueSet()
119 ->ToObject(); in ConvertImageDataSetToBitmapValueSet()
133 v8::Local<v8::Object> details = args[0]->ToObject(); in SetIconCommon()
Ddocument_custom_bindings.cc33 v8::Local<v8::Object> options = args[1]->ToObject(); in RegisterElement()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DDictionary.cpp106 v8::Local<v8::Object> options = m_options->ToObject(); in hasProperty()
122 v8::Local<v8::Object> options = m_options->ToObject(); in getKey()
191 v8::Local<v8::Object> options = m_options->ToObject(); in set()
235 v8::Handle<v8::Object> options = m_options->ToObject(); in getOwnPropertiesAsStringHashMap()
262 v8::Handle<v8::Object> options = m_options->ToObject(); in getOwnPropertyNames()
DV8ThrowException.cpp38 … v8SetReturnValue(info, info.Data()->ToObject()->Get(v8AtomicString(info.GetIsolate(), "stack"))); in domExceptionStackGetter()
44 info.Data()->ToObject()->Set(v8AtomicString(info.GetIsolate(), "stack"), value); in domExceptionStackSetter()
75 …exception->ToObject()->SetAccessor(v8AtomicString(isolate, "stack"), domExceptionStackGetter, domE… in createDOMException()
/external/chromium_org/content/renderer/pepper/
Dv8_var_converter.cc211 if (parent_handles->count(HashedHandle(val->ToObject())) != 0) in GetOrCreateVar()
215 visited_handles->find(HashedHandle(val->ToObject())); in GetOrCreateVar()
252 v8::Handle<v8::Object> object = val->ToObject(); in GetOrCreateVar()
260 val->ToObject(), context, result, &was_resource)) in GetOrCreateVar()
276 make_pair(HashedHandle(val->ToObject()), in GetOrCreateVar()
410 v8::Handle<v8::Object> v8_object = current_v8->ToObject(); in ToV8Value()
499 parent_handles.erase(HashedHandle(current_v8->ToObject())); in FromV8ValueInternal()
563 v8::Handle<v8::Object> v8_object = current_v8->ToObject(); in FromV8ValueInternal()
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
DV8DeviceMotionEventCustom.cpp43 v8::Local<v8::Object> object = value->ToObject(); in readAccelerationArgument()
75 v8::Local<v8::Object> object = value->ToObject(); in readRotationRateArgument()
/external/chromium_org/content/renderer/
Dv8_value_converter_impl.cc336 return FromV8Object(val->ToObject(), state, isolate); in FromV8ValueImpl()
344 return FromV8Object(val->ToObject(), state, isolate); in FromV8ValueImpl()
356 return FromV8Object(val->ToObject(), state, isolate); in FromV8ValueImpl()
360 return FromV8ArrayBuffer(val->ToObject(), isolate); in FromV8ValueImpl()
363 return FromV8Object(val->ToObject(), state, isolate); in FromV8ValueImpl()
Dmemory_benchmarking_extension.cc40 global->Get(gin::StringToV8(isolate, "chrome"))->ToObject(); in Install()
/external/chromium_org/third_party/WebKit/Source/web/
DWebArrayBufferConverter.cpp51 ArrayBuffer* buffer = V8ArrayBuffer::toImpl(value->ToObject()); in createFromV8Value()
DWebArrayBufferView.cpp66 ArrayBufferView* view = V8ArrayBufferView::toImpl(value->ToObject()); in createFromV8Value()
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
DIDBBindingUtilities.cpp126 …V8HiddenValue::setHiddenValue(isolate, cursor->ToObject(), V8HiddenValue::idbCursorRequest(isolate… in toV8()
134 …V8HiddenValue::setHiddenValue(isolate, cursor->ToObject(), V8HiddenValue::idbCursorRequest(isolate… in toV8()
181 ArrayBufferView* view = blink::V8ArrayBufferView::toImpl(value->ToObject()); in createIDBKeyFromValue()
223 v8::Local<v8::Object> object = v8Value->ToObject(); in getValueFrom()
233 v8::Local<v8::Object> object = v8Object->ToObject(); in setValue()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp267 v8Context->Global()->GetPrototype()->ToObject()->SetInternalField(0, ptr); in JS_InitialRuntime()
270 …r(context, v8Context->Global()->GetPrototype()->ToObject(), v8Context->Global()->GetPrototype()->T… in JS_InitialRuntime()
389 pObjDef->m_pConstructor(pJSContext, obj, context->Global()->GetPrototype()->ToObject()); in JS_NewFxDynamicObj()
422 return context->Global()->GetPrototype()->ToObject(); in JS_GetThisObj()
529 value = v->ToObject()->GetInternalField(0); in JS_GetPrivate()
703 v8::Local<v8::Object> obj = pList->ToObject(); in JS_GetListValue()
730 return pValue->ToObject(); in JS_ToObject()
743 return v8::Handle<v8::Array>::Cast(pValue->ToObject()); in JS_ToArray()
973 v8::Local<v8::Object> o = v->ToObject(); in JS_DateParse()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8HTMLCanvasElementCustom.cpp61 v8::Handle<v8::Object> jsAttributes = info[1]->ToObject(); in getContextMethodCustom()
88 v8::Handle<v8::Object> jsAttributes = info[1]->ToObject(); in getContextMethodCustom()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DCustomEventTest.cpp69 …EXPECT_EQ(jsEvent->ToObject()->Get(v8::String::NewFromUtf8(scriptState()->isolate(), "detail")), v… in handleEvent()
/external/chromium_org/chrome/renderer/extensions/
Dfile_browser_handler_custom_bindings.cc38 v8::Local<v8::Object> file_def = args[0]->ToObject(); in GetExternalFileEntry()

123