Home
last modified time | relevance | path

Searched refs:offset (Results 201 – 225 of 700) sorted by relevance

12345678910>>...28

/PHP-7.4/main/streams/
H A Dmemory.c136 if (offset < 0) { in php_stream_memory_seek()
137 if (ms->fpos < (size_t)(-offset)) { in php_stream_memory_seek()
142 ms->fpos = ms->fpos + offset; in php_stream_memory_seek()
148 if (ms->fpos + (size_t)(offset) > ms->fsize) { in php_stream_memory_seek()
153 ms->fpos = ms->fpos + offset; in php_stream_memory_seek()
160 if (ms->fsize < (size_t)(offset)) { in php_stream_memory_seek()
165 ms->fpos = offset; in php_stream_memory_seek()
171 if (offset > 0) { in php_stream_memory_seek()
175 } else if (ms->fsize < (size_t)(-offset)) { in php_stream_memory_seek()
180 ms->fpos = ms->fsize + offset; in php_stream_memory_seek()
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_slice_variation2.phpt2 Test array_slice() function : usage variations - Pass different data types as $offset arg
7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
8 * Description: Returns elements specified by offset and length
13 * Pass different data types as $offset argument to array_slice() to test behaviour
41 // unexpected values to be passed to $offset argument
H A Darray_slice_variation8.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
H A Darray_slice_variation9.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
H A Darray_combine_variation4.phpt93 Warning: Illegal offset type in %s on line %d
95 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
97 Warning: Illegal offset type in %s on line %d
99 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
101 Warning: Illegal offset type in %s on line %d
H A Darray_keys_error.phpt12 var_dump(array_keys(array(1,2,3, new stdClass => array()))); // (W)illegal offset
33 Warning: Illegal offset type in %s on line %d
H A Darray_slice_variation10.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
H A Darray_map_variation4.phpt82 Warning: Illegal offset type in %s on line %d
84 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
86 Warning: Illegal offset type in %s on line %d
88 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug70436.phpt49 Notice: unserialize(): Error at offset 0 of 3 bytes in %sbug70436.php on line %d
51 Notice: unserialize(): Error at offset 93 of 94 bytes in %sbug70436.php on line %d
H A Dmax_depth.phpt109 Notice: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
116 Notice: unserialize(): Error at offset 2834 of 2971 bytes in %s on line %d
123 Notice: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
130 Notice: unserialize(): Error at offset 2309 of 2574 bytes in %s on line %d
136 Notice: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
144 Notice: unserialize(): Error at offset 2309 of 2574 bytes in %s on line %d
/PHP-7.4/Zend/tests/
H A Ddereference_014.phpt30 Notice: Trying to access array offset on value of type null in %s on line %d
35 Notice: Trying to access array offset on value of type null in %s on line %d
H A D024.phpt20 Notice: Trying to access array offset on value of type null in %s on line %d
27 Notice: Trying to access array offset on value of type null in %s on line %d
52 Notice: Trying to access array offset on value of type null in %s on line %d
/PHP-7.4/ext/gd/libgd/
H A Dgd_gd2.c45 int offset; member
159 if (gdGetInt(&cidx[i].offset, in) != 1) { in _gd2GetHeader()
167 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader()
218 static int _gd2ReadChunk (int offset, char *compBuf, int compSize, char *chunkBuf, uLongf * chunkLe… in _gd2ReadChunk() argument
222 if (gdTell(in) != offset) { in _gd2ReadChunk()
223 GD2_DBG(gd_error("Positioning in file to %d", offset)); in _gd2ReadChunk()
224 gdSeek(in, offset); in _gd2ReadChunk()
226 GD2_DBG(gd_error("Already Positioned in file to %d", offset)); in _gd2ReadChunk()
792 chunkIdx[chunkNum].offset = gdTell(out); in _gdImageGd2()
812 GD2_DBG(gd_error("Chunk %d size %d offset %d", x, chunkIdx[x].size, chunkIdx[x].offset)); in _gdImageGd2()
[all …]
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt15 function try_buffer_size($offset, $buffer_size) {
46 $offset, $id, substr($val, 0, 10), strlen($val));
52 $offset,
/PHP-7.4/ext/com_dotnet/
H A Dcom_handlers.c87 static zval *com_read_dimension(zval *object, zval *offset, int type, zval *rv) in com_read_dimension() argument
100 DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, 1, offset, 0, 0)) { in com_read_dimension()
105 convert_to_long(offset); in com_read_dimension()
108 if (php_com_safearray_get_elem(&obj->v, &v, (LONG)Z_LVAL_P(offset))) { in com_read_dimension()
113 php_com_saproxy_create(object, rv, offset); in com_read_dimension()
123 static void com_write_dimension(zval *object, zval *offset, zval *value) in com_write_dimension() argument
132 if (offset == NULL) { in com_write_dimension()
138 ZVAL_COPY_VALUE(&args[0], offset); in com_write_dimension()
156 convert_to_long(offset); in com_write_dimension()
157 indices = (LONG)Z_LVAL_P(offset); in com_write_dimension()
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_types.phpt18 …qli_stmt_get_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset, $type_hint = null…
21 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
31 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
36 … printf("[%04d] [%d] %s\n", $offset + 2, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
42 … printf("[%04d] [%d] %s\n", $offset + 3, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 … printf("[%04d] [%d] %s\n", $offset + 3 + $id, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
59 … printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
65 … printf("[%04d] [%d] %s\n", $offset + 8, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
73 … printf("[%04d] [%d] %s\n", $offset + 9, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
85 $offset + 10, $num,
[all …]
H A Dmysqli_poll.phpt63 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
76 printf("[%03d + 2] Can fetch resultset although no query has been run!\n", $offset);
79 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
81 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
87 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
91 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dmysqli_stmt_param_count.phpt30 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) {
33 printf("[%03d] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_error($stmt));
38 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 3,
H A Dmysqli_debug_mysqlnd_only.phpt27 function try_control_string($link, $control_string, $trace_file, $offset) {
32 $offset + 1,
41 $offset + 2,
54 $offset + 3,
/PHP-7.4/ext/date/lib/
H A Dtm2unixtime.c459 after = timelib_get_time_zone_info(tz->sse - before->offset, tzi); in do_adjust_timezone()
463 ((tz->sse - after->offset) >= (after->transition_time + (before->offset - after->offset))) && in do_adjust_timezone()
464 ((tz->sse - after->offset) < after->transition_time) in do_adjust_timezone()
467 if ((before->offset != after->offset) && !in_transition) { in do_adjust_timezone()
468 tmp = -after->offset; in do_adjust_timezone()
479 tz->z = gmt_offset->offset; in do_adjust_timezone()
/PHP-7.4/ext/oci8/tests/
H A Dbug42134.phpt72 ["offset"]=>
85 ["offset"]=>
98 ["offset"]=>
/PHP-7.4/tests/strings/
H A Doffsets_chaining_2.phpt2 testing the behavior of string offset chaining
H A Doffsets_chaining_1.phpt2 testing the behavior of string offset chaining
H A Doffsets_chaining_3.phpt2 testing the behavior of string offset chaining
/PHP-7.4/ext/session/tests/
H A Dbug72562.phpt41 Notice: unserialize(): Error at offset 0 of 1 bytes in %s%ebug72562.php on line %d
43 Notice: unserialize(): Error at offset 4 of 4 bytes in %s%ebug72562.php on line %d

Completed in 27 milliseconds

12345678910>>...28