Home
last modified time | relevance | path

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

1234

/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 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/
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/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/host/smartperf/ide/src/hdc/common/
DObjectToMemorySize.ts51 let bytes = 0;
57 bytes += this.objectToSize(key);
63 bytes += this.objectToSize(object[key]);
65 return 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/profiler/device/plugins/native_hook/test/unittest/
Dstack_writer_test.cpp169 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/
Dmemory_plugin_result.proto92 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/
DProfileUtils.java39 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/
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/src/
Dstack_writer.cpp52 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/
Dfile_cache.cpp40 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/
DUtils.ts199 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/
Dbuffer_writer.cpp59 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/
DUtils.ts199 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/
Dutilities.h195 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/
Dutilities.h179 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/
Dfile_cache.h38 long Write(char* bytes, int32_t len);
/developtools/profiler/host/smartperf/ide/src/trace/proto/
Dcommon_types.proto23 bytes config_data = 4;
41 bytes data = 3;
/developtools/smartperf_host/ide/src/trace/proto/
Dcommon_types.proto23 bytes config_data = 4;
41 bytes data = 3;
/developtools/profiler/protos/services/
Dcommon_types.proto23 bytes config_data = 4;
42 bytes data = 3;
/developtools/smartperf_host/ide/server/
DsmarperfServer.py112 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/
Dexample.proto53 // 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/
Dcommon_types.proto23 bytes config_data = 4;
42 bytes data = 3;

1234