/system/extras/ioshark/ |
H A D | compile_ioshark.h | 21 int fileno; member in struct:files_db_s 62 return (((struct files_db_s *)node)->fileno);
|
H A D | ioshark_bench.h | 46 int fileno; member in struct:files_db_s 85 return (((struct files_db_s *)node)->fileno); 131 void *files_db_lookup_byfileno(void *handle, int fileno); 132 void *files_db_add_byfileno(void *handle, int fileno, int readonly);
|
H A D | ioshark.h | 36 * in this table describes 1 file, indexed by fileno and with the 41 int fileno; /* 1..num_files, with files name ioshark.<fileno> */ member in struct:ioshark_file_state 76 int fileno; member in struct:ioshark_file_operation
|
H A D | compile_ioshark_subr.c | 47 st.fileno = db_node->fileno; 94 db_node->fileno = current_fileno++;
|
H A D | ioshark_bench_subr.c | 50 void *files_db_lookup_byfileno(void *handle, int fileno) argument 56 hash = fileno % FILE_DB_HASHSIZE; 59 if (db_node->fileno == fileno) 66 void *files_db_add_byfileno(void *handle, int fileno, int readonly) argument 68 u_int32_t hash = fileno % FILE_DB_HASHSIZE; 73 files_db_lookup_byfileno(handle, fileno); 76 db_node->fileno = fileno; 85 "%s: Node to be added already exists fileno [all...] |
H A D | ioshark_bench.c | 194 file_state.fileno); 203 file_state.fileno, 414 * First open and pre-create all the files. Indexed by fileno. 441 file_op.fileno); 444 "%s Can't lookup fileno %d, fatal error\n", 445 progname, file_op.fileno);
|
H A D | compile_ioshark.c | 579 disk_file_op->fileno = files_db_get_fileno(db_node);
|
/system/core/logcat/tests/ |
H A D | exec_benchmark.cpp | 29 android::base::ReadFdToString(fileno(fp), &ret); 44 android::base::ReadFdToString(fileno(fp), &ret);
|
H A D | logcat_test.cpp | 1659 bool val = android::base::ReadFdToString(fileno(fp), &ret); 1680 if (!android::base::ReadFdToString(fileno(fp), &ret)) return 0;
|
/system/core/liblog/ |
H A D | stderr_write.c | 73 if (!stderr || (fileno(stderr) < 0)) { 78 return fileno(stderr); 122 return fileno(stderr); 209 err = android_log_printLogLine(ctx->logformat, fileno(stderr), &entry);
|
H A D | fake_log_device.c | 536 int cc = writev(fileno(stderr), vec, v - vec);
|
/system/core/liblog/tests/ |
H A D | log_radio_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = "";
|
H A D | log_system_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = "";
|
H A D | liblog_test.cpp | 113 if (!android::base::ReadFdToString(fileno(fp), &ret)) ret = ""; 492 android_log_printLogLine(logformat, fileno(stderr), &entry)); 495 android_log_printLogLine(logformat, fileno(stderr), &entry)); 601 android_log_printLogLine(logformat, fileno(stderr), &entry)); 1197 android_log_printLogLine(logformat, fileno(stderr), &entry); 2881 android_log_printLogLine(logformat, fileno(stderr), &entry);
|
/system/core/logcat/ |
H A D | logcat.cpp | 90 int output_fd; // duplication of fileno(output) (below) 91 int error_fd; // duplication of fileno(error) (below) 95 FILE* output; // everything writes to fileno(output), buffer unused 169 if (context->error && (context->output_fd == fileno(context->error))) { 178 if (context->output_fd == fileno(context->output)) { 181 if (context->fds[1] == fileno(context->output)) { 189 if (context->output_fd != fileno(stdout)) { 205 if (context->output && (context->error_fd == fileno(context->output))) { 214 if (context->error_fd == fileno(context->error)) { 217 if (context->fds[1] == fileno(contex [all...] |
/system/extras/perfprofd/ |
H A D | perfprofdcore.cc | 317 dup2(pipefds[1], fileno(stderr)); 318 dup2(pipefds[1], fileno(stdout)); 560 dup2(fileno(efp), STDERR_FILENO); 561 dup2(fileno(efp), STDOUT_FILENO);
|
/system/sepolicy/tests/ |
H A D | sepol_wrap.cpp | 119 if (fstat(fileno(fp), &sb)) { 128 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fileno(fp), 0), unmap);
|
/system/update_engine/scripts/update_payload/ |
H A D | applier.py | 374 if (hasattr(new_part_file, 'fileno') and 375 ((not old_part_file) or hasattr(old_part_file, 'fileno')) and 385 new_file_name = '/dev/fd/%d' % new_part_file.fileno() 387 old_file_name = '/dev/fd/%d' % old_part_file.fileno()
|
/system/core/mkbootimg/ |
H A D | mkbootimg | 29 return fstat(f.fileno()).st_size
|
/system/update_engine/scripts/ |
H A D | update_device.py | 143 stat = os.fstat(f.fileno())
|
/system/core/libziparchive/ |
H A D | zip_writer.cc | 94 if (fstat(fileno(f), &file_stats) == 0) { 522 if (ftruncate(fileno(file_), current_offset_) != 0) {
|
/system/bt/osi/src/ |
H A D | config.cc | 356 if (fsync(fileno(fp)) < 0) {
|
/system/extras/simpleperf/ |
H A D | read_elf.cpp | 97 ElfStatus result = IsValidElfFile(fileno(fp));
|
/system/core/fastboot/ |
H A D | fastboot.cpp | 610 int fd = fileno(fp); 1395 fd = fileno(tmpfile());
|
/system/core/adb/ |
H A D | adb.cpp | 551 const int original_fd = fileno(nStdHandle == STD_OUTPUT_HANDLE ? stdout : stderr); 559 // If fileno() is -2, stdout/stderr is not associated with an output stream, so we should read,
|