Home
last modified time | relevance | path

Searched refs:js_object (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DPwmOut-js.cpp277 jerry_value_t js_object = jerry_create_object(); in DECLARE_CLASS_CONSTRUCTOR() local
278 jerry_set_object_native_pointer(js_object, native_ptr, &native_obj_type_info); in DECLARE_CLASS_CONSTRUCTOR()
281 ATTACH_CLASS_FUNCTION(js_object, PwmOut, write); in DECLARE_CLASS_CONSTRUCTOR()
282 ATTACH_CLASS_FUNCTION(js_object, PwmOut, read); in DECLARE_CLASS_CONSTRUCTOR()
283 ATTACH_CLASS_FUNCTION(js_object, PwmOut, period); in DECLARE_CLASS_CONSTRUCTOR()
284 ATTACH_CLASS_FUNCTION(js_object, PwmOut, period_ms); in DECLARE_CLASS_CONSTRUCTOR()
285 ATTACH_CLASS_FUNCTION(js_object, PwmOut, period_us); in DECLARE_CLASS_CONSTRUCTOR()
286 ATTACH_CLASS_FUNCTION(js_object, PwmOut, pulsewidth); in DECLARE_CLASS_CONSTRUCTOR()
287 ATTACH_CLASS_FUNCTION(js_object, PwmOut, pulsewidth_ms); in DECLARE_CLASS_CONSTRUCTOR()
288 ATTACH_CLASS_FUNCTION(js_object, PwmOut, pulsewidth_us); in DECLARE_CLASS_CONSTRUCTOR()
[all …]
DDigitalOut-js.cpp146 jerry_value_t js_object = jerry_create_object(); in DECLARE_CLASS_CONSTRUCTOR() local
147 jerry_set_object_native_pointer(js_object, native_ptr, &native_obj_type_info); in DECLARE_CLASS_CONSTRUCTOR()
150 ATTACH_CLASS_FUNCTION(js_object, DigitalOut, write); in DECLARE_CLASS_CONSTRUCTOR()
151 ATTACH_CLASS_FUNCTION(js_object, DigitalOut, read); in DECLARE_CLASS_CONSTRUCTOR()
152 ATTACH_CLASS_FUNCTION(js_object, DigitalOut, is_connected); in DECLARE_CLASS_CONSTRUCTOR()
154 return js_object; in DECLARE_CLASS_CONSTRUCTOR()
DInterruptIn-js.cpp257 jerry_value_t js_object = jerry_create_object(); in DECLARE_CLASS_CONSTRUCTOR() local
259 jerry_set_object_native_pointer(js_object, native_ptr, &native_obj_type_info); in DECLARE_CLASS_CONSTRUCTOR()
261 ATTACH_CLASS_FUNCTION(js_object, InterruptIn, rise); in DECLARE_CLASS_CONSTRUCTOR()
262 ATTACH_CLASS_FUNCTION(js_object, InterruptIn, fall); in DECLARE_CLASS_CONSTRUCTOR()
263 ATTACH_CLASS_FUNCTION(js_object, InterruptIn, mode); in DECLARE_CLASS_CONSTRUCTOR()
264 ATTACH_CLASS_FUNCTION(js_object, InterruptIn, enable_irq); in DECLARE_CLASS_CONSTRUCTOR()
265 ATTACH_CLASS_FUNCTION(js_object, InterruptIn, disable_irq); in DECLARE_CLASS_CONSTRUCTOR()
267 return js_object; in DECLARE_CLASS_CONSTRUCTOR()
DAnalogIn-js.cpp104 jerry_value_t js_object = jerry_create_object(); in DECLARE_CLASS_CONSTRUCTOR() local
105 jerry_set_object_native_pointer(js_object, native_ptr, &native_obj_type_info); in DECLARE_CLASS_CONSTRUCTOR()
108 ATTACH_CLASS_FUNCTION(js_object, AnalogIn, read); in DECLARE_CLASS_CONSTRUCTOR()
109 ATTACH_CLASS_FUNCTION(js_object, AnalogIn, read_u16); in DECLARE_CLASS_CONSTRUCTOR()
111 return js_object; in DECLARE_CLASS_CONSTRUCTOR()
DI2C-js.cpp305 jerry_value_t js_object = jerry_create_object(); in DECLARE_CLASS_CONSTRUCTOR() local
306 jerry_set_object_native_pointer(js_object, native_ptr, &native_obj_type_info); in DECLARE_CLASS_CONSTRUCTOR()
308 ATTACH_CLASS_FUNCTION(js_object, I2C, frequency); in DECLARE_CLASS_CONSTRUCTOR()
309 ATTACH_CLASS_FUNCTION(js_object, I2C, read); in DECLARE_CLASS_CONSTRUCTOR()
310 ATTACH_CLASS_FUNCTION(js_object, I2C, write); in DECLARE_CLASS_CONSTRUCTOR()
311 ATTACH_CLASS_FUNCTION(js_object, I2C, start); in DECLARE_CLASS_CONSTRUCTOR()
312 ATTACH_CLASS_FUNCTION(js_object, I2C, stop); in DECLARE_CLASS_CONSTRUCTOR()
314 return js_object; in DECLARE_CLASS_CONSTRUCTOR()
/third_party/ejdb/src/bindings/ejdb2_node/
Djs_native_api.h290 napi_value js_object,
296 napi_value js_object,
299 napi_value js_object,
477 napi_value js_object,
/third_party/node/src/
Djs_native_api.h290 napi_value js_object,
296 napi_value js_object,
299 napi_value js_object,
477 napi_value js_object,
Djs_native_api_v8.cc197 napi_value js_object, in Unwrap() argument
201 CHECK_ARG(env, js_object); in Unwrap()
208 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(js_object); in Unwrap()
406 napi_value js_object, in Wrap() argument
412 CHECK_ARG(env, js_object); in Wrap()
416 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(js_object); in Wrap()
2316 napi_value js_object, in GEN_COERCE_FUNCTION()
2322 js_object, in GEN_COERCE_FUNCTION()
3142 napi_value js_object, in napi_add_finalizer() argument
3148 js_object, in napi_add_finalizer()
/third_party/node/doc/api/
Dn-api.md4834 napi_value js_object,
4842 * `[in] js_object`: The JavaScript object that will be the wrapper for the
4892 napi_value js_object,
4897 * `[in] js_object`: The object associated with the native instance.
4919 napi_value js_object,
4924 * `[in] js_object`: The object associated with the native instance.
4930 object `js_object` using `napi_wrap()` and removes the wrapping. If a finalize
4944 napi_value js_object,
4949 * `[in] js_object`: The JavaScript object to be marked.
4972 napi_value js_object,
[all …]