Lines Matching refs:val

45     coerce_to_string(napi_value val)  in coerce_to_string()
50 status = napi_coerce_to_string(env_, val, &res); in coerce_to_string()
112 create_reference(napi_value val, int ref_count = 1)
117 status = napi_create_reference(env_, val, ref_count, &res);
177 get_array_length(napi_value val) in get_array_length()
182 status = napi_get_array_length(env_, val, &res); in get_array_length()
192 get_buffer_info(napi_value val, size_t &size) in get_buffer_info()
197 status = napi_get_buffer_info(env_, val, &res, &size); in get_buffer_info()
299 get_property(napi_value val, napi_value key) in get_property()
304 status = napi_get_property(env_, val, key, &res); in get_property()
314 get_property_names(napi_value val) in get_property_names()
319 status = napi_get_property_names(env_, val, &res); in get_property_names()
366 get_value_string_latin1(napi_value val, char *buf, size_t bufsize) in get_value_string_latin1()
371 status = napi_get_value_string_latin1(env_, val, buf, bufsize, &res); in get_value_string_latin1()
396 get_value_string_utf8(napi_value val, char *buf, size_t bufsize) in get_value_string_utf8()
401 status = napi_get_value_string_utf8(env_, val, buf, bufsize, &res); in get_value_string_utf8()
411 is_array(napi_value val) in is_array()
416 status = napi_is_array(env_, val, &res); in is_array()
426 is_buffer(napi_value val) in is_buffer()
431 status = napi_is_buffer(env_, val, &res); in is_buffer()
441 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback()
447 status = napi_make_callback(env_, ctx, val, func, argc, argv, &res); in make_callback()
470 make_callback(napi_async_context ctx, napi_value val, napi_value func) in make_callback()
472 return make_callback(ctx, val, func, 0, NULL); in make_callback()
477 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback()
480 return make_callback(ctx, val, func, 1, &arg1); in make_callback()
485 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback()
490 return make_callback(ctx, val, func, 2, args); in make_callback()
495 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback()
500 return make_callback(ctx, val, func, 3, args); in make_callback()
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()
582 set_named_property(napi_value obj, const char *name, nxt_unit_sptr_t &val, in set_named_property()
587 str = create_string_latin1(val, len); 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()
604 create(int32_t val) in create()
609 status = napi_create_int32(env_, val, &ptr); in create()
619 create(uint32_t val) in create()
624 status = napi_create_uint32(env_, val, &ptr); in create()
634 create(int64_t val) in create()
639 status = napi_create_int64(env_, val, &ptr); in create()
659 remove_wrap(napi_value val) in remove_wrap()
664 status = napi_remove_wrap(env_, val, &res); in remove_wrap()
688 type_of(napi_value val) in type_of()
693 status = napi_typeof(env_, val, &res); in type_of()
703 unwrap(napi_value val) in unwrap()
708 status = napi_unwrap(env_, val, &res); in unwrap()
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);