/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/ |
H A D | refbase.cpp | 41 void WeakRefCounter::IncWeakRefCount(const void *objectId) in IncWeakRefCount() argument 44 refCounter_->IncWeakRefCount(objectId); in IncWeakRefCount() 48 void WeakRefCounter::DecWeakRefCount(const void *objectId) in DecWeakRefCount() argument 51 refCounter_->DecWeakRefCount(objectId); in DecWeakRefCount() 56 bool WeakRefCounter::AttemptIncStrongRef(const void *objectId) in AttemptIncStrongRef() argument 59 return refCounter_->AttemptIncStrongRef(objectId, unuse); in AttemptIncStrongRef() 104 int RefCounter::IncStrongRefCount(const void *objectId) in IncStrongRefCount() argument 116 int RefCounter::DecStrongRefCount(const void *objectId) in DecStrongRefCount() argument 134 int RefCounter::IncWeakRefCount(const void *objectId) in IncWeakRefCount() argument 139 int RefCounter::DecWeakRefCount(const void *objectId) in DecWeakRefCount() argument 185 AttemptIncStrongRef(const void *objectId, int &outCount) AttemptIncStrongRef() argument 311 IncStrongRef(const void *objectId) IncStrongRef() argument 329 DecStrongRef(const void *objectId) DecStrongRef() argument 358 IncWeakRef(const void *objectId) IncWeakRef() argument 365 DecWeakRef(const void *objectId) DecWeakRef() argument 380 AttemptAcquire(const void *objectId) AttemptAcquire() argument 398 AttemptIncStrongRef(const void *objectId) AttemptIncStrongRef() argument 428 OnFirstStrongRef(const void *objectId) OnFirstStrongRef() argument 432 OnLastStrongRef(const void *objectId) OnLastStrongRef() argument 436 OnLastWeakRef(const void *objectId) OnLastWeakRef() argument 440 OnAttemptPromoted(const void *objectId) OnAttemptPromoted() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.cpp | 52 void WeakRefCounter::IncWeakRefCount(const void *objectId) in IncWeakRefCount() argument 55 refCounter_->IncWeakRefCount(objectId); in IncWeakRefCount() 59 void WeakRefCounter::DecWeakRefCount(const void *objectId) in DecWeakRefCount() argument 62 refCounter_->DecWeakRefCount(objectId); in DecWeakRefCount() 67 bool WeakRefCounter::AttemptIncStrongRef(const void *objectId) in AttemptIncStrongRef() argument 70 return refCounter_->AttemptIncStrongRef(objectId, unuse); in AttemptIncStrongRef() 144 void RefCounter::GetNewTrace(const void* objectId) in GetNewTrace() argument 147 RefTracker* newTracker = new RefTracker(refTracker, objectId, atomicStrong_.load(std::memory_order_relaxed), in GetNewTrace() 208 int RefCounter::IncStrongRefCount(const void* objectId) in IncStrongRefCount() argument 211 GetNewTrace(objectId); in IncStrongRefCount() 224 DecStrongRefCount(const void* objectId) DecStrongRefCount() argument 246 IncWeakRefCount(const void* objectId) IncWeakRefCount() argument 254 DecWeakRefCount(const void* objectId) DecWeakRefCount() argument 317 AttemptIncStrongRef(const void *objectId, int &outCount) AttemptIncStrongRef() argument 361 AttemptIncStrong(const void *objectId) AttemptIncStrong() argument 458 IncStrongRef(const void *objectId) IncStrongRef() argument 476 DecStrongRef(const void *objectId) DecStrongRef() argument 512 IncWeakRef(const void *objectId) IncWeakRef() argument 524 DecWeakRef(const void *objectId) DecWeakRef() argument 539 AttemptAcquire(const void *objectId) AttemptAcquire() argument 557 AttemptIncStrongRef(const void *objectId) AttemptIncStrongRef() argument 571 AttemptIncStrong(const void *objectId) AttemptIncStrong() argument [all...] |
H A D | refbase.h | 140 int IncStrongRefCount(const void *objectId); 150 int DecStrongRefCount(const void *objectId); 166 int IncWeakRefCount(const void *objectId); 178 int DecWeakRefCount(const void *objectId); 213 bool AttemptIncStrongRef(const void *objectId, int &outCount); 223 bool AttemptIncStrong(const void *objectId); 254 void GetNewTrace(const void* objectId); 343 void IncWeakRefCount(const void *objectId); 351 void DecWeakRefCount(const void *objectId); 368 bool AttemptIncStrongRef(const void *objectId); [all...] |
/foundation/multimedia/image_framework/mock/native/src/ |
H A D | refbase.cpp | 43 void WeakRefCounter::IncWeakRefCount(const void *objectId) in IncWeakRefCount() argument 46 refCounter_->IncWeakRefCount(objectId); in IncWeakRefCount() 50 void WeakRefCounter::DecWeakRefCount(const void *objectId) in DecWeakRefCount() argument 53 refCounter_->DecWeakRefCount(objectId); in DecWeakRefCount() 58 bool WeakRefCounter::AttemptIncStrongRef(const void *objectId) in AttemptIncStrongRef() argument 61 return refCounter_->AttemptIncStrongRef(objectId, unuse); in AttemptIncStrongRef() 106 int RefCounter::IncStrongRefCount(const void * /*objectId*/) in IncStrongRefCount() 118 int RefCounter::DecStrongRefCount(const void * /*objectId*/) in DecStrongRefCount() 136 int RefCounter::IncWeakRefCount(const void * /*objectId*/) in IncWeakRefCount() 141 int RefCounter::DecWeakRefCount(const void * /*objectId*/) in DecWeakRefCount() 186 AttemptIncStrongRef(const void *objectId, int &outCount) AttemptIncStrongRef() argument 311 IncStrongRef(const void *objectId) IncStrongRef() argument 327 DecStrongRef(const void *objectId) DecStrongRef() argument 357 IncWeakRef(const void *objectId) IncWeakRef() argument 364 DecWeakRef(const void *objectId) DecWeakRef() argument 380 AttemptAcquire(const void *objectId) AttemptAcquire() argument 395 AttemptIncStrongRef(const void *objectId) AttemptIncStrongRef() argument [all...] |
/foundation/multimedia/camera_framework/test/fuzztest/camerarestoreparam_fuzzer/ |
H A D | camera_restore_param_fuzzer.cpp | 100 const void *objectId = obj.get();
in Test() local 101 fuzz->IncStrongRef(objectId);
in Test() 102 fuzz->IncWeakRef(objectId);
in Test() 103 fuzz->AttemptIncStrong(objectId);
in Test() 104 fuzz->AttemptIncStrongRef(objectId);
in Test() 105 fuzz->DecStrongRef(objectId);
in Test() 106 fuzz->DecWeakRef(objectId);
in Test() 107 fuzz->AttemptAcquire(objectId);
in Test()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | mock_refbase_test.cpp | 53 const void *objectId = nullptr;
in HWTEST_F() local 57 int curCount = ref.DecWeakRefCount(objectId);
in HWTEST_F() 253 const void *objectId;
in HWTEST_F() local 256 bool attempis = refs.AttemptIncStrongRef(objectId, outCount);
in HWTEST_F() 283 const void *objectId;
in HWTEST_F() local 285 refb.IncStrongRef(objectId);
in HWTEST_F() 298 const void *objectId;
in HWTEST_F() local 300 refb.DecStrongRef(objectId);
in HWTEST_F() 371 const void *objectId;
in HWTEST_F() local 373 refb.IncWeakRef(objectId);
in HWTEST_F() 386 const void *objectId; HWTEST_F() local 429 const void *objectId; HWTEST_F() local 444 const void *objectId; HWTEST_F() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/src/util/ |
H A D | builder.cpp | 36 ClassTable *ObjectIdToClass(SLuint32 objectId)
in ObjectIdToClass() argument 39 if (objectId == SL_OBJECTID_ENGINE) {
in ObjectIdToClass() 41 } else if (objectId == SL_OBJECTID_AUDIOPLAYER) {
in ObjectIdToClass() 43 } else if (objectId == SL_OBJECTID_AUDIORECORDER) {
in ObjectIdToClass() 45 } else if (objectId == SL_OBJECTID_OUTPUTMIX) {
in ObjectIdToClass()
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/ |
H A D | js_distributedobjectstore.cpp | 40 const std::string &objectId, napi_value callback)
in AddCallback() 42 LOG_INFO("add callback %{public}s", objectId.c_str());
in AddCallback() 48 return callbacks.Compute(objectId, [&ref](const std::string &key, std::list<napi_ref> &lists) {
in AddCallback() 105 napi_env env, DistributedObjectStore *objectStore, DistributedObject *object, const std::string &objectId)
in NewDistributedObject() 115 objectWrapper->SetObjectId(objectId);
in NewDistributedObject() 144 RestoreWatchers(env, objectWrapper, objectId);
in NewDistributedObject() 150 // function createObjectSync(version: number, sessionId: string, objectId:string): DistributedObject;
151 // function createObjectSync(version: number, sessionId: string, objectId:string, context: Context): DistributedObject;
161 std::string objectId;
in JSCreateObjectSync() local 176 status = JSUtil::GetValue(env, argv[2], objectId);
in JSCreateObjectSync() 39 AddCallback(napi_env env, ConcurrentMap<std::string, std::list<napi_ref>> &callbacks, const std::string &objectId, napi_value callback) AddCallback() argument 104 NewDistributedObject( napi_env env, DistributedObjectStore *objectStore, DistributedObject *object, const std::string &objectId) NewDistributedObject() argument 345 RestoreWatchers(napi_env env, JSObjectWrapper *wrapper, const std::string &objectId) RestoreWatchers() argument 407 std::string objectId; JSRecordCallback() local 455 std::string objectId; JSDeleteCallback() local [all...] |
H A D | js_object_wrapper.cpp | 100 void JSObjectWrapper::SetObjectId(const std::string &objectId)
in SetObjectId() argument 102 objectId_ = objectId;
in SetObjectId()
|
/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 49 int IncStrongRefCount(const void *objectId); 51 int DecStrongRefCount(const void *objectId); 55 int IncWeakRefCount(const void *objectId); 57 int DecWeakRefCount(const void *objectId); 67 bool AttemptIncStrongRef(const void *objectId, int &outCount); 91 void IncWeakRefCount(const void *objectId); 93 void DecWeakRefCount(const void *objectId); 95 bool AttemptIncStrongRef(const void *objectId); 121 void IncStrongRef(const void *objectId); 123 void DecStrongRef(const void *objectId); [all...] |
/foundation/communication/bluetooth/frameworks/inner/include/ |
H A D | bluetooth_object_map.h | 45 void RemoveObject(int objectId) in RemoveObject() argument 48 objectsMap.erase(objectId); in RemoveObject() 57 T GetObject(int objectId) in GetObject() argument 60 auto iter = objectsMap.find(objectId); in GetObject()
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/adaptor/ |
H A D | js_distributedobjectstore.h | 39 napi_env env, DistributedObjectStore *objectStore, DistributedObject *object, const std::string &objectId);
41 const std::string &objectId, napi_value callback);
44 static void RestoreWatchers(napi_env env, JSObjectWrapper *wrapper, const std::string &objectId);
|
H A D | js_object_wrapper.h | 37 void SetObjectId(const std::string &objectId);
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/common/ |
H A D | object_utils.h | 29 static std::string GetObjectHost(const std::string &objectId); 31 static std::string GetObjectStoreName(const std::string &objectId);
|
/foundation/multimedia/av_session/services/session/server/test/fuzztest/softbussessionmanager_fuzzer/ |
H A D | softbussessionmanager_fuzzer.cpp | 64 const void *objectId = obj.get(); in SoftbusSessionManagerFuzzTest() local 66 manager_->OnBytes(socket, objectId, dataLen); in SoftbusSessionManagerFuzzTest() 68 manager_->OnMessage(socket, objectId, dataLen); in SoftbusSessionManagerFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/ |
H A D | ipc_object_stub.cpp | 55 void IPCObjectStub::OnFirstStrongRef(const void *objectId) in OnFirstStrongRef() argument 59 void IPCObjectStub::OnLastStrongRef(const void *objectId) in OnLastStrongRef() argument
|
H A D | ipc_object_proxy.h | 44 void OnFirstStrongRef(const void *objectId) override; 46 void OnLastStrongRef(const void *objectId) override;
|
H A D | ipc_object_stub.h | 53 void OnFirstStrongRef(const void *objectId) override; 55 void OnLastStrongRef(const void *objectId) override;
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/src/itf/ |
H A D | object_itf.cpp | 119 SLuint32 objectId = iObject->mClass->mObjectId;
in Destroy() local 120 switch (objectId) {
in Destroy() 134 AUDIO_ERR_LOG("objectId not supported");
in Destroy()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/ |
H A D | flat_object_store.h | 68 uint32_t Delete(const std::string &objectId); 69 uint32_t Watch(const std::string &objectId, std::shared_ptr<FlatObjectWatcher> watcher); 70 uint32_t UnWatch(const std::string &objectId);
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ |
H A D | camera_napi_object_types.cpp | 114 auto objectId = Hold<int32_t>(metadataObject_.GetObjectId()); in GetCameraNapiObject() local 120 { "objectId", objectId }, in GetCameraNapiObject()
|
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
H A D | ipc_object_proxy.h | 96 * @param objectId Indicates the object Id. 100 void OnFirstStrongRef(const void *objectId) override; 104 * @param objectId Indicates the object Id. 108 void OnLastStrongRef(const void *objectId) override;
|
H A D | ipc_object_stub.h | 97 * @param objectId Indicates the object Id. 101 void OnFirstStrongRef(const void *objectId) override; 105 * @param objectId Indicates the object Id. 109 void OnLastStrongRef(const void *objectId) override;
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | metadata_output.h | 67 int32_t objectId; member 74 MetadataObject(const MetadataObjectType type, const int32_t timestamp, const Rect rect, const int32_t objectId, 238 inline sptr<MetadataObjectFactory> SetObjectId(int32_t objectId) in SetObjectId() argument 240 objectId_ = objectId; in SetObjectId()
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/include/ |
H A D | common.h | 112 ClassTable *ObjectIdToClass(SLuint32 objectId);
|