Home
last modified time | relevance | path

Searched refs:pos (Results 101 – 125 of 159) sorted by relevance

1234567

/PHP-7.4/ext/opcache/
H A Dshared_alloc_shm.c120 shared_segments[i].common.pos = 0; in create_segments()
H A Dzend_shared_alloc.h78 size_t pos; /* position for simple stack allocator */ member
H A DZendAccelerator.c391 #define STRTAB_POS_TO_STR(tab, pos) \ argument
441 uint32_t pos; in accel_find_interned_string() local
466 pos = STRTAB_COLLISION(s); in accel_find_interned_string()
467 } while (pos != STRTAB_INVALID_POS); in accel_find_interned_string()
476 uint32_t pos, *hash_slot; in accel_new_interned_string() local
492 pos = *hash_slot; in accel_new_interned_string()
500 pos = STRTAB_COLLISION(s); in accel_new_interned_string()
501 } while (pos != STRTAB_INVALID_POS); in accel_new_interned_string()
543 uint32_t pos; in accel_find_interned_string_ex() local
556 pos = STRTAB_COLLISION(s); in accel_find_interned_string_ex()
[all …]
H A Dshared_alloc_win32.c309 shared_segment->pos = ACCEL_BASE_POINTER_SIZE; in create_segments()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c247 xmlChar *pos; in whiteSpace_collapse() local
250 pos = str; in whiteSpace_collapse()
259 pos++; in whiteSpace_collapse()
265 --pos; in whiteSpace_collapse()
267 *pos = '\0'; in whiteSpace_collapse()
2015 int *pos; in get_position_12() local
2033 pos[i] = (pos[i]*10)+(*str-'0'); in get_position_12()
2041 return pos; in get_position_12()
2063 (*pos)[i] = ((*pos)[i]*10)+(*str-'0'); in get_position_ex()
2073 int *pos; in get_position() local
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.c591 HashPosition pos; local
609 zend_hash_internal_pointer_end_ex(hti->ht, &pos);
610 hti->last = hti->ht->arData + pos;
1106 …phpdbg_btree_position pos = phpdbg_btree_find_between(&PHPDBG_G(watchpoint_tree), page, page + php… local
1108 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-7.4/ext/spl/
H A Dspl_iterators.c1648 intern->current.pos = 0; in spl_dual_it_rewind()
1697 intern->current.pos++; in spl_dual_it_next()
2473 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
2474 ZVAL_LONG(&zpos, pos); in spl_limit_it_seek()
2478 intern->current.pos = pos; in spl_limit_it_seek()
2486 if (pos < intern->current.pos) { in spl_limit_it_seek()
2489 while (pos > intern->current.pos && spl_dual_it_valid(intern) == SUCCESS) { in spl_limit_it_seek()
2547 zend_long pos; in SPL_METHOD() local
2554 spl_limit_it_seek(intern, pos); in SPL_METHOD()
2555 RETURN_LONG(intern->current.pos); in SPL_METHOD()
[all …]
H A Dspl_iterators.h131 zend_long pos; member
H A Dspl_directory.c245 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos])) argument
841 zend_long pos; in SPL_METHOD() local
843 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &pos) == FAILURE) { in SPL_METHOD()
847 if (intern->u.dir.index > pos) { in SPL_METHOD()
852 while (intern->u.dir.index < pos) { in SPL_METHOD()
858 …ception_ex(spl_ce_OutOfBoundsException, 0, "Seek position " ZEND_LONG_FMT " is out of range", pos); in SPL_METHOD()
2803 zend_long pos, whence = SEEK_SET; in SPL_METHOD() local
2805 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD()
2815 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in SPL_METHOD()
3062 ZEND_ARG_INFO(0, pos)
/PHP-7.4/ext/standard/tests/array/
H A Dcurrent_variation4.phpt8 * Alias to functions: pos
H A Dcurrent_variation2.phpt8 * Alias to functions: pos
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php729 $pos = 0;
732 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
/PHP-7.4/ext/standard/
H A Dbrowscap.c361 size_t pos; in php_browscap_parser_cb() local
392 pos = entry->prefix_len = browscap_compute_prefix_len(pattern); in php_browscap_parser_cb()
394 pos = browscap_compute_contains(pattern, pos, in php_browscap_parser_cb()
H A Dimage.c182 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument
187 for (loop = pos; loop < pos + count; loop++) in php_swf_get_bits()
190 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
H A Dstreamsfuncs.c473 zend_long maxlen = PHP_STREAM_COPY_ALL, pos = 0; in PHP_FUNCTION() local
482 Z_PARAM_LONG(pos) in PHP_FUNCTION()
488 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
489 …p_error_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FMT " in the stream", pos); in PHP_FUNCTION()
/PHP-7.4/win32/
H A Dioutil.c605 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w() local
614 for (; (size_t)(idx - *buf) <= len; idx++, pos++) { in php_win32_ioutil_normalize_path_w()
615 *pos = *idx; in php_win32_ioutil_normalize_path_w()
616 if (PHP_WIN32_IOUTIL_FW_SLASHW == *pos) { in php_win32_ioutil_normalize_path_w()
617 *pos = PHP_WIN32_IOUTIL_DEFAULT_SLASHW; in php_win32_ioutil_normalize_path_w()
/PHP-7.4/ext/dom/
H A Dphp_dom.h94 HashPosition pos; member
/PHP-7.4/ext/mysqli/
H A Dmysqli_nonapi.c495 zend_llist_position pos; local
497 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos);
499 …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-7.4/ext/dba/
H A Ddba.c205 HashPosition pos; local
212 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos);
213 group = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos);
214 zend_hash_move_forward_ex(Z_ARRVAL_P(key), &pos);
215 name = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c316 zend_llist_position pos; in sapi_cgi_send_headers() local
351 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
359 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
386 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
401 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
408 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
/PHP-7.4/main/streams/
H A Dmemory.c486 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-7.4/Zend/
H A Dzend_generators.c702 HashPosition pos = Z_FE_POS(generator->values); in zend_generator_get_next_delegated_value() local
706 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
711 p = &ht->arData[pos]; in zend_generator_get_next_delegated_value()
716 pos++; in zend_generator_get_next_delegated_value()
729 Z_FE_POS(generator->values) = pos; in zend_generator_get_next_delegated_value()
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c161 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local
163 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local
165 *newoffset = pos; in pgsql_lob_seek()
166 return pos >= 0 ? 0 : -1; in pgsql_lob_seek()
/PHP-7.4/ext/exif/
H A Dexif.c3986 size_t length=2, pos=0; in exif_scan_thumbnail() local
3999 pos += length; in exif_scan_thumbnail()
4000 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
4002 c = data[pos++]; in exif_scan_thumbnail()
4003 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
4009 while ((c = data[pos++]) == 0xFF && n--) { in exif_scan_thumbnail()
4010 if (pos+3>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
4017 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
4019 length = php_jpg_get16(data+pos); in exif_scan_thumbnail()
4041 if (length < 8 || ImageInfo->Thumbnail.size - 8 < pos) { in exif_scan_thumbnail()
[all …]
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcdf.c391 size_t pos = CDF_SEC_POS(h, id); in cdf_read_sector() local
393 return cdf_read(info, CAST(zend_off_t, pos), RCAST(char *, buf) + offs, len); in cdf_read_sector()
400 size_t pos = CDF_SHORT_SEC_POS(h, id); in cdf_read_short_sector() local
402 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector()
405 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector()
409 RCAST(const char *, sst->sst_tab) + pos, len); in cdf_read_short_sector()

Completed in 136 milliseconds

1234567