/external/zlib/src/contrib/minizip/ |
H A D | ioapi.c | 19 #define FOPEN_FUNC(filename, mode) fopen(filename, mode) 23 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) 31 voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode) 34 return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode); 37 return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode); 87 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode)); 95 static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, int mode) argument 108 if ((filename! 113 fopen64_file_func(voidpf opaque, const void* filename, int mode) argument [all...] |
H A D | ioapi.h | 135 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); 160 typedef voidpf (ZCALLBACK *open64_file_func) OF((voidpf opaque, const void* filename, int mode)); 194 voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode)); 200 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(filename),(mode)))
|
H A D | iowin32.c | 35 voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode)); 95 voidpf ZCALLBACK win32_open64_file_func (voidpf opaque,const void* filename,int mode) argument 105 if ((filename!=NULL) && (dwDesiredAccess != 0)) 106 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); 108 if ((filename!=NULL) && (dwDesiredAccess != 0)) 111 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); 116 if ((filename!=NULL) && (dwDesiredAccess != 0)) 117 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL); 124 voidpf ZCALLBACK win32_open64_file_funcA (voidpf opaque,const void* filename,int mode) argument 133 if ((filename! 148 win32_open64_file_funcW(voidpf opaque,const void* filename,int mode) argument 168 win32_open_file_func(voidpf opaque,const char* filename,int mode) argument [all...] |
H A D | miniunz.c | 32 #define FOPEN_FUNC(filename, mode) fopen(filename, mode) 36 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) 80 filename : the filename of the file where date/time must be modified 83 void change_file_date(filename,dosdate,tmu_date) 84 const char *filename; 92 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE, 115 utime(filename, [all...] |
H A D | minizip.c | 33 #define FOPEN_FUNC(filename, mode) fopen(filename, mode) 37 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) 153 int check_exist_file(filename) 154 const char* filename; 158 ftestexist = FOPEN_FUNC(filename,"rb"); 224 int isLargeFile(const char* filename) argument 228 FILE* pFile = FOPEN_FUNC(filename, "rb"); 235 printf("File : %s is %lld bytes\n", filename, po [all...] |
H A D | mztools.c | 45 char filename[1024]; local 64 filename[0] = extra[0] = '\0'; 76 if (fnsize < sizeof(filename)) { 77 if (fread(filename, 1, fnsize, fpZip) == fnsize) { 78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) {
|
H A D | zip.c | 958 int Write_LocalFileHeader(zip64_internal* zi, const char* filename, uInt size_extrafield_local, const void* extrafield_local) argument 962 uInt size_filename = (uInt)strlen(filename); 1015 if (ZWRITE64(zi->z_filefunc,zi->filestream,filename,size_filename)!=size_filename) 1055 extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, const zip_fileinfo* zipfi, argument 1095 if (filename==NULL) 1096 filename="-"; 1103 size_filename = (uInt)strlen(filename); 1170 *(zi->ci.central_header+SIZECENTRALHEADER+i) = *(filename+i); 1187 err = Write_LocalFileHeader(zi, filename, size_extrafield_local, extrafield_local); 1265 extern int ZEXPORT zipOpenNewFileInZip4 (zipFile file, const char* filename, cons 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 [all...] |
H A D | zip.h | 120 pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on 148 const char* filename, 159 const char* filename, 172 filename : the filename in zip (if NULL, '-' without quote will be used 188 const char* filename, 201 const char* filename, 217 const char* filename, 234 const char* filename, 260 const char* filename, [all...] |
/external/zlib/src/contrib/testzlib/ |
H A D | testzlib.c | 119 int ReadFileMemory(const char* filename,long* plFileSize,unsigned char** pFilePtr)
argument 124 stream=fopen(filename, "rb");
|
/external/zopfli/src/zopfli/ |
H A D | zopfli_bin.c | 39 static void LoadFile(const char* filename, argument 45 file = fopen(filename, "rb"); 71 static void SaveFile(const char* filename, argument 73 FILE* file = fopen(filename, "wb" ); 80 outfilename: filename to write output to, or 0 to write to stdout instead 92 fprintf(stderr, "Invalid filename: %s\n", infilename); 131 const char* filename = 0; local 156 " filename + '.gz'\n" 178 filename = argv[i]; 182 outfilename = AddStrings(filename, " [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
H A D | lodepng.cpp | 349 unsigned lodepng_load_file(unsigned char** out, size_t* outsize, const char* filename) argument 358 file = fopen(filename, "rb"); 377 unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename) argument 380 file = fopen(filename, "wb" ); 4805 unsigned lodepng_decode_file(unsigned char** out, unsigned* w, unsigned* h, const char* filename, argument 4811 error = lodepng_load_file(&buffer, &buffersize, filename); 4817 unsigned lodepng_decode32_file(unsigned char** out, unsigned* w, unsigned* h, const char* filename) argument 4819 return lodepng_decode_file(out, w, h, filename, LCT_RGBA, 8); 4822 unsigned lodepng_decode24_file(unsigned char** out, unsigned* w, unsigned* h, const char* filename) argument 4824 return lodepng_decode_file(out, w, h, filename, LCT_RG 5882 lodepng_encode_file(const char* filename, const unsigned char* image, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument 5893 lodepng_encode32_file(const char* filename, const unsigned char* image, unsigned w, unsigned h) argument 5898 lodepng_encode24_file(const char* filename, const unsigned char* image, unsigned w, unsigned h) argument 6041 load_file(std::vector<unsigned char>& buffer, const std::string& filename) argument 6056 save_file(const std::vector<unsigned char>& buffer, const std::string& filename) argument 6182 decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h, const std::string& filename, LodePNGColorType colortype, unsigned bitdepth) argument 6239 encode(const std::string& filename, const unsigned char* in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument 6249 encode(const std::string& filename, const std::vector<unsigned char>& in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument [all...] |
H A D | lodepng.h | 127 Same as the other decode functions, but instead takes a filename as input. 130 const char* filename, 135 const char* filename); 139 const char* filename); 176 Same as the other encode functions, but instead takes a filename as output. 179 unsigned lodepng_encode_file(const char* filename, 184 unsigned lodepng_encode32_file(const char* filename, 188 unsigned lodepng_encode24_file(const char* filename, 208 Same as the other decode functions, but instead takes a filename as input. 211 const std::string& filename, [all...] |
/external/zopfli/src/zopflipng/ |
H A D | zopflipng_bin.cc | 26 // Returns directory path (including last slash) in dir, filename without 28 void GetFileNameParts(const std::string& filename, argument 31 size_t slashpos = filename.find_last_of("/\\"); 35 nodir = filename; 37 *dir = filename.substr(0, slashpos + 1); 38 nodir = filename.substr(slashpos + 1); 51 size_t GetFileSize(const std::string& filename) { argument 53 FILE* file = fopen(filename.c_str(), "rb"); 149 std::string user_out_filename; // output filename if no prefix is used 248 // The second filename i [all...] |
/external/webrtc/src/modules/audio_processing/aec/ |
H A D | echo_cancellation.c | 149 char filename[64]; local 150 sprintf(filename, "aec_far%d.pcm", instance_count); 151 aecpc->aec->farFile = fopen(filename, "wb"); 152 sprintf(filename, "aec_near%d.pcm", instance_count); 153 aecpc->aec->nearFile = fopen(filename, "wb"); 154 sprintf(filename, "aec_out%d.pcm", instance_count); 155 aecpc->aec->outFile = fopen(filename, "wb"); 156 sprintf(filename, "aec_out_linear%d.pcm", instance_count); 157 aecpc->aec->outLinearFile = fopen(filename, "wb"); 158 sprintf(filename, "aec_bu [all...] |
/external/webrtc/src/modules/audio_processing/ |
H A D | audio_processing_impl.cc | 480 const char filename[AudioProcessing::kMaxFilenameSize]) { 484 if (filename == NULL) { 496 if (debug_file_->OpenFile(filename, false) == -1) { 479 StartDebugRecording( const char filename[AudioProcessing::kMaxFilenameSize]) argument
|
H A D | audio_processing_impl.h | 72 virtual int StartDebugRecording(const char filename[kMaxFilenameSize]);
|
/external/webrtc/src/modules/audio_processing/interface/ |
H A D | audio_processing.h | 190 // Starts recording debugging information to a file specified by |filename|, 195 virtual int StartDebugRecording(const char filename[kMaxFilenameSize]) = 0;
|
/external/webrtc/src/modules/audio_processing/test/testsupport/ |
H A D | fileutils.cc | 154 size_t GetFileSize(std::string filename) { argument 155 FILE* f = fopen(filename.c_str(), "rb");
|
H A D | fileutils.h | 119 // name - Name of the resource file. If a plain filename (no directory path) 121 // If a directory path is prepended to the filename, a subdirectory 138 size_t GetFileSize(std::string filename);
|
/external/webrtc/src/modules/audio_processing/test/ |
H A D | unit_test.cc | 213 void WriteMessageLiteToFile(const std::string filename, argument 215 FILE* file = fopen(filename.c_str(), "wb"); 216 ASSERT_TRUE(file != NULL) << "Could not open " << filename; 230 void ReadMessageLiteFromFile(const std::string filename, argument 234 FILE* file = fopen(filename.c_str(), "rb"); 235 ASSERT_TRUE(file != NULL) << "Could not open " << filename; 975 const std::string filename = webrtc::test::OutputPath() + "debug.aec"; local 982 EXPECT_EQ(apm_->kNoError, apm_->StartDebugRecording(filename.c_str())); 988 ASSERT_TRUE(fopen(filename.c_str(), "r") != NULL); 990 ASSERT_EQ(0, remove(filename [all...] |
/external/webrtc/test/testsupport/ |
H A D | fileutils.cc | 154 size_t GetFileSize(std::string filename) { argument 155 FILE* f = fopen(filename.c_str(), "rb");
|
H A D | fileutils.h | 119 // name - Name of the resource file. If a plain filename (no directory path) 121 // If a directory path is prepended to the filename, a subdirectory 138 size_t GetFileSize(std::string filename);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | trace.c | 118 const char *filename; member in struct:bfd_data 146 &data->filename, 158 const char *filename; local 175 filename = data.filename; 176 if (filename) { 177 char *end = os_strrchr(filename, '/'); 179 while (*filename && *filename == prg_fname[i] && 180 filename < [all...] |
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_upnp_web.c | 303 struct http_request *hreq, char *filename) 328 if (os_strcasecmp(filename, UPNP_WPS_DEVICE_XML_FILE) == 0) { 342 } else if (!os_strcasecmp(filename, UPNP_WPS_SCPD_XML_FILE)) { 349 filename); 851 const char *filename) 860 if (os_strcasecmp(filename, UPNP_WPS_DEVICE_CONTROL_FILE)) { 861 wpa_printf(MSG_INFO, "WPS UPnP: Invalid POST filename %s", 862 filename); 915 const char *filename) 946 if (os_strcasecmp(filename, UPNP_WPS_DEVICE_EVENT_FIL 302 web_connection_parse_get(struct upnp_wps_device_sm *sm, struct http_request *hreq, char *filename) argument 848 web_connection_parse_post(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli, struct http_request *req, const char *filename) argument 913 web_connection_parse_subscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument 1133 web_connection_parse_unsubscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument 1273 char *filename = http_request_get_uri(req); local [all...] |
/external/wpa_supplicant_8/hs20/client/ |
H A D | osu_client.c | 1853 char filename[256]; member in struct:osu_icon 1987 snprintf(icon->filename, sizeof(icon->filename), 2257 fname, last->icon[j].filename); 2259 last->icon[j].filename, 2812 wpa_printf(MSG_INFO, "No icon filename match found for '%s'", 2815 "No icon filename match found for '%s'",
|