/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/btm/ |
D | btm_le_sec.c | 53 BtmLePairedDeviceBlock *block = MEM_MALLOC.alloc(sizeof(BtmLePairedDeviceBlock)); in BtmAllocLePairedDeviceBlock() local 54 if (block != NULL) { in BtmAllocLePairedDeviceBlock() 55 block->pairedInfo = *device; in BtmAllocLePairedDeviceBlock() 56 block->currentAddr = device->addr; in BtmAllocLePairedDeviceBlock() 57 block->inResolvingList = false; in BtmAllocLePairedDeviceBlock() 59 return block; in BtmAllocLePairedDeviceBlock() 152 BtmLePairedDeviceBlock *block = NULL; in BtmFindLePairedDeviceBlockByAddress() local 156 block = ListGetNodeData(node); in BtmFindLePairedDeviceBlockByAddress() 157 if (IsSameBtAddr(&block->pairedInfo.addr, addr)) { in BtmFindLePairedDeviceBlockByAddress() 160 block = NULL; in BtmFindLePairedDeviceBlockByAddress() [all …]
|
D | btm_thread.c | 45 BtmTask *block = MEM_MALLOC.alloc(sizeof(BtmTask)); in AllocTask() local 46 if (block != NULL) { in AllocTask() 47 block->task = task; in AllocTask() 48 block->context = context; in AllocTask() 50 return block; in AllocTask() 70 BtmProcessingQueue *block = MEM_MALLOC.alloc(sizeof(BtmProcessingQueue)); in AllocProcessingQueue() local 71 if (block != NULL) { in AllocProcessingQueue() 72 block->id = id; in AllocProcessingQueue() 73 block->queue = QueueCreate(size); in AllocProcessingQueue() 74 if (block->queue != NULL) { in AllocProcessingQueue() [all …]
|
D | btm_pm.c | 67 BtmPmCallbackBlock *block = MEM_MALLOC.alloc(sizeof(BtmPmCallbackBlock)); in BtmPmAllocCallbackBlock() local 68 if (block != NULL) { in BtmPmAllocCallbackBlock() 69 block->callbacks = callbacks; in BtmPmAllocCallbackBlock() 70 block->context = context; in BtmPmAllocCallbackBlock() 72 return block; in BtmPmAllocCallbackBlock() 75 static void BtmPmFreeCallbackBlock(void *block) in BtmPmFreeCallbackBlock() argument 77 MEM_MALLOC.free(block); in BtmPmFreeCallbackBlock() 293 BtmPmCallbackBlock *block = NULL; in BtmPmOnModeChange() local 294 FOREACH_CALLBACKS_START(block); in BtmPmOnModeChange() 295 if (block->callbacks->modeChange != NULL) { in BtmPmOnModeChange() [all …]
|
D | btm.c | 109 BtmCallbacksBlock *block = MEM_MALLOC.alloc(sizeof(BtmCallbacksBlock)); in BtmAllocCallbacksBlock() local 110 if (block != NULL) { in BtmAllocCallbacksBlock() 111 block->callbacks = (BtmCallbacks *)callbacks; in BtmAllocCallbacksBlock() 112 block->context = context; in BtmAllocCallbacksBlock() 114 return block; in BtmAllocCallbacksBlock() 117 static void BtmFreeCallbacksBlock(void *block) in BtmFreeCallbacksBlock() argument 119 MEM_MALLOC.free(block); in BtmFreeCallbacksBlock() 534 BtmCallbacksBlock *block = BtmAllocCallbacksBlock(callbacks, context); in BTM_RegisterCallbacks() local 535 if (block == NULL) { in BTM_RegisterCallbacks() 540 ListAddLast(g_btmCallbackList, block); in BTM_RegisterCallbacks() [all …]
|
D | btm_sco.c | 105 BtmScoCallbacksBlock *block = MEM_MALLOC.alloc(sizeof(BtmScoCallbacksBlock)); in BtmAllocScoCallbacksBlock() local 106 if (block != NULL) { in BtmAllocScoCallbacksBlock() 107 block->callbacks = callbacks; in BtmAllocScoCallbacksBlock() 108 block->context = context; in BtmAllocScoCallbacksBlock() 110 return block; in BtmAllocScoCallbacksBlock() 113 static void BtmFreeScoCallbacksBlock(void *block) in BtmFreeScoCallbacksBlock() argument 115 MEM_MALLOC.free(block); in BtmFreeScoCallbacksBlock() 180 BtmScoCallbacksBlock *block = BtmAllocScoCallbacksBlock(callbacks, context); in BTM_RegisterScoCallbacks() local 181 if (block == NULL) { in BTM_RegisterScoCallbacks() 186 ListAddLast(g_scoCallbackList, block); in BTM_RegisterScoCallbacks() [all …]
|
D | btm_acl.c | 188 BtmAclCallbacksBlock *block = MEM_CALLOC.alloc(sizeof(BtmAclCallbacksBlock)); in BtmAllocAclCallbacksBlock() local 189 if (block != NULL) { in BtmAllocAclCallbacksBlock() 190 block->callbacks = callbacks; in BtmAllocAclCallbacksBlock() 191 block->context = context; in BtmAllocAclCallbacksBlock() 193 return block; in BtmAllocAclCallbacksBlock() 196 static void BtmFreeAclCallbacksBlock(void *block) in BtmFreeAclCallbacksBlock() argument 198 MEM_CALLOC.free(block); in BtmFreeAclCallbacksBlock() 551 BtmAclCallbacksBlock *block = NULL; in BtmOnConnectionComplete() local 553 block = (BtmAclCallbacksBlock *)ListGetNodeData(node); in BtmOnConnectionComplete() 554 if (block->callbacks->connectionComplete != NULL) { in BtmOnConnectionComplete() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/slider/ |
D | render_block.cpp | 22 const RefPtr<BlockComponent> block = AceType::DynamicCast<BlockComponent>(component); in Update() local 23 if (block == nullptr) { in Update() 27 blockColor_ = block->GetBlockColor(); in Update() 28 blockSize_ = block->GetBlockSize(); in Update() 29 hotRegionWidth_ = block->GetHotRegionWidth(); in Update() 30 hotRegionHeight_ = block->GetHotRegionHeight(); in Update()
|
D | flutter_render_slider.cpp | 56 auto block = slider->GetBlock(); in Update() local 57 auto blockSize = block->GetBlockSize(); in Update() 59 block->SetBlockSize(blockSize * scale); in Update() 239 auto block = AceType::DynamicCast<RenderBlock>(block_); in HandleFocus() local 241 if (!block || !track) { in HandleFocus() 253 const double blockSize = NormalizeToPx(block->GetBlockSize()); in HandleFocus() 257 block->GetGlobalOffset() - Offset(focus.Width() * HALF, focus.Width() * HALF)); in HandleFocus() 331 auto block = weakBlock.Upgrade(); in CreateColorAnimation() local 332 if (block) { in CreateColorAnimation() 333 block->SetHover(hover); in CreateColorAnimation() [all …]
|
D | rosen_render_slider.cpp | 54 auto block = slider->GetBlock(); in Update() local 55 auto blockSize = block->GetBlockSize(); in Update() 57 block->SetBlockSize(blockSize * temp); in Update() 230 auto block = AceType::DynamicCast<RenderBlock>(block_); in HandleFocus() local 232 if (!block || !track) { in HandleFocus() 244 const double blockSize = NormalizeToPx(block->GetBlockSize()); in HandleFocus() 248 block->GetGlobalOffset() - Offset(focus.Width() * HALF, focus.Width() * HALF)); in HandleFocus() 322 auto block = weakBlock.Upgrade(); in CreateColorAnimation() local 323 if (block) { in CreateColorAnimation() 324 block->SetHover(hover); in CreateColorAnimation() [all …]
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/multiver/ |
D | multi_ver_natural_store.cpp | 55 void TransferHostFileBlockToNet(VersionFileBlock &block) in TransferHostFileBlockToNet() argument 57 block.magic = HostToNet(block.magic); in TransferHostFileBlockToNet() 58 block.fileVersion = HostToNet(block.fileVersion); in TransferHostFileBlockToNet() 59 block.version = HostToNet(block.version); in TransferHostFileBlockToNet() 62 void TransferNetFileBlockToHost(VersionFileBlock &block) in TransferNetFileBlockToHost() argument 64 block.magic = NetToHost(block.magic); in TransferNetFileBlockToHost() 65 block.fileVersion = NetToHost(block.fileVersion); in TransferNetFileBlockToHost() 66 block.version = NetToHost(block.version); in TransferNetFileBlockToHost() 69 int CalcFileBlockCheckSum(VersionFileBlock &block) in CalcFileBlockCheckSum() argument 71 std::vector<uint8_t> vect(reinterpret_cast<uint8_t *>(&block), in CalcFileBlockCheckSum() [all …]
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
D | nstackx_dfile_send.c | 72 BlockFrame *block = NULL; in DestroyIovList() local 77 block = (BlockFrame *)p; in DestroyIovList() 79 free(block->fileDataFrame); in DestroyIovList() 80 free(block); in DestroyIovList() 84 static int32_t TcpSendFileDataFrame(Socket *socket, PeerInfo *peerInfo, List *p, BlockFrame *block,… in TcpSendFileDataFrame() argument 89 … ret = SocketSend(socket, (uint8_t *)block->fileDataFrame + block->sendLen, len - block->sendLen); in TcpSendFileDataFrame() 90 if (ret > 0 && ret == (int32_t)(len - block->sendLen)) { in TcpSendFileDataFrame() 91 block->sendLen = 0; in TcpSendFileDataFrame() 93 free(block->fileDataFrame); in TcpSendFileDataFrame() 94 free(block); in TcpSendFileDataFrame() [all …]
|
/foundation/multimodalinput/input/patch/prebuild_eudev/rules.d/ |
D | 60-block.rules | 4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \ 7 # forward scsi device event to corresponding block device 8 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/ueven… 11 ACTION!="remove", SUBSYSTEM=="block", \
|
D | 99-systemd.rules | 17 SUBSYSTEM=="block", TAG+="systemd" 18 SUBSYSTEM=="block", ACTION=="add", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="… 22 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV… 25 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="gpt-… 26 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="gpt-… 27 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{DM_NAME}=="root", SYMLINK+="gpt-auto-root" 30 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}… 31 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", E… 34 SUBSYSTEM=="block", KERNEL=="loop[0-9]*", ENV{DEVTYPE}=="disk", TEST!="loop/backing_file", ENV{SYST… 37 SUBSYSTEM=="block", KERNEL=="nbd*", ENV{DEVTYPE}=="disk", TEST!="pid", ENV{SYSTEMD_READY}="0"
|
D | 90-libgpod.rules | 3 # because the nano5g have data on the block device making it look like a 6 ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", ENV{DEVTYPE}=="partition"… 9 # block device. The rule above won't match for such iPods because it wants 11 # filesystem on the block device while they have a partition, we don't want 13 # ID_PART_TABLE_TYPE, if it's empty, it means we only have a block device, 15 ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", ENV{DEVTYPE}=="disk", ENV…
|
D | 64-btrfs.rules.in | 3 SUBSYSTEM!="block", GOTO="btrfs_end" 14 ENV{ID_BTRFS_READY}=="1", RUN+="@bindir@/udevadm trigger -s block -p ID_BTRFS_READY=0"
|
D | 64-btrfs.rules | 3 SUBSYSTEM!="block", GOTO="btrfs_end" 15 ENV{ID_BTRFS_READY}=="1", RUN+="/bin/udevadm trigger -s block -p ID_BTRFS_READY=0"
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/hci/acl/ |
D | hci_acl.c | 86 HciConnectionHandleBlock *block = MEM_MALLOC.alloc(sizeof(HciConnectionHandleBlock)); in HciAllocConnectionHandleBlock() local 87 if (block != NULL) { in HciAllocConnectionHandleBlock() 88 block->connectionHandle = connectionHandle; in HciAllocConnectionHandleBlock() 89 block->transport = transport; in HciAllocConnectionHandleBlock() 91 return block; in HciAllocConnectionHandleBlock() 94 static void HciFreeConnectionHandleBlock(void *block) in HciFreeConnectionHandleBlock() argument 96 MEM_MALLOC.free(block); in HciFreeConnectionHandleBlock() 101 HciConnectionHandleBlock *block = NULL; in HciFindConnectionHandleBlock() local 105 block = ListGetNodeData(node); in HciFindConnectionHandleBlock() 106 if (block->connectionHandle == connectionHandle) { in HciFindConnectionHandleBlock() [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/test/unittest/jsfrontend/slider/ |
D | dom_slider_test.cpp | 135 auto block = sliderComponent->GetBlock(); variable 137 ASSERT_TRUE(block); 177 auto block = sliderComponent->GetBlock(); variable 179 ASSERT_TRUE(block); 265 auto block = sliderComponent->GetBlock(); variable 267 ASSERT_TRUE(block); 315 auto block = sliderComponent->GetBlock(); variable 317 ASSERT_TRUE(block); 365 auto block = sliderComponent->GetBlock(); variable 367 ASSERT_TRUE(block); [all …]
|
/foundation/ai/engine/services/common/utils/encdec/source/ |
D | data_encoder.cpp | 35 auto *block = reinterpret_cast<MemBlock*>(memBlock); in AllocateMemBlock() local 36 block->blockSize = sz; in AllocateMemBlock() 37 return block; in AllocateMemBlock() 40 void FreeMemBlock(MemBlock *block) in FreeMemBlock() argument 42 auto *memBlock = reinterpret_cast<unsigned char*>(block); in FreeMemBlock()
|
/foundation/graphic/standard/rosen/modules/render_service_base/src/common/ |
D | rs_common_def.cpp | 57 char* block = static_cast<char*>(malloc(memSize * sizeStep_)); in Alloc() local 58 if (block == nullptr) { in Alloc() 61 blocks_.push_back(block); in Alloc() 63 cachePtr->push_back(block + (i * memSize)); in Alloc()
|
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/properties/ |
D | copy_file.cpp | 93 int block = 4096; in HandleCopyFile() local 94 auto copyBuf = make_unique<char[]>(block); in HandleCopyFile() 96 ssize_t readSize = read(sfd.GetFD(), copyBuf.get(), block); in HandleCopyFile() 106 if (readSize != block) { in HandleCopyFile() 178 int block = 4096; in Sync() local 179 auto copyBuf = make_unique<char[]>(block); in Sync() 181 ssize_t readSize = read(srcFileInfo.fdg.GetFD(), copyBuf.get(), block); in Sync() 193 if (readSize != block) { in Sync()
|
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_appdatafwk/src/ |
D | shared_block.cpp | 114 int SharedBlock::ReadMessageParcel(MessageParcel &parcel, SharedBlock *&block) in ReadMessageParcel() argument 128 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true); in ReadMessageParcel() 129 if (block == nullptr) { in ReadMessageParcel() 133 if (block->Init() == false) { in ReadMessageParcel() 134 delete block; in ReadMessageParcel() 141 block->mHeader->unusedOffset, block->mHeader->rowNums, block->mHeader->columnNums, in ReadMessageParcel() 142 static_cast<int>(block->mSize), block->mData); in ReadMessageParcel()
|
/foundation/graphic/wms/test/ |
D | sample_window.cpp | 155 UIViewGroup* block = new UIViewGroup(); in AddBlock() local 156 block->SetPosition(100, 40); // 100: x, 40: y in AddBlock() 157 block->SetWidth(60); // 60: width in AddBlock() 158 block->SetHeight(60); // 60: height in AddBlock() 159 block->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in AddBlock() 160 block->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddBlock() 183 g_rootView2->Add(block); in AddBlock()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
D | spunge_message.h | 62 FILLP_BOOL block; member 84 …rrorType SpungePostMsg(struct SpungeInstance *inst, void *value, FILLP_INT type, FILLP_BOOL block);
|
/foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb/include/ |
D | abs_shared_result_set.h | 49 void FillBlock(int startRowIndex, AppDataFwk::SharedBlock *block) override; 50 virtual void SetBlock(AppDataFwk::SharedBlock *block);
|