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 */
1222 detect filetype from first bytes */
1223 PHPAPI int php_getimagetype(php_stream * stream, char *filetype) argument
1227 if ( !filetype) filetype = tmp;
1228 if((php_stream_read(stream, filetype, 3)) != 3) {
1234 if (!memcmp(filetype, php_sig_gif, 3)) {
1236 } else if (!memcmp(filetype, php_sig_jpg, 3)) {
1238 } else if (!memcmp(filetype, php_sig_png, 3)) {
1239 if (php_stream_read(stream, filetype
[all...]
/PHP_TRUNK/ext/exif/
H A Dexif.c1491 image_filetype filetype; member in struct:__anon21
2445 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: filetype = %d", ImageInfo->Thumbnail.filetype);
2447 switch(ImageInfo->Thumbnail.filetype) {
2927 ImageInfo->Thumbnail.filetype = ImageInfo->FileType;
2930 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_TIFF_MM;
2936 if (ImageInfo->Thumbnail.filetype == IMAGE_FILETYPE_UNKNOWN) {
2937 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_JPEG;
3160 if (ImageInfo->Thumbnail.filetype != IMAGE_FILETYPE_UNKNOWN
3672 if (ImageInfo->Thumbnail.filetype !
[all...]

Completed in 15 milliseconds