/php-src/Zend/ |
H A D | zend_weakrefs.c | 609 return &EG(ht_iterators)[iter->ht_iter].pos; in zend_weakmap_iterator_get_pos_ptr() 623 HashPosition *pos = zend_weakmap_iterator_get_pos_ptr(iter); in zend_weakmap_iterator_valid() local 624 return zend_hash_has_more_elements_ex(&wm->ht, pos); in zend_weakmap_iterator_valid() 631 HashPosition *pos = zend_weakmap_iterator_get_pos_ptr(iter); in zend_weakmap_iterator_get_current_data() local 632 return zend_hash_get_current_data_ex(&wm->ht, pos); in zend_weakmap_iterator_get_current_data() 639 HashPosition *pos = zend_weakmap_iterator_get_pos_ptr(iter); in zend_weakmap_iterator_get_current_key() local 643 int key_type = zend_hash_get_current_key_ex(&wm->ht, &string_key, &num_key, pos); in zend_weakmap_iterator_get_current_key() 655 HashPosition *pos = zend_weakmap_iterator_get_pos_ptr(iter); in zend_weakmap_iterator_move_forward() local 656 zend_hash_move_forward_ex(&wm->ht, pos); in zend_weakmap_iterator_move_forward() 663 HashPosition *pos = zend_weakmap_iterator_get_pos_ptr(iter); in zend_weakmap_iterator_rewind() local [all …]
|
/php-src/ext/standard/ |
H A D | array.c | 1531 EG(ht_iterators)[ht_iter].pos = pos; in php_array_walk() 3364 pos++; 3371 pos++; 3401 pos++; 3416 pos++; 3438 pos++; 3490 pos++; 3850 pos = 0; 3856 ++pos; 3877 pos = 0; [all …]
|
H A D | string.c | 1392 } else if (*(pos-2) == '/' || *(pos-2) == '\\') { in _is_basename_start() 3062 pos++; 3979 int pos = 0; local 3985 pos += n; 3992 pos++; 3996 for (; pos < 16; pos++) { 4014 pos += n; 4021 pos++; 4024 for (; pos < 16; pos++) { 5130 size_t pos; local [all …]
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_blacklist.h | 36 int pos; member
|
H A D | zend_shared_alloc.c | 292 if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= reserved_size) { in zend_shared_alloc_startup() 349 size_t block_size = ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() 379 …if (ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a va… in zend_shared_alloc() 380 …void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); in zend_shared_alloc() 382 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc() 600 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state() 610 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
|
/php-src/ext/dba/libcdb/ |
H A D | cdb_make.h | 48 uint32 pos; member
|
/php-src/ext/mysqli/ |
H A D | mysqli_prop.c | 208 zend_llist_position pos; in link_error_list_read() local 209 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos); in link_error_list_read() 211 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos)) in link_error_list_read() 347 zend_llist_position pos; in stmt_error_list_read() local 348 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos); in stmt_error_list_read() 350 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos)) in stmt_error_list_read()
|
/php-src/main/streams/ |
H A D | cast.c | 236 zend_off_t pos; in _php_stream_cast() local 242 pos = php_stream_tell(stream); in _php_stream_cast() 243 if (pos > 0) { in _php_stream_cast() 244 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
|
H A D | memory.c | 352 zend_off_t pos = php_stream_tell(ts->innerstream); in php_stream_temp_write() local 354 if (pos + count >= ts->smax) { in php_stream_temp_write() 365 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_write() 458 zend_off_t pos; in php_stream_temp_cast() local 492 pos = php_stream_tell(ts->innerstream); in php_stream_temp_cast() 497 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
|
/php-src/ext/dom/ |
H A D | dom_iterators.c | 181 zend_hash_move_forward_ex(nodeht, &iterator->pos); in php_dom_iterator_move_forward() 182 if ((entry = zend_hash_get_current_data_ex(nodeht, &iterator->pos))) { in php_dom_iterator_move_forward() 278 zend_hash_internal_pointer_reset_ex(nodeht, &iterator->pos); in php_dom_get_iterator() 279 if ((entry = zend_hash_get_current_data_ex(nodeht, &iterator->pos))) { in php_dom_get_iterator()
|
/php-src/ext/intl/tests/ |
H A D | bug61487.phpt | 2 grapheme() str[i]pos limits
|
/php-src/main/ |
H A D | fastcgi.c | 185 char *pos; member 260 h->data->pos = h->data->data; in fcgi_hash_init() 303 h->data->pos = h->data->data; in fcgi_hash_clean() 314 p->pos = p->data; in fcgi_hash_strndup() 315 p->end = p->pos + seg_size; in fcgi_hash_strndup() 319 ret = h->data->pos; in fcgi_hash_strndup() 322 h->data->pos += str_len + 1; in fcgi_hash_strndup() 1608 int pos = 0; local 1623 pos += 0xfff8; 1626 pad = (((len - pos) + 7) & ~7) - (len - pos); [all …]
|
/php-src/ext/hash/ |
H A D | php_hash_sha3.h | 25 uint32_t pos; member
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_private.h | 574 uint32_t pos; member 581 q->pos = q->len - 1; in ir_bitqueue_init() 592 q->pos = q->len - 1; in ir_bitqueue_clear() 598 uint32_t i = q->pos; in ir_bitqueue_pop() 605 q->pos = i; in ir_bitqueue_pop() 611 q->pos = q->len - 1; in ir_bitqueue_pop() 619 if (i < q->pos) { in ir_bitqueue_add() 620 q->pos = i; in ir_bitqueue_add() 829 uint32_t pos; member 1139 #define IR_LIVE_POS_TO_REF(pos) ((pos) / IR_SUB_REFS_COUNT) argument [all …]
|
/php-src/ext/dom/lexbor/lexbor/css/ |
H A D | parser.h | 162 const lxb_char_t *pos; member 475 if (parser->pos == NULL) { in lxb_css_parser_offset_set() 477 parser->pos = parser->tkz->in_begin; in lxb_css_parser_offset_set() 481 parser->pos = lxb_css_syntax_token_base(token)->begin in lxb_css_parser_offset_set()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_arm.lua | 120 local pos = #actlist+1 121 actlist[pos] = "" 122 return pos 126 local function wputpos(pos, n) 129 insert(actlist, pos+1, n) 132 actlist[pos] = n 829 local function parse_template(params, template, nparams, pos) 922 wputpos(pos, op) 931 local pos = wpos() 936 ok, err = pcall(parse_template, params, t, nparams, pos)
|
H A D | dasm_arm64.lua | 122 local pos = #actlist+1 123 actlist[pos] = "" 124 return pos 128 local function wputpos(pos, n) 131 insert(actlist, pos+1, n) 134 actlist[pos] = n 908 local function parse_template(params, template, nparams, pos) 1004 wputpos(pos, op) 1013 local pos = wpos() 1018 ok, err = pcall(parse_template, params, t, nparams, pos)
|
H A D | dasm_mips.lua | 123 local pos = #actlist+1 124 actlist[pos] = "" 125 return pos 129 local function wputpos(pos, n) 131 actlist[pos] = n 956 local pos = wpos() 1014 wputpos(pos, op)
|
/php-src/ext/gd/libgd/ |
H A D | gd_io.c | 193 int gdSeek (gdIOCtx * ctx, const int pos) in gdSeek() argument 196 return ((ctx->seek) (ctx, pos)); in gdSeek()
|
/php-src/ext/spl/tests/ |
H A D | iterator_007.phpt | 76 $pos =0; 83 if ($pos++ > 1) {
|
/php-src/ext/dba/libflatfile/ |
H A D | flatfile.c | 107 size_t pos; in flatfile_delete() local 120 pos = php_stream_tell(dba->fp); in flatfile_delete() 126 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete()
|
/php-src/ext/dba/libinifile/ |
H A D | inifile.h | 32 size_t pos; member
|
/php-src/ext/soap/ |
H A D | php_http.c | 1240 char *pos = NULL; in make_http_soap_request() local 1242 pos = strstr(content_type,";"); in make_http_soap_request() 1243 if (pos != NULL) { in make_http_soap_request() 1244 cmplen = pos - content_type; in make_http_soap_request() 1354 char *pos, *tmp = NULL; in get_http_header_value_nodup() local 1362 pos = headers; in get_http_header_value_nodup() 1369 tmp = pos + typelen; in get_http_header_value_nodup() 1395 pos = strchr(pos, '\n'); in get_http_header_value_nodup() 1396 if (pos) { in get_http_header_value_nodup() 1397 pos++; in get_http_header_value_nodup() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_btree.h | 53 phpdbg_btree_result *phpdbg_btree_next(phpdbg_btree_position *pos);
|
/php-src/ext/standard/tests/strings/ |
H A D | strrpos_negative_offset.phpt | 2 strr[i]pos() function with negative offset
|