Home
last modified time | relevance | path

Searched refs:W_CHAR (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/libwebp/examples/
Dunicode.h31 const W_CHAR** const wargv = \
32 (const W_CHAR**)CommandLineToArgvW(GetCommandLineW(), &wargc); \
47 #define FREE_WARGV() LOCAL_FREE((W_CHAR** const)wargv)
53 #define W_CHAR wchar_t // WCHAR without underscore might already be defined. macro
56 #define WFOPEN(ARG, OPT) _wfopen((const W_CHAR*)ARG, TO_W_CHAR(OPT))
61 #define WSTRLEN(FILENAME) wcslen((const W_CHAR*)FILENAME)
62 #define WSTRCMP(FILENAME, STR) wcscmp((const W_CHAR*)FILENAME, TO_W_CHAR(STR))
63 #define WSTRRCHR(FILENAME, STR) wcsrchr((const W_CHAR*)FILENAME, TO_W_CHAR(STR))
80 #define W_CHAR char macro
Danim_dump.c40 const W_CHAR* dump_folder = TO_W_CHAR("."); in main()
41 const W_CHAR* prefix = TO_W_CHAR("dump_"); in main()
42 const W_CHAR* suffix = TO_W_CHAR("png"); in main()
89 const W_CHAR* const file = GET_WARGV(argv, c); in main()
99 W_CHAR out_file[1024]; in main()
Danim_diff.c287 WPRINTF("Dumping decoded frames in: %s\n", (const W_CHAR*)dump_folder); in main()
292 WPRINTF("Decoding file: %s\n", (const W_CHAR*)files[i]); in main()
295 (const W_CHAR*)files[i]); in main()
305 WFPRINTF(stderr, "\nFiles %s and %s differ.\n", (const W_CHAR*)files[0], in main()
306 (const W_CHAR*)files[1]); in main()
309 WPRINTF("\nFiles %s and %s are identical.\n", (const W_CHAR*)files[0], in main()
310 (const W_CHAR*)files[1]); in main()
Danim_util.c157 const W_CHAR* base_name = NULL; in DumpFrame()
158 W_CHAR* file_name = NULL; in DumpFrame()
165 base_name = (base_name == NULL) ? (const W_CHAR*)filename : base_name + 1; in DumpFrame()
168 file_name = (W_CHAR*)WebPMalloc(max_len * sizeof(*file_name)); in DumpFrame()
172 (const W_CHAR*)dump_folder, base_name, frame_num) < 0) { in DumpFrame()
228 WFPRINTF(stderr, "Error parsing image: %s\n", (const W_CHAR*)filename); in ReadAnimatedWebP()
516 gif = DGifOpenFileUnicode((const W_CHAR*)filename, NULL); in ReadAnimatedGIF()
518 WFPRINTF(stderr, "Could not read file: %s.\n", (const W_CHAR*)filename); in ReadAnimatedGIF()
524 WFPRINTF(stderr, "Could not parse image: %s.\n", (const W_CHAR*)filename); in ReadAnimatedGIF()
710 WFPRINTF(stderr, "Error reading file: %s\n", (const W_CHAR*)filename); in ReadAnimatedImage()
[all …]
Dwebpmux.c398 (const W_CHAR*)filename); in CreateMux()
408 (const W_CHAR*)filename); in WriteData()
412 WFPRINTF(stderr, "Error writing file %s!\n", (const W_CHAR*)filename); in WriteData()
415 (const W_CHAR*)filename, (int)webpdata->size); in WriteData()
622 static int ParseCommandLine(Config* config, const W_CHAR** const unicode_argv) { in ParseCommandLine()
723 LOCAL_FREE((W_CHAR** const)unicode_argv); in ParseCommandLine()
730 LOCAL_FREE((W_CHAR** const)unicode_argv); in ParseCommandLine()
830 const W_CHAR** const unicode_argv) { in InitializeConfig()
Ddwebp.c60 WFPRINTF(stderr, "Saved file %s\n", (const W_CHAR*)out_file); in SaveOutput()
71 WFPRINTF(stderr, "Error writing file %s !!\n", (const W_CHAR*)out_file); in SaveOutput()
396 WFPRINTF(stderr, "Decoded %s.", (const W_CHAR*)in_file); in main()
405 WFPRINTF(stderr, "File %s can be decoded ", (const W_CHAR*)in_file); in main()
Dcwebp.c95 (const W_CHAR*)filename); in ReadPicture()
122 (const W_CHAR*)filename); in ReadPicture()
194 WFPRINTF(stderr, "File: %s\n", (const W_CHAR*)file_name); in PrintExtraInfoLossless()
213 WFPRINTF(stderr, "File: %s\n", (const W_CHAR*)file_name); in PrintExtraInfoLossy()
975 (const W_CHAR*)in_file); in main()
1003 (const W_CHAR*)out_file); in main()
1007 WFPRINTF(stderr, "Saving file '%s'\n", (const W_CHAR*)out_file); in main()
1162 (const W_CHAR*)dump_file); in main()
Dunicode_gif.h37 static GifFileType* DGifOpenFileUnicode(const W_CHAR* file_name, int* error) { in DGifOpenFileUnicode()
Dimg2webp.c311 if (ok) WFPRINTF(stderr, "output file: %s ", (const W_CHAR*)output); in main()
Dgif2webp.c104 const W_CHAR* in_file = NULL, *out_file = NULL; in main()
Dwebpinfo.c1164 const W_CHAR* in_file = NULL; in main()
/third_party/skia/third_party/externals/libwebp/imageio/
Dimageio_util.c87 WFPRINTF(stderr, "cannot open input file '%s'\n", (const W_CHAR*)file_name); in ImgIoUtilReadFile()
98 (const W_CHAR*)file_name); in ImgIoUtilReadFile()
106 (int)file_size, (const W_CHAR*)file_name); in ImgIoUtilReadFile()
130 (const W_CHAR*)file_name); in ImgIoUtilWriteFile()
Dwebpdec.c47 WFPRINTF(stderr, "Decoding of %s failed.\n", (const W_CHAR*)in_file); in PrintWebPError()
Dimage_enc.c570 (const W_CHAR*)out_file_name); in WebPSaveImage()
/third_party/skia/third_party/externals/libwebp/extras/
Dvwebp_sdl.c70 WFPRINTF(stderr, "Error opening file: %s\n", (const W_CHAR*)file); in main()
81 WFPRINTF(stderr, "Error decoding file %s\n", (const W_CHAR*)file); in main()
Dwebp_quality.c39 if (!quiet) WPRINTF("[%s] ", (const W_CHAR*)filename); in main()
Dget_disto.c53 (const W_CHAR*)filename); in ReadPicture()