Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 89) sorted by relevance

1234

/libtiff-4.0.7/libtiff/
H A Dtif_dirinfo.c303 return NULL; in td_lfind()
334 tif->tif_fields = NULL; in _TIFFSetupFields()
510 TIFFField key = {0, 0, 0, TIFF_NOTYPE, 0, 0, 0, 0, 0, 0, NULL, NULL}; in TIFFFindField()
519 return NULL; in TIFFFindField()
535 TIFFField key = {0, 0, 0, TIFF_NOTYPE, 0, 0, 0, 0, 0, 0, NULL, NULL}; in _TIFFFindFieldByName()
545 return NULL; in _TIFFFindFieldByName()
626 if (fld == NULL) { in _TIFFFindOrRegisterField()
629 return NULL; in _TIFFFindOrRegisterField()
642 if (fld == NULL) in _TIFFCreateAnonField()
643 return NULL; in _TIFFCreateAnonField()
[all …]
H A Dtif_wince.c92 wchName = NULL;
97 if (NULL == wchName)
109 NULL);
159 NULL); in TIFFOpenW()
165 mbname = NULL; in TIFFOpenW()
166 mbsize = WideCharToMultiByte(CP_ACP, 0, name, -1, NULL, 0, NULL, NULL); in TIFFOpenW()
176 NULL, NULL); in TIFFOpenW()
195 LPTSTR szWideTitle = NULL; in Win32WarningHandler()
196 LPTSTR szWideMsg = NULL; in Win32WarningHandler()
243 LPTSTR szWideTitle = NULL; in Win32ErrorHandler()
[all …]
H A Dtif_win32.c79 if (!ReadFile(fd,(LPVOID)ma,n,&o,NULL)) in _tiffReadProc()
195 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, 0, NULL); in _tiffMapProc()
196 if (hMapFile == NULL) in _tiffMapProc()
200 if (*pbase == NULL) in _tiffMapProc()
281 NULL); in TIFFOpen()
322 NULL); in TIFFOpenW()
328 mbname = NULL; in TIFFOpenW()
329 mbsize = WideCharToMultiByte(CP_ACP, 0, name, -1, NULL, 0, NULL, NULL); in TIFFOpenW()
339 NULL, NULL); in TIFFOpenW()
421 if (module != NULL) in Win32WarningHandler()
[all …]
H A Dtif_extension.c71 while( psLink != NULL && strcmp(psLink->name,name) != 0 ) in TIFFGetClientInfo()
74 if( psLink != NULL ) in TIFFGetClientInfo()
77 return NULL; in TIFFGetClientInfo()
89 while( psLink != NULL && strcmp(psLink->name,name) != 0 ) in TIFFSetClientInfo()
92 if( psLink != NULL ) in TIFFSetClientInfo()
103 assert (psLink != NULL); in TIFFSetClientInfo()
106 assert (psLink->name != NULL); in TIFFSetClientInfo()
H A Dtif_unix.c242 if (errno > 0 && strerror(errno) != NULL ) { in TIFFOpen()
285 mbname = NULL; in TIFFOpenW()
286 mbsize = WideCharToMultiByte(CP_ACP, 0, name, -1, NULL, 0, NULL, NULL); in TIFFOpenW()
296 NULL, NULL); in TIFFOpenW()
299 tif = TIFFFdOpen((int)fd, (mbname != NULL) ? mbname : "<unknown>", in TIFFOpenW()
314 return ((void *) NULL); in _TIFFmalloc()
352 if (module != NULL) in unixWarningHandler()
363 if (module != NULL) in unixErrorHandler()
H A Dtif_lzw.c205 if( sp == NULL ) in LZWSetupDecode()
212 if (tif->tif_data == NULL) in LZWSetupDecode()
229 assert(sp != NULL); in LZWSetupDecode()
267 assert(sp != NULL); in LZWPreDecode()
375 assert(sp != NULL); in LZWDecode()
606 assert(sp != NULL); in LZWDecodeCompat()
798 assert(sp != NULL); in LZWSetupEncode()
817 assert(sp != NULL); in LZWPreEncode()
895 if (sp == NULL) in LZWEncode()
1111 tif->tif_data = NULL; in LZWCleanup()
[all …]
H A Dtif_zip.c102 assert(sp != NULL); in ZIPSetupDecode()
129 assert(sp != NULL); in ZIPPreDecode()
155 assert(sp != NULL); in ZIPDecode()
209 assert(sp != NULL); in ZIPSetupEncode()
234 assert(sp != NULL); in ZIPPreEncode()
261 assert(sp != NULL); in ZIPEncode()
347 tif->tif_data = NULL; in ZIPCleanup()
417 if (tif->tif_data == NULL) in TIFFInitZIP()
420 sp->stream.zalloc = NULL; in TIFFInitZIP()
421 sp->stream.zfree = NULL; in TIFFInitZIP()
[all …]
H A Dtif_dirwrite.c422 dir=NULL; in TIFFWriteDirectorySec()
423 dirmem=NULL; in TIFFWriteDirectorySec()
909 dir=NULL; in TIFFWriteDirectorySec()
1110 if (m==NULL)
1162 if (m==NULL)
1211 if (m==NULL) in TIFFWriteDirectoryTagShortPerSample()
1262 if (m==NULL)
1312 if (m==NULL)
1364 if (m==NULL)
1494 if (m==NULL)
[all …]
H A Dtif_predict.c456 assert(sp != NULL); in PredictorDecodeRow()
457 assert(sp->decoderow != NULL); in PredictorDecodeRow()
478 assert(sp != NULL); in PredictorDecodeTile()
479 assert(sp->decodetile != NULL); in PredictorDecodeTile()
683 assert(sp != NULL); in PredictorEncodeRow()
685 assert(sp->encoderow != NULL); in PredictorEncodeRow()
703 assert(sp != NULL); in PredictorEncodeTile()
705 assert(sp->encodetile != NULL); in PredictorEncodeTile()
754 assert(sp != NULL); in PredictorVSetField()
755 assert(sp->vsetparent != NULL); in PredictorVSetField()
[all …]
H A Dtif_compress.c184 static codec_t* registeredCODECS = NULL;
207 if (cd != NULL) { in TIFFRegisterCODEC()
219 return NULL; in TIFFRegisterCODEC()
230 for (pcd = &registeredCODECS; (cd = *pcd) != NULL; pcd = &cd->next) in TIFFUnRegisterCODEC()
258 TIFFCodec* codecs = NULL; in TIFFGetConfiguredCODECs()
266 return NULL; in TIFFGetConfiguredCODECs()
278 return NULL; in TIFFGetConfiguredCODECs()
289 return NULL; in TIFFGetConfiguredCODECs()
H A Dtif_jpeg.c475 if (newbuf == NULL) in tables_empty_output_buffer()
650 if (buf == NULL) in alloc_downsampled_buffers()
752 if (m.buffer==NULL) in JPEGFixupTagsSubsampling()
972 assert(sp != NULL); in JPEGSetupDecode()
1017 assert(sp != NULL); in JPEGPreDecode()
1380 if(tmpbuf==NULL) { in JPEGDecodeRaw()
1590 assert(sp != NULL); in JPEGSetupEncode()
1745 assert(sp != NULL); in JPEGPreEncode()
1883 assert(sp != NULL); in JPEGEncode()
1965 assert(sp != NULL); in JPEGEncodeRaw()
[all …]
H A Dtif_aux.c66 void* cp = NULL; in _TIFFCheckRealloc()
75 if (cp == NULL) { in _TIFFCheckRealloc()
88 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what); in _TIFFCheckMalloc()
104 if (tf[0] == NULL) in TIFFDefaultTransferFunction()
114 if(tf[1] == NULL) in TIFFDefaultTransferFunction()
118 if (tf[2] == NULL) in TIFFDefaultTransferFunction()
141 if (td->td_refblackwhite == NULL) in TIFFDefaultRefBlackWhite()
217 if( sp == NULL ) in TIFFVGetFieldDefaulted()
H A Dtif_lzma.c114 assert(sp != NULL); in LZMASetupDecode()
137 assert(sp != NULL); in LZMAPreDecode()
171 assert(sp != NULL); in LZMADecode()
234 assert(sp != NULL); in LZMASetupEncode()
254 assert(sp != NULL); in LZMAPreEncode()
277 assert(sp != NULL); in LZMAEncode()
357 tif->tif_data = NULL; in LZMACleanup()
406 FIELD_PSEUDO, TRUE, FALSE, "LZMA2 Compression Preset", NULL },
431 if (tif->tif_data == NULL) in TIFFInitLZMA()
465 sp->filters[2].options = NULL; in TIFFInitLZMA()
/libtiff-4.0.7/contrib/stream/
H A Dtiffstream.cpp9 m_tif = NULL; in TiffStream()
12 m_inStream = NULL; in TiffStream()
13 m_outStream = NULL; in TiffStream()
14 m_ioStream = NULL; in TiffStream()
30 m_outStream = NULL; in makeFileStream()
31 m_ioStream = NULL; in makeFileStream()
50 m_inStream = NULL; in makeFileStream()
52 m_ioStream = NULL; in makeFileStream()
71 m_inStream = NULL; in makeFileStream()
72 m_outStream = NULL; in makeFileStream()
[all …]
/libtiff-4.0.7/tools/
H A Dtiffgt.c62 static char** filelist = NULL;
91 static TIFF* tif = NULL;
201 if (filelist != NULL) in cleanup_and_exit()
203 if (raster != NULL) in cleanup_and_exit()
205 if (tif != NULL) in cleanup_and_exit()
222 tif = NULL; in initImage()
243 if (raster != NULL) in initImage()
247 if (raster == NULL) { in initImage()
272 if (tif == NULL) in prevImage()
287 if (tif == NULL) in nextImage()
[all …]
H A Dfax2tiff.c93 TIFF *out = NULL; in main()
95 TIFFErrorHandler whandler = NULL; in main()
194 if (out == NULL) { in main()
235 if (rowbuf == NULL || refbuf == NULL) { in main()
240 if (out == NULL) { in main()
242 if (out == NULL) { in main()
256 if (faxTIFF == NULL) { in main()
279 if (in == NULL) { in main()
374 if (tifin->tif_rawdata == NULL) { in copyFaxFile()
464 NULL
[all …]
H A Dtiffcrop.c757 NULL
2725 if ((src == NULL) || (dst == NULL)) in extractContigSamplesBytes()
2792 if ((src == NULL) || (dst == NULL)) in extractContigSamples8bits()
2870 if ((src == NULL) || (dst == NULL)) in extractContigSamples16bits()
2959 if ((in == NULL) || (out == NULL)) in extractContigSamples24bits()
3053 if ((in == NULL) || (out == NULL)) in extractContigSamples32bits()
3157 if ((src == NULL) || (dst == NULL)) in extractContigSamplesShifted8bits()
3238 if ((src == NULL) || (dst == NULL)) in extractContigSamplesShifted16bits()
3328 if ((in == NULL) || (out == NULL)) in extractContigSamplesShifted24bits()
3427 if ((in == NULL) || (out == NULL)) in extractContigSamplesShifted32bits()
[all …]
H A Dfax2ps.c191 NULL in emitFont()
194 for (i = 0; fontPrologue[i] != NULL; i++) in emitFont()
266 (void) TIFFReadEncodedStrip(tif, s, (tdata_t) NULL, (tsize_t) -1); in printTIF()
331 uint16 *pages = NULL, npages = 0, pageNumber; in main()
352 if( pages == NULL ) in main()
394 if (fd == NULL) { in main()
440 NULL
451 for (i = 0; stuff[i] != NULL; i++) in usage()
/libtiff-4.0.7/contrib/ras/
H A Dtif2ras.c70 error("usage: %s -[vq] TIFFfile [rasterfile]\n", NULL); in usage()
78 char *inf = NULL;
79 char *outf = NULL;
92 u_char *Map = NULL;
107 setbuf(stderr, NULL);
124 else if (inf == NULL)
126 else if (outf == NULL)
133 if (inf == NULL)
141 if (tif == NULL)
176 if (pix == (Pixrect *) NULL)
[all …]
H A Dras2tif.c80 char *inf = NULL;
81 char *outf = NULL;
112 setbuf(stderr, NULL);
125 if (inf == NULL)
135 } else if (inf == NULL && !dummyinput) {
137 } else if (outf == NULL)
143 if (outf == NULL)
146 if (dummyinput || inf == NULL) {
149 } else if ((fp = fopen(inf, "r")) == NULL)
156 if (pix == NULL)
[all …]
/libtiff-4.0.7/contrib/dbs/xtiff/
H A Dxtiff.c258 uint16 * redMap = NULL, *greenMap = NULL, *blueMap = NULL,
270 setbuf(stdout, NULL); setbuf(stderr, NULL); in main()
358 (XtPointer) NULL); in main()
390 if (tfFile != NULL) in OpenTIFFFile()
581 XColor *colors = NULL; in GetVisual()
682 if (colors != NULL) in GetVisual()
684 if (grayMap != NULL) in GetVisual()
686 if (redMap != NULL) in GetVisual()
688 if (greenMap != NULL) in GetVisual()
690 if (blueMap != NULL) in GetVisual()
[all …]
/libtiff-4.0.7/contrib/iptcutil/
H A Diptcutil.c152 if (len <=0 || s==(char*)NULL || *s=='\0') in convertHTMLcodes()
297 if (str == (char *) NULL) in formatIPTC()
356 if ((char *) b == (char *) NULL) in super_fgets()
363 if ((unsigned char *)b != (unsigned char *) NULL) in super_fgets()
370 return (char *) NULL; in super_fgets()
436 if (ifile == (FILE *)NULL) in main()
447 if (ofile == (FILE *)NULL) in main()
489 token = (char *)NULL; in main()
490 while((line = super_fgets(line,&inputlen,ifile))!=NULL) in main()
572 token = (char *)NULL; in main()
[all …]
/libtiff-4.0.7/contrib/mfs/
H A Dmfs_file.c151 if (buffer == (void *)NULL) in mfs_open()
166 if (buffer != (void *)NULL) in mfs_open()
175 if (tmp == (void *)NULL) in mfs_open()
190 if (buffer == (void *) NULL) /* Create space for client */ in mfs_open()
193 if (tmp == (void *)NULL) in mfs_open()
543 if ((new_mem = realloc (buf[fd], size)) == (void *) NULL) in extend_mem_file()
574 buf[i] = (char *)NULL; in mem_init()
/libtiff-4.0.7/archive/tools/
H A Dbmp2tiff.c239 char *outfilename = NULL, *infilename = NULL; in main()
240 TIFF *out = NULL; in main()
247 unsigned short *red_tbl = NULL, *green_tbl = NULL, *blue_tbl = NULL; in main()
278 if (outfilename == NULL) in main()
281 if (out == NULL) { in main()
789 blue_tbl=NULL; in main()
793 green_tbl=NULL; in main()
797 red_tbl=NULL; in main()
914 NULL
925 for (i = 0; stuff[i] != NULL; i++) in usage()
/libtiff-4.0.7/port/
H A Dlfind.c46 #ifndef NULL
47 # define NULL 0 macro
61 return NULL; in lfind()

1234