/PHP-7.3/ext/standard/ |
H A D | html.c | 126 pos++; in get_next_char() 134 MB_FAILURE(pos, utf8_lead(str[pos + 1]) ? 1 : 2); in get_next_char() 140 pos += 2; in get_next_char() 160 pos += 3; in get_next_char() 181 pos += 4; in get_next_char() 205 pos += 2; in get_next_char() 208 pos += 1; in get_next_char() 231 pos += 2; in get_next_char() 234 pos += 1; in get_next_char() 256 pos += 2; in get_next_char() [all …]
|
H A D | formatted_print.c | 60 if (!*buffer || (*pos + 1) >= ZSTR_LEN(*buffer)) { in php_sprintf_appendchar() 65 ZSTR_VAL(*buffer)[(*pos)++] = add; in php_sprintf_appendchar() 87 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring() 91 req_size = *pos + m_width + 1; in php_sprintf_appendstring() 106 ZSTR_VAL(*buffer)[(*pos)++] = (neg) ? '-' : '+'; in php_sprintf_appendstring() 112 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring() 117 *pos += copy_len; in php_sprintf_appendstring() 120 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring() 339 php_sprintf_getnumber(char *buffer, size_t *pos) in php_sprintf_getnumber() argument 346 i = (endptr - &buffer[*pos]); in php_sprintf_getnumber() [all …]
|
/PHP-7.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 59 device->pos = 0; in mbfl_memory_device_init() 98 device->pos = 0; in mbfl_memory_device_clear() 106 device->pos = 0; in mbfl_memory_device_reset() 113 if (device->pos > 0) { in mbfl_memory_device_unput() 114 device->pos--; in mbfl_memory_device_unput() 122 result->len = device->pos; in mbfl_memory_device_result() 127 device->pos= 0; in mbfl_memory_device_result() 261 w = &device->buffer[device->pos]; in mbfl_memory_device_strncat() 263 device->pos += len; in mbfl_memory_device_strncat() 280 device->pos= 0; in mbfl_wchar_device_init() [all …]
|
/PHP-7.3/tests/lang/ |
H A D | foreachLoopIteratorAggregate.001.phpt | 6 private $pos=0; 12 return $this->pos < count($this->myContent); 18 $this->pos++; 24 $this->pos=0; 30 return $this->myContent[$this->pos]; 36 return "meal " . $this->pos; 42 private $pos=0; 54 $this->pos++; 60 $this->pos=0; 66 return $this->myContent[$this->pos]; [all …]
|
H A D | foreachLoopIterator.001.phpt | 7 private $pos=0; 12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 13 return $this->pos<3; 18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 19 return $this->myContent[$this->pos++]; 24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 25 $this->pos=0; 30 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 31 return $this->myContent[$this->pos]; 37 return "meal " . $this->pos; [all …]
|
H A D | foreachLoopIteratorAggregate.003.phpt | 6 private $pos=0; 11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 12 return $this->pos<3; 17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 18 return $this->myContent[$this->pos++]; 23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 24 $this->pos=0; 29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 30 return $this->myContent[$this->pos]; 35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; [all …]
|
/PHP-7.3/ext/dba/libcdb/ |
H A D | cdb.c | 46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) in cdb_match() argument 55 if (cdb_read(c, buf, n, pos) == -1) in cdb_match() 59 pos += n; in cdb_match() 104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read() argument 106 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read() 132 uint32 pos; in cdb_findnext() local 153 uint32_unpack(buf + 4, &pos); in cdb_findnext() 154 if (!pos) in cdb_findnext() 162 if (cdb_read(c, buf, 8, pos) == -1) in cdb_findnext() 166 switch(cdb_match(c, key, len, pos + 8)) { in cdb_findnext() [all …]
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | include_userstream_001.phpt | 10 private $pos; 15 $this->pos = strlen($this->data); 24 $ret = substr($this->data, $this->pos, $count); 25 $this->pos += strlen($ret); 31 return $this->pos; 36 return $this->pos >= strlen($this->data); 44 $this->pos = $offset; 52 $this->pos += $offset; 60 $this->pos = strlen($this->data) + $offset;
|
H A D | include_userstream_002.phpt | 10 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/gd/libgd/ |
H A D | gd_io_dp.c | 35 int pos; member 146 return (dctx->dp->pos); in dynamicTell() 155 if (pos < 0) { in dynamicSeek() 165 bytesNeeded = pos; in dynamicSeek() 177 if (pos > dp->logicalSize) { in dynamicSeek() 178 dp->logicalSize = pos; in dynamicSeek() 181 dp->pos = pos; in dynamicSeek() 194 dp->pos = 0; in newDynamic() 250 dp->pos += rlen; in dynamicGetbuf() 290 dp->pos = 0; in allocDynamic() [all …]
|
H A D | gd_wbmp.c | 97 int x, y, pos; in gdImageWBMPCtx() local 107 pos = 0; in gdImageWBMPCtx() 111 wbmp->bitmap[pos] = WBMP_BLACK; in gdImageWBMPCtx() 113 pos++; in gdImageWBMPCtx() 135 int col, row, pos; in gdImageCreateFromWBMPCtx() local 152 pos = 0; in gdImageCreateFromWBMPCtx() 155 if (wbmp->bitmap[pos++] == WBMP_WHITE) { in gdImageCreateFromWBMPCtx()
|
/PHP-7.3/ext/intl/tests/ |
H A D | rbbiter_getRuleStatus_basic.phpt | 29 echo "pos : {$rbbi->current()}\n", 36 pos : 0 38 pos : 12 40 pos : 16 42 pos : 17 44 pos : 19
|
H A D | formatter_parse_currency.phpt | 17 $pos = 0; 19 $num = ut_nfmt_parse_currency( $fmt, '$9,988,776.65', $currency, $pos ); 23 $pos = 1; 25 $num = ut_nfmt_parse_currency( $fmt, ' $123.45', $currency, $pos );
|
/PHP-7.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 184 int pos, ent = 0; in mbfl_filt_conv_html_dec() local 201 for (pos=3; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec() 202 int v = buffer[pos]; in mbfl_filt_conv_html_dec() 221 for (pos=2; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec() 222 int v = buffer[pos]; in mbfl_filt_conv_html_dec() 238 for (pos = 0; pos < filter->status; pos++) { in mbfl_filt_conv_html_dec() 239 CK((*filter->output_function)(buffer[pos], filter->data)); in mbfl_filt_conv_html_dec() 293 int status, pos = 0; in mbfl_filt_conv_html_dec_flush() local 303 int e = (*filter->output_function)(buffer[pos++], filter->data); in mbfl_filt_conv_html_dec_flush()
|
H A D | mk_emoji_tbl.pl | 81 $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-7.3/ext/mysqli/ |
H A D | mysqli_embedded.c | 42 HashPosition pos; in PHP_FUNCTION() local 58 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(args), &pos); in PHP_FUNCTION() 60 for (index = 0;; zend_hash_move_forward_ex(Z_ARRVAL_P(args), &pos)) { in PHP_FUNCTION() 63 if (zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION() 79 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(grps), &pos); in PHP_FUNCTION() 81 for (index = 0;; zend_hash_move_forward_ex(Z_ARRVAL_P(grps), &pos)) { in PHP_FUNCTION() 84 if (zend_hash_get_current_data_ex(Z_ARRVAL_P(grps), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION()
|
/PHP-7.3/ext/intl/grapheme/ |
H A D | grapheme_util.c | 239 int ret_len, pos; in grapheme_split_string() local 250 pos = 0; in grapheme_split_string() 254 pos = ubrk_next(bi); in grapheme_split_string() 256 if ( pos != UBRK_DONE ) { in grapheme_split_string() 276 int pos = 0; in grapheme_count_graphemes() local 283 pos = ubrk_next(bi); in grapheme_count_graphemes() 285 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes() 299 int32_t pos; in grapheme_get_haystack_offset() local 317 pos = 0; in grapheme_get_haystack_offset() 321 pos = iter_op(bi); in grapheme_get_haystack_offset() [all …]
|
/PHP-7.3/ext/json/ |
H A D | json_encoder.c | 282 pos = 0; in php_json_escape_string() 292 if (pos) { in php_json_escape_string() 294 s += pos; in php_json_escape_string() 295 pos = 0; in php_json_escape_string() 302 s += pos; in php_json_escape_string() 303 pos = 0; in php_json_escape_string() 331 s += pos; in php_json_escape_string() 332 pos = 0; in php_json_escape_string() 358 s += pos; in php_json_escape_string() 359 pos = 0; in php_json_escape_string() [all …]
|
/PHP-7.3/ext/simplexml/tests/ |
H A D | bug36611.phpt | 11 <pos > 12 <pos/> 13 </pos> 22 $zml->pos["act_idx"] = $val;
|
/PHP-7.3/main/streams/ |
H A D | glob_wrapper.c | 112 const char *pos, *gpath = path; in php_glob_stream_path_split() local 114 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split() 115 path = pos+1; in php_glob_stream_path_split() 118 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split() 119 path = pos+1; in php_glob_stream_path_split() 212 const char *tmp, *pos; in php_glob_stream_opener() local 237 pos = path; in php_glob_stream_opener() 238 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener() 239 pos = tmp+1; in php_glob_stream_opener() 243 pos = tmp+1; in php_glob_stream_opener() [all …]
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 54 blacklist->pos = 0; in zend_accel_blacklist_init() 83 if (blacklist->pos == 0) { in zend_accel_blacklist_update_regexp() 95 for (i = 0; i < blacklist->pos; ) { in zend_accel_blacklist_update_regexp() 163 if (*c || i == blacklist->pos - 1) { in zend_accel_blacklist_update_regexp() 229 if (blacklist->pos == blacklist->size) { in zend_accel_blacklist_allocate() 303 blacklist->entries[blacklist->pos].path_length = path_length; in zend_accel_blacklist_loadone() 304 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone() 305 if (!blacklist->entries[blacklist->pos].path) { in zend_accel_blacklist_loadone() 310 blacklist->entries[blacklist->pos].id = blacklist->pos; in zend_accel_blacklist_loadone() 312 blacklist->pos++; in zend_accel_blacklist_loadone() [all …]
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 125 phpdbg_btree_position pos; in phpdbg_btree_find_between() local 127 pos.tree = tree; in phpdbg_btree_find_between() 128 pos.end = lower_idx; in phpdbg_btree_find_between() 129 pos.cur = higher_idx; in phpdbg_btree_find_between() 131 return pos; in phpdbg_btree_find_between() 134 phpdbg_btree_result *phpdbg_btree_next(phpdbg_btree_position *pos) { in phpdbg_btree_next() argument 135 phpdbg_btree_result *result = phpdbg_btree_find_closest(pos->tree, pos->cur); in phpdbg_btree_next() 137 if (result == NULL || result->idx < pos->end) { in phpdbg_btree_next() 141 pos->cur = result->idx - 1; in phpdbg_btree_next()
|
H A D | phpdbg_wait.c | 48 HashPosition pos[2]; member 80 zend_hash_internal_pointer_reset_ex(info->ht[0], &info->pos[0]); in phpdbg_array_intersect_init() 81 zend_hash_internal_pointer_reset_ex(info->ht[1], &info->pos[1]); in phpdbg_array_intersect_init() 97 zend_hash_move_forward_ex(info->ht[invalid], &info->pos[invalid]); in phpdbg_array_intersect() 115 zend_hash_move_forward_ex(info->ht[0], &info->pos[0]); in phpdbg_array_intersect() 119 zend_hash_move_forward_ex(info->ht[1], &info->pos[1]); in phpdbg_array_intersect() 207 phpdbg_intersect_ptr pos; in phpdbg_webdata_decompress() local 223 phpdbg_array_intersect_init(&pos, &zv_registry, Z_ARRVAL_P(zvp)); in phpdbg_webdata_decompress() 225 int mode = phpdbg_array_intersect(&pos, &module); in phpdbg_webdata_decompress() 244 zend_llist_position pos; in phpdbg_webdata_decompress() local [all …]
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regint.h | 342 #define BS_ROOM(bs,pos) (bs)[(unsigned int )(pos) >> 5] argument 343 #define BS_BIT(pos) (1u << ((unsigned int )(pos) & 0x1f)) argument 345 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos)) argument 346 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos) argument 347 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos)) argument 348 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos) argument 384 int used = (pos) + (n);\ 391 int used = (pos) + 1;\ 393 (buf)->p[(pos)] = (byte);\ 425 BB_MOVE_RIGHT((buf),(pos),(pos) + (n),((buf)->used - (pos)));\ [all …]
|
/PHP-7.3/Zend/ |
H A D | zend_llist.c | 258 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()
|