Home
last modified time | relevance | path

Searched refs:unique_file (Results 1 – 21 of 21) sorted by relevance

/external/ImageMagick/coders/
Dpwp.c140 unique_file; in ReadPWPImage() local
187 unique_file=AcquireUniqueFileResource(filename); in ReadPWPImage()
217 if (unique_file != -1) in ReadPWPImage()
218 file=fdopen(unique_file,"wb"); in ReadPWPImage()
219 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPWPImage()
271 if (unique_file != -1) in ReadPWPImage()
272 (void) close(unique_file); in ReadPWPImage()
Durl.c148 unique_file; in ReadURLImage() local
162 unique_file=AcquireUniqueFileResource(read_info->filename); in ReadURLImage()
163 if (unique_file != -1) in ReadURLImage()
164 file=fdopen(unique_file,"wb"); in ReadURLImage()
165 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadURLImage()
Dsfw.c214 unique_file; in ReadSFWImage() local
314 unique_file=AcquireUniqueFileResource(read_info->filename); in ReadSFWImage()
315 if (unique_file != -1) in ReadSFWImage()
317 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadSFWImage()
334 (void) close(unique_file); in ReadSFWImage()
Dhistogram.c342 unique_file; in WriteHISTOGRAMImage() local
348 unique_file=AcquireUniqueFileResource(filename); in WriteHISTOGRAMImage()
349 if (unique_file != -1) in WriteHISTOGRAMImage()
350 file=fdopen(unique_file,"wb"); in WriteHISTOGRAMImage()
351 if ((unique_file != -1) && (file != (FILE *) NULL)) in WriteHISTOGRAMImage()
Dpes.c439 unique_file, in ReadPESImage() local
638 unique_file=AcquireUniqueFileResource(filename); in ReadPESImage()
639 if (unique_file != -1) in ReadPESImage()
640 file=fdopen(unique_file,"wb"); in ReadPESImage()
641 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPESImage()
Dcals.c162 unique_file; in ReadCALSImage() local
254 unique_file=AcquireUniqueFileResource(filename); in ReadCALSImage()
255 if (unique_file != -1) in ReadCALSImage()
256 file=fdopen(unique_file,"wb"); in ReadCALSImage()
257 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadCALSImage()
Dpict.c1457 unique_file; in ReadPICTImage() local
1466 unique_file=AcquireUniqueFileResource(filename); in ReadPICTImage()
1469 if (unique_file != -1) in ReadPICTImage()
1470 file=fdopen(unique_file,"wb"); in ReadPICTImage()
1471 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPICTImage()
1505 (void) close(unique_file); in ReadPICTImage()
Dtiff.c408 unique_file; in ReadGROUP4Image() local
441 unique_file=AcquireUniqueFileResource(filename); in ReadGROUP4Image()
442 if (unique_file != -1) in ReadGROUP4Image()
443 file=fdopen(unique_file,"wb"); in ReadGROUP4Image()
444 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadGROUP4Image()
2613 unique_file; in WriteGROUP4Image() local
2656 unique_file=AcquireUniqueFileResource(filename); in WriteGROUP4Image()
2657 if (unique_file != -1) in WriteGROUP4Image()
2658 file=fdopen(unique_file,"wb"); in WriteGROUP4Image()
2659 if ((unique_file == -1) || (file == (FILE *) NULL)) in WriteGROUP4Image()
Ddcm.c3854 unique_file; in ReadDCMImage() local
3876 unique_file=AcquireUniqueFileResource(filename); in ReadDCMImage()
3877 if (unique_file != -1) in ReadDCMImage()
3878 file=fdopen(unique_file,"wb"); in ReadDCMImage()
Dwmf.c124 unique_file; in ReadWMFImage() local
198 unique_file=AcquireUniqueFileResource(filename); in ReadWMFImage()
199 if (unique_file != -1) in ReadWMFImage()
200 file=fdopen(unique_file,"wb"); in ReadWMFImage()
201 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadWMFImage()
Dsvg.c3200 unique_file; in ReadSVGImage() local
3520 unique_file=AcquireUniqueFileResource(filename); in ReadSVGImage()
3521 if (unique_file != -1) in ReadSVGImage()
3522 file=fdopen(unique_file,"w"); in ReadSVGImage()
3523 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadSVGImage()
/external/swiftshader/third_party/LLVM/unittests/Support/
DPath.cpp153 fs::unique_file("file-system-test-%%-%%-%%-%%/test-directory.anchor", fd, in SetUp()
173 fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor, TempPath)); in TEST_F()
183 ASSERT_NO_ERROR(fs::unique_file("%%-%%-%%-%%.temp", FD2, TempPath2)); in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h364 error_code unique_file(const Twine &model, int &result_fd,
/external/ImageMagick/MagickCore/
Dannotate.c1913 unique_file; in RenderPostscript() local
1940 unique_file=AcquireUniqueFileResource(filename); in RenderPostscript()
1941 if (unique_file != -1) in RenderPostscript()
1942 file=fdopen(unique_file,"wb"); in RenderPostscript()
1943 if ((unique_file == -1) || (file == (FILE *) NULL)) in RenderPostscript()
Dblob.c2668 *unique_file; in InjectImageBlob() local
2709 unique_file=(FILE *) NULL; in InjectImageBlob()
2712 unique_file=fdopen(file,"wb"); in InjectImageBlob()
2713 if ((file == -1) || (unique_file == (FILE *) NULL)) in InjectImageBlob()
2723 (void) fclose(unique_file); in InjectImageBlob()
2732 SetImageInfoFile(write_info,unique_file); in InjectImageBlob()
2736 (void) fclose(unique_file); in InjectImageBlob()
Dxwindow.c1958 unique_file; in XDisplayImageInfo() local
1982 unique_file=AcquireUniqueFileResource(filename); in XDisplayImageInfo()
1983 if (unique_file != -1) in XDisplayImageInfo()
1984 file=fdopen(unique_file,"w"); in XDisplayImageInfo()
1985 if ((unique_file == -1) || (file == (FILE *) NULL)) in XDisplayImageInfo()
Ddisplay.c8959 unique_file; in XMagickCommand() local
8964 unique_file=AcquireUniqueFileResource(image_info->filename); in XMagickCommand()
8965 if (unique_file == -1) in XMagickCommand()
8970 unique_file=close(unique_file)-1; in XMagickCommand()
8976 file=fdopen(unique_file,"w"); in XMagickCommand()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc347 error_code unique_file(const Twine &model, int &result_fd,
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc525 error_code unique_file(const Twine &model, int &result_fd,
DPath.inc888 // FIXME: We should use sys::fs::unique_file() in future.
/external/ImageMagick/MagickWand/
Dmagick-image.c6094 unique_file; in MagickIdentifyImage() local
6107 unique_file=AcquireUniqueFileResource(filename); in MagickIdentifyImage()
6109 if (unique_file != -1) in MagickIdentifyImage()
6110 file=fdopen(unique_file,"wb"); in MagickIdentifyImage()
6111 if ((unique_file == -1) || (file == (FILE *) NULL)) in MagickIdentifyImage()