Searched refs:RESERVED_ARGS (Results 1 – 2 of 2) sorted by relevance
/third_party/node/test/node-api/test_make_callback/ |
D | binding.c | 6 #define RESERVED_ARGS 3 macro 21 napi_value argv[MAX_ARGUMENTS - RESERVED_ARGS]; in MakeCallback() 22 for (n = RESERVED_ARGS; n < argc; n += 1) { in MakeCallback() 23 argv[n - RESERVED_ARGS] = args[n]; in MakeCallback() 40 env, context, recv, func, argc - RESERVED_ARGS, argv, &result)); in MakeCallback()
|
/third_party/node/test/node-api/test_async_context/ |
D | binding.c | 6 #define RESERVED_ARGS 3 macro 21 napi_value argv[MAX_ARGUMENTS - RESERVED_ARGS]; in MakeCallback() 22 for (n = RESERVED_ARGS; n < argc; n += 1) { in MakeCallback() 23 argv[n - RESERVED_ARGS] = args[n]; in MakeCallback() 35 env, context, recv, func, argc - RESERVED_ARGS, argv, &result)); in MakeCallback()
|