Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dpwp.c137 unique_file; in ReadPWPImage() local
180 unique_file=AcquireUniqueFileResource(read_info->filename); in ReadPWPImage()
202 if (unique_file != -1) in ReadPWPImage()
203 file=fdopen(unique_file,"wb"); in ReadPWPImage()
204 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPWPImage()
246 if (unique_file != -1) in ReadPWPImage()
247 (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.c215 unique_file; in ReadSFWImage() local
309 unique_file=AcquireUniqueFileResource(read_info->filename); in ReadSFWImage()
310 if (unique_file != -1) in ReadSFWImage()
312 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadSFWImage()
329 (void) close(unique_file); in ReadSFWImage()
Dpes.c439 unique_file, in ReadPESImage() local
627 unique_file=AcquireUniqueFileResource(filename); in ReadPESImage()
628 if (unique_file != -1) in ReadPESImage()
629 file=fdopen(unique_file,"wb"); in ReadPESImage()
630 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPESImage()
Dhistogram.c340 unique_file; in WriteHISTOGRAMImage() local
346 unique_file=AcquireUniqueFileResource(filename); in WriteHISTOGRAMImage()
347 if (unique_file != -1) in WriteHISTOGRAMImage()
348 file=fdopen(unique_file,"wb"); in WriteHISTOGRAMImage()
349 if ((unique_file != -1) && (file != (FILE *) NULL)) in WriteHISTOGRAMImage()
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.c1397 unique_file; in ReadPICTImage() local
1406 unique_file=AcquireUniqueFileResource(read_info->filename); in ReadPICTImage()
1407 if (unique_file != -1) in ReadPICTImage()
1408 file=fdopen(unique_file,"wb"); in ReadPICTImage()
1409 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadPICTImage()
1442 (void) close(unique_file); in ReadPICTImage()
Ddcm.c3607 unique_file; in ReadDCMImage() local
3619 unique_file=AcquireUniqueFileResource(filename); in ReadDCMImage()
3620 if (unique_file != -1) in ReadDCMImage()
3621 file=fdopen(unique_file,"wb"); in ReadDCMImage()
Dtiff.c329 unique_file; in ReadGROUP4Image() local
362 unique_file=AcquireUniqueFileResource(filename); in ReadGROUP4Image()
363 if (unique_file != -1) in ReadGROUP4Image()
364 file=fdopen(unique_file,"wb"); in ReadGROUP4Image()
365 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadGROUP4Image()
2439 unique_file; in WriteGROUP4Image() local
2482 unique_file=AcquireUniqueFileResource(filename); in WriteGROUP4Image()
2483 if (unique_file != -1) in WriteGROUP4Image()
2484 file=fdopen(unique_file,"wb"); in WriteGROUP4Image()
2485 if ((unique_file == -1) || (file == (FILE *) NULL)) in WriteGROUP4Image()
Dwmf.c122 unique_file; in ReadWMFImage() local
196 unique_file=AcquireUniqueFileResource(filename); in ReadWMFImage()
197 if (unique_file != -1) in ReadWMFImage()
198 file=fdopen(unique_file,"wb"); in ReadWMFImage()
199 if ((unique_file == -1) || (file == (FILE *) NULL)) in ReadWMFImage()
Dsvg.c2797 unique_file; in ReadSVGImage() local
3128 unique_file=AcquireUniqueFileResource(filename); in ReadSVGImage()
3129 if (unique_file != -1) in ReadSVGImage()
3130 file=fdopen(unique_file,"w"); in ReadSVGImage()
3131 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/
Dblob.c1922 *unique_file; in InjectImageBlob() local
1963 unique_file=(FILE *) NULL; in InjectImageBlob()
1966 unique_file=fdopen(file,"wb"); in InjectImageBlob()
1967 if ((file == -1) || (unique_file == (FILE *) NULL)) in InjectImageBlob()
1977 (void) fclose(unique_file); in InjectImageBlob()
1986 SetImageInfoFile(write_info,unique_file); in InjectImageBlob()
1990 (void) fclose(unique_file); in InjectImageBlob()
Dannotate.c1846 unique_file; in RenderPostscript() local
1873 unique_file=AcquireUniqueFileResource(filename); in RenderPostscript()
1874 if (unique_file != -1) in RenderPostscript()
1875 file=fdopen(unique_file,"wb"); in RenderPostscript()
1876 if ((unique_file == -1) || (file == (FILE *) NULL)) in RenderPostscript()
Dxwindow.c1956 unique_file; in XDisplayImageInfo() local
1980 unique_file=AcquireUniqueFileResource(filename); in XDisplayImageInfo()
1981 if (unique_file != -1) in XDisplayImageInfo()
1982 file=fdopen(unique_file,"w"); in XDisplayImageInfo()
1983 if ((unique_file == -1) || (file == (FILE *) NULL)) in XDisplayImageInfo()
Ddisplay.c8957 unique_file; in XMagickCommand() local
8962 unique_file=AcquireUniqueFileResource(image_info->filename); in XMagickCommand()
8963 if (unique_file == -1) in XMagickCommand()
8968 unique_file=close(unique_file)-1; in XMagickCommand()
8974 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.c6044 unique_file; in MagickIdentifyImage() local
6057 unique_file=AcquireUniqueFileResource(filename); in MagickIdentifyImage()
6059 if (unique_file != -1) in MagickIdentifyImage()
6060 file=fdopen(unique_file,"wb"); in MagickIdentifyImage()
6061 if ((unique_file == -1) || (file == (FILE *) NULL)) in MagickIdentifyImage()