Searched defs:filetype (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dphp_filestat.h38 PHP_FUNCTION(filetype); variable
H A Dimage.c393 a = 1; /* already read 0xff in filetype detection */
1229 detect filetype from first bytes */
1230 PHPAPI int php_getimagetype(php_stream * stream, char *filetype) argument
1235 if ( !filetype) filetype = tmp;
1236 if((php_stream_read(stream, filetype, 3)) != 3) {
1242 if (!memcmp(filetype, php_sig_gif, 3)) {
1244 } else if (!memcmp(filetype, php_sig_jpg, 3)) {
1246 } else if (!memcmp(filetype, php_sig_png, 3)) {
1247 if (php_stream_read(stream, filetype
[all...]
/PHP_TRUNK/ext/exif/
H A Dexif.c1487 image_filetype filetype; member in struct:__anon9
2441 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: filetype = %d", ImageInfo->Thumbnail.filetype);
2443 switch(ImageInfo->Thumbnail.filetype) {
2923 ImageInfo->Thumbnail.filetype = ImageInfo->FileType;
2926 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_TIFF_MM;
2932 if (ImageInfo->Thumbnail.filetype == IMAGE_FILETYPE_UNKNOWN) {
2933 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_JPEG;
3156 if (ImageInfo->Thumbnail.filetype != IMAGE_FILETYPE_UNKNOWN
3668 if (ImageInfo->Thumbnail.filetype !
[all...]

Completed in 12 milliseconds