Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 91) sorted by relevance

1234

/system/core/logcat/tests/
Dlogcat_test.cpp46 FILE *fp; in TEST()
76 FILE *fp; in TEST()
100 FILE *fp; in TEST()
124 FILE *fp; in TEST()
148 FILE *fp; in TEST()
172 FILE *fp; in TEST()
244 FILE *fp; in TEST()
274 FILE *fp; in TEST()
354 FILE *fp; in TEST()
423 FILE *fp; in TEST()
[all …]
/system/core/init/
Dbootchart.cpp57 static FILE* log_stat;
58 static FILE* log_procs;
59 static FILE* log_disks;
88 FILE* out = fopen(LOG_HEADER, "we"); in log_header()
102 static void do_log_uptime(FILE* log) { in do_log_uptime()
106 static void do_log_file(FILE* log, const char* procfile) { in do_log_file()
115 static void do_log_procs(FILE* log) { in do_log_procs()
/system/extras/tests/bionic/libc/other/
Dtest_zlib.c45 int def(FILE *source, FILE *dest, int level) in def()
93 int inf(FILE *source) in inf()
177 FILE* f; in main()
220 FILE* f = fopen(argv[1], "rb"); in main()
221 FILE* out = NULL; in main()
Dtest_jpeg.c136 int decompress(FILE* input_file, int dct_method, int disable_rgb) in decompress()
241 FILE* f; in main()
311 FILE* f = fopen( argv[1], "rb" ); in main()
/system/core/libnativebridge/tests/
DPreInitializeNativeBridge_test.cpp40 FILE* cpuinfo = fopen("./cpuinfo", "w"); in TEST_F()
48 FILE* proc_cpuinfo = fopen("/proc/cpuinfo", "r"); in TEST_F()
/system/extras/simpleperf/
Dutils.h30 LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader()
50 FILE* fp_;
Drecord_file.h62 RecordFileWriter(const std::string& filename, FILE* fp);
72 FILE* record_fp_;
Denvironment.cpp35 FILE* fp = fopen("/sys/devices/system/cpu/online", "re"); in GetOnlineCpus()
78 FILE* fp = fopen(symbol_file.c_str(), "re"); in ProcessKernelSymbols()
142 FILE* fp = fopen("/proc/modules", "re"); in GetLoadedModules()
253 FILE* fp = fopen(status_file.c_str(), "re"); in ReadThreadNameAndTgid()
319 FILE* fp = fopen(map_file.c_str(), "re"); in GetThreadMmapsInProcess()
/system/extras/latencytop/
Dlatencytop.c52 static struct latency_entry *read_latency_file(FILE *f, struct latency_entry *list);
53 static void erase_latency_file(FILE *f);
176 FILE *f; in read_global_stats()
234 FILE *f; in read_thread_stats()
309 FILE *f; in set_latencytop()
322 static void erase_latency_file(FILE *f) { in erase_latency_file()
326 static struct latency_entry *read_latency_file(FILE *f, struct latency_entry *list) { in read_latency_file()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Devent.h257 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
258 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
259 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
260 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
261 size_t perf_event__fprintf(union perf_event *event, FILE *fp);
/system/extras/perfprofd/
Dcpuconfig.cc66 FILE *fp = fopen(possible.c_str(), "re"); in GetNumCores()
81 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
/system/core/adb/
Dremount_service.cpp39 std::unique_ptr<FILE, int(*)(FILE*)> fp(setmntent("/proc/mounts", "r"), endmntent); in find_mount()
Dadb_auth_host.cpp159 FILE *outfile = NULL; in write_public_keyfile()
226 FILE *f = NULL; in generate_key()
276 FILE* fp = fopen(file, "r"); in read_key()
/system/extras/tests/bionic/libc/
Drun-test.sh96 for FILE in `cd $EXEC_ROOT_PATH && ls -d test_*`; do
97 TEST=`echo "$FILE" | sed -e "s!test_\(.*\)_intermediates!\\1!g"`
/system/extras/perfprofd/quipper/
Dperf_utils.h32 int64_t GetFileSizeFromHandle(FILE* fp);
43 FILE* fp = fopen(filename.c_str(), "wb"); in BufferToFile()
/system/core/include/cutils/
Dopen_memstream.h28 FILE* open_memstream(char** bufp, size_t* sizep);
/system/core/libbacktrace/
DBacktraceMap.cpp110 FILE* fp = popen(cmd, "r");
114 FILE* fp = fopen(path, "r");
Dmap_info.c71 FILE* fp = popen(cmd, "r"); in backtrace_create_map_info_list()
135 FILE* fp; in backtrace_create_map_info_list()
/system/core/libcutils/
Dopen_memstream.c223 FILE* open_memstream(char** bufp, size_t* sizep) in open_memstream()
225 FILE* fp; in open_memstream()
276 FILE *stream;
Dandroid_reboot.c37 FILE* fp; in remount_ro_done()
/system/core/debuggerd/
Dbacktrace.cpp45 FILE* fp; in dump_process_header()
75 FILE* fp; in dump_thread()
/system/extras/cpustats/
Dcpustats.c188 FILE *file; in get_cpu_count_from_file()
213 FILE *file; in get_freq_scales_count()
235 FILE *file; in read_stats()
264 FILE *file; in read_freq_stats()
/system/extras/tests/include/
DtestUtil.h49 void testPrint(FILE *stream, const char *fmt, ...);
/system/extras/verity/
Dgenerate_verity_key.c117 FILE *f = NULL; in convert_x509()
177 FILE *f = NULL; in generate_key()
/system/netd/server/
DBandwidthController.h165 static int parseForwardChainStats(SocketClient *cli, const TetherStats filter, FILE *fp,
175 static void parseAndFlushCostlyTables(FILE *fp, bool doRemove);

1234