Home
last modified time | relevance | path

Searched refs:napi_writable (Results 1 – 6 of 6) sorted by relevance

/third_party/node/benchmark/napi/define_properties/
Dbinding.c74 return Runner(env, info, napi_writable | napi_enumerable | napi_configurable); in RunFastPath()
78 return Runner(env, info, napi_writable | napi_enumerable); in RunSlowPath()
89 napi_writable | napi_configurable | napi_enumerable, in NAPI_MODULE_INIT()
97 napi_writable | napi_configurable | napi_enumerable, in NAPI_MODULE_INIT()
/third_party/node/src/
Djs_native_api_types.h26 napi_writable = 1 << 0, enumerator
36 napi_default_method = napi_writable | napi_configurable,
39 napi_default_jsproperty = napi_writable |
Djs_native_api_v8.cc216 (descriptor->attributes & napi_writable) == 0) { in V8PropertyAttributesFromDescriptor()
1360 (p->attributes & napi_writable) != 0); in napi_define_properties()
1375 (p->attributes & napi_writable) && in napi_define_properties()
1383 (p->attributes & napi_writable) != 0); in napi_define_properties()
/third_party/node/test/js-native-api/test_properties/
Dtest_properties.c93 { "readwriteValue", 0, 0, 0, 0, number, napi_enumerable | napi_writable, 0 }, in Init()
101 { "readwriteAccessor2", 0, 0, GetValue, SetValue, 0, napi_writable, 0}, in Init()
103 { "readonlyAccessor2", 0, 0, GetValue, NULL, 0, napi_writable, 0}, in Init()
/third_party/node/test/js-native-api/test_constructor/
Dtest_constructor.c172 napi_enumerable | napi_writable, NULL }, in Init()
179 napi_writable, NULL }, in Init()
182 { "readonlyAccessor2", NULL, NULL, GetValue, NULL, NULL, napi_writable, in Init()
/third_party/node/doc/api/
Dn-api.md2016 napi_writable | napi_enumerable | napi_configurable,
2045 { "value", NULL, NULL, GetValue, SetValue, NULL, napi_writable | napi_configurable, NULL },
4175 { "foo", NULL, NULL, NULL, NULL, fooValue, napi_writable | napi_configurable, NULL },
4176 { "bar", NULL, NULL, NULL, NULL, barValue, napi_writable | napi_configurable, NULL }
4199 napi_writable = 1 << 0,
4208 napi_default_method = napi_writable | napi_configurable,
4211 napi_default_jsproperty = napi_writable |
4225 * `napi_writable`: The property is writable.