Searched refs:copyItem (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/manager/src/ |
H A D | client_bus_center_manager.c | 279 NodeStateCallbackItem *copyItem = NULL; in DuplicateNodeStateCbList() local 283 if (copyItem == NULL) { in DuplicateNodeStateCbList() 288 ListInit(©Item->node); in DuplicateNodeStateCbList() 289 copyItem->cb = item->cb; in DuplicateNodeStateCbList() 290 ListAdd(list, ©Item->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(©Item->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 D | rd_json_object.cpp | 416 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()
|