Lines Matching defs:object

20       "Wrong type of arguments. Expects an object as first argument.");
28 napi_value object = args[0];
30 NODE_API_CALL(env, napi_get_property(env, object, args[1], &output));
48 "Wrong type of arguments. Expects an object as first argument.");
56 napi_value object = args[0];
63 NODE_API_CALL(env, napi_get_named_property(env, object, key, &output));
79 "Wrong type of arguments. Expects an object as first argument.");
99 "Wrong type of arguments. Expects an object as first argument.");
124 "Wrong type of arguments. Expects an object as first argument.");
152 "Wrong type of arguments. Expects an object as first argument.");
180 "Wrong type of arguments. Expects an object as first argument.");
209 "Wrong type of arguments. Expects an object as first argument.");
234 "Wrong type of arguments. Expects an object as first argument.");
263 "Wrong type of arguments. Expects an object as first argument.");
296 "Wrong type of arguments. Expects an object as first argument.");
326 "Wrong type of arguments. Expects an object as first argument.");
360 "Wrong type of arguments. Expects an object as first argument.");
387 "Wrong type of arguments. Expects an object as first argument.");
432 "Wrong type of arguments. Expects an object as first argument.");
483 napi_value object, key, value;
485 NODE_API_CALL(env, napi_create_object(env, &object));
491 status = napi_set_property(NULL, object, key, value);
495 object,
502 add_last_status(env, "objectIsNull", object);
504 napi_set_property(env, object, NULL, value);
506 add_last_status(env, "keyIsNull", object);
508 napi_set_property(env, object, key, NULL);
510 add_last_status(env, "valueIsNull", object);
512 return object;
518 napi_value object, key;
521 NODE_API_CALL(env, napi_create_object(env, &object));
525 status = napi_has_property(NULL, object, key, &result);
529 object,
536 add_last_status(env, "objectIsNull", object);
538 napi_has_property(env, object, NULL, &result);
540 add_last_status(env, "keyIsNull", object);
542 napi_has_property(env, object, key, NULL);
544 add_last_status(env, "resultIsNull", object);
546 return object;
552 napi_value object, key, result;
554 NODE_API_CALL(env, napi_create_object(env, &object));
560 status = napi_get_property(NULL, object, key, &result);
564 object,
571 add_last_status(env, "objectIsNull", object);
573 napi_get_property(env, object, NULL, &result);
575 add_last_status(env, "keyIsNull", object);
577 napi_get_property(env, object, key, NULL);
579 add_last_status(env, "resultIsNull", object);
581 return object;
590 napi_value object = args[0];
591 NODE_API_CALL(env, napi_object_freeze(env, object));
593 return object;
602 napi_value object = args[0];
603 NODE_API_CALL(env, napi_object_seal(env, object));
605 return object;