Home
last modified time | relevance | path

Searched refs:copyItem (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/manager/src/
H A Dclient_bus_center_manager.c279 NodeStateCallbackItem *copyItem = NULL; in DuplicateNodeStateCbList() local
283 if (copyItem == NULL) { in DuplicateNodeStateCbList()
288 ListInit(&copyItem->node); in DuplicateNodeStateCbList()
289 copyItem->cb = item->cb; in DuplicateNodeStateCbList()
290 ListAdd(list, &copyItem->node); in DuplicateNodeStateCbList()
297 TimeSyncCallbackItem *copyItem = NULL; in DuplicateTimeSyncResultCbList() local
304 if (copyItem == NULL) { in DuplicateTimeSyncResultCbList()
308 copyItem->cb = item->cb; in DuplicateTimeSyncResultCbList()
309 ListInit(&copyItem->node); in DuplicateTimeSyncResultCbList()
312 SoftBusFree(copyItem); in DuplicateTimeSyncResultCbList()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Drd_json_object.cpp416 cJSON *copyItem = cJSON_Duplicate(newItem.cjson_, true); in ReplaceItemInObject() local
417 cJSON_ReplaceItemInObjectCaseSensitive(this->cjson_, fieldName.c_str(), copyItem); in ReplaceItemInObject()
419 cJSON *copyItem = cJSON_Duplicate(newItem.cjson_, true); in ReplaceItemInObject() local
420 cJSON_AddItemToObject(this->cjson_, fieldName.c_str(), copyItem); in ReplaceItemInObject()
430 cJSON *copyItem = cJSON_Duplicate(newItem.cjson_, true); in ReplaceItemInArray() local
431 cJSON_ReplaceItemInArray(this->cjson_, index, copyItem); in ReplaceItemInArray()