/external/v8/src/ |
H A D | property-descriptor.cc | 104 static void CreateDataProperty(Isolate* isolate, Handle<JSObject> object, function in namespace:v8::internal 107 Maybe<bool> result = JSObject::CreateDataProperty(&it, value); 119 CreateDataProperty(isolate, result, factory->value_string(), value()); 122 CreateDataProperty(isolate, result, factory->writable_string(), 126 CreateDataProperty(isolate, result, factory->get_string(), get()); 129 CreateDataProperty(isolate, result, factory->set_string(), set()); 132 CreateDataProperty(isolate, result, factory->enumerable_string(), 136 CreateDataProperty(isolate, result, factory->configurable_string(),
|
H A D | api.cc | 3485 Maybe<bool> v8::Object::CreateDataProperty(v8::Local<v8::Context> context, function in class:v8::v8::Object 3488 PREPARE_FOR_EXECUTION_PRIMITIVE(context, "v8::Object::CreateDataProperty()", 3497 i::JSReceiver::CreateDataProperty(&it, value_obj, i::Object::DONT_THROW); 3504 Maybe<bool> v8::Object::CreateDataProperty(v8::Local<v8::Context> context, function in class:v8::v8::Object 3507 PREPARE_FOR_EXECUTION_PRIMITIVE(context, "v8::Object::CreateDataProperty()", 3514 i::JSReceiver::CreateDataProperty(&it, value_obj, i::Object::DONT_THROW);
|
H A D | objects.h | 1865 MUST_USE_RESULT static Maybe<bool> CreateDataProperty( 2111 MUST_USE_RESULT static Maybe<bool> CreateDataProperty(LookupIterator* it,
|
H A D | objects.cc | 4230 return JSReceiver::CreateDataProperty(&own_lookup, value, 6826 Maybe<bool> JSReceiver::CreateDataProperty(LookupIterator* it, function in class:v8::internal::JSReceiver 6834 return JSObject::CreateDataProperty(it, value); // Shortcut. 6848 Maybe<bool> JSObject::CreateDataProperty(LookupIterator* it, function in class:v8::internal::JSObject
|
/external/v8/src/js/ |
H A D | json.js | 33 function CreateDataProperty(o, p, v) { function 50 CreateDataProperty(val, i, newElement); 59 CreateDataProperty(val, p, newElement);
|
/external/v8/test/cctest/ |
H A D | test-object-observe.cc | 376 // CreateDataProperty should work just as well as Set 377 obj->CreateDataProperty(v8::Isolate::GetCurrent()->GetCurrentContext(), 380 obj->CreateDataProperty(v8::Isolate::GetCurrent()->GetCurrentContext(), 1,
|
H A D | test-api.cc | 15121 TEST(CreateDataProperty) { 15139 CHECK(!obj->CreateDataProperty(env.local(), v8_str("foo"), 15142 CHECK(obj->CreateDataProperty(env.local(), v8_str("bar"), 15154 CHECK(obj->CreateDataProperty(env.local(), v8_str("blub"), 15166 CHECK(obj->CreateDataProperty(env.local(), v8_str("1"), 15177 CHECK(!arr->CreateDataProperty(env.local(), v8_str("length"), 15184 CHECK(arr->CreateDataProperty(env.local(), 1, v8::Integer::New(isolate, 23)) 15193 CHECK(arr->CreateDataProperty(env.local(), 0, v8::Integer::New(isolate, 42)) 15205 CHECK(!obj->CreateDataProperty(env.local(), v8_str("baz"), 15216 CHECK(access_checked->CreateDataProperty(en [all...] |
H A D | test-api-interceptors.cc | 633 ->CreateDataProperty(info.GetIsolate()->GetCurrentContext(), name, value)
|
/external/v8/include/ |
H A D | v8.h | 2646 // Implements CreateDataProperty (ECMA-262, 7.3.4). 2653 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 2656 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 2662 // In general, CreateDataProperty will be faster, however, does not allow 2678 V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty", 2681 V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
|