Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 149) sorted by relevance

123456

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java117 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/
Dresource_table.cpp343 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/
Dtrace_file_reader.cpp45 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/
Dmake_diff.py45 all_json_base = json_file.read()
47 all_json_target = json_file.read()
50 html_str = html_file.read()
Dmake_report.py35 all_json = json_file.read()
37 html_str = html_file.read()
/developtools/profiler/host/smartperf/client/client_command/
Dclient_control.cpp34 read(clientSocket, buffer, numBuff); in SocketStart()
36 read(clientSocket, buffer, numBuff); in SocketStart()
57 read(clientSocket, buffer, numBuff); in SocketStop()
/developtools/profiler/build/
Dmake_proto.py26 newcontent = content.read()
42 newcontent = content.read()
/developtools/hdc/hdc_rust/src/transfer/
Dbuffer.rs58 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/
DsmarperfServer.py108 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/
Dprocess_plugin_result.proto20 // read /proc/pid/io
31 // read /proc/pid/smaps_rollup
/developtools/profiler/protos/types/plugins/process_data/
Dprocess_plugin_result.proto20 // 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/
DVerifyCodeSignature.java125 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/
Dupdate.txt2 setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800;go 0x80000000;"
/developtools/hdc/scripts/
Dhdc_hash_gen.py37 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/
DSignElf.java121 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/
DliteOsUpgrade_L1_shequ_dv_app.py436 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/
Dupdate.txt2 setenv bootcmd "mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000";
/developtools/integration_verification/DeployDevice/resource/L1/ev300/
Dupdate.txt1 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/
Dgn_common_tool.py66 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/
Dtracked_command.cpp117 nbyte = read(ackFd_, &ackSignal, 1); in StartCommand()
142 nbyte = read(startFd, &startSignal, 1); in ExecuteCommand()
/developtools/profiler/hiebpf/test/
Dhiebpf_test_demo.cpp89 read(fd, buf.data(), BUF_SIZE); in CallStack1()
90 read(fd, buf.data(), BUF_SIZE); in CallStack1()
/developtools/hdc/hdc_rust/src/daemon/
Dshell.rs93 .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/
Dupdate.txt2 setenv bootcmd 'mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000';
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dread_excel.py69 file = f.read()
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Dutils.py37 output = pipe.read().strip()

123456