Home
last modified time | relevance | path

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

1234567

/PHP-8.0/ext/gd/libgd/
H A Dgd_wbmp.c104 int x, y, pos; in _gdImageWBMPCtx() local
114 pos = 0; in _gdImageWBMPCtx()
118 wbmp->bitmap[pos] = WBMP_BLACK; in _gdImageWBMPCtx()
120 pos++; in _gdImageWBMPCtx()
147 int col, row, pos; in gdImageCreateFromWBMPCtx() local
164 pos = 0; in gdImageCreateFromWBMPCtx()
167 if (wbmp->bitmap[pos++] == WBMP_WHITE) { in gdImageCreateFromWBMPCtx()
/PHP-8.0/ext/pcre/tests/
H A Dbug72685.phpt14 $pos = 0;
15 while (preg_match('/\G\w/u', $str, $m, 0, $pos)) ++$pos;
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_btree.c123 phpdbg_btree_position pos; in phpdbg_btree_find_between() local
125 pos.tree = tree; in phpdbg_btree_find_between()
126 pos.end = lower_idx; in phpdbg_btree_find_between()
127 pos.cur = higher_idx; in phpdbg_btree_find_between()
129 return pos; in phpdbg_btree_find_between()
132 phpdbg_btree_result *phpdbg_btree_next(phpdbg_btree_position *pos) { in phpdbg_btree_next() argument
133 phpdbg_btree_result *result = phpdbg_btree_find_closest(pos->tree, pos->cur); in phpdbg_btree_next()
135 if (result == NULL || result->idx < pos->end) { in phpdbg_btree_next()
139 pos->cur = result->idx - 1; in phpdbg_btree_next()
H A Dphpdbg_wait.c46 HashPosition pos[2]; member
74 zend_hash_internal_pointer_reset_ex(info->ht[0], &info->pos[0]); in phpdbg_array_intersect_init()
75 zend_hash_internal_pointer_reset_ex(info->ht[1], &info->pos[1]); in phpdbg_array_intersect_init()
91 zend_hash_move_forward_ex(info->ht[invalid], &info->pos[invalid]); in phpdbg_array_intersect()
109 zend_hash_move_forward_ex(info->ht[0], &info->pos[0]); in phpdbg_array_intersect()
113 zend_hash_move_forward_ex(info->ht[1], &info->pos[1]); in phpdbg_array_intersect()
201 phpdbg_intersect_ptr pos; in phpdbg_webdata_decompress() local
217 phpdbg_array_intersect_init(&pos, &zv_registry, Z_ARRVAL_P(zvp)); in phpdbg_webdata_decompress()
219 int mode = phpdbg_array_intersect(&pos, &module); in phpdbg_webdata_decompress()
238 zend_llist_position pos; in phpdbg_webdata_decompress() local
[all …]
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_metadata.phpt153 $pos = mt_rand(-1, $num + 1);
154 if ($pos >= 0 && $pos < $num) {
157 if (true !== $res_meta->field_seek($pos))
169 if ($tmp1 != $fields['res'][$pos]) {
172 var_dump($fields['res'][$pos]);
175 $pos++;
178 gettype($pos), $pos, gettype($tmp), $tmp);
182 gettype($pos), $pos, gettype($tmp), $tmp);
185 $tmp = @mysqli_field_seek($res, $pos);
186 if ($pos >= $num && $tmp !== false) {
[all …]
H A Dmysqli_stmt_get_result_seek.phpt74 $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-8.0/ext/mbstring/libmbfl/filters/
H A Dmk_emoji_tbl.pl81 $pos = $s % 94;
82 $ku = ($s - $pos)/94;
110 $pos = $s % 94;
111 $ku = ($s - $pos)/94;
189 $pos = $s % 94;
190 $ku = ($s - $pos)/94;
217 $pos = $s % 94;
218 $ku = ($s - $pos)/94;
309 $pos = $s % 94;
310 $ku = ($s - $pos)/94;
[all …]
/PHP-8.0/Zend/
H A Dzend_llist.c258 ZEND_API void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_first_ex() argument
260 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_first_ex()
271 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_last_ex() argument
273 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_last_ex()
284 ZEND_API void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_next_ex() argument
286 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_next_ex()
298 ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_prev_ex() argument
300 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_prev_ex()
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-8.0/ext/tokenizer/tests/
H A DPhpToken_constructor.phpt24 ["pos"]=>
34 ["pos"]=>
44 ["pos"]=>
/PHP-8.0/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-8.0/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-8.0/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-8.0/ext/json/
H A Djson_encoder.c261 size_t pos, checkpoint; in php_json_escape_string() local
291 pos = 0; in php_json_escape_string()
298 us = (unsigned char)s[pos]; in php_json_escape_string()
300 pos++; in php_json_escape_string()
303 smart_str_appendl(buf, s, pos); in php_json_escape_string()
307 if (pos) { in php_json_escape_string()
309 s += pos; in php_json_escape_string()
310 pos = 0; in php_json_escape_string()
369 s += pos; in php_json_escape_string()
370 len -= pos; in php_json_escape_string()
[all …]
/PHP-8.0/ext/dba/
H A Ddba_cdb.c56 uint32 pos; /* current position for traversing */ member
136 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
140 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
277 cdb->pos = 2048 + 4 + 4 + klen + dlen; in DBA_FIRSTKEY_FUNC()
294 CSEEK(cdb->pos); in DBA_NEXTKEY_FUNC()
308 cdb->pos += 8 + klen + dlen; in DBA_NEXTKEY_FUNC()
/PHP-8.0/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-8.0/ext/dba/libinifile/
H A Dinifile.c75 ln->pos = 0; in inifile_line_free()
166 char *pos; in inifile_read() local
175 pos = strchr(fline+1, ']'); in inifile_read()
176 if (pos) { in inifile_read()
177 *pos = '\0'; in inifile_read()
181 ln->pos = php_stream_tell(dba->fp); in inifile_read()
189 pos = strchr(fline, '='); in inifile_read()
190 if (pos) { in inifile_read()
191 *pos = '\0'; in inifile_read()
200 ln->val.value = etrim(pos+1); in inifile_read()
[all …]
/PHP-8.0/ext/spl/
H A Dspl_observer.c50 HashPosition pos; member
196 intern->pos = 0; in spl_object_storage_new_ex()
621 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
632 HashPosition pos; in PHP_METHOD() local
647 zend_hash_internal_pointer_reset_ex(&intern->storage, &pos); in PHP_METHOD()
659 zend_hash_move_forward_ex(&intern->storage, &pos); in PHP_METHOD()
968 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1033 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1055 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1096 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
[all …]
/PHP-8.0/ext/curl/
H A Dmulti.c128 zend_llist_position pos; in _php_curl_multi_find_easy_handle() local
132 pz_ch_temp = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in _php_curl_multi_find_easy_handle()
214 zend_llist_position pos; in PHP_FUNCTION() local
218 for (pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch; in PHP_FUNCTION()
219 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in PHP_FUNCTION()
311 zend_llist_position pos; in PHP_FUNCTION() local
320 for (pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch; in PHP_FUNCTION()
321 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in PHP_FUNCTION()
536 zend_llist_position pos; in curl_multi_free_obj() local
547 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in curl_multi_free_obj()
[all …]
/PHP-8.0/ext/standard/tests/filters/
H A Dbug81302.phpt13 $pos = ftell($f);
17 var_dump($count === $pos);
/PHP-8.0/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp157 int32_t pos = (int32_t)utext_nativeLength(this->fText); in last() local
158 UTEXT_SETNATIVEINDEX(this->fText, pos); in last()
161 return pos; in last()
284 int64_t pos = utext_getNativeIndex(this->fText); in refreshInputText() local
290 utext_setNativeIndex(this->fText, pos); in refreshInputText()
291 if (utext_getNativeIndex(fText) != pos) { in refreshInputText()
/PHP-8.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c703 return pos; in mbfl_find_offset_utf8()
711 pos += u8_tbl[*pos]; in mbfl_find_offset_utf8()
1209 _bk.pos = device.pos; in mbfl_strcut()
1226 device.pos = _bk.pos; in mbfl_strcut()
1239 bk.pos = device.pos; in mbfl_strcut()
1253 device.pos = _bk.pos; in mbfl_strcut()
1268 device.pos = bk.pos; in mbfl_strcut()
1288 device.pos = bk.pos; in mbfl_strcut()
1303 _bk.pos = device.pos; in mbfl_strcut()
1316 device.pos = bk.pos; in mbfl_strcut()
[all …]
/PHP-8.0/ext/mbstring/tests/
H A Dmb_ereg_search_setpos.phpt23 foreach($positions as $pos) {
24 echo("\n* Position: $pos :\n");
26 var_dump(mb_ereg_search_setpos($pos));
/PHP-8.0/ext/dba/libcdb/
H A Dcdb_make.c46 uint32 newpos = c->pos + len; in cdb_posplus()
51 c->pos = newpos; in cdb_posplus()
64 c->pos = sizeof(c->final); in cdb_make_start()
65 if (php_stream_seek(f, c->pos, SEEK_SET) == -1) { in cdb_make_start()
88 head->hp[head->num].p = c->pos; in cdb_make_addend()
194 uint32_pack(c->final + 8 * i,c->pos); in cdb_make_finish()

Completed in 78 milliseconds

1234567