| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | FileUtils.java | 99 return read(new FileInputStream(file)); in readFile() 109 public static byte[] read(InputStream input) throws IOException { in read() method in FileUtils 112 int read; in read() local 113 while ((read = input.read(buffer)) != FILE_END) { in read() 114 output.write(buffer, 0, read); in read() 204 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos() 309 int read; in toByteArray() local 311 while (offset < size && (read = input.read(data, offset, size - offset)) != FILE_END) { in toByteArray() 312 offset += read; in toByteArray()
|
| /developtools/global_resource_tool/src/ |
| D | resource_table.cpp | 343 in.read(reinterpret_cast<char *>(indexHeader.version), VERSION_MAX_LEN); in ReadFileHeader() 344 in.read(reinterpret_cast<char *>(&indexHeader.fileSize), INT_TO_BYTES); in ReadFileHeader() 345 in.read(reinterpret_cast<char *>(&indexHeader.limitKeyConfigSize), INT_TO_BYTES); in ReadFileHeader() 359 in.read(reinterpret_cast<char *>(limitKey.keyTag), TAG_LEN); in ReadLimitKeys() 365 in.read(reinterpret_cast<char *>(&limitKey.offset), INT_TO_BYTES); in ReadLimitKeys() 366 in.read(reinterpret_cast<char *>(&limitKey.keyCount), INT_TO_BYTES); in ReadLimitKeys() 376 in.read(reinterpret_cast<char *>(&keyParam.keyType), INT_TO_BYTES); in ReadLimitKeys() 377 in.read(reinterpret_cast<char *>(&keyParam.value), INT_TO_BYTES); in ReadLimitKeys() 396 in.read(reinterpret_cast<char *>(idss.idTag), TAG_LEN); in ReadIdTables() 402 in.read(reinterpret_cast<char *>(&idss.idCount), INT_TO_BYTES); in ReadIdTables() [all …]
|
| /developtools/profiler/device/services/profiler_service/src/ |
| D | trace_file_reader.cpp | 45 stream_.read(reinterpret_cast<CharPtr>(&header_), sizeof(header_)); in Open() 64 stream_.read(reinterpret_cast<CharPtr>(&msgLen), sizeof(msgLen)); in Read() 73 stream_.read(msgData.data(), msgData.size()); in Read() 89 stream_.read(reinterpret_cast<CharPtr>(&dataLen), sizeof(dataLen)); in ReadLen() 103 stream_.read(reinterpret_cast<CharPtr>(buffer), bufferSize); in ReadData()
|
| /developtools/hiperf/script/ |
| D | make_diff.py | 45 all_json_base = json_file.read() 47 all_json_target = json_file.read() 50 html_str = html_file.read()
|
| D | make_report.py | 35 all_json = json_file.read() 37 html_str = html_file.read()
|
| D | make_report_sample.py | 30 print(report_file.read())
|
| /developtools/smartperf_host/ide/server/ |
| D | smarperfServer.py | 108 content = response.read().decode("utf-8") 133 post_data = self.rfile.read(content_length).decode("utf-8") 168 req_data = self.rfile.read(content_length) 192 content = file.read() 218 content = file.read()
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/process_data/ |
| D | process_plugin_result.proto | 20 // read /proc/pid/io 31 // read /proc/pid/smaps_rollup
|
| /developtools/profiler/protos/types/plugins/process_data/ |
| D | process_plugin_result.proto | 20 // read /proc/pid/io 31 // read /proc/pid/smaps_rollup
|
| /developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/process_data/ |
| D | process_plugin_result.proto | 20 // read /proc/pid/io 31 // read /proc/pid/smaps_rollup
|
| /developtools/integration_verification/DeployDevice/resource/L1/dv300/ |
| D | update.txt | 2 setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800;go 0x80000000;"
|
| /developtools/hdc/scripts/ |
| D | hdc_hash_gen.py | 37 algorithm.update(fd.read(1024 * 1024)) 39 algorithm.update(fd.read())
|
| /developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/ |
| D | liteOsUpgrade_L1_shequ_dv_app.py | 436 out = ser.read(ser.inWaiting()) 453 ret = ser.read(ser.inWaiting()) 457 ret = ser.read(ser.inWaiting()) 460 ret = ser.read(ser.inWaiting()) 463 ret = ser.read(ser.inWaiting()) 474 ret = ser.read(ser.inWaiting()) 478 ret = ser.read(ser.inWaiting())
|
| /developtools/integration_verification/DeployDevice/resource/L1/dv300_linux/ |
| D | update.txt | 2 setenv bootcmd "mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000";
|
| /developtools/integration_verification/DeployDevice/resource/L1/ev300/ |
| D | update.txt | 1 setenv bootcmd 'sf probe 0;sf read 0x40000000 0x100000 0x500000;mw 0x112c0048 1a04 1;mw 0x112c004c …
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/ |
| D | gn_common_tool.py | 66 output = os.popen(cmd).read().strip().strip('"') 110 part = os.popen(part_cmd).read().strip() 120 subsystem = os.popen(subsystem_cmd).read().strip()
|
| /developtools/profiler/hiebpf/test/ |
| D | hiebpf_test_demo.cpp | 89 read(fd, buf.data(), BUF_SIZE); in CallStack1() 90 read(fd, buf.data(), BUF_SIZE); in CallStack1()
|
| /developtools/hiperf/src/ |
| D | tracked_command.cpp | 117 nbyte = read(ackFd_, &ackSignal, 1); in StartCommand() 142 nbyte = read(startFd, &startSignal, 1); in ExecuteCommand()
|
| /developtools/integration_verification/DeployDevice/resource/L2/dv300/ |
| D | update.txt | 2 setenv bootcmd 'mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000';
|
| /developtools/integration_verification/tools/deps_guard/elf_file_mgr/ |
| D | utils.py | 37 output = pipe.read().strip()
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | ftrace_data_reader.cpp | 47 ssize_t nBytes = TEMP_FAILURE_RETRY(read(readFd_, data, size)); in Read()
|
| /developtools/profiler/device/services/profiler_service/test/unittest/ |
| D | trace_file_writer_test.cpp | 98 fin.read(reinterpret_cast<char*>(&msgLen), sizeof(msgLen)); 103 fin.read(outData.data(), outData.size()); // read into outData
|
| /developtools/profiler/build/ |
| D | make_standard_proto.py | 26 newcontent = content.read()
|
| /developtools/profiler/host/smartperf/trace_streamer/build/ |
| D | make_standard_proto.py | 25 newcontent = content.read()
|
| /developtools/smartperf_host/trace_streamer/build/ |
| D | make_standard_proto.py | 25 newcontent = content.read()
|