/base/update/updater/services/diffpatch/diff/ |
D | image_diff.cpp | 35 static size_t GetHeaderSize(const ImageBlock &block) in GetHeaderSize() argument 37 switch (block.type) { in GetHeaderSize() 43 return sizeof(uint32_t) + sizeof(uint32_t) + block.newInfo.length; in GetHeaderSize() 70 ImageBlock block = { in MakePatch() local 75 updateBlocks_.push_back(std::move(block)); in MakePatch() 96 ImageBlock block = { in SplitImage() local 101 updateBlocks_.push_back(std::move(block)); in SplitImage() 104 ImageBlock block = { in SplitImage() local 109 updateBlocks_.push_back(std::move(block)); in SplitImage() 114 std::fstream &blockPatchFile, size_t &dataOffset, ImageBlock &block) const in WriteHeader() [all …]
|
/base/startup/appspawn/interfaces/innerkits_new/client/ |
D | appspawn_msg.c | 64 AppSpawnMsgBlock *block = (AppSpawnMsgBlock *)calloc(1, MAX_MSG_BLOCK_LEN); in CreateAppSpawnMsgBlock() local 65 APPSPAWN_CHECK(block != NULL, return NULL, "Failed to create block"); in CreateAppSpawnMsgBlock() 66 OH_ListInit(&block->node); in CreateAppSpawnMsgBlock() 67 block->blockSize = MAX_MSG_BLOCK_LEN - sizeof(AppSpawnMsgBlock); in CreateAppSpawnMsgBlock() 68 block->currentIndex = 0; in CreateAppSpawnMsgBlock() 69 OH_ListAddTail(&reqNode->msgBlocks, &block->node); in CreateAppSpawnMsgBlock() 70 return block; in CreateAppSpawnMsgBlock() 75 AppSpawnMsgBlock *block = NULL; in GetValidMsgBlock() local 78 block = ListEntry(node, AppSpawnMsgBlock, node); in GetValidMsgBlock() 79 if ((block->blockSize - block->currentIndex) >= realLen) { in GetValidMsgBlock() [all …]
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_ring_buffer.h | 97 DfxRingBufferBlock<T> block; in Read() local 118 block.SetStart(&(data[readPosition])); in Read() 119 block.SetLength(readsToEnd); in Read() 125 block.SetStart(&(data[readPosition])); in Read() 126 block.SetLength(numReadsRequested); in Read() 155 block.SetStart(&(data[readPosition])); in Read() 156 block.SetLength(maxNumReads); in Read() 159 return block; in Read()
|
D | dfx_fault_stack.cpp | 73 auto block = CreateMemoryBlock(startAddr, prevSp, size, name); in AdjustAndCreateMemoryBlock() local 74 blocks_.push_back(block); in AdjustAndCreateMemoryBlock() 175 for (const auto& block : blocks_) { in Print() local 176 if (end != 0 && end < block.startAddr) { in Print() 179 end = PrintMemoryBlock(block, stackStartAddr); in Print() 248 auto block = CreateMemoryBlock(data, 0, COUNT, name); in CollectRegistersBlock() local 249 registerBlocks_.push_back(block); in CollectRegistersBlock() 260 for (const auto& block : registerBlocks_) { in PrintRegisterMemory() local 261 uintptr_t targetAddr = block.startAddr; in PrintRegisterMemory() 262 DfxRingBufferWrapper::GetInstance().AppendMsg(block.name + ":\n"); in PrintRegisterMemory() [all …]
|
/base/update/updater/test/unittest/test_data/updater/ |
D | fstab.updater | 4 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 5 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 6 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ext4 nosuid,nodev,noatime,barrier=1,da… 7 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie… 8 /dev/block/platform/soc/10100000.himci.eMMC/by-name/misc /misc none none wait 9 /dev/block/platform/soc/100f0000.himci.SD/mmcblk1p1 /sdcard vfat rw wait
|
/base/update/updater/test/unittest/applypatch_test/ |
D | blockset_unittest.cpp | 45 BlockSet block(std::vector<BlockPair> {BlockPair{0, 1}}); 47 size_t countOfRanges = block.CountOfRanges(); 49 auto itBegin = block.Begin(); 50 auto itEnd = block.End(); 51 auto itCBegin = block.CBegin(); 52 auto itCEnd = block.CEnd(); 53 auto itCrBegin = block.CrBegin(); 54 auto itCrEnd = block.CrEnd(); 65 auto ret = block.VerifySha256(buffer, block.TotalBlockSize(), sha256); 72 BlockSet block(std::vector<BlockPair> {BlockPair{0, 1}}); [all …]
|
/base/update/updater/test/unittest/test_data/mount_unitest/ |
D | FormatPartition1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos / ext4 nosuid,nodev,noatime,barrier=1,data=… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ntfs nosuid,nodev,noatime,barrie… 18 /dev/block/platform/soc/10100000.himci.eMMC/by-name/misc /misc f2fs ro,barrier=1 wait
|
D | GetMountStatusForPath1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ext4 nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie… 18 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata1 /data/mount2 ext4 ro,barrier=1 wait
|
D | ReadFstabFromFile3.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | SetupPartitions2.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system / ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /tmp ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/misc /misc ext4 ro,barrier=1 wait
|
D | ReadFstabFromFile2.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | ReadFstabFromFile1.fstable | 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 18 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | MountForPath1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/misc /misc ext4 ro,barrier=1 wait 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data1 ntfs nosuid,nodev,noatime,barri…
|
D | GetMountFlags1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | FindFstabItemForPath1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | FindFstabItemForMountPoint1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | ReadFstabFromFile5.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | ReadFstabFromFile4.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ntfs nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | GetBlockDeviceByMountPoint1.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ext4 nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
D | GetItemForMountPoint2.fstable | 14 /dev/block/platform/soc/10100000.himci.eMMC/by-name/system /system ext4 ro,barrier=1 wait 15 /dev/block/platform/soc/10100000.himci.eMMC/by-name/vendor /vendor ext4 ro,barrier=1 wait 16 /dev/block/platform/soc/10100000.himci.eMMC/by-name/hos /hos ext4 nosuid,nodev,noatime,barrier=1,da… 17 /dev/block/platform/soc/10100000.himci.eMMC/by-name/userdata /data ext4 nosuid,nodev,noatime,barrie…
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest018/ |
D | last_kmsg | 223 <14>[ 4.392541] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0->/dev/block/platform… 224 <14>[ 4.394557] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p12->/dev/block/platf… 225 <14>[ 4.394630] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p12->/dev/block/by-na… 226 <14>[ 4.396690] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p9->/dev/block/platfo… 227 <14>[ 4.396773] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p9->/dev/block/by-nam… 228 <14>[ 4.398932] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p10->/dev/block/platf… 229 <14>[ 4.399009] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p10->/dev/block/by-na… 230 <14>[ 4.401270] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p7->/dev/block/platfo… 231 <14>[ 4.401322] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p7->/dev/block/by-nam… 232 <14>[ 4.403273] [pid=231][ueventd][INFO][dfx_qic]:ymlink /dev/block/mmcblk0p5->/dev/block/platfo… [all …]
|
/base/update/updater/services/script/script_interpreter/ |
D | script_yacc.y | 111 %type <UScriptStatementList*> block statement_list 129 function_definition: FUNCTION IDENTIFIER LP arglist RP block 134 FUNCTION IDENTIFIER LP RP block 311 block:LC RC 343 …atement: FOR LP expression_option SEMICOLON expression_option SEMICOLON expression_option RP block 348 while_statement: WHILE LP expression_option RP block 353 if_statement: IF LP expression RP block 357 | IF LP expression RP block ELSE if_statement 361 | IF LP expression RP block ELSE block
|
/base/update/updater/services/diffpatch/ |
D | diff_main.cpp | 24 int block; member 49 diffParams.block = atoi(optarg); in main() 60 if (diffParams.block != 1) { in main()
|
/base/security/selinux_adapter/sepolicy/ohos_policy/hiviewdfx/hiview/system/ |
D | foundation.te | 23 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 24 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 25 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 26 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 27 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 28 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 30 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 31 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 32 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… 33 …966 comm="/system/bin/sa_main" path="/data/log/eventlog/freeze" dev="/dev/block/platform/fa500000.… [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | hap_signing_block_utils_test.cpp | 53 char block[TEST_FILE_BLOCK_LENGTH] = {0}; in CreatTestZipFile() local 56 hapFile.write(block, sizeof(block)); in CreatTestZipFile() 66 hapFile.write(block, sizeof(block)); in CreatTestZipFile() 70 … long long signBlockSize = (sizeof(HapSubSignBlockHead) + sizeof(block)) * TEST_FILE_BLOCK_COUNT + in CreatTestZipFile() 80 hapFile.write(block, sizeof(block)); in CreatTestZipFile() 85 uint32_t centralDirLen = sizeof(block); in CreatTestZipFile() 95 signInfo.hapSignatureBlock.PutData(0, block, sizeof(block)); in CreatTestZipFile()
|