/PHP-8.0/ext/standard/tests/strings/ |
H A D | strrpos_negative_offset.phpt | 2 strr[i]pos() function with negative offset
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_btree.h | 53 phpdbg_btree_result *phpdbg_btree_next(phpdbg_btree_position *pos);
|
H A D | phpdbg_watch.c | 589 HashPosition pos; local 607 zend_hash_internal_pointer_end_ex(hti->ht, &pos); 608 hti->last = hti->ht->arData + pos; 1104 …phpdbg_btree_position pos = phpdbg_btree_find_between(&PHPDBG_G(watchpoint_tree), page, page + php… local 1106 while ((res = phpdbg_btree_next(&pos))) { 1416 phpdbg_btree_position pos; local 1425 pos = phpdbg_btree_find_between(&PHPDBG_G(watchpoint_tree), 0, -1); 1426 while ((res = phpdbg_btree_next(&pos))) { 1441 phpdbg_btree_position pos; local 1444 pos = phpdbg_btree_find_between(&PHPDBG_G(watchpoint_tree), 0, -1); [all …]
|
/PHP-8.0/ext/mbstring/ |
H A D | mbstring.c | 598 while (*pos && *pos != stop) { in php_mb_rfc1867_getword() 600 ++pos; in php_mb_rfc1867_getword() 601 while (*pos && *pos != quote) { in php_mb_rfc1867_getword() 602 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_mb_rfc1867_getword() 603 pos += 2; in php_mb_rfc1867_getword() 605 ++pos; in php_mb_rfc1867_getword() 608 if (*pos) { in php_mb_rfc1867_getword() 609 ++pos; in php_mb_rfc1867_getword() 628 *line = pos; in php_mb_rfc1867_getword() 3274 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \ [all …]
|
/PHP-8.0/ext/standard/ |
H A D | string.c | 2843 pos++; 3690 int pos = 0; local 3696 pos += n; 3703 pos++; 3707 for (; pos < 16; pos++) { 3716 int pos = 0; local 3725 pos += n; 3732 pos++; 3735 for (; pos < 16; pos++) { 4813 size_t pos; local [all …]
|
H A D | array.c | 1391 EG(ht_iterators)[ht_iter].pos = pos; in php_array_walk() 3057 pos++; 3065 pos++; 3081 int pos2 = pos; 3101 pos++; 3121 pos++; 3451 zend_long pos; local 3460 pos = 0; 3466 ++pos; 6080 pos++; [all …]
|
H A D | browscap.c | 359 size_t pos; in php_browscap_parser_cb() local 390 pos = entry->prefix_len = browscap_compute_prefix_len(pattern); in php_browscap_parser_cb() 392 pos = browscap_compute_contains(pattern, pos, in php_browscap_parser_cb()
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_variant.c | 35 HashPosition pos; in safe_array_from_zval() local 43 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval() 44 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval() 46 keytype = zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval() 68 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval() 69 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval() 70 if (NULL == (item = zend_hash_get_current_data_ex(Z_ARRVAL_P(z), &pos))) { in safe_array_from_zval() 73 zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval()
|
/PHP-8.0/main/streams/ |
H A D | memory.c | 378 zend_off_t pos = php_stream_tell(ts->innerstream); in php_stream_temp_write() local 380 if (pos + count >= ts->smax) { in php_stream_temp_write() 392 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_write() 486 zend_off_t pos; in php_stream_temp_cast() local 520 pos = php_stream_tell(ts->innerstream); in php_stream_temp_cast() 525 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
|
/PHP-8.0/Zend/ |
H A D | zend_hash.h | 228 #define zend_hash_has_more_elements_ex(ht, pos) \ argument 229 (zend_hash_get_current_key_type_ex(ht, pos) == HASH_KEY_NON_EXISTENT ? FAILURE : SUCCESS) 230 ZEND_API zend_result ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); 231 ZEND_API zend_result ZEND_FASTCALL zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); 234 ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos); 235 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); 236 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos); 237 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos); 310 ZEND_API uint32_t ZEND_FASTCALL zend_hash_iterator_add(HashTable *ht, HashPosition pos); 927 static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) in zend_hash_get_current_data_ptr_ex() argument [all …]
|
H A D | zend_alloc.c | 570 if (pos != end) { 574 while (pos != end) { 581 bitset[pos] |= tmp; 587 bitset[pos] |= tmp; 602 if (pos != end) { 606 while (pos != end) { 608 bitset[pos++] = 0; 613 bitset[pos] &= ~tmp; 619 bitset[pos] &= ~tmp; 634 if (pos != end) { [all …]
|
/PHP-8.0/ext/soap/ |
H A D | php_http.c | 1247 char *pos = NULL; in make_http_soap_request() local 1249 pos = strstr(content_type,";"); in make_http_soap_request() 1250 if (pos != NULL) { in make_http_soap_request() 1251 cmplen = pos - content_type; in make_http_soap_request() 1361 char *pos, *tmp = NULL; in get_http_header_value_nodup() local 1369 pos = headers; in get_http_header_value_nodup() 1376 tmp = pos + typelen; in get_http_header_value_nodup() 1402 pos = strchr(pos, '\n'); in get_http_header_value_nodup() 1403 if (pos) { in get_http_header_value_nodup() 1404 pos++; in get_http_header_value_nodup() [all …]
|
H A D | php_encoding.c | 245 xmlChar *pos; in whiteSpace_collapse() local 248 pos = str; in whiteSpace_collapse() 257 pos++; in whiteSpace_collapse() 263 --pos; in whiteSpace_collapse() 265 *pos = '\0'; in whiteSpace_collapse() 2013 int *pos; in get_position_12() local 2031 pos[i] = (pos[i]*10)+(*str-'0'); in get_position_12() 2039 return pos; in get_position_12() 2061 (*pos)[i] = ((*pos)[i]*10)+(*str-'0'); in get_position_ex() 2071 int *pos; in get_position() local [all …]
|
/PHP-8.0/ext/spl/ |
H A D | spl_iterators.c | 1506 intern->current.pos = 0; in spl_dual_it_rewind() 1555 intern->current.pos++; in spl_dual_it_next() 2216 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek() 2217 ZVAL_LONG(&zpos, pos); in spl_limit_it_seek() 2221 intern->current.pos = pos; in spl_limit_it_seek() 2229 if (pos < intern->current.pos) { in spl_limit_it_seek() 2232 while (pos > intern->current.pos && spl_dual_it_valid(intern) == SUCCESS) { in spl_limit_it_seek() 2297 zend_long pos; in PHP_METHOD() local 2304 spl_limit_it_seek(intern, pos); in PHP_METHOD() 2305 RETURN_LONG(intern->current.pos); in PHP_METHOD() [all …]
|
H A D | spl_iterators.h | 130 zend_long pos; member
|
/PHP-8.0/ext/opcache/ |
H A D | shared_alloc_mmap.c | 113 shared_segment->pos = 0; in create_segments()
|
H A D | shared_alloc_shm.c | 120 shared_segments[i].common.pos = 0; in create_segments()
|
H A D | zend_shared_alloc.h | 79 size_t pos; /* position for simple stack allocator */ member
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | userstreams.phpt | 261 …printf("REAL: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $rpb, $rpa, ftell($tf), $rr, strlen($rline),… 262 …printf("USER: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $upb, $upa, ftell($fp), $ur, strlen($uline),… 301 …echo "FGETS: FAIL\niter=$n user=$uline [pos=" . ftell($fp) . "]\nreal=$rline [pos=" . ftell($tf) .…
|
/PHP-8.0/ext/standard/html_tables/ |
H A D | html_table_gen.php | 725 $pos = 0; 728 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
|
/PHP-8.0/ext/tokenizer/ |
H A D | tokenizer.c | 128 zend_long pos = -1; in PHP_METHOD() local 136 Z_PARAM_LONG(pos) in PHP_METHOD() 143 ZVAL_LONG(OBJ_PROP_NUM(obj, 3), pos); in PHP_METHOD()
|
/PHP-8.0/win32/ |
H A D | ioutil.c | 603 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w() local 612 for (; (size_t)(idx - *buf) <= len; idx++, pos++) { in php_win32_ioutil_normalize_path_w() 613 *pos = *idx; in php_win32_ioutil_normalize_path_w() 614 if (PHP_WIN32_IOUTIL_FW_SLASHW == *pos) { in php_win32_ioutil_normalize_path_w() 615 *pos = PHP_WIN32_IOUTIL_DEFAULT_SLASHW; in php_win32_ioutil_normalize_path_w()
|
/PHP-8.0/ext/dba/ |
H A D | dba.c | 106 HashPosition pos; local 113 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos); 114 group = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos); 115 zend_hash_move_forward_ex(Z_ARRVAL_P(key), &pos); 116 name = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos);
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_nonapi.c | 496 zend_llist_position pos; local 498 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos); 500 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos)) 541 zend_llist_position pos; local 543 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos); 545 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos))
|
/PHP-8.0/ext/dom/ |
H A D | php_dom.h | 93 HashPosition pos; member
|