Home
last modified time | relevance | path

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

12

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp43 static FILE* Open(const char* filename) { in Open()
54 FILE *fp = fopen(buffer, "rb"); in Open()
62 FILE *fp = appendPath ? Open(filename) : fopen(filename, "rb"); in ReadFile()
84 FILE *fp = Open(filename); in TestEncodedInputStream()
124 FILE *fp = Open(filename); in TestAutoUTFInputStream()
166 FILE* fp = TempFile(filename); in TestEncodedOutputStream()
199 FILE* fp = TempFile(filename); in TestAutoUTFOutputStream()
Dfilestreamtest.cpp34 FILE* fp = 0; in SetUp()
69 FILE *fp = fopen(filename_, "rb"); in TEST_F()
88 FILE* fp = TempFile(filename); in TEST_F()
Ddocumenttest.cpp98 static FILE* OpenEncodedFile(const char* filename) { in OpenEncodedFile()
109 FILE *fp = fopen(buffer, "rb"); in OpenEncodedFile()
118 FILE* fp = OpenEncodedFile("utf8.json"); in TEST()
144 FILE *fp = OpenEncodedFile("utf8.json"); in TEST()
159 FILE* fp = OpenEncodedFile("utf32be.json"); in TEST()
183 FILE *fp = OpenEncodedFile("utf8.json"); in TEST()
/packages/modules/DnsResolver/
Dsethostent.cpp52 static void sethostent_r(FILE** hf) { in sethostent_r()
59 static void endhostent_r(FILE** hf) { in endhostent_r()
75 FILE* hf = NULL; in _hf_gethtbyname2()
183 FILE* hf = NULL; in _hf_gethtbyaddr()
Dgetaddrinfo.cpp147 static void _sethtent(FILE**);
148 static void _endhtent(FILE**);
149 static struct addrinfo* _gethtent(FILE**, const char*, const struct addrinfo*);
1473 static void _sethtent(FILE** hostf) { in _sethtent()
1480 static void _endhtent(FILE** hostf) { in _endhtent()
1487 static struct addrinfo* _gethtent(FILE** hostf, const char* name, const struct addrinfo* pai) { in _gethtent()
1559 FILE* hostf = nullptr; in files_getaddrinfo()
Dhostent.h45 hostent* netbsd_gethostent_r(FILE*, struct hostent*, char*, size_t, int*);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp90 /* static */ bool DictFileWritingUtils::writeBufferToFileTail(FILE *const file, in writeBufferToFileTail()
110 FILE *const file = fdopen(fd, "wb"); in flushBufferToFile()
129 /* static */ bool DictFileWritingUtils::writeBufferToFile(FILE *const file, in writeBufferToFile()
Ddict_file_writing_utils.h41 static bool writeBufferToFileTail(FILE *const file,
63 static bool writeBufferToFile(FILE *const file,
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md72 `FileReadStream` reads the file via a `FILE` pointer. And user need to provide a buffer.
80 FILE* fp = fopen("big.json", "rb"); // non-Windows use "r"
109 FILE* fp = fopen("output.json", "wb"); // non-Windows use "w"
146 FILE* fp = fopen("utf16le.json", "rb"); // non-Windows use "r"
171 FILE* fp = fopen("output_utf32le.json", "wb"); // non-Windows use "w"
199 FILE* fp = fopen("any.json", "rb"); // non-Windows use "r"
223 void WriteJSONFile(FILE* fp, UTFType type, bool putBOM, const Document& d) {
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DScheme.java29 private final static String FILE = ContentResolver.SCHEME_FILE; field in Scheme
34 return FILE.equals(uri.getScheme()); in isFile()
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp76 explicit ScopedFILE(FILE* fp) : file(fp) {} in ScopedFILE()
81 FILE* get() const { return file; }; in get()
83 FILE* const file;
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilereadstream.h37 …FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferS… in FileReadStream()
76 std::FILE* fp_;
Dfilewritestream.h31 …FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), buffer… in FileWriteStream()
81 std::FILE* fp_;
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.h72 FILE *imgfile;
181 status_t wprint_image_get_info(FILE *imgfile, wprint_image_info_t *image_info);
/packages/providers/TelephonyProvider/assets/
DREADME3 DO NOT MANUALLY EDIT THIS FILE
10 DO NOT MANUALLY EDIT THIS FILE
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp119 FILE *const file = fdopen(fd, "wb"); in flushHeaderAndDictBuffers()
146 bool Ver4DictBuffers::flushDictBuffers(FILE *const file) const { in flushDictBuffers()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp339 FILE *fp = fopen(filename_, "rb"); in TEST_F()
350 FILE *fp = fopen(filename_, "rb"); in TEST_F()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dsparse_table_dict_content.cpp27 bool SparseTableDictContent::flush(FILE *const file) const { in flush()
Dsingle_dict_content.h54 bool flush(FILE *const file) const { in flush()
Dterminal_position_lookup_table.h49 bool flushToFile(FILE *const file) const;
Dsparse_table_dict_content.h76 bool flush(FILE *const file) const;
Dlanguage_model_dict_content_global_counters.h48 bool save(FILE *const file) const { in save()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp243 FILE* fh = NULL; in saveToFile()
281 FILE* fh = NULL; in loadFromFile()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp284 FILE *imgin = NULL; in readBinaryPPM()
313 FILE *imgout = fopen(filename, "w"); in writeBinaryPPM()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DFileEncryptionPreferenceController.java67 CryptoProperties.type_values.FILE) { in updateState()

12