| /foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
| D | sys_util.h | 34 #define NSTACKX_ATOM_FETCH(ptr) (*ptr) argument 35 #define NSTACKX_ATOM_SET(ptr, i) ((*ptr) = (i)) argument 37 #define NSTACKX_ATOM_FETCH_INC(ptr) __atomic_fetch_add((ptr), 1, __ATOMIC_SEQ_CST) argument 38 #define NSTACKX_ATOM_FETCH_DEC(ptr) __atomic_fetch_sub((ptr), 1, __ATOMIC_SEQ_CST) argument 39 #define NSTACKX_ATOM_ADD_RETURN(ptr, i) __atomic_add_fetch((ptr), i, __ATOMIC_SEQ_CST) argument 40 #define NSTACKX_ATOM_FETCH_ADD(ptr, val) __atomic_fetch_add((ptr), (val), __ATOMIC_SEQ_CST) argument 41 #define NSTACKX_ATOM_FETCH_SUB(ptr, val) __atomic_fetch_sub((ptr), (val), __ATOMIC_SEQ_CST) argument 43 #define NSTACKX_ATOM_FETCH_INC(ptr) __sync_fetch_and_add((ptr), 1) argument 44 #define NSTACKX_ATOM_FETCH_DEC(ptr) __sync_fetch_and_sub((ptr), 1) argument 45 #define NSTACKX_ATOM_ADD_RETURN(ptr, i) __sync_add_and_fetch((ptr), i) argument [all …]
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/unittest/ |
| D | kvstore_flowctrl_manager_test.cpp | 60 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 78 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 96 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 114 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 133 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 152 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(OPERATION_BURST_CAPACITY, OPERATION_SUSTAINED_… variable 179 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(MANAGER_BURST_CAPACITY, MANAGER_SUSTAINED_CAPA… variable 197 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(MANAGER_BURST_CAPACITY, MANAGER_SUSTAINED_CAPA… variable 215 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(MANAGER_BURST_CAPACITY, MANAGER_SUSTAINED_CAPA… variable 233 …auto ptr = std::make_shared<KvStoreFlowCtrlManager>(MANAGER_BURST_CAPACITY, MANAGER_SUSTAINED_CAPA… variable [all …]
|
| /foundation/communication/ipc/ipc/native/c/manager/src/ |
| D | serializer.c | 81 void *ptr = io->bufferCur; in IoPush() local 99 void *ptr = io->bufferCur; in IoPop() local 114 void *ptr = io->bufferCur; in IoPushUnaligned() local 138 char *ptr = (uint8_t *)IoPush(dst, srcUsedBufferSize); in IpcIoAppend() local 166 int32_t *ptr = (int32_t *)IoPush(io, sizeof(value)); in WriteInt32() local 180 uint32_t *ptr = (uint32_t *)IoPush(io, sizeof(value)); in WriteUint32() local 203 bool *ptr = (bool *)IoPushUnaligned(io, sizeof(value)); in WriteBoolUnaligned() local 217 uintptr_t *ptr = (uintptr_t *)IoPush(io, sizeof(value)); in WritePointer() local 240 int8_t *ptr = (int8_t *)IoPushUnaligned(io, sizeof(value)); in WriteInt8Unaligned() local 263 uint8_t *ptr = (uint8_t *)IoPushUnaligned(io, sizeof(value)); in WriteUint8Unaligned() local [all …]
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
| D | sys_util.h | 55 #define NSTACKX_ATOM_FETCH(ptr) (*ptr) argument 56 #define NSTACKX_ATOM_SET(ptr, i) ((*ptr) = (i)) argument 57 #define NSTACKX_ATOM_FETCH_INC(ptr) __sync_fetch_and_add((ptr), 1) argument 58 #define NSTACKX_ATOM_FETCH_DEC(ptr) __sync_fetch_and_sub((ptr), 1) argument 59 #define NSTACKX_ATOM_ADD_RETURN(ptr, i) __sync_add_and_fetch((ptr), i) argument 60 #define NSTACKX_ATOM_FETCH_ADD(ptr, val) __sync_fetch_and_add((ptr), (val)) argument 61 #define NSTACKX_ATOM_FETCH_SUB(ptr, val) __sync_fetch_and_sub((ptr), (val)) argument
|
| /foundation/communication/dsoftbus/adapter/common/include/ |
| D | softbus_adapter_atomic.h | 27 static inline void SoftBusAtomicAdd32(volatile uint32_t* ptr, int32_t value) in SoftBusAtomicAdd32() 38 static inline uint32_t SoftBusAtomicAddAndFetch32(volatile uint32_t* ptr, int32_t value) in SoftBusAtomicAddAndFetch32() 51 static inline void SoftBusAtomicAdd64(uint64_t* ptr, int64_t value) in SoftBusAtomicAdd64() 62 static inline bool SoftBusAtomicCmpAndSwap32(volatile uint32_t* ptr, int32_t oldValue, int32_t newV… in SoftBusAtomicCmpAndSwap32()
|
| /foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
| D | hal_atomic.h | 23 static inline void HalAtomicAdd32(volatile uint32_t* ptr, uint32_t value) in HalAtomicAdd32() 32 static inline uint32_t HalAtomicAddAndFetch32(volatile uint32_t* ptr, uint32_t value) in HalAtomicAddAndFetch32() 43 static inline void HalAtomicAdd64(uint64_t* ptr, uint64_t value) in HalAtomicAdd64() 52 static inline bool HalAtomicCmpAndSwap32(volatile uint32_t* ptr, uint32_t oldValue, uint32_t newVal… in HalAtomicCmpAndSwap32()
|
| /foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/ |
| D | rtcp.cpp | 90 auto ptr = (RtcpSR *)new char[bytes]; in Create() local 97 return std::shared_ptr<RtcpSR>(ptr, [](RtcpSR *ptr) { delete[] (char *)ptr; }); in Create() 173 ReportItem *ptr = &items_; in GetItemList() local 191 auto ptr = (RtcpRR *)new char[bytes]; in Create() local 197 return std::shared_ptr<RtcpRR>(ptr, [](RtcpRR *ptr) { delete[] (char *)ptr; }); in Create() 203 ReportItem *ptr = &items_; in GetItemList() local 236 auto ptr = (RtcpSdes *)new char[bytes]; in Create() local 254 return std::shared_ptr<RtcpSdes>(ptr, [](RtcpSdes *ptr) { delete[] (char *)ptr; }); in Create() 260 SdesChunk *ptr = &chunks_; in GetChunkList() local 302 auto ptr = (RtcpFB *)new char[bytes]; in CreateInner() local [all …]
|
| /foundation/arkui/ace_engine/frameworks/base/memory/ |
| D | ace_type.h | 60 static RefPtr<T> DynamicCast(const RefPtr<O>& ptr) in DynamicCast() 67 auto ptr = weak.Upgrade(); in DynamicCast() local 77 static AceType::IdType TypeId(const RefPtr<T>& ptr) in TypeId() 90 static const char* TypeName(const RefPtr<T>& ptr) in TypeName() 123 static bool InstanceOf(const RefPtr<O>& ptr) in InstanceOf()
|
| /foundation/multimedia/media_foundation/engine/scene/recorder/standard/ |
| D | hirecorder_impl.cpp | 283 auto ptr = obs_.lock(); in OnEvent() local 313 auto ptr = obs_.lock(); in OnStateChanged() local 519 auto ptr = param.GetValPtr<AudSampleRate>(); in DoConfigureAudio() local 526 auto ptr = param.GetValPtr<AudChannel>(); in DoConfigureAudio() local 533 auto ptr = param.GetValPtr<AudBitRate>(); in DoConfigureAudio() local 541 auto ptr = param.GetValPtr<AudEnc>(); in DoConfigureAudio() local 562 auto ptr = param.GetValPtr<VidRectangle>(); in DoConfigureVideo() local 573 auto ptr = param.GetValPtr<CaptureRate>(); in DoConfigureVideo() local 579 auto ptr = param.GetValPtr<VidBitRate>(); in DoConfigureVideo() local 585 auto ptr = param.GetValPtr<VidFrameRate>(); in DoConfigureVideo() local [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
| D | medialibrary_kvstore_manager.cpp | 28 KvStoreSharedPtr ptr; in InitKvStore() local 56 KvStoreSharedPtr ptr; in GetKvStore() local 74 kvStoreMap_.Iterate([&valueTypes](KvStoreValueType valueType, KvStoreSharedPtr &ptr) { in CloseAllKvStore() 88 KvStoreSharedPtr ptr; in CloseKvStore() local
|
| /foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/ |
| D | serializer_inner.c | 47 SpecialObj* ptr = IoPush(io, sizeof(SpecialObj)); in IoPushSpecObj() local 114 SpecialObj* ptr = IoPushSpecObj(io); in WriteRemoteObject() local 154 SpecialObj* ptr = IoPopSpecObj(io); in ReadRemoteObject() local 166 SpecialObj* ptr = IoPushSpecObj(io); in WriteFileDescriptor() local 177 SpecialObj* ptr = IoPopSpecObj(io); in ReadFileDescriptor() local
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/query_fuzzer/ |
| D | query_fuzzer.h | 23 uint16_t U16_AT(const uint8_t * const &ptr) in U16_AT() 29 uint32_t U32_AT(const uint8_t * const &ptr) in U32_AT()
|
| /foundation/communication/wifi/wifi/frameworks/native/c_adapter/inc/ |
| D | wifi_c_utils.h | 32 #define CHECK_PTR_RETURN(ptr, retValue) \ argument 40 #define CHECK_PTR_RETURN_VOID(ptr) \ argument
|
| /foundation/communication/ipc/ipc/native/c/ipc/src/linux/ |
| D | serializer_inner.c | 30 struct flat_binder_object *ptr = NULL; in IoPushBinderObj() local 45 struct flat_binder_object *ptr = IoPushBinderObj(io); in IpcIoPushObject() local 59 struct flat_binder_object *ptr = IoPushBinderObj(io); in IpcIoPushRef() local 133 struct flat_binder_object *ptr = IoPushBinderObj(io); in WriteFileDescriptor() local
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
| D | rs_common_def.cpp | 27 char ptr[0]; member 58 for (void* ptr : blocks_) { in ~MemAllocater() local 104 void MemAllocater::Free(void* ptr) in Free() 125 void MemObject::operator delete(void* ptr) in operator delete() 135 void MemObject::operator delete(void* ptr, const std::nothrow_t&) noexcept in operator delete()
|
| /foundation/communication/dhcp/frameworks/native/c_adapter/inc/ |
| D | dhcp_c_utils.h | 39 #define CHECK_PTR_RETURN(ptr, retValue) \ argument 47 #define CHECK_PTR_RETURN_VOID(ptr) \ argument
|
| /foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
| D | unique_ptr.h | 35 delete ptr; in operator() local 41 delete ptr; in operator() local
|
| /foundation/graphic/surface_lite/frameworks/ |
| D | buffer_client_producer.cpp | 41 uintptr_t ptr; in RequestBuffer() local 93 uintptr_t ptr; in FlushBuffer() local 122 uintptr_t ptr; in Cancel() local 144 uintptr_t ptr; in SetQueueSize() local 160 uintptr_t ptr; in GetQueueSize() local 188 uintptr_t ptr; in SetWidthAndHeight() local 264 uintptr_t ptr; in SetUserData() local 283 uintptr_t ptr; in GetUserData() local 309 uintptr_t ptr; in SetAttr() local 326 uintptr_t ptr; in GetAttr() local
|
| /foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
| D | stream_depacketizer.cpp | 26 const char *ptr = header; in DepacketizeHeader() local 42 char *ptr = buffer; in DepacketizeBuffer() local
|
| /foundation/ai/intelligent_voice_framework/utils/ |
| D | intell_voice_generic_factory.h | 42 static void DestroyInstance(T *ptr) in DestroyInstance() 44 delete ptr; in DestroyInstance() local
|
| /foundation/window/window_manager/test/systemtest/wms/ |
| D | window_display_zoom_test.cpp | 80 Window* ptr = window.GetRefPtr(); variable 165 Window* ptr = window.GetRefPtr(); variable 197 Window* ptr = window.GetRefPtr(); variable 237 Window* ptr = window.GetRefPtr(); variable
|
| /foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
| D | gaussian_blur_filter_unittest.cpp | 44 std::shared_ptr<float> sWeight(weight, [] (float *ptr) { in __anon099def1b0102() 75 std::shared_ptr<float> sOffset(offset, [] (float *ptr) { in __anon099def1b0202() 106 std::shared_ptr<float> sOthers(others, [] (float *ptr) { in __anon099def1b0302()
|
| /foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
| D | allocator.c | 45 void SysFree(void *ptr) in SysFree() 62 static void AllocatorFree(void *ptr) in AllocatorFree()
|
| /foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
| D | device_timed_collect_tool.cpp | 74 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const int64_t& value) in SaveInner() 84 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const string& value) in SaveInner() 126 …std::shared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const int64_t& defVal… in ObtainInner() 132 …std::shared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const std::string& de… in ObtainInner()
|
| /foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
| D | common_macros.h | 26 #define ADDR_ALIGN(ptr, sz, align) \ argument 40 #define UI_ADDR_ALIGN(ptr, sz) ADDR_ALIGN(ptr, sz, ALIGNMENT_BYTES) argument 45 #define UI_ADDR_ALIGN(ptr, sz) argument
|