| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | FileUtils.java | 117 return read(Files.newInputStream(file.toPath())); in readFile() 127 public static byte[] read(InputStream input) throws IOException { in read() method in FileUtils 130 int read; in read() local 131 while ((read = input.read(buffer)) != FILE_END) { in read() 132 output.write(buffer, 0, read); in read() 193 int len = input.read(buffer, 0, readLen); in writeInputToOutPut() 307 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos() 434 int read; in toByteArray() local 436 while (offset < size && (read = input.read(data, offset, size - offset)) != FILE_END) { in toByteArray() 437 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()
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | client_control.cpp | 34 read(clientSocket, buffer, numBuff); in SocketStart() 36 read(clientSocket, buffer, numBuff); in SocketStart() 57 read(clientSocket, buffer, numBuff); in SocketStop()
|
| /developtools/profiler/build/ |
| D | make_proto.py | 26 newcontent = content.read() 42 newcontent = content.read()
|
| /developtools/hdc/hdc_rust/src/transfer/ |
| D | buffer.rs | 58 let map = arc_map.read().await; in get() 80 let map = instance.read().await; in put() 94 let map = instance.read().await; in send_channel_message() 142 let map = instance.read().await; in put() 177 let map = instance.read().await; in put() 257 let map = instance.read().await; in recv()
|
| /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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
| D | VerifyCodeSignature.java | 125 signedElf.read(codeSignBlockBytes); in verifyElf() 212 fileReadOffset += signedHap.read(codeSignBlockHeaderByteArray); in generateCodeSignBlock() 220 fileReadOffset += signedHap.read(segmentHeaderByteArray); in generateCodeSignBlock() 244 fileReadOffset += signedHap.read(merkleTreeBytes); in parseMerkleTree() 247 fileReadOffset += signedHap.read(sh); in parseMerkleTree()
|
| /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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/ |
| D | SignElf.java | 121 int read; in alignFileBy4kBytes() local 122 while ((read = input.read(buffer)) != FileUtils.FILE_END) { in alignFileBy4kBytes() 123 output.write(buffer, 0, read); in alignFileBy4kBytes()
|
| /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('"') 111 part = os.popen(part_cmd).read().strip() 121 subsystem = os.popen(subsystem_cmd).read().strip()
|
| /developtools/hiperf/src/ |
| D | tracked_command.cpp | 117 nbyte = read(ackFd_, &ackSignal, 1); in StartCommand() 142 nbyte = read(startFd, &startSignal, 1); in ExecuteCommand()
|
| /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/hdc/hdc_rust/src/daemon/ |
| D | shell.rs | 93 .read(true) in get_pts() 109 fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { in read() method 110 self.inner.read(buf) in read() 185 match self.pty.read(buf) { in pty_echo()
|
| /developtools/integration_verification/DeployDevice/resource/L2/dv300/ |
| D | update.txt | 2 setenv bootcmd 'mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000';
|
| /developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/ |
| D | read_excel.py | 69 file = f.read()
|
| /developtools/integration_verification/tools/deps_guard/elf_file_mgr/ |
| D | utils.py | 37 output = pipe.read().strip()
|