Home
last modified time | relevance | path

Searched refs:pos (Results 26 – 50 of 173) sorted by relevance

1234567

/PHP-7.3/ext/spl/internal/
H A Dlimititerator.inc29 private $pos;
48 $this->pos = 0;
65 $this->pos = $position;
67 while($this->pos < $position && $this->it->valid()) {
78 $this->pos = 0;
85 return ($this->count == -1 || $this->pos < $this->offset + $this->count)
105 $this->pos++;
112 return $this->pos;
/PHP-7.3/ext/standard/tests/file/
H A Dinclude_userstream_003.phpt10 private $pos;
20 $this->pos = strlen($this->data);
32 $ret = substr($this->data, $this->pos, $count);
33 $this->pos += strlen($ret);
42 return $this->pos;
50 return $this->pos >= strlen($this->data);
61 $this->pos = $offset;
69 $this->pos += $offset;
77 $this->pos = strlen($this->data) + $offset;
/PHP-7.3/ext/intl/tests/
H A Dformatter_parse.phpt27 $pos = 2;
28 $res_str .= ut_nfmt_parse( $fmt, "0.123 here", NumberFormatter::TYPE_DOUBLE, $pos ) . "\n";
29 $res_str .= "$pos\n";
H A Dformatter_get_error.phpt17 $pos = 0;
18 $num = ut_nfmt_parse_currency( $fmt, '123.45', $currency, $pos );
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_metadata.phpt154 $pos = mt_rand(-1, $num + 1);
155 if ($pos >= 0 && $pos < $num) {
156 if (true !== mysqli_field_seek($res, $pos))
158 if (true !== $res_meta->field_seek($pos))
170 if ($tmp1 != $fields['res'][$pos]) {
173 var_dump($fields['res'][$pos]);
176 $pos++;
177 if ($pos !== ($tmp = mysqli_field_tell($res)))
179 gettype($pos), $pos, gettype($tmp), $tmp);
183 gettype($pos), $pos, gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_get_result_seek.phpt75 $pos = mt_rand(-1, 4);
76 $tmp = mysqli_data_seek($res, $pos);
77 if (($pos >= 0 && $pos < 3)) {
81 if ($row[0] !== $pos + 1)
82 printf("[016] Expecting id = %d for pos %d got %s/%s\n",
83 $pos + 1, $pos, gettype($row[0]), $row[0]);
/PHP-7.3/ext/standard/tests/
H A Dbug71827.phpt5 $line = str_repeat(' ',20); $value ='03'; $pos=0; $len='2';
6 $line = substr_replace($line,$value,$pos,$len);
/PHP-7.3/Zend/
H A Dzend_llist.h64 ZEND_API void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos);
65 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos);
66 ZEND_API void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos);
67 ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos);
/PHP-7.3/ext/dba/
H A Ddba_cdb.c58 uint32 pos; /* current position for traversing */ member
138 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
142 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
279 cdb->pos = 2048 + 4 + 4 + klen + dlen; in DBA_FIRSTKEY_FUNC()
296 CSEEK(cdb->pos); in DBA_NEXTKEY_FUNC()
310 cdb->pos += 8 + klen + dlen; in DBA_NEXTKEY_FUNC()
/PHP-7.3/ext/dba/libinifile/
H A Dinifile.c77 ln->pos = 0; in inifile_line_free()
169 char *pos; in inifile_read() local
178 pos = strchr(fline+1, ']'); in inifile_read()
179 if (pos) { in inifile_read()
180 *pos = '\0'; in inifile_read()
184 ln->pos = php_stream_tell(dba->fp); in inifile_read()
192 pos = strchr(fline, '='); in inifile_read()
193 if (pos) { in inifile_read()
194 *pos = '\0'; in inifile_read()
203 ln->val.value = etrim(pos+1); in inifile_read()
[all …]
/PHP-7.3/ext/spl/
H A Dspl_observer.c83 HashPosition pos; member
235 intern->pos = 0; in spl_object_storage_new_ex()
687 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
699 HashPosition pos; in SPL_METHOD() local
714 zend_hash_internal_pointer_reset_ex(&intern->storage, &pos); in SPL_METHOD()
726 zend_hash_move_forward_ex(&intern->storage, &pos); in SPL_METHOD()
1012 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
1038 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
1061 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
1103 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
[all …]
/PHP-7.3/ext/pdo_oci/tests/
H A Dpdo_oci_attr_server.phpt23 $pos = strpos($si, "Oracle");
24 if ($pos === 0) {
25 echo "Found 'Oracle' at position $pos as expected\n";
/PHP-7.3/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp155 int32_t pos = (int32_t)utext_nativeLength(this->fText); in last() local
156 UTEXT_SETNATIVEINDEX(this->fText, pos); in last()
159 return pos; in last()
282 int64_t pos = utext_getNativeIndex(this->fText); in refreshInputText() local
288 utext_setNativeIndex(this->fText, pos); in refreshInputText()
289 if (utext_getNativeIndex(fText) != pos) { in refreshInputText()
/PHP-7.3/ext/dba/libcdb/
H A Dcdb_make.c48 uint32 newpos = c->pos + len; in cdb_posplus()
53 c->pos = newpos; in cdb_posplus()
66 c->pos = sizeof(c->final); in cdb_make_start()
67 if (php_stream_seek(f, c->pos, SEEK_SET) == -1) { in cdb_make_start()
90 head->hp[head->num].p = c->pos; in cdb_make_addend()
196 uint32_pack(c->final + 8 * i,c->pos); in cdb_make_finish()
/PHP-7.3/ext/mbstring/tests/
H A Dmb_ereg_search_setpos.phpt19 foreach($positions as $pos) {
20 echo("\n* Position: $pos :\n");
21 var_dump(mb_ereg_search_setpos($pos));
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_cmd.c31 size_t pos = 0; in ZEND_EXTERN_MODULE_GLOBALS() local
35 pos += command->parent->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
36 memcpy(&buffer[pos], " ", sizeof(" ")-1); in ZEND_EXTERN_MODULE_GLOBALS()
37 pos += (sizeof(" ")-1); in ZEND_EXTERN_MODULE_GLOBALS()
41 pos += command->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
42 buffer[pos] = 0; in ZEND_EXTERN_MODULE_GLOBALS()
628 size_t pos = 0; in phpdbg_stack_resolve() local
637 pos += matched[it]->name_len; in phpdbg_stack_resolve()
639 memcpy(&list[pos], ", ", sizeof(", ") - 1); in phpdbg_stack_resolve()
640 pos += (sizeof(", ") - 1); in phpdbg_stack_resolve()
[all …]
/PHP-7.3/ext/mbstring/
H A Dphp_mbregex.c1023 OnigUChar *pos; in _php_mb_regex_ereg_replace_exec() local
1119 pos = (OnigUChar *)string; in _php_mb_regex_ereg_replace_exec()
1205 if (pos < string_lim) { in _php_mb_regex_ereg_replace_exec()
1208 pos++; in _php_mb_regex_ereg_replace_exec()
1212 if (string_lim - pos > 0) { in _php_mb_regex_ereg_replace_exec()
1213 smart_str_appendl(&out_buf, (char *)pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
1272 OnigUChar *pos, *chunk_pos; in PHP_FUNCTION() local
1321 pos++; in PHP_FUNCTION()
1442 pos = MBREX(search_pos); in _php_mb_regex_ereg_search_exec()
1507 if (pos <= end) { in _php_mb_regex_ereg_search_exec()
[all …]
/PHP-7.3/ext/opcache/
H A Dshared_alloc_mmap.c58 shared_segment->pos = 0; in create_segments()
71 shared_segment->pos = 0; in create_segments()
/PHP-7.3/ext/gd/libgd/
H A Dwbmp.c153 int row, col, byte, pel, pos; in readwbmp() local
208 pos = 0; in readwbmp()
221 wbmp->bitmap[pos] = WBMP_WHITE; in readwbmp()
225 wbmp->bitmap[pos] = WBMP_BLACK; in readwbmp()
227 pos++; in readwbmp()
/PHP-7.3/ext/mbstring/libmbfl/tests/
H A Dstrwidth.c60 if (dev.pos >= dev.length) { in main()
70 dev.buffer[dev.pos++] = (unsigned char)c; in main()
/PHP-7.3/ext/soap/tests/
H A Dbug73037.phpt109 $pos = strpos($out, "<env:Text>");
110 if (false === $pos) {
114 $pos0 = $pos + strlen("<env:Text>");
115 $pos = strpos($out, "</env:Text>");
116 if (false === $pos) {
120 $len = $pos - $pos0;
/PHP-7.3/ext/com_dotnet/
H A Dcom_wrapper.c446 HashPosition pos; in generate_dispids() local
461 zend_hash_internal_pointer_reset_ex(Z_OBJPROP(disp->object), &pos); in generate_dispids()
464 &pid, &pos))) { in generate_dispids()
473 zend_hash_move_forward_ex(Z_OBJPROP(disp->object), &pos); in generate_dispids()
498 &name, &pid, &pos))) { in generate_dispids()
508 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
586 HashPosition pos; in php_com_wrapper_export_as_sink() local
600 zend_hash_internal_pointer_reset_ex(id_to_name, &pos); in php_com_wrapper_export_as_sink()
602 zend_hash_get_current_key_ex(id_to_name, &name, &pid, &pos))) { in php_com_wrapper_export_as_sink()
606 ntmp = zend_hash_get_current_data_ex(id_to_name, &pos); in php_com_wrapper_export_as_sink()
[all …]
/PHP-7.3/ext/spl/tests/
H A Darray_014.phpt32 $pos = 0;
35 $it->seek($pos++);
/PHP-7.3/ext/readline/
H A Dreadline_cli.c588 size_t size = 4096, pos = 0, len; in readline_shell_run() local
626 if (!pos && !*line) { in readline_shell_run()
651 if (pos + len + 2 > size) { in readline_shell_run()
652 size = pos + len + 2; in readline_shell_run()
655 memcpy(&code[pos], line, len); in readline_shell_run()
656 pos += len; in readline_shell_run()
657 code[pos] = '\n'; in readline_shell_run()
658 code[++pos] = '\0'; in readline_shell_run()
668 if (!cli_is_valid_code(code, pos, &prompt)) { in readline_shell_run()
682 zend_eval_stringl(code, pos, NULL, "php shell code"); in readline_shell_run()
[all …]
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.h42 size_t pos; member
49 size_t pos; member

Completed in 66 milliseconds

1234567