Home
last modified time | relevance | path

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

1234567

/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);
DIndentPrinter.h6 explicit IndentPrinter(FILE* stream, int indentSize=2)
56 FILE* mStream;
DSourcePos.cpp29 void print(FILE* to) const;
66 ErrorPos::print(FILE* to) const in print()
156 SourcePos::printErrors(FILE* to) in printErrors()
/frameworks/base/cmds/incidentd/src/
DIncidentService.h142 virtual status_t command(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
154 status_t cmd_help(FILE* out);
159 status_t cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
DIncidentService.cpp433 FILE* fin = fdopen(in, "r"); in onTransact()
434 FILE* fout = fdopen(out, "w"); in onTransact()
435 FILE* ferr = fdopen(err, "w"); in onTransact()
463 status_t IncidentService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in command()
491 status_t IncidentService::cmd_help(FILE* out) { in cmd_help()
502 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { in printPrivacy()
511 status_t IncidentService::cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in cmd_privacy()
/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/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/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/native/services/vr/performanced/
Dunique_file.h13 void operator()(FILE* fp) { fclose(fp); } in operator()
15 using UniqueFile = std::unique_ptr<FILE, FileDeleter>;
/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/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/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/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()
/frameworks/base/libs/androidfw/include/androidfw/
DZipUtils.h39 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen,
62 static bool examineGzip(FILE* fp, int* pCompressionMethod,
/frameworks/rs/script_api/
DScanner.h29 FILE* mFile;
65 Scanner(const std::string& fileName, FILE* file);
/frameworks/native/cmds/dumpstate/
Ddumpstate.h449 std::unique_ptr<FILE, int (*)(FILE*)> zip_file{nullptr, fclose};
540 bool redirect_to_socket(FILE* redirect, const char* service);
547 bool redirect_to_file(FILE* redirect, char* path);
554 bool redirect_to_existing_file(FILE* redirect, char* path);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.h103 FILE *PcmInPtr;
104 FILE *PcmOutPtr;
/frameworks/native/services/gpuservice/
DGpuService.cpp139 FILE* outs = fdopen(out, "w"); in cmdHelp()
151 void vkjsonPrint(FILE* out) { in vkjsonPrint()
158 FILE* outs = fdopen(out, "w"); in cmdVkjson()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.cc67 FILE* file = fopen(name.c_str(), "rb"); in ReadFileToString()
86 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFile()
104 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFileOrDie()
/frameworks/ex/framesequence/jni/
DStream.h65 FileStream(FILE* fd) : mFd(fd) {} in FileStream()
71 FILE* mFd;

1234567