Home
last modified time | relevance | path

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

12

/trusty/user/app/storage/test/storage-unittest-aidl/unittests/
Dhelpers.rs139 let read = file in read_pattern() localVariable
140 .read(chunk_len.try_into().unwrap(), chunk_offset.try_into().unwrap()) in read_pattern()
142 if read.len() != chunk_len { in read_pattern()
145 read.len(), in read_pattern()
150 check_pattern32(chunk_offset, &*read).map_err(|e| format!("For chunk {}: {}", i, e))?; in read_pattern()
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/
Dmetrics_atoms_protoc_debug.py32 data = f_data.read()
Dmetrics_atoms_protoc_plugin.py396 data = sys.stdin.buffer.read()
/trusty/user/app/avb/test/
Dsecure_storage_fake.h27 int read(uint64_t off, void* buf, size_t size) const override { in read() function
/trusty/user/app/avb/
Davb_manager.cpp100 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in ReadRollbackIndex()
153 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in WriteRollbackIndex()
202 rc = storage_->read(0, attributes.get(), kPermanentAttributesLengthMax); in ReadPermanentAttributes()
268 rc = storage_->read(0, &lock_state, sizeof(lock_state)); in ReadLockState()
297 storage_->read(0, &stored_lock_state, sizeof(stored_lock_state)); in WriteLockState()
Dsecure_storage.h32 int read(uint64_t off, void* buf, size_t size) const override;
Dsecure_storage_interface.h49 virtual int read(uint64_t off, void* buf, size_t size) const = 0;
Dsecure_storage.cpp48 int SecureStorage::read(uint64_t off, void* buf, size_t size) const { in read() function in avb::SecureStorage
/trusty/user/app/sample/memref-test/rust/
Dmemref_test.rs81 assert_eq!(0, unsafe { remote_buf.ptr().read() }); in test_read_write()
122 assert_eq!(7, unsafe { remote_buf.ptr().read() }); in test_read_write()
123 assert_eq!(123, unsafe { remote_buf.ptr().offset(1).read() }); in test_read_write()
/trusty/user/app/confirmationui/src/
Dtrusty_operation.cpp35 using teeui::read;
151 read(FinalizeInputSessionHandshake(), in_cmd); in extendedProtocolHook()
163 auto [in_msg, event, signature] = read(DeliverInputEvent(), in_cmd); in extendedProtocolHook()
/trusty/kernel/lib/syscall/
DREADME11 fn : name of the system call. E.g, "read", "write" etc.
22 DEF_SYSCALL(0x3, read, long, 3, uint32_t fd, void* msg, uint32_t size)
39 In the table above, syscall 0x3 "read" causes sys_read() to be called,
/trusty/user/base/lib/storage/rust/src/
Dtest.rs41 let data = session.read(file_name, data).unwrap(); in read_write()
63 let result = session.read(file_name, data); in read_all_buf_too_small()
198 let contents = session.read(after_name, buf.as_mut_slice()).unwrap(); in rename_delete()
336 session.read(file_name, &mut buf), in discard_transaction()
366 session.read(file_name, &mut buf), in drop_transaction()
/trusty/user/base/lib/libc-trusty/
Dtrusty_uio.c31 ssize_t read(int fd, void* buf, size_t count) { in read() function
/trusty/user/app/storage/test/storage_host_test/
Dstorage_host_test.c91 int read, in file_test_open() argument
132 if (read) { in file_test_open()
149 ASSERT_EQ(i, read); in file_test_open()
193 int read, in file_test_etc() argument
214 file_test_open(tr, &file, allocate, read, free, id); in file_test_etc()
235 int read, in file_test() argument
240 allocate, read, free, delete, id); in file_test()
/trusty/device/arm/generic-arm64/project/qemu/
Dqemu_options.py60 dts += firmware_file.read()
Dqemu_arm64_options.py60 dts += firmware_file.read()
Dlldb_support.py113 uuid_bytes = manifest_file.read(16)
/trusty/user/base/experimental/lib/tidl/include/lib/tidl/android-base/
Dunique_fd.h206 inline bool Pipe(unique_fd_impl<Closer>* read,
241 read->reset(pipefd[0]);
/trusty/user/app/storage/
Dfile.h78 bool read,
Dfile.c374 bool read, in file_get_block_etc() argument
400 if (read) { in file_get_block_etc()
425 if (read) { in file_get_block_etc()
493 bool read, in file_get_block_write() argument
495 return (void*)file_get_block_etc(tr, file, file_block, read, true, ref); in file_get_block_write()
DREADME.md6 app). Open files support read, write, get-size and set-size operations. There is
23 non-secure OS cannot erase. Note that non-secure code can prevent read and
/trusty/user/app/storage/rpmb_dev/
Dmain.c229 ret = read(s.data_fd, &s.header, sizeof(s.header)); in main()
Drpmb_dev.c241 ret = read(s->data_fd, s->res[i].data, RPMB_PACKET_DATA_SIZE); in rpmb_dev_data_read()
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c1169 int read, in file_test_open() argument
1207 if (read) { in file_test_open()
1224 assert(i == read); in file_test_open()
1290 int read, in file_test_etc() argument
1306 file_test_open(tr, &file, allocate, read, free, id); in file_test_etc()
1326 int read, in file_test() argument
1331 read, free, delete, id); in file_test()
1341 int read, in file_test_split_tr() argument
1381 file_test_open(tr, &file[i], 0, read, 0, id); in file_test_split_tr()
1388 file_test_open(tr, &file[0], 0, read, free, id); in file_test_split_tr()
/trusty/vendor/google/aosp/scripts/
Dbuild.py65 num = int(f.read()) + 1
444 rtime = int.from_bytes(f.read(n), byteorder="little")

12