| /developtools/profiler/device/services/profiler_service/test/unittest/ |
| D | trace_file_reader_test.cpp | 75 long bytes = writer->Write(pluginData); variable 76 EXPECT_EQ(bytes, sizeof(uint32_t) + pluginData.ByteSizeLong()); 77 HILOG_INFO(LOG_CORE, "[%d/%d] write %ld bytes to %s.", i, n, bytes, path.c_str()); 87 long bytes = reader->Read(data); variable 89 HILOG_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 HILOG_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/profiler/device/plugins/native_daemon/test/unittest/resource/testdata/ |
| D | ehdr_from_readelf_32 | 12 程序头起点: 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)
|
| D | ehdr_from_readelf_64 | 12 程序头起点: 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/hiperf/test/unittest/resource/testdata/ |
| D | ehdr_from_readelf_32 | 12 程序头起点: 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)
|
| D | ehdr_from_readelf_64 | 12 程序头起点: 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/host/smartperf/ide/src/hdc/common/ |
| D | ObjectToMemorySize.ts | 51 let bytes = 0; 57 bytes += this.objectToSize(key); 63 bytes += this.objectToSize(object[key]); 65 return bytes;
|
| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | ObjectToMemorySize.ts | 51 let bytes = 0; 57 bytes += this.objectToSize(key); 63 bytes += this.objectToSize(object[key]); 65 return bytes;
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | stack_writer_test.cpp | 169 long bytes = BUFFER_SIZE; variable 174 write->DoStats(bytes); 177 EXPECT_EQ((int)write->bytesCount_, bytes); 178 EXPECT_EQ((int)write->bytesPending_, bytes); 183 write->DoStats(bytes); 186 EXPECT_EQ((int)write->bytesCount_, bytes + bytes); 187 EXPECT_EQ((int)write->bytesPending_, bytes);
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/memory_data/ |
| D | memory_plugin_result.proto | 92 uint64 size = 6; // bytes 104 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 151 uint64 gpu_limit_size = 9; // bytes 152 uint64 gpu_used_size = 10; // bytes
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | ProfileUtils.java | 39 byte[] bytes = FileUtils.readFile(input); in getProvisionContent() 40 String json = JsonParser.parseString(new String(bytes, StandardCharsets.UTF_8)).toString(); in getProvisionContent() 41 …Provision provision = FileUtils.GSON.fromJson(new String(bytes, StandardCharsets.UTF_8), Provision… in getProvisionContent()
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | genBin-plugin.js | 125 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/src/ |
| D | stack_writer.cpp | 52 void StackWriter::DoStats(long bytes) in DoStats() argument 55 bytesCount_ += bytes; in DoStats() 56 bytesPending_ += bytes; in DoStats()
|
| /developtools/profiler/device/plugins/hilog_plugin/src/ |
| D | file_cache.cpp | 40 long FileCache::Write(char* bytes, int32_t len) in Write() argument 42 CHECK_TRUE((len >= 0) && (bytes != nullptr), -1, "FileCache:%s param invalid!", __func__); in Write() 49 size_t len = fwrite(bytes, sizeof(char), dataLen - writedLen, fp_); in Write()
|
| /developtools/smartperf_host/ide/src/trace/component/trace/base/ |
| D | Utils.ts | 199 public static getByteWithUnit(bytes: number): string { 200 if (bytes < 0) { 201 return '-' + this.getByteWithUnit(Math.abs(bytes)); 203 let currentByte = bytes; 292 public static getBinaryByteWithUnit(bytes: number): string { 293 if (bytes == 0) { 296 let currentBytes = bytes; 301 if (bytes < 0) {
|
| /developtools/profiler/device/plugins/api/src/ |
| D | buffer_writer.cpp | 59 void BufferWriter::DoStats(long bytes) in DoStats() argument 62 bytesCount_ += bytes; in DoStats() 63 bytesPending_ += bytes; in DoStats()
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/ |
| D | Utils.ts | 199 public static getByteWithUnit(bytes: number): string { 200 if (bytes < 0) { 201 return '-' + this.getByteWithUnit(Math.abs(bytes)); 203 let currentByte = bytes; 292 public static getBinaryByteWithUnit(bytes: number): string { 293 if (bytes == 0) { 296 let currentBytes = bytes;
|
| /developtools/hiperf/include/ |
| D | utilities.h | 195 char bytes[DEFAULT_STRING_BUF_SIZE]; in StringPrintf() local 196 bytes[DEFAULT_STRING_BUF_SIZE - 1] = '\0'; in StringPrintf() 203 if (snprintf_s(bytes, sizeof(bytes), sizeof(bytes) - 1, stringFormat, in StringPrintf() 209 return std::string(bytes); in StringPrintf()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | utilities.h | 179 char bytes[DEFAULT_STRING_BUF_SIZE]; in StringPrintf() local 180 bytes[DEFAULT_STRING_BUF_SIZE - 1] = '\0'; in StringPrintf() 187 if (snprintf_s(bytes, sizeof(bytes), DEFAULT_STRING_BUF_SIZE - 1, stringFormat, args...) < 0) { in StringPrintf() 192 return std::string(bytes); in StringPrintf()
|
| /developtools/profiler/device/plugins/hilog_plugin/include/ |
| D | file_cache.h | 38 long Write(char* bytes, int32_t len);
|
| /developtools/profiler/host/smartperf/ide/src/trace/proto/ |
| D | common_types.proto | 23 bytes config_data = 4; 41 bytes data = 3;
|
| /developtools/smartperf_host/ide/src/trace/proto/ |
| D | common_types.proto | 23 bytes config_data = 4; 41 bytes data = 3;
|
| /developtools/profiler/protos/services/ |
| D | common_types.proto | 23 bytes config_data = 4; 42 bytes data = 3;
|
| /developtools/smartperf_host/ide/server/ |
| D | smarperfServer.py | 112 self.wfile.write(bytes(json.dumps(response), "utf-8")) 124 self.wfile.write(bytes(json.dumps(response), "utf-8")) 128 self.wfile.write(bytes(json.dumps(response), "utf-8")) 176 self.wfile.write(bytes(f"日志写入成功", "utf-8"))
|
| /developtools/profiler/proto_encoder/example/ |
| D | example.proto | 53 // 2 LEN string, bytes, embedded messages, packed repeated fields 55 bytes LEN_bytes = 22; // maybe need identified by protoC
|
| /developtools/smartperf_host/trace_streamer/src/protos/services/ |
| D | common_types.proto | 23 bytes config_data = 4; 42 bytes data = 3;
|