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.c1499 image_filetype filetype; member in struct:__anon19
2453 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: filetype = %d", ImageInfo->Thumbnail.filetype);
2455 switch(ImageInfo->Thumbnail.filetype) {
2935 ImageInfo->Thumbnail.filetype = ImageInfo->FileType;
2938 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_TIFF_MM;
2944 if (ImageInfo->Thumbnail.filetype == IMAGE_FILETYPE_UNKNOWN) {
2945 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_JPEG;
3168 if (ImageInfo->Thumbnail.filetype != IMAGE_FILETYPE_UNKNOWN
3680 if (ImageInfo->Thumbnail.filetype !
[all...]

Completed in 13 milliseconds