Searched defs:fh (Results 1 - 5 of 5) sorted by relevance

/system/extras/simpleperf/
H A Dgenerate_event_type_table.py194 fh = open('event_type_table.h', 'w') variable
195 fh.write(generated_str)
196 fh.close()
/system/core/libappfuse/
H A DFuseAppLoop.cc177 bool FuseAppLoop::ReplyOpen(uint64_t unique, uint64_t fh) { argument
180 response.open_out.fh = fh;
/system/core/trusty/storage/lib/
H A Dstorage.c37 static inline storage_session_t _to_session(file_handle_t fh) argument
39 return (storage_session_t)(fh >> 32);
42 static inline uint32_t _to_handle(file_handle_t fh) argument
44 return (uint32_t) fh;
166 void storage_close_file(file_handle_t fh) argument
169 struct storage_file_close_req req = { .handle = _to_handle(fh)};
173 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1);
191 static int _read_chunk(file_handle_t fh, storage_off_t off, void *buf, size_t size) argument
194 struct storage_file_read_req req = { .handle = _to_handle(fh), .size = size, .offset = off };
198 ssize_t rc = send_reqv(_to_session(fh), t
202 storage_read(file_handle_t fh, storage_off_t off, void *buf, size_t size) argument
225 _write_req(file_handle_t fh, storage_off_t off, const void *buf, size_t size, uint32_t msg_flags) argument
238 storage_write(file_handle_t fh, storage_off_t off, const void *buf, size_t size, uint32_t opflags) argument
268 storage_set_file_size(file_handle_t fh, storage_off_t file_size, uint32_t opflags) argument
279 storage_get_file_size(file_handle_t fh, storage_off_t *size_p) argument
[all...]
/system/extras/libfec/include/fec/
H A Dio.h138 fec_handle *fh = nullptr; local
139 int rc = fec_open(&fh, fn.c_str(), mode, flags, roots);
141 handle_.reset(fh);
/system/core/adb/
H A Dsysdeps_win32.cpp229 void operator()(struct FHRec_* fh) { argument
235 _fh_close(fh);
533 FH fh = _fh_from_int(fds[i].fd, __func__); local
534 if (!fh || !fh->used || fh->clazz != &_fh_socket_class) {
540 .fd = fh->u.socket,
928 unique_fh fh(_fh_alloc( &_fh_socket_class ));
929 if (!fh) {
935 fh
954 FH fh = _fh_from_int(fd, __func__); local
979 FH fh = _fh_from_int(fd, __func__); local
1088 FH fh = _fh_from_int(fd, __func__); local
1113 FH fh = _fh_from_int(fd, __func__); local
[all...]

Completed in 107 milliseconds