/system/extras/ioshark/ |
D | convert_format.c | 42 int fileno; member 78 int fileno; /* 1..num_files, with files name ioshark.<fileno> */ member 163 new_file_state.fileno = old_file_state.fileno; in main() 168 new_file_state.fileno = htobe64(new_file_state.fileno); in main() 206 new_disk_file_op.fileno = old_disk_file_op.fileno; in main() 207 new_disk_file_op.fileno = htobe64(new_disk_file_op.fileno); in main()
|
D | compile_ioshark_subr.c | 48 st.fileno = db_node->fileno; in files_db_write_objects() 95 db_node->fileno = current_fileno++; in files_db_add() 229 state->fileno = htobe64(state->fileno); in ioshark_write_file_state() 242 file_op->fileno = htobe64(file_op->fileno); in ioshark_write_file_op()
|
D | ioshark_bench.h | 46 int fileno; member 85 return (((struct files_db_s *)node)->fileno); in files_db_get_fileno() 131 void *files_db_lookup_byfileno(void *handle, int fileno); 132 void *files_db_add_byfileno(void *handle, int fileno, int readonly);
|
D | ioshark_bench_subr.c | 53 void *files_db_lookup_byfileno(void *handle, int fileno) in files_db_lookup_byfileno() argument 59 hash = fileno % FILE_DB_HASHSIZE; in files_db_lookup_byfileno() 62 if (db_node->fileno == fileno) in files_db_lookup_byfileno() 69 void *files_db_add_byfileno(void *handle, int fileno, int readonly) in files_db_add_byfileno() argument 71 u_int32_t hash = fileno % FILE_DB_HASHSIZE; in files_db_add_byfileno() 76 files_db_lookup_byfileno(handle, fileno); in files_db_add_byfileno() 79 db_node->fileno = fileno; in files_db_add_byfileno() 89 __func__, fileno); in files_db_add_byfileno() 669 state->fileno = be64toh(state->fileno); in ioshark_read_file_state() 682 file_op->fileno = be64toh(file_op->fileno); in ioshark_read_file_op()
|
D | compile_ioshark.h | 21 int fileno; member 62 return (((struct files_db_s *)node)->fileno); in files_db_get_fileno()
|
D | ioshark.h | 45 u_int64_t fileno; /* 1..num_files, with files name ioshark.<fileno> */ member 84 u_int64_t fileno; member
|
D | README | 57 u_int64_t fileno; 70 u_int64_t fileno;
|
D | ioshark_bench.c | 195 file_state.fileno); in create_files() 204 file_state.fileno, in create_files() 441 file_op.fileno); in do_io() 445 progname, file_op.fileno); in do_io()
|
/system/core/init/ |
D | mount_handler.cpp | 118 fileno(fp_.get()), [this]() { this->MountHandlerFunction(); }, EPOLLERR | EPOLLPRI); in MountHandler() 123 if (fp_) epoll_->UnregisterHandler(fileno(fp_.get())); in ~MountHandler()
|
/system/extras/simpleperf/ |
D | cmd_api_test.cpp | 38 if (!android::base::ReadFdToString(fileno(fp.get()), &s)) { in WaitUntilAppExit()
|
D | cmd_inject.cpp | 427 if (!branch_list_proto.SerializeToFileDescriptor(fileno(output_fp_.get()))) { in PostProcessBranchList()
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 397 new_file_name = '/dev/fd/%d' % new_part_file.fileno() 399 old_file_name = '/dev/fd/%d' % old_part_file.fileno() 406 os.set_inheritable(new_part_file.fileno(), True) 407 os.set_inheritable(old_part_file.fileno(), True)
|
/system/core/liblog/tests/ |
D | log_radio_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
D | log_system_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
D | liblog_test.cpp | 152 if (!android::base::ReadFdToString(fileno(fp), &ret)) ret = ""; in popenToString() 390 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test() 393 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test() 472 android_log_printLogLine(logformat, fileno(stderr), &entry)); in buf_write_test() 1010 android_log_printLogLine(logformat, fileno(stderr), &entry); in TEST() 2497 android_log_printLogLine(logformat, fileno(stderr), &entry); in create_android_logger()
|
/system/bt/gd/os/linux_generic/ |
D | files.cc | 151 if (fsync(fileno(fp)) != 0) { in WriteToFile()
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 214 if (fstat(fileno(fp), &sb)) { in load_policy() 223 mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fileno(fp), 0), unmap); in load_policy()
|
/system/libufdt/utils/src/ |
D | mkdtboimg.py | 310 file_size = os.fstat(self.__file.fileno()).st_size 625 params['dt_size'] = os.fstat(params['dt_file'].fileno()).st_size 859 params['dt_size'] = os.fstat(params['dt_file'].fileno()).st_size
|
/system/bt/osi/src/ |
D | config.cc | 328 if (fsync(fileno(fp)) < 0) { in config_save() 429 if (fsync(fileno(fp)) < 0) { in checksum_save()
|
/system/libziparchive/ |
D | zip_writer.cc | 97 if (fstat(fileno(f), &file_stats) == 0) { in ZipWriter() 569 if (ftruncate(fileno(file_), current_offset_) != 0) { in Finish()
|
/system/core/debuggerd/crasher/ |
D | crasher.cpp | 272 close(fileno(f)); in do_action()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 62 ReadFdToString(fileno(fp), &content); in readCommand()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 58 int nbytes = write(fileno(stderr), err_str.c_str(), err_str.length()); in MakeRegex()
|
/system/update_engine/scripts/ |
D | update_device.py | 178 stat = os.fstat(f.fileno())
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 31 return fstat(f.fileno()).st_size
|