/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | utils.h | 55 void write_namespace(FILE* out, const string& cppNamespaces); 57 void write_closing_namespace(FILE* out, const string& cppNamespaces); 59 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl); 61 void write_native_method_signature(FILE* out, const string& signaturePrefix, 65 void write_native_method_call(FILE* out, const string& methodName, 70 void write_java_atom_codes(FILE* out, const Atoms& atoms); 72 void write_java_enum_values(FILE* out, const Atoms& atoms); 74 void write_java_usage(FILE* out, const string& method_name, const string& atom_code_name, 77 int write_java_non_chained_methods(FILE* out, const SignatureInfoMap& signatureInfoMap); 79 int write_java_work_source_methods(FILE* out, const SignatureInfoMap& signatureInfoMap);
|
D | java_writer_q.h | 32 void write_java_q_logging_constants(FILE* out, const string& indent); 34 int write_java_methods_q_schema(FILE* out, const SignatureInfoMap& signatureInfoMap, 37 void write_java_helpers_for_q_schema_methods(FILE* out, const AtomDecl& attributionDecl,
|
D | rust_writer.cpp | 102 static void write_rust_method_signature(FILE* out, const char* namePrefix, in write_rust_method_signature() 161 static bool write_rust_usage(FILE* out, const string& method_name, in write_rust_usage() 179 static void write_rust_atom_constants(FILE* out, const Atoms& atoms, in write_rust_atom_constants() 210 static void write_rust_atom_constant_values(FILE* out, const shared_ptr<AtomDecl>& atomDecl) { in write_rust_atom_constant_values() 231 static void write_rust_annotation_constants(FILE* out) { in write_rust_annotation_constants() 249 static void write_annotations(FILE* out, int argIndex, const AtomDecl& atomDecl, in write_annotations() 302 static int write_rust_method_body(FILE* out, const AtomDecl& atomDecl, in write_rust_method_body() 384 static int write_rust_stats_write_method(FILE* out, const shared_ptr<AtomDecl>& atomDecl, in write_rust_stats_write_method() 402 static void write_rust_stats_write_non_chained_method(FILE* out, in write_rust_stats_write_non_chained_method() 444 static void write_rust_struct(FILE* out, const shared_ptr<AtomDecl>& atomDecl, in write_rust_struct() [all …]
|
D | utils.cpp | 137 void write_namespace(FILE* out, const string& cppNamespaces) { in write_namespace() 145 void write_closing_namespace(FILE* out, const string& cppNamespaces) { in write_closing_namespace() 152 static void write_cpp_usage(FILE* out, const string& method_name, const string& atom_code_name, in write_cpp_usage() 184 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl) { in write_native_atom_constants() 218 void write_native_method_signature(FILE* out, const string& signaturePrefix, in write_native_method_signature() 251 void write_native_method_call(FILE* out, const string& methodName, in write_native_method_call() 278 void write_java_atom_codes(FILE* out, const Atoms& atoms) { in write_java_atom_codes() 302 void write_java_enum_values(FILE* out, const Atoms& atoms) { in write_java_enum_values() 324 void write_java_usage(FILE* out, const string& method_name, const string& atom_code_name, in write_java_usage() 343 int write_java_non_chained_methods(FILE* out, const SignatureInfoMap& signatureInfoMap) { in write_java_non_chained_methods() [all …]
|
D | rust_writer.h | 26 int write_stats_log_rust(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, 29 void write_stats_log_rust_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl);
|
D | native_writer.cpp | 24 static void write_native_annotation_constants(FILE* out) { in write_native_annotation_constants() 34 static void write_annotations(FILE* out, int argIndex, in write_annotations() 90 static int write_native_method_body(FILE* out, vector<java_type_t>& signature, in write_native_method_body() 145 static int write_native_stats_write_methods(FILE* out, const SignatureInfoMap& signatureInfoMap, in write_native_stats_write_methods() 223 static void write_native_stats_write_non_chained_methods(FILE* out, in write_native_stats_write_non_chained_methods() 262 static int write_native_build_stats_event_methods(FILE* out, in write_native_build_stats_event_methods() 292 static void write_native_method_header(FILE* out, const string& methodName, in write_native_method_header() 308 int write_stats_log_cpp(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_cpp() 348 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_header()
|
D | native_writer.h | 28 int write_stats_log_cpp(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, 32 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
|
D | java_writer.cpp | 25 static int write_java_q_logger_class(FILE* out, const SignatureInfoMap& signatureInfoMap, in write_java_q_logger_class() 42 static void write_java_annotation_constants(FILE* out, const int minApiLevel, in write_java_annotation_constants() 67 static void write_annotations(FILE* out, int argIndex, in write_annotations() 116 static void write_method_signature(FILE* out, const vector<java_type_t>& signature, in write_method_signature() 135 static int write_method_body(FILE* out, const vector<java_type_t>& signature, in write_method_body() 263 static int write_java_pushed_methods(FILE* out, const SignatureInfoMap& signatureInfoMap, in write_java_pushed_methods() 321 static int write_java_pulled_methods(FILE* out, const SignatureInfoMap& signatureInfoMap, in write_java_pulled_methods() 349 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_java()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | benchmark.h | 32 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/ |
D | ZipFile.h | 189 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
|
D | ZipEntry.h | 162 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/ |
D | IncidentService.h | 156 virtual status_t command(FILE* in, FILE* out, FILE* err, Vector<String8>& args); 168 status_t cmd_help(FILE* out); 173 status_t cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
|
D | IncidentService.cpp | 515 FILE* fin = fdopen(in, "r"); in onTransact() 516 FILE* fout = fdopen(out, "w"); in onTransact() 517 FILE* ferr = fdopen(err, "w"); in onTransact() 545 status_t IncidentService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in command() 577 status_t IncidentService::cmd_help(FILE* out) { in cmd_help() 588 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { in printPrivacy() 597 status_t IncidentService::cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in cmd_privacy()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MemoryPressureUtil.java | 32 private static final String FILE = "/proc/pressure/memory"; field in MemoryPressureUtil 42 if (new File(FILE).exists()) { in currentPsiState() 44 contents.append(IoUtils.readFileAsString(FILE)); in currentPsiState() 48 Slog.e(TAG, "Could not read " + FILE, e); in currentPsiState()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.h | 30 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);
|
D | test_create_utils.cpp | 26 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/media/codecs/amrnb/enc/test/ |
D | AmrnbEncoderTest.cpp | 54 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/libeffects/lvm/tests/ |
D | snr.cpp | 25 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/av/drm/common/ |
D | ReadWriteUtils.cpp | 36 FILE* file = NULL; in readBytes() 58 FILE* file = NULL; in readBytes() 79 FILE* file = NULL; in writeToFile() 96 FILE* file = NULL; in appendToFile()
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 173 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/ |
D | rsg_generator.c | 24 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/ |
D | unique_file.h | 13 void operator()(FILE* fp) { fclose(fp); } in operator() 15 using UniqueFile = std::unique_ptr<FILE, FileDeleter>;
|
/frameworks/base/core/jni/ |
D | android_os_Debug.h | 28 inline void safeFclose(FILE* fp) { in safeFclose() 32 using UniqueFile = std::unique_ptr<FILE, decltype(&safeFclose)>;
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmixtest.cpp | 111 int32_t DownmixExecute(downmix_cntxt_s *pDescriptor, FILE *finp, in DownmixExecute() 112 FILE *fout) { in DownmixExecute() 166 int32_t DowmixMainProcess(downmix_cntxt_s *pDescriptor, FILE *finp, in DowmixMainProcess() 167 FILE *fout) { in DowmixMainProcess() 282 FILE *finp = fopen(infile, "rb"); in main() 287 FILE *fout = fopen(outfile, "wb"); in main()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 51 private static final int FILE = 3; field in MemoryFileProvider 59 sURLMatcher.addURI("*", "file", FILE); 124 case FILE: in getType() 144 case FILE: in openFile()
|