Home
last modified time | relevance | path

Searched refs:offset (Results 501 – 525 of 649) sorted by last modified time

1...<<212223242526

/PHP-5.5/ext/iconv/tests/
H A Diconv_strpos_variation3.phpt2 Test iconv_strpos() function : usage variations - pass different data types as $offset arg
11 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
17 * Pass iconv_strpos different data types as $offset arg to test behaviour
H A Diconv_strpos_variation3_64bit.phpt2 Test iconv_strpos() function : usage variations - pass different data types as $offset arg
11 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
17 * Pass iconv_strpos different data types as $offset arg to test behaviour
H A Diconv_strpos_variation4.phpt10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
26 $offset = 0;
100 var_dump( iconv_strpos($haystack, $needle, $offset, $input));
H A Diconv_strpos_variation5.phpt2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument
10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
16 * Test how iconv_strpos() behaves when passed different integers as $offset argument
32 * Loop through integers as multiples of ten for $offset argument
33 * iconv_strpos should not be able to accept negative values as $offset.
/PHP-5.5/ext/iconv/
H A Diconv.c73 ZEND_ARG_INFO(0, offset)
81 ZEND_ARG_INFO(0, offset)
784 if (offset < 0) { in _php_iconv_substr()
785 if ((offset += total_len) < 0) { in _php_iconv_substr()
795 if (offset >= total_len) { in _php_iconv_substr()
801 len = total_len - offset; in _php_iconv_substr()
904 int offset, const char *enc) in _php_iconv_strpos() argument
989 if (offset >= 0) { in _php_iconv_strpos()
2027 long offset, length = 0; in PHP_FUNCTION() local
2069 long offset = 0; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/gd/
H A Dgd.c819 ZEND_ARG_INFO(0, offset)
3487 if ((c < f->offset) || (c >= (f->offset + f->nchars))) { in php_gdimagecharup()
3491 fline = (c - f->offset) * f->h * f->w; in php_gdimagecharup()
4856 double div, offset; in PHP_FUNCTION() local
4860 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "radd", &SIM, &hash_matrix, &div, &offset) ==… in PHP_FUNCTION()
4897 res = gdImageConvolution(im_src, matrix, (float)div, (float)offset); in PHP_FUNCTION()
/PHP-5.5/ext/gd/libgd/
H A Dgd.c1559 if ((c < f->offset) || (c >= (f->offset + f->nchars))) { in gdImageChar()
1562 fline = (c - f->offset) * f->h * f->w; in gdImageChar()
1585 if ((c < f->offset) || (c >= (f->offset + f->nchars))) { in gdImageCharUp()
1588 fline = (c - f->offset) * f->h * f->w; in gdImageCharUp()
H A Dgd.h289 int offset; member
788 int gdImageConvolution(gdImagePtr src, float ft[3][3], float filter_div, float offset);
H A Dgd_filter.c230 int gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset) in gdImageConvolution() argument
272 new_r = (new_r/filter_div)+offset; in gdImageConvolution()
273 new_g = (new_g/filter_div)+offset; in gdImageConvolution()
274 new_b = (new_b/filter_div)+offset; in gdImageConvolution()
H A Dgd_gd2.c44 int offset; member
154 if (gdGetInt(&cidx[i].offset, in) != 1) { in _gd2GetHeader()
162 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader()
213 static int _gd2ReadChunk (int offset, char *compBuf, int compSize, char *chunkBuf, uLongf * chunkLe… in _gd2ReadChunk() argument
217 if (gdTell(in) != offset) { in _gd2ReadChunk()
218 GD2_DBG(php_gd_error("Positioning in file to %d", offset)); in _gd2ReadChunk()
219 gdSeek(in, offset); in _gd2ReadChunk()
221 GD2_DBG(php_gd_error("Already Positioned in file to %d", offset)); in _gd2ReadChunk()
783 chunkIdx[chunkNum].offset = gdTell(out); in _gdImageGd2()
803 GD2_DBG(php_gd_error("Chunk %d size %d offset %d", x, chunkIdx[x].size, chunkIdx[x].offset)); in _gdImageGd2()
[all …]
H A Dgd_gif_out.c67 int offset; member
512 ctx->offset = 0;
/PHP-5.5/ext/filter/
H A Dlogical_filters.c786 int tokens, length, i, offset, exp_separator_set, exp_separator_len; in php_filter_validate_mac() local
829 offset = i * (length + 1); in php_filter_validate_mac()
831 if (i < tokens - 1 && input[offset + length] != separator) { in php_filter_validate_mac()
835 if (php_filter_parse_hex(input + offset, length, &ret TSRMLS_CC) < 0) { in php_filter_validate_mac()
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic4809 # 1st record offset + 1 = header size
5841 #offset is 128
5894 >>>>>0x49 ubyte >0 at offset 0x%x
5902 >>>>>0x74 ubyte >0 at offset 0x%x
5910 >>>>>0x79 ubyte >0 at offset 0x%x
5931 >>>>0xBD ubyte x at offset 0x1%x
5937 >>>>0xA9 ubyte x at offset 0x1%x
5947 >>>>0x1b5 ubyte >0 at offset 0x1%x
5951 >>>>0x1b6 ubyte >0 at offset 0x1%x
6301 # offset variant
[all …]
H A Dbug61964.phpt53 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964.php on line %d
55 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964.php on line %d
59 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d
63 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d
/PHP-5.5/ext/fileinfo/libmagic/
H A Dsoftmagic.c155 ms->offset = m->offset; in match()
233 ms->offset = m->offset; in match()
1229 offset = ~offset; in mget()
1281 offset = ~offset; in mget()
1333 offset = ~offset; in mget()
1369 offset = ~offset; in mget()
1440 offset = ~offset; in mget()
1511 offset = ~offset; in mget()
1581 offset = ~offset; in mget()
1616 offset = ~offset; in mget()
[all …]
H A Dapprentice.c1588 m->offset = (uint32_t)strtoul(l, &t, 0); in parse()
2941 m->offset = swap4((uint32_t)m->offset);
H A Dfile.h286 uint32_t offset; /* offset to magic number */ member
386 uint32_t offset; member
398 size_t offset; /* starting offset in source: XXX - should this be off_t? */ member
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch835 m->offset = swap4((uint32_t)m->offset);
3115 uint32_t soffset, offset = ms->offset;
3150 offset = ~offset;
3159 offset = ~offset;
3168 offset = ~offset;
3195 offset = ~offset;
3204 offset = ~offset;
3219 ms->offset = offset;
3279 + if (offset == 0)
3286 ms->offset = 0;
[all …]
/PHP-5.5/ext/exif/tests/
H A Dbug72603.phpt10 Warning: exif_read_data(bug72603.jpeg): IFD data bad offset: 0x058C length 0x001C in %s/bug72603.ph…
H A Dbug72618.phpt10 Warning: exif_read_data(bug72618.jpg): IFD data bad offset: 0x058E length 0x0030 in %s/bug72618.php…
H A Dbug62523_2.phpt16 Warning: exif_read_data(bug62523_2.jpg): IFD data bad offset: 0xADB23672 length 0x0D94 in %s/bug625…
H A Dbug72094.phpt26 Warning: exif_read_data(bug72094_1.jpg): Illegal IFD offset in %s/bug72094.php on line %d
H A Dbug60150.phpt15 Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(%s) i…
/PHP-5.5/ext/exif/
H A Dexif.c992 int offset; member
1055 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump()
1506 size_t offset; member
2548 || ImageInfo->Thumbnail.offset <= 0 in exif_thumbnail_extract()
2554 if ((ImageInfo->Thumbnail.offset + ImageInfo->Thumbnail.size) > length) { in exif_thumbnail_extract()
2558 …ImageInfo->Thumbnail.data = estrndup(offset + ImageInfo->Thumbnail.offset, ImageInfo->Thumbnail.si… in exif_thumbnail_extract()
2750 if (maker_note->offset >= value_len) { in exif_process_IFD_in_MAKERNOTE()
2756 dir_start = value_ptr + maker_note->offset; in exif_process_IFD_in_MAKERNOTE()
2784 if (maker_note->offset + 10 + 4 >= value_len) { in exif_process_IFD_in_MAKERNOTE()
3209 && ImageInfo->Thumbnail.offset in exif_process_IFD_in_JPEG()
[all …]
/PHP-5.5/ext/dom/
H A Dtext.c33 ZEND_ARG_INFO(0, offset)
153 long offset; in PHP_FUNCTION() local
158 …eters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_text_class_entry, &offset) == FAILURE) { in PHP_FUNCTION()
173 if (offset > length || offset < 0) { in PHP_FUNCTION()
178 first = xmlUTF8Strndup(cur, offset); in PHP_FUNCTION()
179 second = xmlUTF8Strsub(cur, offset, length - offset); in PHP_FUNCTION()

Completed in 198 milliseconds

1...<<212223242526