Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 94) sorted by relevance

1234

/developtools/profiler/device/plugins/memory_plugin/test/utresources/proc/
DdumpMem.txt93 5533 bytes, 5.40 KB (0.00 bytes is purgeable)
104 Buffer Object: 914.00 bytes (4 entries)
114 59970416 bytes, 57.19 MB (23.69 MB is purgeable)
123 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
130 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
137 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
144 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
151 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
158 3408 bytes, 3.33 KB (0.00 bytes is purgeable)
167 8367072 bytes, 7.98 MB (7.98 MB is purgeable)
[all …]
Dprocess_dmabuf_info7 Total dmabuf size of ispserver: 49152 bytes
18 Total dmabuf size of render_service: 41803776 bytes
22 Total dmabuf size of com.ohos.system: 11059200 bytes
/developtools/profiler/device/services/profiler_service/test/unittest/
Dtrace_file_reader_test.cpp75 long bytes = writer->Write(pluginData); variable
76 EXPECT_EQ(bytes, sizeof(uint32_t) + pluginData.ByteSizeLong());
77 PROFILER_LOG_INFO(LOG_CORE, "[%d/%d] write %ld bytes to %s.", i, n, bytes, path.c_str());
87 long bytes = reader->Read(data); variable
89 PROFILER_LOG_INFO(LOG_CORE, "read %ld bytes from %s", bytes, path.c_str());
110 long bytes = writer->Write(pluginData); variable
111 EXPECT_EQ(bytes, sizeof(uint32_t) + pluginData.ByteSizeLong());
112 PROFILER_LOG_INFO(LOG_CORE, "[%d/%d] write %ld bytes to %s.", i, n, bytes, path.c_str());
120 long bytes = 0; variable
123 bytes = reader->Read(data);
[all …]
/developtools/hiperf/test/unittest/resource/testdata/
Dehdr_from_readelf_3212 程序头起点: 52 (bytes into file)
13 Start of section headers: 17580 (bytes into file)
15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
Dehdr_from_readelf_6412 程序头起点: 64 (bytes into file)
13 Start of section headers: 22296 (bytes into file)
15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
/developtools/profiler/device/plugins/native_daemon/test/unittest/resource/testdata/
Dehdr_from_readelf_3212 程序头起点: 52 (bytes into file)
13 Start of section headers: 17580 (bytes into file)
15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
Dehdr_from_readelf_6412 程序头起点: 64 (bytes into file)
13 Start of section headers: 22296 (bytes into file)
15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
/developtools/smartperf_host/ide/src/hdc/common/
DObjectToMemorySize.ts51 let bytes = 0;
57 bytes += this.objectToSize(key);
63 bytes += this.objectToSize(object[key]);
65 return bytes;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DUnsignedDecimalUtil.java69 byte[] bytes = new byte[] { in setUnsignedInt()
75 bf.put(bytes); in setUnsignedInt()
85 byte[] bytes = new byte[] { in setUnsignedShort()
89 bf.put(bytes); in setUnsignedShort()
DZipEntryHeader.java123 public static ZipEntryHeader getZipEntryHeader(byte[] bytes) throws ZipException { in getZipEntryHeader() argument
125 ByteBuffer bf = ByteBuffer.wrap(bytes); in getZipEntryHeader()
149 public void readFileName(byte[] bytes) { in readFileName() argument
150 ByteBuffer bf = ByteBuffer.wrap(bytes); in readFileName()
164 public void readExtra(byte[] bytes) { in readExtra() argument
165 ByteBuffer bf = ByteBuffer.wrap(bytes); in readExtra()
DEndOfCentralDirectory.java101 public static Optional<EndOfCentralDirectory> getEOCDByBytes(byte[] bytes) { in getEOCDByBytes() argument
102 return getEOCDByBytes(bytes, 0); in getEOCDByBytes()
112 public static Optional<EndOfCentralDirectory> getEOCDByBytes(byte[] bytes, int offset) { in getEOCDByBytes() argument
114 int remainingDataLen = bytes.length - offset; in getEOCDByBytes()
118 ByteBuffer bf = ByteBuffer.wrap(bytes, offset, remainingDataLen); in getEOCDByBytes()
DDataDescriptor.java65 public static DataDescriptor getDataDescriptor(byte[] bytes) throws ZipException { in getDataDescriptor() argument
66 if (bytes.length != DES_LENGTH) { in getDataDescriptor()
69 ByteBuffer bf = ByteBuffer.wrap(bytes); in getDataDescriptor()
/developtools/profiler/protos/types/plugins/memory_data/
Dmemory_plugin_result.proto93 uint64 size = 6; // bytes
105 uint64 size = 4; // bytes
116 uint64 all_gpu_size = 2; // bytes
122 uint64 used_gpu_size = 4; // bytes
137 uint64 size = 2; // bytes
143 uint64 gpu_purgeable_size = 4; // bytes
148 uint64 size = 1; // bytes
156 uint64 total_cpu_memory_size = 1; // bytes
168 uint64 total_memory_size = 2; // bytes
180 uint64 gpu_limit_size = 9; // bytes
[all …]
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/memory_data/
Dmemory_plugin_result.proto93 uint64 size = 6; // bytes
105 uint64 size = 4; // bytes
116 uint64 used_gpu_size = 4; // bytes
121 uint64 all_gpu_size = 2; // bytes
127 uint64 size = 2; // bytes
139 uint64 gpu_purgeable_size = 4; // bytes
144 uint64 size = 1; // bytes
152 uint64 total_cpu_memory_size = 1; // bytes
164 uint64 total_memory_size = 2; // bytes
176 uint64 gpu_limit_size = 9; // bytes
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyElf.java201 byte[] bytes = FileUtils.readFile(bin); in verifyElf()
202 ElfBlockData elfSignBlockData = getElfSignBlockData(bytes); in verifyElf()
205 Map<Character, SigningBlock> signBlock = getSignBlock(bytes, elfSignBlockData); in verifyElf()
249 private ElfBlockData getElfSignBlockData(byte[] bytes) throws IOException { in getElfSignBlockData() argument
250 int offset = bytes.length - HwSignHead.SIGN_HEAD_LEN; in getElfSignBlockData()
251 byte[] magicByte = readByteArrayOffset(bytes, offset, HwSignHead.ELF_MAGIC.length); in getElfSignBlockData()
253 byte[] versionByte = readByteArrayOffset(bytes, offset, HwSignHead.VERSION.length); in getElfSignBlockData()
266 byte[] blockSizeByte = readByteArrayOffset(bytes, offset, intByteLength); in getElfSignBlockData()
268 byte[] blockNumByte = readByteArrayOffset(bytes, offset, intByteLength); in getElfSignBlockData()
275 int blockStart = bytes.length - HwSignHead.SIGN_HEAD_LEN - blockSize; in getElfSignBlockData()
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DHapInfoSegment.java105 public static HapInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
106 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
107 bf.put(bytes); in fromByteArray()
113 if (bytes.length <= MAGIC_NUM_BYTES) { in fromByteArray()
116 byte[] hapSignInfoByteArray = new byte[bytes.length - MAGIC_NUM_BYTES]; in fromByteArray()
DFsVerityInfoSegment.java118 public static FsVerityInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
119 if (bytes.length != FS_VERITY_INFO_SEGMENT_SIZE) { in fromByteArray()
122 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
123 bf.put(bytes); in fromByteArray()
DSignedFilePos.java103 public static SignedFilePos fromByteArray(byte[] bytes) { in fromByteArray() argument
104 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
105 bf.put(bytes); in fromByteArray()
DSegmentHeader.java121 public static SegmentHeader fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
122 if (bytes.length != SEGMENT_HEADER_LENGTH) { in fromByteArray()
126 bf.put(bytes); in fromByteArray()
DElfSignBlock.java167 public static ElfSignBlock fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
168 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
169 bf.put(bytes); in fromByteArray()
184 if (bytes.length != Integer.BYTES * 2 + inTreeLength + Integer.BYTES * 2 + inFsdLength) { in fromByteArray()
DCodeSignBlockHeader.java134 public static CodeSignBlockHeader fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
135 if (bytes.length != size()) { in fromByteArray()
138 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
139 bf.put(bytes); in fromByteArray()
DMerkleTreeExtension.java117 public static MerkleTreeExtension fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() argument
118 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
119 bf.put(bytes); in fromByteArray()
/developtools/hdc/hdc_rust/src/daemon/
Dsys_para.rs54 let bytes = GetParameterEx( in get_dev_item() localVariable
61 let (val, _) = output.split_at(bytes as usize); in get_dev_item()
62 println!("get param:{} bytes:{} val:{}", key, bytes, val); in get_dev_item()
63 (bytes >= 0, val.to_string()) in get_dev_item()
/developtools/ace_js2bundle/ace-loader/src/
DgenBin-plugin.js125 const bytes = str.split(',')
126 const b = Buffer.alloc(bytes.length)
127 for (let i = 0; i < bytes.length; i++) {
128 b[i] = bytes[i]
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dstack_writer_test.cpp171 long bytes = BUFFER_SIZE; variable
176 write->DoStats(bytes);
179 EXPECT_EQ((int)write->bytesCount_, bytes);
180 EXPECT_EQ((int)write->bytesPending_, bytes);
185 write->DoStats(bytes);
188 EXPECT_EQ((int)write->bytesCount_, bytes + bytes);
189 EXPECT_EQ((int)write->bytesPending_, bytes);

1234