/napi_generator/examples/napitutorials/entry/src/main/cpp/nodeapi/datatypes/ |
H A D | napithreadsafefuncall.cpp | 28 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 D | napithreadsafefunc.cpp | 28 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 D | napithreadsafefuncrel.cpp | 28 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 D | napistatus.cpp | 23 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 D | napiextendederrorinfo.cpp | 24 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 D | napiisarray.cpp | 24 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 D | napistrictequals.cpp | 24 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 D | napitypeof.cpp | 24 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 D | napicallfunction.cpp | 25 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 D | napigetpropertynames.cpp | 23 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 D | napiobjectfreeze.cpp | 25 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 D | napiobjectseal.cpp | 25 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 D | napihaselement.cpp | 23 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 D | napideleteelement.cpp | 23 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 D | napideleteproperty.cpp | 23 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 D | napigetelement.cpp | 23 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 D | napihasproperty.cpp | 23 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 D | napisetnamedproperty.cpp | 23 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 D | napisetelement.cpp | 23 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 D | napisetproperty.cpp | 23 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 D | napigetproperty.cpp | 50 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 D | napihasnamedproperty.cpp | 44 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 D | napicreateuint32.cpp | 26 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 D | napicreateint32.cpp | 25 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 D | napicreateint64.cpp | 25 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()
|