Home
last modified time | relevance | path

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

12345678

/frameworks/base/tools/stats_log_api_gen/
Dutils.h54 void write_namespace(FILE* out, const string& cppNamespaces);
56 void write_closing_namespace(FILE* out, const string& cppNamespaces);
58 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
61 void write_native_method_signature(FILE* out, const string& methodName,
65 void write_native_method_call(FILE* out, const string& methodName,
69 void write_java_atom_codes(FILE* out, const Atoms& atoms, const string& moduleName);
71 void write_java_enum_values(FILE* out, const Atoms& atoms, const string& moduleName);
73 void write_java_usage(FILE* out, const string& method_name, const string& atom_code_name,
76 int write_java_non_chained_methods(FILE* out, const map<vector<java_type_t>,
81 FILE* out,
Dnative_writer_q.h29 void write_native_cpp_includes_q(FILE* out);
31 void write_native_stats_log_cpp_globals_q(FILE* out);
33 void write_native_try_stats_write_methods_q(FILE* out, const Atoms& atoms,
36 void write_native_stats_write_methods_q(FILE* out, const string& methodName, const Atoms& atoms,
39 void write_native_try_stats_write_non_chained_methods_q(FILE* out, const Atoms& atoms,
42 void write_native_stats_write_non_chained_methods_q(FILE* out, const string& methodName,
46 void write_native_get_timestamp_ns_q(FILE* out);
Djava_writer_q.h33 void write_java_q_logging_constants(FILE* out, const string& indent);
36 FILE* out,
43 FILE * out,
48 int write_stats_log_java_q_for_module(FILE* out, const Atoms& atoms,
53 int write_stats_log_java_q(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl,
Dnative_writer_q.cpp23 static void write_native_stats_write_body_q(FILE* out, const vector<java_type_t>& signature, in write_native_stats_write_body_q()
48 void write_native_cpp_includes_q(FILE* out) { in write_native_cpp_includes_q()
60 void write_native_get_timestamp_ns_q(FILE* out) { in write_native_get_timestamp_ns_q()
70 void write_native_stats_log_cpp_globals_q(FILE* out) { in write_native_stats_log_cpp_globals_q()
85 void write_native_try_stats_write_methods_q(FILE* out, const Atoms& atoms, in write_native_try_stats_write_methods_q()
189 void write_native_stats_write_methods_q(FILE* out, const string& methodName, const Atoms& atoms, in write_native_stats_write_methods_q()
206 void write_native_stats_write_non_chained_methods_q(FILE* out, const string& methodName, in write_native_stats_write_non_chained_methods_q()
223 void write_native_try_stats_write_non_chained_methods_q(FILE* out, const Atoms& atoms, in write_native_try_stats_write_non_chained_methods_q()
Dutils.cpp117 void write_namespace(FILE* out, const string& cppNamespaces) { in write_namespace()
125 void write_closing_namespace(FILE* out, const string& cppNamespaces) { in write_closing_namespace()
133 FILE* out, const string& method_name, const string& atom_code_name, in write_cpp_usage()
168 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_native_atom_constants()
207 void write_native_method_signature(FILE* out, const string& methodName, in write_native_method_signature()
240 void write_native_method_call(FILE* out, const string& methodName, in write_native_method_call()
267 void write_java_atom_codes(FILE* out, const Atoms& atoms, const string& moduleName) { in write_java_atom_codes()
298 void write_java_enum_values(FILE* out, const Atoms& atoms, const string& moduleName) { in write_java_enum_values()
328 void write_java_usage(FILE* out, const string& method_name, const string& atom_code_name, in write_java_usage()
348 FILE* out, in write_java_non_chained_methods()
[all …]
Datoms_info_writer.h29 int write_atoms_info_cpp(FILE* out, const Atoms& atoms, const string& namespaceStr,
32 int write_atoms_info_header(FILE* out, const Atoms& atoms, const string& namespaceStr);
Dnative_writer.h29 int write_stats_log_cpp(FILE *out, const Atoms &atoms, const AtomDecl &attributionDecl,
33 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl,
Dnative_writer.cpp25 static void write_native_key_value_pairs_for_type(FILE* out, const int argIndex, in write_native_key_value_pairs_for_type()
35 static int write_native_stats_write_methods(FILE* out, const Atoms& atoms, in write_native_stats_write_methods()
163 static void write_native_stats_write_non_chained_methods(FILE* out, const Atoms& atoms, in write_native_stats_write_non_chained_methods()
202 FILE* out, in write_native_method_header()
219 int write_stats_log_cpp(FILE *out, const Atoms &atoms, const AtomDecl &attributionDecl, in write_stats_log_cpp()
262 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl, in write_stats_log_header()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dbenchmark.h32 static inline void Btrace(FILE* file, const char* name,
34 static inline void Btrace(FILE* file, const char* name);
40 static inline void BtraceData(FILE* file, const char* name,
42 static inline void BtraceData(FILE* file, const char* name, int64_t data);
55 static inline void Btrace(FILE* file, const char* name, in Btrace()
60 static inline void Btrace(FILE* file, const char* name) { in Btrace()
76 static inline void BtraceData(FILE* file, const char* name, in BtraceData()
82 static inline void BtraceData(FILE* file, const char* name, int64_t data) { in BtraceData()
/frameworks/base/tools/aapt/
DZipFile.h189 status_t write(FILE* fp);
229 status_t copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32);
231 status_t copyDataToFp(FILE* dstFp,
234 status_t copyPartialFpToFp(FILE* dstFp, FILE* srcFp, long length,
237 status_t filemove(FILE* fp, off_t dest, off_t src, size_t n);
239 status_t compressFpToFp(FILE* dstFp, FILE* srcFp,
249 FILE* mZipFp; // Zip file pointer
DZipEntry.h162 status_t initFromCDE(FILE* fp);
241 status_t read(FILE* fp);
242 status_t write(FILE* fp);
299 status_t read(FILE* fp);
300 status_t write(FILE* fp);
/frameworks/base/cmds/incidentd/src/
DIncidentService.h145 virtual status_t command(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
156 status_t cmd_help(FILE* out);
161 status_t cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
DIncidentService.cpp465 FILE* fin = fdopen(in, "r"); in onTransact()
466 FILE* fout = fdopen(out, "w"); in onTransact()
467 FILE* ferr = fdopen(err, "w"); in onTransact()
495 status_t IncidentService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in command()
523 status_t IncidentService::cmd_help(FILE* out) { in cmd_help()
534 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { in printPrivacy()
543 status_t IncidentService::cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in cmd_privacy()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp54 int32_t EncodeFrames(int32_t mode, FILE *fpInput, FILE *mFpOutput,
58 int32_t AmrnbEncoderTest::EncodeFrames(int32_t mode, FILE *fpInput, FILE *mFpOutput, in EncodeFrames()
115 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
118 FILE *fpOutput = fopen(OUTPUT_FILE, "wb"); in TEST_P()
146 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
149 FILE *fpOutput = fopen(OUTPUT_FILE, "wb"); in TEST_P()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.h30 int readLine(FILE *inputFile, char *line, int size);
32 bool checkVersion(FILE *inputFile, const char *version);
36 typedef int (*test_func_t)(FILE *inputFile, int outputFileFd);
Dtest_create_utils.cpp26 int readLine(FILE *inputFile, char *line, int size) { in readLine()
45 bool checkVersion(FILE *inputFile, const char *version) in checkVersion()
77 FILE *inputFile = nullptr; in main()
/frameworks/native/cmds/rawbu/
Dbackup.cpp173 static int write_int32(FILE* fh, int32_t val) in write_int32()
184 static int write_int64(FILE* fh, int64_t val) in write_int64()
195 static int copy_file(FILE* dest, FILE* src, off_t size, const char* destName, in copy_file()
235 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) in write_header()
255 static int backup_dir(FILE* fh, const char* srcPath) in backup_dir()
345 FILE* src = fopen(fullPath, "r"); in backup_dir()
376 FILE* fh = fopen(destPath, "w"); in backup_data()
415 static int32_t read_int32(FILE* fh, int32_t defVal) in read_int32()
426 static int64_t read_int64(FILE* fh, int64_t defVal) in read_int64()
437 static int read_header(FILE* fh, int* type, char** path, struct stat* st) in read_header()
[all …]
/frameworks/rs/
Drsg_generator.c24 void printFileHeader(FILE *f) { in printFileHeader()
42 void printVarType(FILE *f, const VarType *vt) { in printVarType()
77 void printVarTypeAndName(FILE *f, const VarType *vt) { in printVarTypeAndName()
85 void printArgList(FILE *f, const ApiEntry * api, int assumePrevious) { in printArgList()
95 void printStructures(FILE *f) { in printStructures()
119 void printFuncDecl(FILE *f, const ApiEntry *api, const char *prefix, int addContext, int isFnPtr) { in printFuncDecl()
145 void printFuncDecls(FILE *f, const char *prefix, int addContext, int externC) { in printFuncDecls()
157 void printPlaybackFuncs(FILE *f, const char *prefix) { in printPlaybackFuncs()
194 void printApiCpp(FILE *f) { in printApiCpp()
374 void printPlaybackCpp(FILE *f) { in printPlaybackCpp()
[all …]
/frameworks/av/drm/common/
DReadWriteUtils.cpp36 FILE* file = NULL; in readBytes()
58 FILE* file = NULL; in readBytes()
79 FILE* file = NULL; in writeToFile()
96 FILE* file = NULL; in appendToFile()
/frameworks/av/media/libeffects/lvm/tests/
Dsnr.cpp25 std::pair<A, A> getSignalNoise(FILE *finp, FILE *fref) { in getSignalNoise()
74 FILE *fref = fopen(argv[1], "rb"); in main()
75 FILE *finp = fopen(argv[2], "rb"); in main()
/frameworks/native/services/vr/performanced/
Dunique_file.h13 void operator()(FILE* fp) { fclose(fp); } in operator()
15 using UniqueFile = std::unique_ptr<FILE, FileDeleter>;
/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp113 int32_t DownmixExecute(downmix_cntxt_s *pDescriptor, FILE *finp, in DownmixExecute()
114 FILE *fout) { in DownmixExecute()
169 int32_t DowmixMainProcess(downmix_cntxt_s *pDescriptor, FILE *finp, in DowmixMainProcess()
170 FILE *fout) { in DowmixMainProcess()
285 FILE *finp = fopen(infile, "rb"); in main()
290 FILE *fout = fopen(outfile, "wb"); in main()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java51 private static final int FILE = 3; field in MemoryFileProvider
59 sURLMatcher.addURI("*", "file", FILE);
124 case FILE: in getType()
144 case FILE: in openFile()
/frameworks/base/core/jni/
Dandroid_os_Debug.h28 inline void safeFclose(FILE* fp) { in safeFclose()
32 using UniqueFile = std::unique_ptr<FILE, decltype(&safeFclose)>;
/frameworks/base/libs/androidfw/
DZipUtils.cpp40 explicit FileReader(FILE* fp) : Reader(), mFp(fp), mCurrentOffset(0) { in FileReader()
65 FILE* mFp;
125 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, in inflateToBuffer()
166 /*static*/ bool ZipUtils::examineGzip(FILE* fp, int* pCompressionMethod, in examineGzip()

12345678