Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 8 of 8) sorted by relevance

/system/core/adb/
Dset_verity_enable_state_service.cpp55 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state() local
57 if (!fh) { in set_verity_enabled_state()
65 if (!fh.get_verity_metadata(metadata)) { in set_verity_enabled_state()
80 if (!fh.set_verity_status(enable)) { in set_verity_enabled_state()
Dsysdeps_win32.cpp291 void operator()(struct FHRec_* fh) { in operator ()() argument
297 _fh_close(fh); in operator ()()
670 FH fh = _fh_from_int(fds[i].fd, __func__); in adb_poll() local
671 if (!fh || !fh->used || fh->clazz != &_fh_socket_class) { in adb_poll()
677 .fd = fh->u.socket, in adb_poll()
1061 unique_fh fh(_fh_alloc( &_fh_socket_class )); in adb_socket_accept() local
1062 if (!fh) { in adb_socket_accept()
1068 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen ); in adb_socket_accept()
1069 if (fh->fh_socket == INVALID_SOCKET) { in adb_socket_accept()
1077 const int fd = _fh_to_int(fh.get()); in adb_socket_accept()
[all …]
/system/extras/simpleperf/
Dgenerate_event_type_table.py117 fh = open('event_type_table.h', 'w') variable
118 fh.write(generated_str)
119 fh.close()
Dreport.py221 fh = open(report_file, 'r')
222 lines = fh.readlines()
223 fh.close()
/system/extras/libfec/include/fec/
Dio.h137 fec_handle *fh = nullptr; variable
138 int rc = fec_open(&fh, fn.c_str(), mode, flags, roots);
140 handle_.reset(fh);
/system/extras/verity/fec/
Dmain.cpp145 fec::io fh(filename, O_RDONLY, FEC_VERITY_DISABLE); in get_start() local
147 if (!fh) { in get_start()
154 if (!fh.get_ecc_metadata(data)) { in get_start()
162 if (!fh.get_verity_metadata(data)) { in get_start()
/system/core/sdcard/
Dsdcard.c849 req->getattr_flags, req->fh, hdr->nodeid, node ? node->name : "?"); in handle_getattr()
872 req->fh, req->valid, hdr->nodeid, node ? node->name : "?"); in handle_setattr()
1222 out.fh = ptr_to_id(h); in handle_open()
1232 struct handle *h = id_to_ptr(req->fh); in handle_read()
1261 struct handle *h = id_to_ptr(req->fh); in handle_write()
1316 struct handle *h = id_to_ptr(req->fh); in handle_release()
1332 struct dirhandle *dh = id_to_ptr(req->fh); in handle_fsync()
1335 struct handle *h = id_to_ptr(req->fh); in handle_fsync()
1341 id_to_ptr(req->fh), fd, is_data_sync); in handle_fsync()
1386 out.fh = ptr_to_id(h); in handle_opendir()
[all …]
/system/extras/simpleperf/runtest/
Druntest.py333 fh = open(report_file, 'r')
334 lines = fh.readlines()
335 fh.close()