Searched defs:file (Results 1 - 25 of 1831) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/
H A Dyaffs_fs.c2 * YAFFS: Yet another FFS. A NAND-flash specific file system.
14 * This is the file system front-end to YAFFS that hooks it up to
103 static ssize_t yaffs_file_write(struct file *f, const char *buf, size_t n,
107 static int yaffs_file_flush(struct file *file, fl_owner_t id);
109 static int yaffs_file_flush(struct file *file);
112 static int yaffs_sync_object(struct file *file, struct dentry *dentry,
115 static int yaffs_readdir(struct file *
453 yaffs_file_flush(struct file *file, fl_owner_t id) argument
1172 yaffs_sync_object(struct file *file, struct dentry *dentry, int datasync) argument
[all...]
/external/zlib/src/contrib/iostream/
H A Dzfstream.h22 inline int is_open() const { return (file !=NULL); }
35 gzFile file; member in class:gzfilebuf
/external/zlib/src/contrib/iostream3/
H A Dzfstream.h20 * @brief Gzipped file stream buffer class.
25 * file streambuf.
53 * @brief Check if file is open.
54 * @return True if file is open.
57 is_open() const { return (file != NULL); }
60 * @brief Open gzipped file.
70 * @brief Attach to already open gzipped file.
80 * @brief Close gzipped file.
100 * These characters can be read without accessing the gzipped file.
106 * @brief Fill get area from gzipped file
186 gzFile file; member in class:gzfilebuf
[all...]
/external/zlib/src/contrib/minizip/
H A Dioapi.c97 FILE* file = NULL; local
109 file = fopen(filename, mode_fopen);
110 return file;
115 FILE* file = NULL; local
127 file = FOPEN_FUNC((const char*)filename, mode_fopen);
128 return file;
H A Dunzip.c23 See the accompanying file LICENSE, version 2000-Apr-09 or later
36 Roger Schlafly, described by Phil Katz in the file appnote.txt. This
37 file (appnote.txt) is distributed with the PKZIP program (even in the
125 /* unz_file_info_interntal contain internal info about a file in zipfile*/
132 /* file_in_zip_read_info_s contain internal information about a file in zipfile,
172 ZPOS64_T num_file; /* number of the current file in the zipfile*/
173 ZPOS64_T pos_in_central_dir; /* pos of the current file in the central dir*/
174 ZPOS64_T current_file_ok; /* flag about the usability of the current file*/
181 unz_file_info64 cur_file_info; /* public info about the current file in zip*/
184 file i
808 unzClose(unzFile file) argument
828 unzGetGlobalInfo64(unzFile file, unz_global_info64* pglobal_info) argument
838 unzGetGlobalInfo(unzFile file, unz_global_info* pglobal_info32) argument
879 unz64local_GetCurrentFileInfoInternal(unzFile file, unz_file_info64 *pfile_info, unz_file_info64_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) argument
1124 unzGetCurrentFileInfo64(unzFile file, unz_file_info64 * pfile_info, char * szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char* szComment, uLong commentBufferSize) argument
1136 unzGetCurrentFileInfo(unzFile file, unz_file_info * pfile_info, char * szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char* szComment, uLong commentBufferSize) argument
1178 unzGoToFirstFile(unzFile file) argument
1199 unzGoToNextFile(unzFile file) argument
1232 unzLocateFile(unzFile file, const char *szFileName, int iCaseSensitivity) argument
1308 unzGetFilePos64(unzFile file, unz64_file_pos* file_pos) argument
1324 unzGetFilePos( unzFile file, unz_file_pos* file_pos) argument
1338 unzGoToFilePos64(unzFile file, const unz64_file_pos* file_pos) argument
1360 unzGoToFilePos( unzFile file, unz_file_pos* file_pos) argument
1472 unzOpenCurrentFile3(unzFile file, int* method, int* level, int raw, const char* password) argument
1641 unzOpenCurrentFile(unzFile file) argument
1646 unzOpenCurrentFilePassword(unzFile file, const char* password) argument
1651 unzOpenCurrentFile2(unzFile file, int* method, int* level, int raw) argument
1658 unzGetCurrentFileZStreamPos64( unzFile file) argument
1684 unzReadCurrentFile(unzFile file, voidp buf, unsigned len) argument
1889 unztell(unzFile file) argument
1904 unztell64(unzFile file) argument
1924 unzeof(unzFile file) argument
1956 unzGetLocalExtrafield(unzFile file, voidp buf, unsigned len) argument
2004 unzCloseCurrentFile(unzFile file) argument
2051 unzGetGlobalComment(unzFile file, char * szComment, uLong uSizeBuf) argument
2079 unzGetOffset64(unzFile file) argument
2094 unzGetOffset(unzFile file) argument
2104 unzSetOffset64(unzFile file, ZPOS64_T pos) argument
2122 unzSetOffset(unzFile file, uLong pos) argument
[all...]
H A Dzip.c14 Oct-2009 - Mathias Svensson - Added Zip64 Support when creating new file archives
140 ZPOS64_T pos_local_header; /* offset of the local header of the file
142 char* central_header; /* central header data for the current file */
144 uLong size_centralheader; /* size of the central header for cur file */
146 uLong flag; /* flag of the file currently writing */
148 int method; /* compression method of file currenty wr.*/
170 int in_opened_file_inzip; /* 1 if a file in the zip is currently writ.*/
171 curfile64_info ci; /* info on the file curretly writing */
282 Inputs a long in LSB order to the given file
890 /* now we add file i
1055 zipOpenNewFileInZip4_64(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw, int windowBits,int memLevel, int strategy, const char* password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase, int zip64) argument
1265 zipOpenNewFileInZip4(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw, int windowBits,int memLevel, int strategy, const char* password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase) argument
1281 zipOpenNewFileInZip3(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw, int windowBits,int memLevel, int strategy, const char* password, uLong crcForCrypting) argument
1296 zipOpenNewFileInZip3_64(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw, int windowBits,int memLevel, int strategy, const char* password, uLong crcForCrypting, int zip64) argument
1311 zipOpenNewFileInZip2(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw) argument
1324 zipOpenNewFileInZip2_64(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int raw, int zip64) argument
1337 zipOpenNewFileInZip64(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void*extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level, int zip64) argument
1350 zipOpenNewFileInZip(zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void*extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level) argument
1402 zipWriteInFileInZip(zipFile file,const void* buf,unsigned int len) argument
1509 zipCloseFileInZipRaw(zipFile file, uLong uncompressed_size, uLong crc32) argument
1514 zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_size, uLong crc32) argument
1750 zipCloseFileInZip(zipFile file) argument
1882 zipClose(zipFile file, const char* global_comment) argument
[all...]
/external/zlib/src/examples/
H A Dgzappend.c1 /* gzappend -- command to append to a gzip file
36 * - Simplfy and unify file operations
37 * - Finish off gzip file in gztack()
39 * - Keep gzip file clean on appended file read errors
47 gzappend takes a gzip file and appends to it, compressing files from the
48 command line or data from stdin. The gzip file is written to directly, to
49 avoid copying that file, in case it's large. Note that this results in the
50 unfriendly behavior that if gzappend fails, the gzip file is corrupted.
60 gzappend first decompresses the gzip file internall
177 } file; typedef in typeref:struct:__anon34352
[all...]
/external/zlib/src/
H A Dgzwrite.c13 /* Initialize state for writing a gzip file. Mark initialization by setting
64 /* Compress whatever is at avail_in and next_in and write to the output file.
65 Return -1 if there is an error writing to the output file, otherwise 0.
68 is true, then simply write to the output file without compressing, and
165 int ZEXPORT gzwrite(file, buf, len)
166 gzFile file;
175 if (file == NULL)
177 state = (gz_statep)file;
232 /* directly compress user buffer to file */
245 int ZEXPORT gzputc(file,
310 gzvprintf(gzFile file, const char *format, va_list va) argument
372 gzprintf(gzFile file, const char *format, ...) argument
[all...]
/external/zlib/src/test/
H A Dminigzip.c9 * full-featured gzip. No attempt is made to deal with file systems
12 * real thing. On MSDOS, use only on file names without extension
38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
40 # define SET_BINARY_MODE(file)
54 # define fileno(file) file->__file
171 FILE *file; member in struct:gzFile_s
222 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") :
224 if (gz->file
562 gzFile file; local
[all...]
/external/zopfli/src/zopfli/
H A Dzopfli_bin.c5 you may not use this file except in compliance with the License.
22 data. By default it creates a .gz file. This tool can only compress, not
37 Loads a file into a memory array.
41 FILE* file; local
45 file = fopen(filename, "rb");
46 if (!file) return;
48 fseek(file , 0 , SEEK_END);
49 *outsize = ftell(file);
50 rewind(file);
55 size_t testsize = fread(*out, 1, *outsize, file);
73 FILE* file = fopen(filename, "wb" ); local
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp27 The manual and changelog are in the header file "lodepng.h"
28 Rename this file to lodepng.cpp to use it for C++, or to lodepng.c to use it for C.
43 This source file is built up in the following large parts. The code sections
47 -C Code for PNG (file format chunks, adam7, PNG filters, color conversions, ...)
122 -They're not used in the interface, only internally in this file as static functions.
123 -As with many other structs in this file, the init and cleanup functions serve as ctor and dtor.
351 FILE* file; local
358 file = fopen(filename, "rb");
359 if(!file) return 78;
362 fseek(file ,
379 FILE* file; local
[all...]
/external/zopfli/src/zopflipng/
H A Dzopflipng_bin.cc4 // you may not use this file except in compliance with the License.
27 // extension in file, extension (including the dot) in ext
29 std::string* dir, std::string* file, std::string* ext) {
42 *file = nodir;
45 *file = nodir.substr(0, dotpos);
50 // Returns the size of the file
53 FILE* file = fopen(filename.c_str(), "rb"); local
54 if (!file) return 0;
55 fseek(file , 0 , SEEK_END);
56 size = static_cast<size_t>(ftell(file));
28 GetFileNameParts(const std::string& filename, std::string* dir, std::string* file, std::string* ext) argument
273 std::string dir, file, ext; local
324 std::string dir, file, ext; local
[all...]
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
45 // Returns true on success, false on error or end-of-file.
46 bool ReadMessageFromFile(FILE* file, argument
51 if (fread(&size, sizeof(int32_t), 1, file) != 1) {
60 if (fread(array.get(), sizeof(char), usize, file) != usize) {
80 "When a protobuf debug file is available, specify it with -pb.\n"
374 // If we're reading a protobuf file, ensure a simulation hasn't also
420 ASSERT_TRUE(NULL != pb_file) << "Unable to open protobuf file "
[all...]
H A Dunit_test.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
44 // file. This is the typical case. When the file should be updated, it can
108 ASSERT_TRUE(far_file_ != NULL) << "Could not open input file " <<
112 ASSERT_TRUE(near_file_ != NULL) << "Could not open input file " <<
215 FILE* file = fopen(filename.c_str(), "wb"); local
216 ASSERT_TRUE(file != NULL) << "Could not open " << filename;
222 ASSERT_EQ(1u, fwrite(&size, sizeof(int), 1, file));
234 FILE* file = fopen(filename.c_str(), "rb"); local
[all...]
H A Dunpack.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
14 // to unpack the file into its component parts: audio and other data.
31 DEFINE_string(input_file, "input.pcm", "The name of the input stream file.");
33 "The name of the reference output stream file.");
35 "The name of the reverse input stream file.");
36 DEFINE_string(delay_file, "delay.int32", "The name of the delay file.");
37 DEFINE_string(drift_file, "drift.int32", "The name of the drift file.");
38 DEFINE_string(level_file, "level.int32", "The name of the level file
45 ReadMessageFromFile(FILE* file, ::google::protobuf::MessageLite* msg) argument
[all...]
/external/webrtc/src/modules/audio_processing/test/testsupport/
H A Dfileutils.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
38 // The file we're looking for to identify the project root dir.
50 // Check for our file that verifies the root dir.
52 FILE* file = NULL; local
57 file = fopen(root_filename.c_str(), "r");
58 if (file != NULL) {
59 fclose(file);
99 "file an
[all...]
H A Dfileutils_unittest.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
65 FILE* file = fopen(file_it->c_str(), "wb"); local
66 ASSERT_TRUE(file != NULL) << "Failed to write file: " << file_it->c_str();
67 ASSERT_GT(fprintf(file, "%s", "Dummy data"), 0);
68 fclose(file);
142 // Change current working dir to the root of the current file system
188 ASSERT_EQ(0u, webrtc::test::GetFileSize("non-existing-file
[all...]
/external/webrtc/test/testsupport/
H A Dfileutils.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
38 // The file we're looking for to identify the project root dir.
50 // Check for our file that verifies the root dir.
52 FILE* file = NULL; local
57 file = fopen(root_filename.c_str(), "r");
58 if (file != NULL) {
59 fclose(file);
99 "file an
[all...]
H A Dfileutils_unittest.cc5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
65 FILE* file = fopen(file_it->c_str(), "wb"); local
66 ASSERT_TRUE(file != NULL) << "Failed to write file: " << file_it->c_str();
67 ASSERT_GT(fprintf(file, "%s", "Dummy data"), 0);
68 fclose(file);
142 // Change current working dir to the root of the current file system
188 ASSERT_EQ(0u, webrtc::test::GetFileSize("non-existing-file
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.h478 char file[256]; member in struct:hostapd_bss_config::hs20_icon
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wired.c79 u_int8_t file[128]; member in struct:dhcp_message
/external/wpa_supplicant_8/src/ap/
H A Dap_config.h478 char file[256]; member in struct:hostapd_bss_config::hs20_icon
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_wired.c79 u_int8_t file[128]; member in struct:dhcp_message
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_config.h478 char file[256]; member in struct:hostapd_bss_config::hs20_icon
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_wired.c79 u_int8_t file[128]; member in struct:dhcp_message

Completed in 243 milliseconds

1234567891011>>