Home
last modified time | relevance | path

Searched refs:DECLARE_NAPI_PROPERTY (Results 1 – 25 of 43) sorted by relevance

12

/third_party/node/test/js-native-api/test_error/
Dtest_error.c141 DECLARE_NAPI_PROPERTY("checkError", checkError), in Init()
142 DECLARE_NAPI_PROPERTY("throwExistingError", throwExistingError), in Init()
143 DECLARE_NAPI_PROPERTY("throwError", throwError), in Init()
144 DECLARE_NAPI_PROPERTY("throwRangeError", throwRangeError), in Init()
145 DECLARE_NAPI_PROPERTY("throwTypeError", throwTypeError), in Init()
146 DECLARE_NAPI_PROPERTY("throwErrorCode", throwErrorCode), in Init()
147 DECLARE_NAPI_PROPERTY("throwRangeErrorCode", throwRangeErrorCode), in Init()
148 DECLARE_NAPI_PROPERTY("throwTypeErrorCode", throwTypeErrorCode), in Init()
149 DECLARE_NAPI_PROPERTY("throwArbitrary", throwArbitrary), in Init()
150 DECLARE_NAPI_PROPERTY("createError", createError), in Init()
[all …]
/third_party/node/test/js-native-api/test_conversions/
Dtest_null.c78 DECLARE_NAPI_PROPERTY("getValueBool", GetValueBool),
79 DECLARE_NAPI_PROPERTY("getValueInt32", GetValueInt32),
80 DECLARE_NAPI_PROPERTY("getValueUint32", GetValueUint32),
81 DECLARE_NAPI_PROPERTY("getValueInt64", GetValueInt64),
82 DECLARE_NAPI_PROPERTY("getValueDouble", GetValueDouble),
83 DECLARE_NAPI_PROPERTY("coerceToBool", CoerceToBool),
84 DECLARE_NAPI_PROPERTY("coerceToObject", CoerceToObject),
85 DECLARE_NAPI_PROPERTY("coerceToString", CoerceToString),
86 DECLARE_NAPI_PROPERTY("getValueStringUtf8", GetValueStringUtf8),
87 DECLARE_NAPI_PROPERTY("getValueStringLatin1", GetValueStringLatin1),
[all …]
Dtest_conversions.c138 DECLARE_NAPI_PROPERTY("asBool", AsBool), in Init()
139 DECLARE_NAPI_PROPERTY("asInt32", AsInt32), in Init()
140 DECLARE_NAPI_PROPERTY("asUInt32", AsUInt32), in Init()
141 DECLARE_NAPI_PROPERTY("asInt64", AsInt64), in Init()
142 DECLARE_NAPI_PROPERTY("asDouble", AsDouble), in Init()
143 DECLARE_NAPI_PROPERTY("asString", AsString), in Init()
144 DECLARE_NAPI_PROPERTY("toBool", ToBool), in Init()
145 DECLARE_NAPI_PROPERTY("toNumber", ToNumber), in Init()
146 DECLARE_NAPI_PROPERTY("toObject", ToObject), in Init()
147 DECLARE_NAPI_PROPERTY("toString", ToString), in Init()
/third_party/node/test/js-native-api/test_general/
Dtest_general.c287 DECLARE_NAPI_PROPERTY("testStrictEquals", testStrictEquals), in Init()
288 DECLARE_NAPI_PROPERTY("testGetPrototype", testGetPrototype), in Init()
289 DECLARE_NAPI_PROPERTY("testGetVersion", testGetVersion), in Init()
290 DECLARE_NAPI_PROPERTY("testNapiRun", testNapiRun), in Init()
291 DECLARE_NAPI_PROPERTY("doInstanceOf", doInstanceOf), in Init()
292 DECLARE_NAPI_PROPERTY("getUndefined", getUndefined), in Init()
293 DECLARE_NAPI_PROPERTY("getNull", getNull), in Init()
294 DECLARE_NAPI_PROPERTY("createNapiError", createNapiError), in Init()
295 DECLARE_NAPI_PROPERTY("testNapiErrorCleanup", testNapiErrorCleanup), in Init()
296 DECLARE_NAPI_PROPERTY("testNapiTypeof", testNapiTypeof), in Init()
[all …]
/third_party/node/test/js-native-api/test_object/
Dtest_null.c371 DECLARE_NAPI_PROPERTY("setProperty", SetProperty), in init_test_null()
372 DECLARE_NAPI_PROPERTY("getProperty", GetProperty), in init_test_null()
373 DECLARE_NAPI_PROPERTY("hasProperty", HasProperty), in init_test_null()
374 DECLARE_NAPI_PROPERTY("hasOwnProperty", HasOwnProperty), in init_test_null()
375 DECLARE_NAPI_PROPERTY("deleteProperty", DeleteProperty), in init_test_null()
376 DECLARE_NAPI_PROPERTY("setNamedProperty", SetNamedProperty), in init_test_null()
377 DECLARE_NAPI_PROPERTY("getNamedProperty", GetNamedProperty), in init_test_null()
378 DECLARE_NAPI_PROPERTY("hasNamedProperty", HasNamedProperty), in init_test_null()
379 DECLARE_NAPI_PROPERTY("setElement", SetElement), in init_test_null()
380 DECLARE_NAPI_PROPERTY("getElement", GetElement), in init_test_null()
[all …]
Dtest_object.c539 DECLARE_NAPI_PROPERTY("Get", Get), in Init()
540 DECLARE_NAPI_PROPERTY("GetNamed", GetNamed), in Init()
541 DECLARE_NAPI_PROPERTY("GetPropertyNames", GetPropertyNames), in Init()
542 DECLARE_NAPI_PROPERTY("GetSymbolNames", GetSymbolNames), in Init()
543 DECLARE_NAPI_PROPERTY("Set", Set), in Init()
544 DECLARE_NAPI_PROPERTY("SetNamed", SetNamed), in Init()
545 DECLARE_NAPI_PROPERTY("Has", Has), in Init()
546 DECLARE_NAPI_PROPERTY("HasNamed", HasNamed), in Init()
547 DECLARE_NAPI_PROPERTY("HasOwn", HasOwn), in Init()
548 DECLARE_NAPI_PROPERTY("Delete", Delete), in Init()
[all …]
/third_party/node/test/js-native-api/test_reference/
Dtest_reference.c190 DECLARE_NAPI_PROPERTY("createExternal", CreateExternal), in Init()
191 DECLARE_NAPI_PROPERTY("createExternalWithFinalize", in Init()
193 DECLARE_NAPI_PROPERTY("checkExternal", CheckExternal), in Init()
194 DECLARE_NAPI_PROPERTY("createReference", CreateReference), in Init()
195 DECLARE_NAPI_PROPERTY("createSymbol", CreateSymbol), in Init()
196 DECLARE_NAPI_PROPERTY("deleteReference", DeleteReference), in Init()
197 DECLARE_NAPI_PROPERTY("incrementRefcount", IncrementRefcount), in Init()
198 DECLARE_NAPI_PROPERTY("decrementRefcount", DecrementRefcount), in Init()
200 DECLARE_NAPI_PROPERTY("validateDeleteBeforeFinalize", in Init()
/third_party/node/test/js-native-api/test_string/
Dtest_string.c269 DECLARE_NAPI_PROPERTY("TestLatin1", TestLatin1), in Init()
270 DECLARE_NAPI_PROPERTY("TestLatin1Insufficient", TestLatin1Insufficient), in Init()
271 DECLARE_NAPI_PROPERTY("TestUtf8", TestUtf8), in Init()
272 DECLARE_NAPI_PROPERTY("TestUtf8Insufficient", TestUtf8Insufficient), in Init()
273 DECLARE_NAPI_PROPERTY("TestUtf16", TestUtf16), in Init()
274 DECLARE_NAPI_PROPERTY("TestUtf16Insufficient", TestUtf16Insufficient), in Init()
275 DECLARE_NAPI_PROPERTY("Utf16Length", Utf16Length), in Init()
276 DECLARE_NAPI_PROPERTY("Utf8Length", Utf8Length), in Init()
277 DECLARE_NAPI_PROPERTY("TestLargeUtf8", TestLargeUtf8), in Init()
278 DECLARE_NAPI_PROPERTY("TestLargeLatin1", TestLargeLatin1), in Init()
[all …]
/third_party/node/test/node-api/test_buffer/
Dtest_buffer.c130 DECLARE_NAPI_PROPERTY("newBuffer", newBuffer), in Init()
131 DECLARE_NAPI_PROPERTY("newExternalBuffer", newExternalBuffer), in Init()
132 DECLARE_NAPI_PROPERTY("getDeleterCallCount", getDeleterCallCount), in Init()
133 DECLARE_NAPI_PROPERTY("copyBuffer", copyBuffer), in Init()
134 DECLARE_NAPI_PROPERTY("bufferHasInstance", bufferHasInstance), in Init()
135 DECLARE_NAPI_PROPERTY("bufferInfo", bufferInfo), in Init()
136 DECLARE_NAPI_PROPERTY("staticBuffer", staticBuffer), in Init()
/third_party/node/test/js-native-api/test_exception/
Dtest_exception.c94 DECLARE_NAPI_PROPERTY("returnException", returnException), in Init()
95 DECLARE_NAPI_PROPERTY("allowException", allowException), in Init()
96 DECLARE_NAPI_PROPERTY("constructReturnException", constructReturnException), in Init()
97 DECLARE_NAPI_PROPERTY("constructAllowException", constructAllowException), in Init()
98 DECLARE_NAPI_PROPERTY("wasPending", wasPending), in Init()
99 DECLARE_NAPI_PROPERTY("createExternal", createExternal), in Init()
/third_party/node/test/js-native-api/test_bigint/
Dtest_bigint.c145 DECLARE_NAPI_PROPERTY("IsLossless", IsLossless), in Init()
146 DECLARE_NAPI_PROPERTY("TestInt64", TestInt64), in Init()
147 DECLARE_NAPI_PROPERTY("TestUint64", TestUint64), in Init()
148 DECLARE_NAPI_PROPERTY("TestWords", TestWords), in Init()
149 DECLARE_NAPI_PROPERTY("CreateTooBigBigInt", CreateTooBigBigInt), in Init()
150 DECLARE_NAPI_PROPERTY("MakeBigIntWordsThrow", MakeBigIntWordsThrow), in Init()
/third_party/node/test/node-api/test_fatal/
Dtest_fatal.c37 DECLARE_NAPI_PROPERTY("Test", Test), in Init()
38 DECLARE_NAPI_PROPERTY("TestStringLength", TestStringLength), in Init()
39 DECLARE_NAPI_PROPERTY("TestThread", TestThread), in Init()
/third_party/node/test/js-native-api/test_handle_scope/
Dtest_handle_scope.c74 DECLARE_NAPI_PROPERTY("NewScope", NewScope), in Init()
75 DECLARE_NAPI_PROPERTY("NewScopeEscape", NewScopeEscape), in Init()
76 DECLARE_NAPI_PROPERTY("NewScopeEscapeTwice", NewScopeEscapeTwice), in Init()
77 DECLARE_NAPI_PROPERTY("NewScopeWithException", NewScopeWithException), in Init()
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c301 DECLARE_NAPI_PROPERTY("StartThread", StartThread), in Init()
302 DECLARE_NAPI_PROPERTY("StartThreadNoNative", StartThreadNoNative), in Init()
303 DECLARE_NAPI_PROPERTY("StartThreadNonblocking", StartThreadNonblocking), in Init()
304 DECLARE_NAPI_PROPERTY("StartThreadNoJsFunc", StartThreadNoJsFunc), in Init()
305 DECLARE_NAPI_PROPERTY("StopThread", StopThread), in Init()
306 DECLARE_NAPI_PROPERTY("Unref", Unref), in Init()
307 DECLARE_NAPI_PROPERTY("Release", Release), in Init()
/third_party/node/test/js-native-api/test_number/
Dtest_number.c95 DECLARE_NAPI_PROPERTY("Test", Test), in Init()
96 DECLARE_NAPI_PROPERTY("TestInt32Truncation", TestInt32Truncation), in Init()
97 DECLARE_NAPI_PROPERTY("TestUint32Truncation", TestUint32Truncation), in Init()
98 DECLARE_NAPI_PROPERTY("TestInt64Truncation", TestInt64Truncation), in Init()
/third_party/node/test/js-native-api/test_promise/
Dtest_promise.c53 DECLARE_NAPI_PROPERTY("createPromise", createPromise), in Init()
54 DECLARE_NAPI_PROPERTY("concludeCurrentPromise", concludeCurrentPromise), in Init()
55 DECLARE_NAPI_PROPERTY("isPromise", isPromise), in Init()
/third_party/node/test/js-native-api/8_passing_wrapped/
D8_passing_wrapped.cc46 DECLARE_NAPI_PROPERTY("createObject", CreateObject), in Init()
47 DECLARE_NAPI_PROPERTY("add", Add), in Init()
48 DECLARE_NAPI_PROPERTY("finalizeCount", FinalizeCount), in Init()
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c230 DECLARE_NAPI_PROPERTY("Multiply", Multiply), in Init()
231 DECLARE_NAPI_PROPERTY("External", External), in Init()
232 DECLARE_NAPI_PROPERTY("NullArrayBuffer", NullArrayBuffer), in Init()
233 DECLARE_NAPI_PROPERTY("CreateTypedArray", CreateTypedArray), in Init()
234 DECLARE_NAPI_PROPERTY("Detach", Detach), in Init()
235 DECLARE_NAPI_PROPERTY("IsDetached", IsDetached), in Init()
/third_party/node/test/js-native-api/test_date/
Dtest_date.c53 DECLARE_NAPI_PROPERTY("createDate", createDate), in Init()
54 DECLARE_NAPI_PROPERTY("isDate", isDate), in Init()
55 DECLARE_NAPI_PROPERTY("getDateValue", getDateValue), in Init()
/third_party/node/test/js-native-api/test_array/
Dtest_array.c175 DECLARE_NAPI_PROPERTY("TestGetElement", TestGetElement), in Init()
176 DECLARE_NAPI_PROPERTY("TestHasElement", TestHasElement), in Init()
177 DECLARE_NAPI_PROPERTY("TestDeleteElement", TestDeleteElement), in Init()
178 DECLARE_NAPI_PROPERTY("New", New), in Init()
179 DECLARE_NAPI_PROPERTY("NewWithLength", NewWithLength), in Init()
/third_party/node/test/js-native-api/test_new_target/
Dtest_new_target.c62 DECLARE_NAPI_PROPERTY("BaseClass", BaseClass), in Init()
63 DECLARE_NAPI_PROPERTY("OrdinaryFunction", OrdinaryFunction), in Init()
64 DECLARE_NAPI_PROPERTY("Constructor", Constructor) in Init()
/third_party/node/test/js-native-api/test_instance_data/
Dtest_instance_data.c84 DECLARE_NAPI_PROPERTY("increment", Increment), in Init()
85 DECLARE_NAPI_PROPERTY("setPrintOnDelete", SetPrintOnDelete), in Init()
86 DECLARE_NAPI_PROPERTY("objectWithFinalizer", ObjectWithFinalizer), in Init()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c51 DECLARE_NAPI_PROPERTY("RunCallback", RunCallback), in Init()
52 DECLARE_NAPI_PROPERTY("RunCallbackWithRecv", RunCallbackWithRecv), in Init()
/third_party/node/test/node-api/test_instance_data/
Dtest_instance_data.c222 DECLARE_NAPI_PROPERTY("asyncWorkCallback", AsyncWorkCallback), in Init()
223 DECLARE_NAPI_PROPERTY("testBufferFinalizer", TestBufferFinalizer), in Init()
224 DECLARE_NAPI_PROPERTY("testThreadsafeFunction", TestThreadsafeFunction), in Init()
/third_party/node/test/js-native-api/test_dataview/
Dtest_dataview.c91 DECLARE_NAPI_PROPERTY("CreateDataView", CreateDataView), in Init()
92 DECLARE_NAPI_PROPERTY("CreateDataViewFromJSDataView", in Init()

12