/napi_generator/examples/napitutorials/entry/src/main/cpp/ncpp/cjsoncase/ |
H A D | cjsoncommon.cpp | 23 const char *info, const char *tag) in getErrMessage() 29 OH_LOG_Print(LOG_APP, LOG_ERROR, GLOBAL_RESMGR, tag, "errmsg %{public}s!, engine_err_code %{public}d!.", in getErrMessage() 52 * tag: 日志打印标识符 54 bool IsEmptyObject(napi_env env, napi_value obj, const char *tag) in IsEmptyObject() argument 63 getErrMessage(status, env, extended_error_info, "IsEmptyObject: napi_typeof obj", tag); in IsEmptyObject() 72 getErrMessage(status, env, extended_error_info, "IsEmptyObject: napi_get_property_names obj", tag); in IsEmptyObject() 78 getErrMessage(status, env, extended_error_info, "IsEmptyObject: napi_get_array_length propertyNames", tag); in IsEmptyObject() 93 char *getNapiCjsonString(napi_env env, napi_value cjsonObj, const char *tag) in getNapiCjsonString() argument 101 getErrMessage(status, env, extended_error_info, "initCJSON_Object: napi_get_named_property 1", tag); in getNapiCjsonString() 107 getErrMessage(status, env, extended_error_info, "initCJSON_Object: get value string", tag); in getNapiCjsonString() 22 getErrMessage(napi_status &status, napi_env &env, const napi_extended_error_info *&extended_error_info, const char *info, const char *tag) getErrMessage() argument 121 getNapiCjsonValuestring(napi_env env, napi_value cjsonObj, const char *tag) getNapiCjsonValuestring() argument 149 getNapiCjsonValuedouble(napi_env env, napi_value cjsonObj, const char *tag) getNapiCjsonValuedouble() argument 169 getNapiCjsonType(napi_env env, napi_value cjsonObj, const char *tag) getNapiCjsonType() argument 190 getNapiCjsonChild(napi_env env, napi_value cjsonObj, cJSON *jsonObj, char *objStr, const char *tag) getNapiCjsonChild() argument 214 getNapiCjsonNext(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag) getNapiCjsonNext() argument 235 getNapiCjsonPrev(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag) getNapiCjsonPrev() argument 256 getNapiCjsonChildArrObj(napi_env env, napi_value cjsonObj, cJSON *jsonObj, char *objStrIn, const char *tag) getNapiCjsonChildArrObj() argument 293 initCJSON_Object(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag) initCJSON_Object() argument 324 getNapiCjsonArrayChild(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag) getNapiCjsonArrayChild() argument 349 getNapiCjsonArrayNext(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag) getNapiCjsonArrayNext() argument 374 getNapiCjsonArrayPrev(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag) getNapiCjsonArrayPrev() argument 407 initCJSON_Array(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag) initCJSON_Array() argument 436 initCJSON_ArrayObj(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag) initCJSON_ArrayObj() argument 479 isArrObject(napi_env env, napi_value cjsonObj, const char *tag) isArrObject() argument [all...] |
H A D | cjsoncreateobjectcase.cpp | 22 const char *tag = "[KH361_cJSON_CreateObject]"; in getSampleCreateObjNextOut() local 30 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getSampleCreateObjNextOut() 42 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getSampleCreateObjNextOut() 52 const char *tag = "[KH361_cJSON_CreateObject]"; in getSampleCreateObjPrevOut() local 60 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getSampleCreateObjPrevOut() 72 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getSampleCreateObjPrevOut() 82 const char *tag = "[KH361_cJSON_CreateObject]"; in getSampleCreateObjChildOut() local 90 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getSampleCreateObjChildOut() 102 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getSampleCreateObjChildOut() 112 const char *tag in getSampleCreateObjTypeOut() local 143 const char *tag = "[KH361_cJSON_CreateObject]"; getSampleCreateObjValuestringOut() local 181 const char *tag = "[KH361_cJSON_CreateObject]"; getSampleCreateObjValueintOut() local 212 const char *tag = "[KH361_cJSON_CreateObject]"; getSampleCreateObjValuedoubleOut() local 243 const char *tag = "[KH361_cJSON_CreateObject]"; getSampleCreateObjStringOut() local 291 const char *tag = "[KH361_cJSON_CreateObject]"; KH361_cJSON_CreateObject() local [all...] |
H A D | cjsoncreatearraycase.cpp | 22 const char *tag = "[KH386_cJSON_CreateArray]"; in getCreateArrayTypeOut() local 31 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getCreateArrayTypeOut() 43 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateArrayTypeOut() 53 const char *tag = "[KH386_cJSON_CreateArray]"; in getCreateArrayValueintOut() local 62 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getCreateArrayValueintOut() 74 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateArrayValueintOut() 84 const char *tag = "[KH386_cJSON_CreateArray]"; in getCreateArrayValuedoubleOut() local 93 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getCreateArrayValuedoubleOut() 105 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateArrayValuedoubleOut() 115 const char *tag in getCreateArrayValuestringOut() local 152 const char *tag = "[KH386_cJSON_CreateArray]"; getCreateArrayStringOut() local 188 const char *tag = "[KH386_cJSON_CreateArray]"; getCreateArrayChildOut() local 219 const char *tag = "[KH386_cJSON_CreateArray]"; getCreateArrayPrevOut() local 249 const char *tag = "[KH386_cJSON_CreateArray]"; getCreateArrayNextOut() local 292 const char *tag = "[KH386_cJSON_CreateArray]"; KH386_cJSON_CreateArray() local [all...] |
H A D | cjsonparsecase.cpp | 22 const char *tag = "[KH418_CJSON_Parse]"; in getCjsonChildOut2() local 26 getErrMessage(status, env, extended_error_info, "napi_create_int32 jsonChild->type", tag); in getCjsonChildOut2() 31 getErrMessage(status, env, extended_error_info, "napi_set_named_property jsonChild->type", tag); in getCjsonChildOut2() 37 getErrMessage(status, env, extended_error_info, "napi_create_int32 jsonChild->valueint", tag); in getCjsonChildOut2() 42 getErrMessage(status, env, extended_error_info, "napi_set_named_property jsonChild->valueint", tag); in getCjsonChildOut2() 48 getErrMessage(status, env, extended_error_info, "napi_create_double jsonChild->valuedouble", tag); in getCjsonChildOut2() 53 getErrMessage(status, env, extended_error_info, "napi_set_named_property jsonChild->valuedouble", tag); in getCjsonChildOut2() 63 const char *tag = "[KH418_CJSON_Parse]"; in getCjsonChildOut() local 70 getErrMessage(status, env, extended_error_info, "napi_create_string_utf8 jsonChild->valuestring", tag); in getCjsonChildOut() 75 getErrMessage(status, env, extended_error_info, "napi_set_named_property jsonChild->valuestring", tag); in getCjsonChildOut() 99 const char *tag = "[KH418_CJSON_Parse]"; getCjsonNextOut2() local 140 const char *tag = "[KH418_CJSON_Parse]"; getCjsonNextOut() local 176 const char *tag = "[KH418_CJSON_Parse]"; getCjsonparseInfo() local 218 const char *tag = "[KH418_CJSON_Parse]"; getCjsonparseOut1() local 271 const char *tag = "[KH418_CJSON_Parse]"; getCjsonparseOut2() local 325 const char *tag = "[KH418_CJSON_Parse]"; getCjsonparseOut3() local 385 const char *tag = "[KH418_CJSON_Parse]"; getCjsonparseOut4() local 456 const char *tag = "[KH418_CJSON_Parse]"; KH418_CJSON_Parse() local [all...] |
H A D | cjsonaddfalsetoobjectcase.cpp | 22 const char *tag = "[KH545_cJSON_AddFalseToObject]"; in getAddfalsetoobjTypeOut() local 31 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddfalsetoobjTypeOut() 43 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddfalsetoobjTypeOut() 53 const char *tag = "[KH545_cJSON_AddFalseToObject]"; in getAddfalsetoobjValuesintOut() local 63 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddfalsetoobjValuesintOut() 75 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddfalsetoobjValuesintOut() 86 const char *tag = "[KH545_cJSON_AddFalseToObject]"; in getAddfalsetoobjValuesdoubleOut() local 95 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getAddfalsetoobjValuesdoubleOut() 107 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddfalsetoobjValuesdoubleOut() 117 const char *tag in getAddfalsetoobjValuestringOut() local 153 const char *tag = "[KH545_cJSON_AddFalseToObject]"; getAddfalsetoobjStringOut() local 188 const char *tag = "[KH545_cJSON_AddFalseToObject]"; getAddfalsetoobjNextOut() local 255 const char *tag = "[KH545_cJSON_AddFalseToObject]"; getAddfalsetoobjChildOut() local 289 const char *tag = "[KH545_cJSON_AddFalseToObject]"; getAddfalsetoobjPrevOut() local 319 const char *tag = "[KH545_cJSON_AddFalseToObject]"; getAddfalsetoobjInfo() local 375 const char *tag = "[KH545_cJSON_AddFalseToObject]"; KH545_cJSON_AddFalseToObject() local [all...] |
H A D | cjsoncreatestringcase.cpp | 22 const char *tag = "[KH361_cJSON_CreateObject]"; in getCreateStringNextOut() local 30 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getCreateStringNextOut() 42 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateStringNextOut() 52 const char *tag = "[KH361_cJSON_CreateObject]"; in getCreateStringPrevOut() local 60 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getCreateStringPrevOut() 72 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateStringPrevOut() 82 const char *tag = "[KH361_cJSON_CreateObject]"; in getCreateStringChildOut() local 90 getErrMessage(status, env, extended_error_info, "napi_create_object", tag); in getCreateStringChildOut() 102 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateStringChildOut() 112 const char *tag in getCreateStringTypeOut() local 143 const char *tag = "[KH361_cJSON_CreateObject]"; getCreateStringValuestringOut() local 178 const char *tag = "[KH361_cJSON_CreateObject]"; getCreateStringValueintOut() local 209 const char *tag = "[KH361_cJSON_CreateObject]"; getCreateStringValuedoubleOut() local 240 const char *tag = "[KH361_cJSON_CreateObject]"; getCreateStringStringOut() local 275 const char *tag = "[KH361_cJSON_CreateObject]"; getCreateStringParamIn() local 329 const char *tag = "[KH515_cJSON_CreateString]"; KH515_cJSON_CreateString() local [all...] |
H A D | cjsonadditemtoarraycase.cpp | 22 const char *tag = "[KH802_cJSON_AddItemToArray]"; in getAdditemtoarrInfoNum() local 26 getErrMessage(status, env, extended_error_info, "get named property", tag); in getAdditemtoarrInfoNum() 34 getErrMessage(status, env, extended_error_info, "napi_get_value_double", tag); in getAdditemtoarrInfoNum() 45 const char *tag = "[KH802_cJSON_AddItemToArray]"; in getAdditemtoarrInfoStr() local 49 getErrMessage(status, env, extended_error_info, "get named property", tag); in getAdditemtoarrInfoStr() 63 getErrMessage(status, env, extended_error_info, "get value string", tag); in getAdditemtoarrInfoStr() 70 getErrMessage(status, env, extended_error_info, "get value string", tag); in getAdditemtoarrInfoStr() 136 const char *tag = "[KH203_cJSON_CreateIntArray]"; in getAdditemtoarrTypeOut() local 145 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAdditemtoarrTypeOut() 157 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAdditemtoarrTypeOut() 167 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrValuesintOut() local 198 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrValuesdoubleOut() local 229 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrValuestringOut() local 265 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrStringOut() local 301 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrNextOut() local 382 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrChildOut() local 416 const char *tag = "[KH203_cJSON_CreateIntArray]"; getAdditemtoarrPrevOut() local 444 const char *tag = "[KH802_cJSON_AddItemToArray]"; getCjsonAddItemToArrRes() local 510 const char *tag = "[KH802_cJSON_AddItemToArray]"; KH802_cJSON_AddItemToArray() local [all...] |
H A D | cjsonadditemtoobjectcase.cpp | 22 const char *tag = "[KH180_cJSON_AddItemToObject]"; in getAdditemtoobjTypeOut() local 31 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAdditemtoobjTypeOut() 43 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAdditemtoobjTypeOut() 53 const char *tag = "[KH180_cJSON_AddItemToObject]"; in getAdditemtoobjValuesintOut() local 62 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAdditemtoobjValuesintOut() 74 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAdditemtoobjValuesintOut() 84 const char *tag = "[KH180_cJSON_AddItemToObject]"; in getAdditemtoobjValuesdoubleOut() local 93 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getAdditemtoobjValuesdoubleOut() 105 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAdditemtoobjValuesdoubleOut() 115 const char *tag in getAdditemtoobjValuestringOut() local 151 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjStringOut() local 192 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjNextOut() local 266 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjChildOut() local 300 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjPrevOut() local 330 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjInfoParam1() local 371 const char *tag = "[KH180_cJSON_AddItemToObject]"; getAdditemtoobjInfoParam2() local 406 const char *tag = "[KH180_cJSON_AddItemToObject]"; getCjsonAddItemToObjRes() local 468 const char *tag = "[KH180_cJSON_AddItemToObject]"; KH180_cJSON_AddItemToObject() local [all...] |
H A D | cjsoncreateintarraycase.cpp | 23 const char *tag = "[KH203_cJSON_CreateIntArray]"; in getCreateintarrTypeOut() local 32 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getCreateintarrTypeOut() 44 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateintarrTypeOut() 54 const char *tag = "[KH203_cJSON_CreateIntArray]"; in getCreateintarrValuesintOut() local 63 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getCreateintarrValuesintOut() 75 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateintarrValuesintOut() 85 const char *tag = "[KH203_cJSON_CreateIntArray]"; in getCreateintarrValuesdoubleOut() local 94 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getCreateintarrValuesdoubleOut() 106 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getCreateintarrValuesdoubleOut() 116 const char *tag in getCreateintarrValuestringOut() local 152 const char *tag = "[KH203_cJSON_CreateIntArray]"; getCreateintarrStringOut() local 188 const char *tag = "[KH203_cJSON_CreateIntArray]"; getCreateintarrNextOut() local 253 const char *tag = "[KH203_cJSON_CreateIntArray]"; getCreateintarrChildOut() local 287 const char *tag = "[KH203_cJSON_CreateIntArray]"; getCreateintarrPrevOut() local 317 const char *tag = "[KH203_cJSON_CreateIntArray]"; getCjsonObjArrayLen() local 342 const char *tag = "[KH203_cJSON_CreateIntArray]"; GetCjsonCreateArrayParams1() local 397 const char *tag = "[KH203_cJSON_CreateIntArray]"; GetCjsonCreateArrayParams2() local 441 const char *tag = "[KH203_cJSON_CreateIntArray]"; KH203_cJSON_CreateIntArray() local [all...] |
H A D | cjsonaddstringtoobjectcase.cpp | 22 const char *tag = "[KH526_cJSON_AddStringToObject]"; in getAddstrtoobjTypeOut() local 31 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddstrtoobjTypeOut() 43 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddstrtoobjTypeOut() 53 const char *tag = "[KH526_cJSON_AddStringToObject]"; in getAddstrtoobjValuesintOut() local 62 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddstrtoobjValuesintOut() 74 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddstrtoobjValuesintOut() 84 const char *tag = "[KH526_cJSON_AddStringToObject]"; in getAddstrtoobjValuesdoubleOut() local 93 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getAddstrtoobjValuesdoubleOut() 105 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddstrtoobjValuesdoubleOut() 115 const char *tag in getAddstrtoobjValuestringOut() local 151 const char *tag = "[KH526_cJSON_AddStringToObject]"; getAddstrtoobjStringOut() local 187 const char *tag = "[KH526_cJSON_AddStringToObject]"; getAddstrtoobjNextOut() local 252 const char *tag = "[KH526_cJSON_AddStringToObject]"; getAddstrtoobjChildOut() local 286 const char *tag = "[KH526_cJSON_AddStringToObject]"; getAddstrtoobjPrevOut() local 316 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddstrtoobjInfoNameIn() local 357 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddstrtoobjInfoValueIn() local 411 const char *tag = "[KH526_cJSON_AddStringToObject]"; KH526_cJSON_AddStringToObject() local [all...] |
H A D | cjsonaddnumbertoobjectcase.cpp | 22 const char *tag = "[KH206_cJSON_AddNumberToObject]"; in getAddnumbertoobjTypeOut() local 31 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddnumbertoobjTypeOut() 43 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddnumbertoobjTypeOut() 53 const char *tag = "[KH206_cJSON_AddNumberToObject]"; in getAddnumbertoobjValuesintOut() local 62 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in getAddnumbertoobjValuesintOut() 74 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddnumbertoobjValuesintOut() 84 const char *tag = "[KH206_cJSON_AddNumberToObject]"; in getAddnumbertoobjValuesdoubleOut() local 93 getErrMessage(status, env, extended_error_info, "napi_create_double", tag); in getAddnumbertoobjValuesdoubleOut() 105 getErrMessage(status, env, extended_error_info, "napi_set_named_property", tag); in getAddnumbertoobjValuesdoubleOut() 115 const char *tag in getAddnumbertoobjValuestringOut() local 151 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjStringOut() local 187 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjNextOut() local 253 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjChildOut() local 287 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjPrevOut() local 318 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjInfoStr() local 359 const char *tag = "[KH206_cJSON_AddNumberToObject]"; getAddnumbertoobjInfoNum() local 402 const char *tag = "[KH206_cJSON_AddNumberToObject]"; KH206_cJSON_AddNumberToObject() local [all...] |
H A D | cjsonprintcase.cpp | 20 const char *tag = "[KH735_cJSON_Print]"; in getCjsonPrintRes() local 23 jsonObject = initCJSON_Object(env, obj, jsonObject, tag); in getCjsonPrintRes() 39 jsonArray = initCJSON_Array(env, obj, jsonArray, tag, false); in getCjsonPrintRes() 53 jsonArrayObj = initCJSON_ArrayObj(env, obj, jsonArrayObj, tag, true); in getCjsonPrintRes() 62 bool isArrayObject = isArrObject(env, obj, tag); in getCjsonPrintRes() 88 /* [NAPI_GEN]: tag: 日志打印标签*/ in KH735_cJSON_Print() 89 const char *tag = "[KH735_cJSON_Print]"; in KH735_cJSON_Print() local 106 getErrMessage(status, env, extended_error_info, "napi_get_cb_info", tag); in KH735_cJSON_Print() 126 getErrMessage(status, env, extended_error_info, "napi_create_string_utf8", tag); in KH735_cJSON_Print()
|
H A D | cjsongetarraysizecase.cpp | 33 /* [NAPI_GEN]: tag: 日志打印标签*/ in KH373_cJSON_GetArraySize() 34 const char *tag = "[KH373_cJSON_GetArraySize]"; in KH373_cJSON_GetArraySize() local 51 getErrMessage(status, env, extended_error_info, "napi_get_cb_info", tag); in KH373_cJSON_GetArraySize() 60 getErrMessage(status, env, extended_error_info, "get named property", tag); in KH373_cJSON_GetArraySize() 74 getErrMessage(status, env, extended_error_info, "get value string", tag); in KH373_cJSON_GetArraySize() 81 getErrMessage(status, env, extended_error_info, "get value string", tag); in KH373_cJSON_GetArraySize() 100 getErrMessage(status, env, extended_error_info, "napi_create_int32", tag); in KH373_cJSON_GetArraySize()
|
/napi_generator/examples/napitutorials/entry/src/main/cpp/include/cJsonNapiH/ |
H A D | cjsoncommon.h | 50 const char *info, const char *tag); 60 * tag: 日志打印标识符 62 bool IsEmptyObject(napi_env env, napi_value obj, const char *tag); 68 * tag: 日志打印标识符 70 cJSON *initCJSON_Object(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag); 76 * tag: 日志打印标识符 80 cJSON *initCJSON_ArrayObj(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag); 86 * tag: 日志打印标识符 90 cJSON *initCJSON_Array(napi_env env, napi_value cjsonObj, cJSON *jsonObj, const char *tag, bool flag); 95 * tag [all...] |
/napi_generator/examples/napitutorials/entry/src/main/cpp/javascriptapi/ |
H A D | common.cpp | 20 const char *info, const char *tag) in getErrMsg() 26 OH_LOG_Print(LOG_APP, LOG_ERROR, GLOBAL_RESMGR, tag, "errmsg %{public}s!, engine_err_code %{public}d!.", in getErrMsg() 36 bool validateObjectProperty(napi_env &env, napi_value &obj, napi_value &propName, const char *tag) in validateObjectProperty() argument 46 getErrMsg(status, env, extended_error_info, "get obj type", tag); in validateObjectProperty() 57 getErrMsg(status, env, extended_error_info, "get propName type", tag); in validateObjectProperty() 67 bool validateArrayObjProperty(napi_env &env, napi_value &obj, napi_value &propName, const char *tag) in validateArrayObjProperty() argument 77 getErrMsg(status, env, extended_error_info, "get obj type", tag); in validateArrayObjProperty() 88 getErrMsg(status, env, extended_error_info, "get propName type", tag); in validateArrayObjProperty() 19 getErrMsg(napi_status &status, napi_env &env, const napi_extended_error_info *&extended_error_info, const char *info, const char *tag) getErrMsg() argument
|
/napi_generator/src/cli/h2dtscpp/src/src/tools/ |
H A D | commonTemplete.js | 52 const char *info, const char *tag); 62 const char *info, const char *tag) 68 OH_LOG_Print(LOG_APP, LOG_ERROR, GLOBAL_RESMGR, tag, "errmsg %{public}s!, engine_err_code %{public}d!.",
|
/napi_generator/examples/napitutorials/entry/src/main/cpp/include/ |
H A D | javascriptapi.h | 34 bool validateObjectProperty(napi_env &env, napi_value &obj, napi_value &propName, const char *tag); 38 bool validateArrayObjProperty(napi_env &env, napi_value &obj, napi_value &propName, const char *tag);
|
H A D | common.h | 115 const char *info, const char *tag);
|