/system/libufdt/utils/src/ |
D | mkdtimg.c | 23 extern void handle_usage_help(FILE *out_fp, const char *prog_name); 25 extern void handle_usage_dump(FILE *out_fp, const char *prog_name); 27 extern void handle_usage_create(FILE *out_fp, const char *prog_name); 29 extern void handle_usage_cfg_create(FILE *out_fp, const char *prog_name); 35 void (*usage)(FILE *out_fp, const char *prog_name); 61 static void print_all_commands(FILE *out_fp) { in print_all_commands() 72 static void output_all_usage(FILE *out_fp, const char *prog_name) { in output_all_usage() 85 void handle_usage_help(FILE *out_fp, const char *prog_name) { in handle_usage_help()
|
D | mkdtimg_dump.c | 39 static void *read_fdt_from_image(FILE *img_fp, in read_fdt_from_image() 59 FILE *out_fp = NULL; in write_fdt_to_file() 91 static void output_prop_int(FILE *out_fp, const char *name, uint32_t value) { in output_prop_int() 95 static void output_prop_int_cpu(FILE *out_fp, const char *name, uint32_t value) { in output_prop_int_cpu() 99 static void output_prop_hex(FILE *out_fp, const char *name, uint32_t value) { in output_prop_hex() 103 static void output_prop_str(FILE *out_fp, const char *name, const char *value) { in output_prop_str() 107 static void output_table_header(FILE *out_fp, const struct dt_table_header *header) { in output_table_header() 119 static void output_table_entry(FILE *out_fp, int index, const struct dt_table_entry *entry) { in output_table_entry() 131 static int output_fdt_info(FILE *out_fp, void *fdt, in output_fdt_info() 158 static int dump_image_from_fp(FILE *out_fp, FILE *img_fp, in dump_image_from_fp() [all …]
|
D | mkdtimg_cfg_create.c | 59 static int parse_config_entry_count(FILE *cfg_fp) { in parse_config_entry_count() 73 static int output_img_with_config(FILE *img_fp, FILE *cfg_fp) { in output_img_with_config() 122 FILE *cfg_fp = NULL; in process_command_cfg_create() 123 FILE *img_fp = NULL; in process_command_cfg_create() 161 void handle_usage_cfg_create(FILE *out_fp, const char *prog_name) { in handle_usage_cfg_create()
|
D | mkdtimg_create.c | 56 static int output_img_with_args(FILE *img_fp, int argc, char *argv[], int arg_start) { in output_img_with_args() 95 void handle_usage_create(FILE *out_fp, const char *prog_name) { in handle_usage_create() 120 FILE *img_fp = NULL; in handle_command_create()
|
/system/libufdt/tests/src/ |
D | ufdt_gen_test_dts.c | 76 static void output_header(FILE *fp, int is_plugin) { in output_header() 84 static void output_root_begin(FILE *fp, int depth) { in output_root_begin() 93 static void output_root_end(FILE *fp, int depth) { in output_root_end() 102 static void output_unused_nodes(FILE *fp, int count) { in output_unused_nodes() 109 static void output_prop_str(FILE *fp, const char *prop, const char *value) { in output_prop_str() 114 static void output_nodes(FILE *fp, int count, const char *prop, const char *value) { in output_nodes() 123 static void output_ref_nodes(FILE *fp, int start_id, int count, in output_ref_nodes() 133 static int gen_dts(FILE *fp, const struct gen_params *params) { in gen_dts() 194 FILE *fp = NULL; in main()
|
D | util.c | 25 static char *load_file_contents(FILE *fp, size_t *len_ptr) { in load_file_contents() 49 FILE *fp = fopen(filename, "r"); in load_file() 64 FILE *fout = NULL; in write_buf_to_file()
|
/system/extras/ioshark/ |
D | compile_ioshark.h | 72 void files_db_write_objects(FILE *fp); 79 int ioshark_write_header(FILE *fp, struct ioshark_header *header); 80 int ioshark_write_file_state(FILE *fp, struct ioshark_file_state *state); 81 int ioshark_write_file_op(FILE *fp, struct ioshark_file_operation *file_op);
|
D | compile_ioshark_subr.c | 38 files_db_write_objects(FILE *fp) in files_db_write_objects() 116 static FILE *filename_cache_fp; in init_filename_cache() 197 static FILE *filename_cache_fp; in store_filename_cache() 218 ioshark_write_header(FILE *fp, struct ioshark_header *header) in ioshark_write_header() 227 ioshark_write_file_state(FILE *fp, struct ioshark_file_state *state) in ioshark_write_file_state() 236 ioshark_write_file_op(FILE *fp, struct ioshark_file_operation *file_op) in ioshark_write_file_op()
|
D | ioshark_bench.h | 156 int ioshark_read_header(FILE *fp, struct ioshark_header *header); 157 int ioshark_read_file_state(FILE *fp, struct ioshark_file_state *state); 158 int ioshark_read_file_op(FILE *fp, struct ioshark_file_operation *file_op);
|
/system/tools/hidl/ |
D | hidl-gen_l.h | 30 status_t parseFile(AST* ast, std::unique_ptr<FILE, std::function<void(FILE*)>> file);
|
/system/netd/libnetdutils/include/netdutils/ |
D | UniqueFile.h | 27 void operator()(FILE* file) const; 30 using UniqueFile = std::unique_ptr<FILE, UniqueFileDtor>;
|
D | MockSyscalls.h | 65 MOCK_CONST_METHOD3(vfprintf, StatusOr<int>(FILE* file, const char* format, va_list ap)); 66 MOCK_CONST_METHOD3(vfscanf, StatusOr<int>(FILE* file, const char* format, va_list ap)); 67 MOCK_CONST_METHOD1(fclose, Status(FILE* file));
|
D | Syscalls.h | 86 virtual StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const = 0; 88 virtual StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const = 0; 90 virtual Status fclose(FILE* file) const = 0; 97 StatusOr<int> fprintf(FILE* file, const char* format, ...) const { in fprintf() 107 StatusOr<int> fscanf(FILE* file, const char* format, ...) const { in fscanf()
|
/system/core/adb/client/ |
D | fastdeploycallbacks.h | 24 DeployAgentFileCallback(FILE* outputFile, std::vector<char>* errBuffer); 33 FILE* mpOutFile;
|
/system/core/init/ |
D | bootchart.cpp | 60 static std::unique_ptr<FILE, decltype(&fclose)> fopen_unique(const char* filename, in fopen_unique() 62 std::unique_ptr<FILE, decltype(&fclose)> result(fopen(filename, mode), fclose); in fopen_unique() 93 static void log_uptime(FILE* log) { in log_uptime() 97 static void log_file(FILE* log, const char* procfile) { in log_file() 106 static void log_processes(FILE* log) { in log_processes()
|
/system/core/libnativebridge/tests/ |
D | PreInitializeNativeBridge_test.cpp | 42 FILE* cpuinfo = fopen("./cpuinfo", "w"); in TEST_F() 50 FILE* proc_cpuinfo = fopen("/proc/cpuinfo", "r"); in TEST_F()
|
/system/update_engine/update_manager/ |
D | real_random_provider.cc | 47 RandomSeedVariable(const string& name, FILE* fp) in RandomSeedVariable() 82 FILE* fp = fopen(kRandomDevice, "r"); in Init()
|
/system/netd/resolv/ |
D | sethostent.cpp | 50 static void sethostent_r(FILE** hf) { in sethostent_r() 57 static void endhostent_r(FILE** hf) { in endhostent_r() 73 FILE* hf = NULL; in _hf_gethtbyname2() 181 FILE* hf = NULL; in _hf_gethtbyaddr()
|
/system/extras/perfprofd/ |
D | cpuconfig.cc | 70 FILE *fp = fopen(possible.c_str(), "re"); in GetNumCores() 85 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 76 FILE* fp; in TEST() 116 FILE* fp; in TEST() 186 FILE* fp; in TEST() 220 static char* fgetLongTime(char* buffer, size_t buflen, FILE* fp) { in fgetLongTime() 261 FILE* fp; in TEST() 287 FILE* fp; in TEST() 321 FILE* fp; in do_tail() 354 FILE* fp; in do_tail_time() 471 FILE* fp; in TEST() 506 FILE* fp[256]; // does this count as a multitude! in TEST() [all …]
|
/system/extras/simpleperf/ |
D | CallChainJoiner.cpp | 177 static bool WriteCallChain(FILE* fp, pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in WriteCallChain() 206 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain() 232 static bool ReadCallChainInReverseOrder(FILE* fp, pid_t& pid, pid_t& tid, in ReadCallChainInReverseOrder() 261 static FILE* CreateTempFp() { in CreateTempFp() 263 FILE* fp = fdopen(tmpfile->release(), "web+"); in CreateTempFp() 332 std::unique_ptr<FILE, decltype(&fclose)> tmp_fp(CreateTempFp(), fclose); in JoinCallChains() 349 std::vector<std::pair<FILE*, FILE*>> file_pairs = { in JoinCallChains() 398 FILE* fp; in GetNextCallChain()
|
D | record_file.h | 66 RecordFileWriter(const std::string& filename, FILE* fp); 86 FILE* record_fp_; 165 RecordFileReader(const std::string& filename, FILE* fp); 175 FILE* record_fp_;
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 77 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("regs.txt", "w+"), &fclose); in SaveRegs() 110 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file_name.c_str(), "w+"), &fclose); in SaveStack() 150 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CreateElfFromMemory() 175 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(info->name.c_str(), "r"), &fclose); in CopyElfFromFile() 181 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CopyElfFromFile() 309 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_writer.h | 90 explicit ZipWriter(FILE* f); 175 FILE* file_;
|
/system/netd/libnetdutils/ |
D | UniqueFile.cpp | 25 void UniqueFileDtor::operator()(FILE* file) const { in operator ()()
|