Home
last modified time | relevance | path

Searched refs:offset (Results 251 – 275 of 700) sorted by relevance

1...<<11121314151617181920>>...28

/PHP-7.4/main/streams/
H A Dplain_wrapper.c556 ret = zend_fseek(data->file, offset, whence); in php_stdiop_seek()
722 if (range->offset > data->sb.st_size) { in php_stdiop_set_option()
723 range->offset = data->sb.st_size; in php_stdiop_set_option()
827 if (range->offset > size) { in php_stdiop_set_option()
828 range->offset = size; in php_stdiop_set_option()
831 range->length = size - range->offset; in php_stdiop_set_option()
835 if (range->offset != 0) { in php_stdiop_set_option()
843 delta = range->offset - rounded_offset; in php_stdiop_set_option()
1319 size_t dir_len = strlen(dir), offset = 0; in php_plain_files_mkdir() local
1330 offset = p - buf + 1; in php_plain_files_mkdir()
[all …]
/PHP-7.4/ext/intl/tests/
H A Dbug72061.phpt2 Bug #72061: Out-of-bounds reads in zif_grapheme_stripos with negative offset
H A Dmsgfmt_format_subpatterns_named.phpt20 female {{num_guests, plural, offset:1
25 male {{num_guests, plural, offset:1
30 other {{num_guests, plural, offset:1
/PHP-7.4/ext/gmp/tests/
H A Dbug74670.phpt9 Notice: unserialize(): Error at offset 13 of 29 bytes in %s on line %d
/PHP-7.4/ext/standard/
H A Dstring.c1958 if (offset < 0) {
1961 if (offset < 0 || (size_t)offset > ZSTR_LEN(haystack)) {
2018 if (offset < 0) {
2021 if (offset < 0 || (size_t)offset > ZSTR_LEN(haystack)) {
2204 RETURN_LONG(e - p + (offset > 0 ? offset : 0));
3948 size_t offset; local
4125 size_t offset; local
5806 if ((offset < 0) || ((size_t)offset > haystack_len)) {
5810 p += offset;
6345 offset = ZSTR_LEN(s1) + offset;
[all …]
/PHP-7.4/ext/opcache/tests/
H A Dbug76711.phpt2 Bug #76711 OPcache enabled triggers false-positive "Illegal string offset"
/PHP-7.4/ext/pcre/tests/
H A Dbug75457.phpt9 Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %s…
/PHP-7.4/Zend/tests/
H A Dbug72918.phpt2 Bug #72918 (negative offset inside a quoted string leads to parse error)
H A Dconst_array_with_resource_key.phpt11 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
H A Dassign_to_var_003.phpt16 Notice: Trying to access array offset on value of type float in %s on line %d
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_ddl.phpt11 function exec_and_count($offset, &$db, $sql, $exp, $suppress_warning = false) {
22 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
29 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql___construct_options_libmysql.phpt15 function set_option_and_check($offset, $option, $value, $option_desc, $ignore_diff = false) {
25 $offset,
30 printf("[%03d] %s\n", $offset, $e->getMessage());
/PHP-7.4/ext/mbstring/tests/
H A Dbug43841.phpt2 Test mb_strrpos() function : mb_strrpos offset is byte count for negative values
10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
16 * Test that mb_strrpos offset is byte count for negative values (should be character count)
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug74300.phpt14 Notice: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
/PHP-7.4/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-inplace32BI.c26 #define ROL32(a, offset) ((((UINT32)a) << (offset)) ^ (((UINT32)a) >> (32-(offset)))) argument
89 memset(laneAsBytes, 0xFF, offset); in KeccakP1600_SetBytesInLaneToZero()
90 memset(laneAsBytes+offset, 0x00, length); in KeccakP1600_SetBytesInLaneToZero()
91 memset(laneAsBytes+offset+length, 0xFF, 8-offset-length); in KeccakP1600_SetBytesInLaneToZero()
119 unsigned int lanePosition = offset/8; in KeccakP1600_AddByte()
120 unsigned int offsetInLane = offset%8; in KeccakP1600_AddByte()
146 memcpy(laneAsBytes+offset, data, length); in KeccakP1600_AddBytesInLane()
214 KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length); in KeccakP1600_OverwriteBytesInLane()
215 KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length); in KeccakP1600_OverwriteBytesInLane()
302 memcpy(data, laneAsBytes+offset, length); in KeccakP1600_ExtractBytesInLane()
[all …]
/PHP-7.4/ext/snmp/
H A Dsnmp.c353 int offset; member
693 objid_query->offset = objid_query->count; in php_snmp_internal()
732 …for (count = 0; objid_query->offset < objid_query->count && count < objid_query->step; objid_query… in php_snmp_internal()
734 …->offset].name, objid_query->vars[objid_query->offset].name_length, objid_query->vars[objid_query-… in php_snmp_internal()
735 …d(buf, sizeof(buf), objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->of… in php_snmp_internal()
743 …p_add_null_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->of… in php_snmp_internal()
790 objid_query->offset = 0; in php_snmp_internal()
871 …objid_query->offset = ((objid_query->offset > objid_query->step) ? (objid_query->offset - objid_qu… in php_snmp_internal()
1055 for (objid_query->offset = 0; objid_query->offset < objid_query->count; objid_query->offset++) { in php_snmp_parse_oid()
1057 …id_query->vars[objid_query->offset].oid, objid_query->vars[objid_query->offset].name, &(objid_quer… in php_snmp_parse_oid()
[all …]
/PHP-7.4/ext/xml/tests/
H A Dbug32001b.phpt64 for ($offset = 0; $offset < strlen($data);
65 $offset += $this->chunk_size) {
66 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false);
/PHP-7.4/ext/dba/
H A Ddba_cdb.c226 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek() argument
227 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
231 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument
232 return lseek(fd, offset, whence); in cdb_file_lseek()
/PHP-7.4/ext/date/lib/
H A Dunixtime2tm.c139 timelib_unixtime2gmt(tm, tm->sse + gmt_offset->offset); in timelib_update_from_sse()
178 timelib_unixtime2gmt(tm, ts + gmt_offset->offset); in timelib_unixtime2local()
183 tm->z = gmt_offset->offset; in timelib_unixtime2local()
233 t->z = gmt_offset->offset; in timelib_set_timezone()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c924 PCRE2_SIZE offset; in show_parsed() local
952 GETOFFSET(offset, pptr); in show_parsed()
1061 GETOFFSET(offset, pptr); in show_parsed()
1067 GETOFFSET(offset, pptr); in show_parsed()
1073 GETOFFSET(offset, pptr); in show_parsed()
1095 GETOFFSET(offset, pptr); in show_parsed()
1101 GETOFFSET(offset, pptr); in show_parsed()
2590 PCRE2_SIZE offset; in parse_regex() local
5300 PCRE2_SIZE offset = 0; in compile_branch() local
9017 PCRE2_SIZE offset; in get_branchlength() local
[all …]
/PHP-7.4/ext/spl/tests/
H A DSplDoublyLinkedList_add_null_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
H A Dbug73029.phpt15 Error at offset 10 of 19 bytes
H A Dbug70852.phpt2 Bug #70852 Segfault getting NULL offset of an ArrayObject
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_list.c132 void phpdbg_list_file(zend_string *filename, uint32_t count, int offset, uint32_t highlight) /* {{{… in phpdbg_list_file() argument
142 if (offset < 0) { in phpdbg_list_file()
143 count += offset; in phpdbg_list_file()
144 offset = 0; in phpdbg_list_file()
147 lastline = offset + count; in phpdbg_list_file()
155 for (line = offset; line < lastline;) { in phpdbg_list_file()
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_pam_sha256_public_key_option_invalid.phpt94 function sha_connect($offset, $host, $db, $port, $socket, $file) {
98 … printf("[%03d + 001] mysqli_options failed, [%d] %s\n", $offset, $link->errno, $link->error);
103 printf("[%03d + 002] [%d] %s\n", $offset, $link->connect_errno, $link->connect_error);
108 printf("[%03d + 003] [%d] %s\n", $offset, $link->errno, $link->error);
112 printf("[%03d + 004] [%d] %s\n", $offset, $link->errno, $link->error);
117 … printf("[%03d + 005] Expecting 1 got %s/'%s'", $offset, gettype($row['id']), $row['id']);

Completed in 92 milliseconds

1...<<11121314151617181920>>...28