Lines Matching refs:obj

254     get_element(napi_value obj, uint32_t i)  in get_element()
259 status = napi_get_element(env_, obj, i, &res); in get_element()
269 get_named_property(napi_value obj, const char *name) in get_named_property()
274 status = napi_get_named_property(env_, obj, name, &res); in get_named_property()
344 get_request_info(napi_value obj) in get_request_info()
346 return (nxt_unit_request_info_t *) unwrap(obj); in get_request_info()
351 get_value_bool(napi_value obj) in get_value_bool()
356 status = napi_get_value_bool(env_, obj, &res); in get_value_bool()
381 get_value_uint32(napi_value obj) in get_value_uint32()
386 status = napi_get_value_uint32(env_, obj, &res); in get_value_uint32()
551 set_element(napi_value obj, uint32_t i, napi_value val) in set_element()
555 status = napi_set_element(env_, obj, i, val); in set_element()
563 set_named_property(napi_value obj, const char *name, napi_value val) in set_named_property()
567 status = napi_set_named_property(env_, obj, name, val); in set_named_property()
575 set_named_property(napi_value obj, const char *name, napi_callback cb) in set_named_property()
577 set_named_property(obj, name, create_function(cb)); in set_named_property()
582 set_named_property(napi_value obj, const char *name, nxt_unit_sptr_t &val, in set_named_property()
589 set_named_property(obj, name, str); in set_named_property()
597 set_named_property(napi_value obj, const char *name, T val) in set_named_property()
599 set_named_property(obj, name, create(val)); in set_named_property()
718 wrap(napi_value val, void *obj, napi_finalize fin_cb, void *hint = nullptr)
723 status = napi_wrap(env_, val, obj, fin_cb, hint, &res);