Home
last modified time | relevance | path

Searched refs:typeItem (Results 1 - 3 of 3) sorted by relevance

/base/startup/appspawn/service/hnp/base/
H A Dhnp_json.c77 cJSON *typeItem = cJSON_GetObjectItem(json, "type"); in ParseJsonStreamToHnpCfgInfo() local
78 if ((typeItem == NULL) || (typeItem->valuestring == NULL)) { in ParseJsonStreamToHnpCfgInfo()
82 if (strcmp(typeItem->valuestring, "hnp-config") != 0) { in ParseJsonStreamToHnpCfgInfo()
83 HNP_LOGE("type info not match.type=%{public}s", typeItem->valuestring); in ParseJsonStreamToHnpCfgInfo()
/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/
H A Ddefault_vibrator_decoder.cpp169 cJSON *typeItem = parser.GetObjectItem(eventItem, "Type"); in ParseEvent() local
170 CHKPR(typeItem, ERROR); in ParseEvent()
171 std::string curType = parser.GetStringValue(typeItem); in ParseEvent()
/base/startup/init/services/init/
H A Dinit_service_manager.c409 cJSON *typeItem = NULL; in ParseSocketOption() local
413 typeItem = cJSON_GetArrayItem(typeArray, i); in ParseSocketOption()
414 INIT_CHECK_RETURN_VALUE(cJSON_IsString(typeItem), SERVICE_FAILURE); in ParseSocketOption()
415 stringValue = cJSON_GetStringValue(typeItem); in ParseSocketOption()

Completed in 5 milliseconds