/PHP-7.2/ext/dba/ |
H A D | dba.c | 208 HashPosition pos; local 215 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos); 216 group = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos); 217 zend_hash_move_forward_ex(Z_ARRVAL_P(key), &pos); 218 name = zend_hash_get_current_data_ex(Z_ARRVAL_P(key), &pos);
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_main.c | 358 zend_llist_position pos; in sapi_cgi_send_headers() local 393 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() 427 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 442 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 449 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
|
/PHP-7.2/main/streams/ |
H A D | memory.c | 467 zend_off_t pos; in php_stream_temp_cast() local 501 pos = php_stream_tell(ts->innerstream); in php_stream_temp_cast() 506 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
|
H A D | streams.c | 166 zend_llist_position pos; in php_stream_display_wrapper_errors() local 176 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors() 178 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors() 186 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors() 188 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors()
|
/PHP-7.2/Zend/ |
H A D | zend_generators.c | 721 HashPosition pos = Z_FE_POS(generator->values); in zend_generator_get_next_delegated_value() local 725 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value() 730 p = &ht->arData[pos]; in zend_generator_get_next_delegated_value() 735 pos++; in zend_generator_get_next_delegated_value() 748 Z_FE_POS(generator->values) = pos; in zend_generator_get_next_delegated_value()
|
H A D | zend_vm_def.h | 5876 HashPosition pos; variable 5903 pos++; 5943 pos++; 5962 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos; 6036 HashPosition pos; variable 6065 pos++; 6078 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos; 6108 pos++; 6127 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos; 8839 HashPosition pos; variable [all …]
|
H A D | zend_operators.c | 2279 size_t pos=Z_STRLEN_P(str)-1; in increment_string() local 2303 ch = s[pos]; in increment_string() 2306 s[pos] = 'a'; in increment_string() 2309 s[pos]++; in increment_string() 2315 s[pos] = 'A'; in increment_string() 2318 s[pos]++; in increment_string() 2324 s[pos] = '0'; in increment_string() 2327 s[pos]++; in increment_string() 2338 } while (pos-- > 0); in increment_string()
|
/PHP-7.2/ext/xml/ |
H A D | xml.c | 557 size_t pos = len; in xml_utf8_encode() local 579 while (pos > 0) { in xml_utf8_encode() 596 pos--; in xml_utf8_encode() 608 size_t pos = 0; in xml_utf8_decode() local 628 while (pos < len) { in xml_utf8_decode() 630 c = php_next_utf8_char((const unsigned char*)s, (size_t) len, &pos, &status); in xml_utf8_decode()
|
/PHP-7.2/ext/spl/ |
H A D | spl_directory.c | 244 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos])) argument 842 zend_long pos; in SPL_METHOD() local 844 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &pos) == FAILURE) { in SPL_METHOD() 848 if (intern->u.dir.index > pos) { in SPL_METHOD() 853 while (intern->u.dir.index < pos) { in SPL_METHOD() 861 …ception_ex(spl_ce_OutOfBoundsException, 0, "Seek position " ZEND_LONG_FMT " is out of range", pos); in SPL_METHOD() 2796 zend_long pos, whence = SEEK_SET; in SPL_METHOD() local 2798 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD() 2808 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in SPL_METHOD() 3049 ZEND_ARG_INFO(0, pos)
|
H A D | spl_array.c | 138 zend_hash_internal_pointer_reset_ex(ht, &EG(ht_iterators)[intern->ht_iter].pos); in spl_array_create_ht_iter() 148 return &EG(ht_iterators)[intern->ht_iter].pos; in spl_array_get_pos_ptr() 1406 HashPosition pos, *pos_ptr; in spl_array_object_count_elements_helper() local 1418 pos = *pos_ptr; in spl_array_object_count_elements_helper() 1424 *pos_ptr = pos; in spl_array_object_count_elements_helper()
|
H A D | spl_dllist.c | 174 int pos = 0; in spl_ptr_llist_offset() local 182 while (current && pos < offset) { in spl_ptr_llist_offset() 183 pos++; in spl_ptr_llist_offset()
|
/PHP-7.2/ext/standard/ |
H A D | image.c | 184 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument 189 for (loop = pos; loop < pos + count; loop++) in php_swf_get_bits() 192 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
|
H A D | streamsfuncs.c | 484 zend_long maxlen = PHP_STREAM_COPY_ALL, pos = 0; in PHP_FUNCTION() local 493 Z_PARAM_LONG(pos) in PHP_FUNCTION() 499 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION() 500 …p_error_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FMT " in the stream", pos); in PHP_FUNCTION()
|
/PHP-7.2/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 171 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local 173 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local 175 *newoffset = pos; in pgsql_lob_seek() 176 return pos >= 0 ? 0 : -1; in pgsql_lob_seek()
|
/PHP-7.2/ext/exif/ |
H A D | exif.c | 3954 size_t length=2, pos=0; in exif_scan_thumbnail() local 3967 pos += length; in exif_scan_thumbnail() 3968 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3970 c = data[pos++]; in exif_scan_thumbnail() 3971 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3977 while ((c = data[pos++]) == 0xFF && n--) { in exif_scan_thumbnail() 3978 if (pos+3>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3985 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3987 length = php_jpg_get16(data+pos); in exif_scan_thumbnail() 4009 if (length < 8 || ImageInfo->Thumbnail.size - 8 < pos) { in exif_scan_thumbnail() [all …]
|
H A D | test.txt | 72 $pos = strrpos($found,'.'); 76 if ( $pos!==false) {
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | cdf.c | 409 size_t pos = CDF_SEC_POS(h, id); in cdf_read_sector() local 411 return cdf_read(info, (zend_off_t)pos, ((char *)buf) + offs, len); in cdf_read_sector() 419 size_t pos = CDF_SHORT_SEC_POS(h, id); in cdf_read_short_sector() local 421 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector() 424 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector() 428 ((const char *)sst->sst_tab) + pos, len); in cdf_read_short_sector()
|
/PHP-7.2/ext/opcache/ |
H A D | shared_alloc_win32.c | 341 shared_segment->pos = 0; in create_segments()
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | current_variation1.phpt | 8 * Alias to functions: pos
|
/PHP-7.2/ext/date/lib/ |
H A D | parse_iso_intervals.re | 75 uchar *lim, *str, *ptr, *cur, *tok, *pos; 312 s->pos = cursor; s->line++;
|
H A D | timelib.h | 295 unsigned int pos; member
|
/PHP-7.2/ext/phar/ |
H A D | zip.c | 1182 char *pos; in phar_zip_flush() local 1296 if ((pos = php_stristr(tmp, halt_stub, len, sizeof(halt_stub) - 1)) == NULL) { in phar_zip_flush() 1306 pos = user_stub + (pos - tmp); in phar_zip_flush() 1309 len = pos - user_stub + 18; in phar_zip_flush()
|
H A D | util.c | 1373 int pos = -1; in phar_hex_str() local 1379 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] >> 4]; in phar_hex_str() 1380 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] & 0x0F]; in phar_hex_str() 1382 (*signature)[++pos] = '\0'; in phar_hex_str() 1383 return pos; in phar_hex_str()
|
/PHP-7.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 442 n = src->pos; in mbfl_convert_filter_devcat()
|
/PHP-7.2/ext/zip/ |
H A D | php_zip.c | 1843 int pos = 0; in ZIPARCHIVE_METHOD() local 1860 pos = ze_obj->buffers_cnt++; in ZIPARCHIVE_METHOD() 1864 pos = 0; in ZIPARCHIVE_METHOD() 1866 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1); in ZIPARCHIVE_METHOD() 1867 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1); in ZIPARCHIVE_METHOD() 1869 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0); in ZIPARCHIVE_METHOD()
|