Home
last modified time | relevance | path

Searched defs:fp (Results 1 – 25 of 66) sorted by relevance

123

/system/libufdt/tests/src/
Dufdt_gen_test_dts.c76 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() local
Dutil.c25 static char *load_file_contents(FILE *fp, size_t *len_ptr) { in load_file_contents()
49 FILE *fp = fopen(filename, "r"); in load_file() local
/system/extras/ioshark/
Dcompile_ioshark_subr.c38 files_db_write_objects(FILE *fp) in files_db_write_objects()
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()
Dioshark_bench_subr.c424 FILE *fp; in read_disk_util_state() local
482 FILE *fp; in read_cpu_util_state() local
654 ioshark_read_header(FILE *fp, struct ioshark_header *header) in ioshark_read_header()
665 ioshark_read_file_state(FILE *fp, struct ioshark_file_state *state) in ioshark_read_file_state()
676 ioshark_read_file_op(FILE *fp, struct ioshark_file_operation *file_op) in ioshark_read_file_op()
Dioshark_bench.c54 FILE *fp; member
537 FILE *fp; in get_start_end() local
662 FILE *fp; in main() local
/system/core/logcat/tests/
Dlogcat_test.cpp79 FILE* fp; in TEST() local
119 FILE* fp; in TEST() local
184 FILE* fp; in TEST() local
218 static char* fgetLongTime(char* buffer, size_t buflen, FILE* fp) { in fgetLongTime()
254 FILE* fp; in TEST() local
280 FILE* fp; in TEST() local
314 FILE* fp; in do_tail() local
347 FILE* fp; in do_tail_time() local
464 FILE* fp; in TEST() local
499 FILE* fp[256]; // does this count as a multitude! in TEST() local
[all …]
Dlogcat_benchmark.cpp26 FILE* fp; in BM_logcat_sorted_order() local
/system/update_engine/update_manager/
Dreal_random_provider.cc47 RandomSeedVariable(const string& name, FILE* fp) in RandomSeedVariable()
82 FILE* fp = fopen(kRandomDevice, "r"); in Init() local
/system/bt/gd/os/linux_generic/
Dfiles.cc34 void HandleError(const std::string& temp_path, int* dir_fd, FILE** fp) { in HandleError()
129 FILE* fp = std::fopen(temp_path.c_str(), "wt"); in WriteToFile() local
/system/extras/simpleperf/
DCallChainJoiner.cpp177 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()
263 FILE* fp = fdopen(tmpfile->release(), "web+"); in CreateTempFp() local
398 FILE* fp; in GetNextCallChain() local
Dcmd_stat.cpp127 void CounterSummaries::Show(FILE* fp) { in Show()
137 void CounterSummaries::ShowCSV(FILE* fp, bool show_thread, bool show_cpu) { in ShowCSV()
150 void CounterSummaries::ShowText(FILE* fp, bool show_thread, bool show_cpu) { in ShowText()
557 FILE* fp = fp_holder ? fp_holder.get() : stdout; in Run() local
819 double duration_in_sec, FILE* fp) { in ShowCounters()
DSampleDisplayer.h134 void DisplayCallGraphEntry(FILE* fp, size_t depth, std::string prefix, in DisplayCallGraphEntry()
242 void PrintNames(FILE* fp) { in PrintNames()
257 void PrintSample(FILE* fp, const EntryT* sample) { in PrintSample()
Dcmd_api_test.cpp33 std::unique_ptr<FILE, decltype(&pclose)> fp(popen("ps -e", "re"), pclose); in WaitUntilAppExit() local
/system/core/liblog/tests/
Dlibc_test.cpp29 FILE* fp; in TEST() local
Dlog_radio_test.cpp94 FILE* fp = popen(buf.c_str(), "re"); in TEST() local
Dlog_system_test.cpp94 FILE* fp = popen(buf.c_str(), "re"); in TEST() local
/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp77 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("regs.txt", "w+"), &fclose); in SaveRegs() local
110 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file_name.c_str(), "w+"), &fclose); in SaveStack() local
175 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(info->name.c_str(), "r"), &fclose); in CopyElfFromFile() local
312 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData() local
/system/libziparchive/
Dzip_archive_benchmark.cpp32 FILE* fp = fdopen(result->fd, "w"); in CreateZip() local
91 FILE* fp = fdopen(file.fd, "w"); in StartAlignedEntry() local
/system/bt/osi/src/
Dconfig.cc102 FILE* fp = fopen(filename, "rt"); in config_new() local
276 FILE* fp = nullptr; in config_save() local
391 FILE* fp = nullptr; in checksum_save() local
491 static bool config_parse(FILE* fp, config_t* config) { in config_parse()
/system/bt/gd/dumpsys/bundler/
Dbundler.cc123 void WriteHeaderFile(FILE* fp, const uint8_t* data, size_t data_len) { in WriteHeaderFile()
268 FILE* fp = fopen(header.c_str(), "w+"); in WriteBundledSchema() local
Dtest.cc74 FILE* fp = fopen("/tmp/test.h", "w+"); in TEST_F() local
/system/core/libprocinfo/
Dprocess.cpp76 std::unique_ptr<FILE, decltype(&fclose)> fp(fdopen(status_fd, "r"), fclose); in GetProcessInfoFromProcPidFd() local
/system/core/libutils/
DProcessCallStack.cpp53 FILE* fp; in dumpProcessHeader() local
81 FILE* fp; in getThreadName() local
/system/core/libbacktrace/
DBacktraceMap.cpp111 FILE* fp = popen(cmd, "r"); in Build() local
/system/testing/gtest_extras/
DIsolate.cpp100 FILE* fp = popen(command.c_str(), "re"); in EnumerateTests() local
102 FILE* fp = popen(command.c_str(), "r"); in EnumerateTests() local
673 FILE* fp = fopen(options_.xml_file().c_str(), "w"); in WriteXmlResults() local

123