/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/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_ring_buffer.h | 99 DfxRingBufferBlock<T> block; in Read() local 120 block.SetStart(&(data[read_position])); in Read() 121 block.SetLength(reads_to_end); in Read() 127 block.SetStart(&(data[read_position])); in Read() 128 block.SetLength(num_reads_requested); in Read() 157 block.SetStart(&(data[read_position])); in Read() 158 block.SetLength(max_num_reads); in Read() 161 return block; in Read()
|
/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/hiviewdfx/hiappevent/test/unittest/common/native/ |
D | hiappevent_cache_test.cpp | 60 auto block = AppEventCache::GetInstance()->GetBlock(TEST_BLOCK); variable 61 ASSERT_NE(block, nullptr); 104 auto block = AppEventCache::GetInstance()->GetBlock(TEST_BLOCK); variable 105 ASSERT_EQ(block, nullptr); 138 auto block = AppEventCache::GetInstance()->GetBlock(TEST_BLOCK); variable 139 ASSERT_NE(block, nullptr); 144 result = block->Add(TEST_PACKAGE); 157 result = block->Take(TEST_PACKAGE.size(), packages); 162 result = block->Remove(1); 165 result = block->GetStat(statPair); [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 | 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 | 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 | 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 | 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 | 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 | 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…
|
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 | 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 | 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…
|
/base/update/updater/test/fuzztest/fuzz_src_data/ |
D | FormatPartition_fuzzer.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 | MountForPath_fuzzer.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…
|
/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/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/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 unsigned int centralDirLen = sizeof(block); in CreatTestZipFile() 95 signInfo.hapSignatureBlock.PutData(0, block, sizeof(block)); in CreatTestZipFile()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/ |
D | app_event_watcher.cpp | 51 auto block = AppEventCache::GetInstance()->GetBlock(name_); in ProcessEvent() local 52 if (block == nullptr) { in ProcessEvent() 56 if (block->Add(event) != 0) { in ProcessEvent()
|