Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 81) sorted by relevance

1234

/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp35 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/
Dappspawn_msg.c64 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/
Ddfx_ring_buffer.h97 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()
Ddfx_fault_stack.cpp73 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/
Dfstab.updater4 /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/
Dblockset_unittest.cpp45 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/
DFormatPartition1.fstable14 /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
DGetMountStatusForPath1.fstable14 /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
DReadFstabFromFile3.fstable14 /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…
DSetupPartitions2.fstable14 /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
DReadFstabFromFile2.fstable14 /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…
DReadFstabFromFile1.fstable15 /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…
DMountForPath1.fstable14 /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…
DGetMountFlags1.fstable14 /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…
DFindFstabItemForPath1.fstable14 /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…
DFindFstabItemForMountPoint1.fstable14 /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…
DReadFstabFromFile5.fstable14 /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…
DReadFstabFromFile4.fstable14 /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…
DGetBlockDeviceByMountPoint1.fstable14 /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…
DGetItemForMountPoint2.fstable14 /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/
Dlast_kmsg223 <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/
Dscript_yacc.y111 %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/
Ddiff_main.cpp24 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/
Dfoundation.te23 …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/
Dhap_signing_block_utils_test.cpp53 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()

1234