/PHP-8.0/ext/opcache/jit/dynasm/ |
H A D | dasm_ppc.lua | 122 local pos = #actlist+1 123 actlist[pos] = "" 124 return pos 128 local function wputpos(pos, n) 130 actlist[pos] = n 1659 local pos = wpos() 1750 wputpos(pos, op)
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | cdf.c | 396 size_t pos; in cdf_read_sector() local 401 pos = CDF_SEC_POS(h, id); in cdf_read_sector() 403 return cdf_read(info, CAST(off_t, pos), RCAST(char *, buf) + offs, len); in cdf_read_sector() 411 size_t pos; in cdf_read_short_sector() local 416 pos = CDF_SHORT_SEC_POS(h, id); in cdf_read_short_sector() 418 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector() 421 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector() 425 RCAST(const char *, sst->sst_tab) + pos, len); in cdf_read_short_sector()
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 311 zend_llist_position pos; in sapi_cgi_send_headers() local 346 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 354 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 381 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 396 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 403 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
|
/PHP-8.0/Zend/ |
H A D | zend_generators.c | 634 HashPosition pos = Z_FE_POS(generator->values); in zend_generator_get_next_delegated_value() local 638 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value() 643 p = &ht->arData[pos]; in zend_generator_get_next_delegated_value() 648 pos++; in zend_generator_get_next_delegated_value() 661 Z_FE_POS(generator->values) = pos; in zend_generator_get_next_delegated_value()
|
H A D | zend_operators.c | 2329 size_t pos=Z_STRLEN_P(str)-1; in increment_string() local 2353 ch = s[pos]; in increment_string() 2356 s[pos] = 'a'; in increment_string() 2359 s[pos]++; in increment_string() 2365 s[pos] = 'A'; in increment_string() 2368 s[pos]++; in increment_string() 2374 s[pos] = '0'; in increment_string() 2377 s[pos]++; in increment_string() 2388 } while (pos-- > 0); in increment_string()
|
H A D | zend_vm_def.h | 6699 HashPosition pos; variable 6715 pos++; 6754 pos++; 6773 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos; 6851 HashPosition pos; variable 6867 pos++; 6883 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos; 6905 pos++; 6933 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos; 9682 HashPosition pos; variable [all …]
|
/PHP-8.0/ext/opcache/ |
H A D | ZendAccelerator.c | 382 #define STRTAB_POS_TO_STR(tab, pos) \ argument 431 uint32_t pos; in accel_find_interned_string() local 456 pos = STRTAB_COLLISION(s); in accel_find_interned_string() 457 } while (pos != STRTAB_INVALID_POS); in accel_find_interned_string() 466 uint32_t pos, *hash_slot; in accel_new_interned_string() local 482 pos = *hash_slot; in accel_new_interned_string() 490 pos = STRTAB_COLLISION(s); in accel_new_interned_string() 491 } while (pos != STRTAB_INVALID_POS); in accel_new_interned_string() 533 uint32_t pos; in accel_find_interned_string_ex() local 546 pos = STRTAB_COLLISION(s); in accel_find_interned_string_ex() [all …]
|
H A D | shared_alloc_win32.c | 327 shared_segment->pos = ACCEL_BASE_POINTER_SIZE; in create_segments()
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.c | 247 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos])) argument 835 zend_long pos; in PHP_METHOD() local 837 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &pos) == FAILURE) { in PHP_METHOD() 841 if (intern->u.dir.index > pos) { in PHP_METHOD() 846 while (intern->u.dir.index < pos) { in PHP_METHOD() 852 …ception_ex(spl_ce_OutOfBoundsException, 0, "Seek position " ZEND_LONG_FMT " is out of range", pos); in PHP_METHOD() 2553 zend_long pos, whence = SEEK_SET; in PHP_METHOD() local 2555 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in PHP_METHOD() 2562 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in PHP_METHOD()
|
H A D | spl_dllist.c | 170 int pos = 0; in spl_ptr_llist_offset() local 178 while (current && pos < offset) { in spl_ptr_llist_offset() 179 pos++; in spl_ptr_llist_offset()
|
/PHP-8.0/ext/standard/ |
H A D | image.c | 175 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument 180 for (loop = pos; loop < pos + count; loop++) in php_swf_get_bits() 183 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
|
H A D | streamsfuncs.c | 486 zend_long maxlen, pos = 0; in PHP_FUNCTION() local 496 Z_PARAM_LONG(pos) in PHP_FUNCTION() 506 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION() 507 …p_error_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FMT " in the stream", pos); in PHP_FUNCTION()
|
/PHP-8.0/ext/exif/ |
H A D | exif.c | 3937 size_t length=2, pos=0; in exif_scan_thumbnail() local 3950 pos += length; in exif_scan_thumbnail() 3951 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3953 c = data[pos++]; in exif_scan_thumbnail() 3954 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3960 while ((c = data[pos++]) == 0xFF && n--) { in exif_scan_thumbnail() 3961 if (pos+3>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3968 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail() 3970 length = php_jpg_get16(data+pos); in exif_scan_thumbnail() 3992 if (length < 8 || ImageInfo->Thumbnail.size - 8 < pos) { in exif_scan_thumbnail() [all …]
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 357 uint32_t pos = rt_opline - op_array->opcodes; in dasm_link_and_encode() local 365 if (pos >= range->start && pos <= range->end) { in dasm_link_and_encode() 936 if (pos >= range->start && pos <= range->end) { in zend_jit_split_interval() 945 ival->range.start = pos; in zend_jit_split_interval() 949 if (pos == range->start) { in zend_jit_split_interval() 953 range->end = pos - 1; in zend_jit_split_interval() 1489 uint32_t pos, pos2; in zend_jit_try_allocate_free_reg() local 1649 pos = 0; reg = ZREG_NONE; in zend_jit_try_allocate_free_reg() 1666 } else if (freeUntilPos[i] > pos) { in zend_jit_try_allocate_free_reg() 1668 pos = freeUntilPos[i]; in zend_jit_try_allocate_free_reg() [all …]
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 167 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local 169 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local 171 *newoffset = pos; in pgsql_lob_seek() 172 return pos >= 0 ? 0 : -1; in pgsql_lob_seek()
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 229 mbfl_convert_filter_feed_string(filter, src->buffer, src->pos); in mbfl_convert_filter_devcat()
|
/PHP-8.0/sapi/cgi/ |
H A D | cgi_main.c | 370 zend_llist_position pos; in sapi_cgi_send_headers() local 406 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 414 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 441 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 456 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers() 463 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
|
/PHP-8.0/ext/ffi/ |
H A D | php_ffi.h | 52 unsigned const char *pos; variable
|
/PHP-8.0/ext/date/lib/ |
H A D | parse_iso_intervals.re | 73 uchar *lim, *str, *ptr, *cur, *tok, *pos; 312 s->pos = cursor; s->line++;
|
H A D | timelib.h | 307 unsigned int pos; member
|
/PHP-8.0/ext/phar/ |
H A D | zip.c | 1205 char *pos; in phar_zip_flush() local 1312 if ((pos = php_stristr(tmp, halt_stub, len, sizeof(halt_stub) - 1)) == NULL) { in phar_zip_flush() 1322 pos = user_stub + (pos - tmp); in phar_zip_flush() 1325 len = pos - user_stub + 18; in phar_zip_flush()
|
H A D | util.c | 1369 int pos = -1; in phar_hex_str() local 1375 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] >> 4]; in phar_hex_str() 1376 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] & 0x0F]; in phar_hex_str() 1378 (*signature)[++pos] = '\0'; in phar_hex_str() 1379 return pos; in phar_hex_str()
|
/PHP-8.0/main/streams/ |
H A D | streams.c | 172 zend_llist_position pos; in php_stream_display_wrapper_errors() local 182 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors() 184 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors() 192 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors() 194 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors()
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.c | 1889 int pos = 0; local 1902 pos = ze_obj->buffers_cnt++; 1906 pos = 0; 1908 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1); 1909 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1); 1911 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0);
|
/PHP-8.0/ext/xml/ |
H A D | xml.c | 539 size_t pos = 0; in xml_utf8_decode() local 559 while (pos < len) { in xml_utf8_decode() 561 c = php_next_utf8_char((const unsigned char*)s, (size_t) len, &pos, &status); in xml_utf8_decode()
|