Home
last modified time | relevance | path

Searched refs:argc (Results 1 - 25 of 50) sorted by relevance

12

/napi_generator/examples/napitutorials/entry/src/main/cpp/nodeapi/datatypes/
H A Dnapithreadsafefuncall.cpp28 size_t argc = 1; in CallbackFunction() local
31 napi_call_function(env, nullptr, jsCallback, argc, argv, nullptr); in CallbackFunction()
46 size_t argc = PARAM2; in setThreadsafefuncall() local
53 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in setThreadsafefuncall()
60 if (argc < 1) { in setThreadsafefuncall()
H A Dnapithreadsafefunc.cpp28 size_t argc = 1; in CallbackFunction() local
31 napi_call_function(env, nullptr, jsCallback, argc, argv, nullptr); in CallbackFunction()
46 size_t argc = PARAM2; in setThreadsafefunc() local
53 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in setThreadsafefunc()
60 if (argc < 1) { in setThreadsafefunc()
H A Dnapithreadsafefuncrel.cpp28 size_t argc = 1; in CallbackFunction() local
31 napi_call_function(env, nullptr, jsCallback, argc, argv, nullptr); in CallbackFunction()
46 size_t argc = PARAM2; in setThreadsafefuncrel() local
53 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in setThreadsafefuncrel()
60 if (argc < 1) { in setThreadsafefuncrel()
H A Dnapistatus.cpp23 size_t argc = PARAM2; in testNapiStatus() local
28 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiStatus()
35 if (argc < PARAM2) { in testNapiStatus()
H A Dnapiextendederrorinfo.cpp24 size_t argc = PARAM2; in testNapiExterrinfo() local
30 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiExterrinfo()
37 if (argc < PARAM2) { in testNapiExterrinfo()
/napi_generator/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsabstractops/
H A Dnapiisarray.cpp24 size_t argc = PARAM1; in testNapiIsArray() local
32 status = napi_get_cb_info(env, info, &argc, argv, nullptr, nullptr); in testNapiIsArray()
38 if (argc != requireArgc) { in testNapiIsArray()
H A Dnapistrictequals.cpp24 size_t argc = PARAM2; in testNapiStrictEquals() local
32 status = napi_get_cb_info(env, info, &argc, argv, nullptr, nullptr); in testNapiStrictEquals()
38 if (argc != requireArgc) { in testNapiStrictEquals()
H A Dnapitypeof.cpp24 size_t argc = PARAM1; in testNapiTypeof() local
32 status = napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in testNapiTypeof()
37 if (argc < requireArgc) { in testNapiTypeof()
/napi_generator/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsfunctions/
H A Dnapicallfunction.cpp25 size_t argc = PARAM2; in testNapiCallFunction() local
34 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiCallFunction()
41 if (argc != PARAM2) { in testNapiCallFunction()
/napi_generator/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsproperty/
H A Dnapigetpropertynames.cpp23 size_t argc = PARAM1; in testNapiGetPropertyNames() local
30 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiGetPropertyNames()
37 if (argc < PARAM1) { in testNapiGetPropertyNames()
H A Dnapiobjectfreeze.cpp25 size_t argc = PARAM1; in testNapiObjectFreeze() local
33 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiObjectFreeze()
40 if (argc != PARAM1) { in testNapiObjectFreeze()
H A Dnapiobjectseal.cpp25 size_t argc = PARAM1; in testNapiObjectSeal() local
33 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiObjectSeal()
40 if (argc != PARAM1) { in testNapiObjectSeal()
H A Dnapihaselement.cpp23 size_t argc = PARAM2; in testNapiHasElement() local
30 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiHasElement()
36 if (argc < PARAM2) { in testNapiHasElement()
H A Dnapideleteelement.cpp23 size_t argc = PARAM2; in testNapiDeleteElement() local
31 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiDeleteElement()
38 if (argc < PARAM2) { in testNapiDeleteElement()
H A Dnapideleteproperty.cpp23 size_t argc = PARAM2; in testNapiDeleteProperty() local
31 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiDeleteProperty()
38 if (argc < PARAM2) { in testNapiDeleteProperty()
H A Dnapigetelement.cpp23 size_t argc = PARAM2; in testNapiGetElement() local
31 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiGetElement()
38 if (argc < PARAM2) { in testNapiGetElement()
H A Dnapihasproperty.cpp23 size_t argc = PARAM2; in testNapiHasProperty() local
31 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiHasProperty()
38 if (argc < PARAM2) { in testNapiHasProperty()
H A Dnapisetnamedproperty.cpp23 size_t argc = PARAM3; in testNapiSetNamedProperty() local
30 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); // 解析传入的参数 in testNapiSetNamedProperty()
35 if (argc < PARAM3) { // 检查参数数量 in testNapiSetNamedProperty()
H A Dnapisetelement.cpp23 size_t argc = PARAM3; in testNapiSetElement() local
32 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiSetElement()
39 if (argc < PARAM3) { in testNapiSetElement()
H A Dnapisetproperty.cpp23 size_t argc = PARAM3; in testNapiSetProperty() local
32 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiSetProperty()
39 if (argc < PARAM3) { in testNapiSetProperty()
H A Dnapigetproperty.cpp50 size_t argc = PARAM2; in testNapiGetProperty() local
58 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiGetProperty()
65 if (argc < PARAM2) { in testNapiGetProperty()
H A Dnapihasnamedproperty.cpp44 size_t argc = PARAM2; in testNapiHasNamedProperty() local
51 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiHasNamedProperty()
57 if (argc < PARAM2) { in testNapiHasNamedProperty()
/napi_generator/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/
H A Dnapicreateuint32.cpp26 size_t argc = 1; in testNapiCreateUInt32() local
35 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiCreateUInt32()
42 if (argc != 1) { in testNapiCreateUInt32()
H A Dnapicreateint32.cpp25 size_t argc = 1; in testNapiCreateInt32() local
34 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiCreateInt32()
41 if (argc != 1) { in testNapiCreateInt32()
H A Dnapicreateint64.cpp25 size_t argc = 1; in testNapiCreateInt64() local
34 status = napi_get_cb_info(env, info, &argc, argv, NULL, NULL); in testNapiCreateInt64()
41 if (argc != 1) { in testNapiCreateInt64()

Completed in 6 milliseconds

12