/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.dasc | 64 IR_IS_SIGNED_32BIT((char*)(addr) - (char*)(code_buffer)->start) && \ 8192 use_insn = &ctx->ir_base[ctx->cfg_blocks[use_block].start]; 8228 use_insn = &ctx->ir_base[ctx->cfg_blocks[use_block].start]; 8288 && IR_IS_SIGNED_32BIT((char*)ctx->code_buffer->start) 8313 && IR_IS_SIGNED_32BIT((char*)ctx->code_buffer->start) 8343 if (prev == bb->start) { 8347 if (ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { 10264 i = bb->start; 10789 uintptr_t start = (uintptr_t)entry; 10790 uintptr_t p = (uintptr_t)start & ~0x3F; [all …]
|
H A D | ir_sccp.c | 1321 ir_insn *end, *start; in ir_try_remove_empty_diamond() local 1329 start = &ctx->ir_base[start_ref]; in ir_try_remove_empty_diamond() 1330 if (start->op != IR_CASE_VAL && start->op != IR_CASE_DEFAULT) { in ir_try_remove_empty_diamond() 1335 root_ref = start->op1; in ir_try_remove_empty_diamond() 1339 } else if (start->op1 != root_ref) { in ir_try_remove_empty_diamond() 1365 ir_insn *start = &ctx->ir_base[start_ref]; in ir_try_remove_empty_diamond() local 1367 MAKE_NOP(start); CLEAR_USES(start_ref); in ir_try_remove_empty_diamond()
|
H A D | ir_private.h | 1080 ir_ref start; /* index of first instruction */ member 1179 ir_live_pos start; /* inclusive */ member 1352 (ir_tmp_reg){.num=(_num), .type=(_type), .start=(_start), .end=(_end)} 1354 (ir_tmp_reg){.reg=(_reg), .type=IR_VOID, .start=(_start), .end=(_end)}
|
H A D | ir_cfg.c | 62 ir_ref n, *p, ref, start, end, next; in ir_build_cfg() local 145 start = ref; in ir_build_cfg() 166 _blocks[start] = ref; in ir_build_cfg() 183 insn = &ctx->ir_base[start]; in ir_build_cfg() 185 _blocks[start] = 0; in ir_build_cfg() 188 end = _blocks[start]; in ir_build_cfg() 189 _blocks[start] = b; in ir_build_cfg() 192 IR_ASSERT(end > start); in ir_build_cfg() 193 bb->start = start; in ir_build_cfg() 239 insn = &ctx->ir_base[bb->start]; in ir_build_cfg() [all …]
|
H A D | ir_gcm.c | 572 while (ref != bb->start) { in ir_gcm() 753 if (i == bb->start) { in ir_schedule() 754 IR_ASSERT(bb->end > bb->start); in ir_schedule() 770 IR_ASSERT(i != bb->start); in ir_schedule() 776 k = ctx->cfg_blocks[b + 1].start; in ir_schedule() 792 k = _next[bb->start]; in ir_schedule() 832 i = bb->start; in ir_schedule() 833 _xlat[i] = bb->start = insns_count; in ir_schedule() 1237 for (i = bb->start, insn = ctx->ir_base + i; i < bb->end;) { in ir_build_prev_refs()
|
H A D | ir_aarch64.dasc | 69 return (((char*)addr - (char*)code_buffer->start) < B_IMM); 70 } else if (addr < code_buffer->start) { 84 return (((char*)addr - (char*)code_buffer->start) < ADR_IMM); 85 } else if (addr < code_buffer->start) { 98 return (((char*)addr - (char*)code_buffer->start) < ADRP_IMM); 99 } else if (addr < code_buffer->start) { 4465 use_insn = &ctx->ir_base[ctx->cfg_blocks[use_block].start]; 4505 use_insn = &ctx->ir_base[ctx->cfg_blocks[use_block].start]; 4567 if (prev == bb->start) { 4571 if (ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { [all …]
|
H A D | ir_ra.c | 127 ival->range.start = start; in ir_new_live_range() 152 if (start < p->start) { in ir_add_live_range() 153 p->start = start; in ir_add_live_range() 191 q->start = start; in ir_add_live_range() 205 q->start = p->start; in ir_add_live_range() 208 p->start = start; in ir_add_live_range() 219 ival->range.start = start; in ir_add_prev_live_range() 238 ival->range.start = start; in ir_add_fixed_live_range() 254 q->start = ival->range.start; in ir_add_fixed_live_range() 257 ival->range.start = start; in ir_add_fixed_live_range() [all …]
|
H A D | ir.h | 564 void *start; member 801 const void *start, 810 int ir_perf_jitdump_register(const char *name, const void *start, size_t size); 811 void ir_perf_map_register(const char *name, const void *start, size_t size); 815 const void *start,
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 563 static char *php_mb_rfc1867_substring_conf(const zend_encoding *encoding, char *start, size_t len, … in php_mb_rfc1867_substring_conf() argument 569 for (i = 0; i < len && start[i] != quote; ++i) { in php_mb_rfc1867_substring_conf() 570 if (start[i] == '\\' && (start[i + 1] == '\\' || (quote && start[i + 1] == quote))) { in php_mb_rfc1867_substring_conf() 571 *resp++ = start[++i]; in php_mb_rfc1867_substring_conf() 573 size_t j = php_mb_mbchar_bytes(start+i, (const mbfl_encoding *)encoding); in php_mb_rfc1867_substring_conf() 576 *resp++ = start[i++]; in php_mb_rfc1867_substring_conf() 1891 static size_t pointer_to_offset_utf8(unsigned char *start, unsigned char *pos) { in pointer_to_offset_utf8() argument 1892 return mb_fast_strlen_utf8(start, pos - start); in pointer_to_offset_utf8() 2434 const unsigned char *start = p; in PHP_FUNCTION() local 2436 if (len >= string.len - (start - (const unsigned char*)string.val)) { in PHP_FUNCTION() [all …]
|
H A D | mbstring.stub.php | 114 function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… argument 117 function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… argument 121 function mb_strimwidth(string $string, int $start, int $width, string $trim_marker = "", ?string $e… argument
|
H A D | mbstring_arginfo.h | 85 ZEND_ARG_TYPE_INFO(0, start, IS_LONG, 0) 96 ZEND_ARG_TYPE_INFO(0, start, IS_LONG, 0)
|
/php-src/ext/gmp/ |
H A D | gmp.c | 2013 zend_long start; in ZEND_FUNCTION() local 2015 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &a_arg, &start) == FAILURE){ in ZEND_FUNCTION() 2019 if (start < 0) { in ZEND_FUNCTION() 2026 RETVAL_LONG(mpz_scan0(gmpnum_a, start)); in ZEND_FUNCTION() 2037 zend_long start; in ZEND_FUNCTION() local 2039 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &a_arg, &start) == FAILURE){ in ZEND_FUNCTION() 2043 if (start < 0) { in ZEND_FUNCTION() 2050 RETVAL_LONG(mpz_scan1(gmpnum_a, start)); in ZEND_FUNCTION()
|
/php-src/Zend/ |
H A D | zend_alloc.c | 600 zend_mm_bitset_set_bit(bitset, start); 602 int pos = start / ZEND_MM_BITSET_LEN; 603 int end = (start + len - 1) / ZEND_MM_BITSET_LEN; 604 int bit = start & (ZEND_MM_BITSET_LEN - 1); 632 zend_mm_bitset_reset_bit(bitset, start); 634 int pos = start / ZEND_MM_BITSET_LEN; 635 int end = (start + len - 1) / ZEND_MM_BITSET_LEN; 636 int bit = start & (ZEND_MM_BITSET_LEN - 1); 664 return !zend_mm_bitset_is_set(bitset, start); 666 int pos = start / ZEND_MM_BITSET_LEN; [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/tokenizer/ |
H A D | state.c | 1805 lxb_char_t *start; in lxb_html_tokenizer_state_char_ref_named() local 1868 start = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_char_ref_named() 1870 size = tkz->pos - start; in lxb_html_tokenizer_state_char_ref_named() 1874 if ((size + tail_size) + start > tkz->end) { in lxb_html_tokenizer_state_char_ref_named() 1878 start = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_char_ref_named() 1881 memmove(start + tkz->entity_match->value_len, in lxb_html_tokenizer_state_char_ref_named() 2053 lxb_char_t *start = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_char_ref_numeric_end() local 2055 if ((start + 4) > tkz->end) { in lxb_html_tokenizer_state_char_ref_numeric_end() 2060 start = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_char_ref_numeric_end() 2115 start += lxb_html_tokenizer_state_to_ascii_utf_8(tkz->entity_number, start); in lxb_html_tokenizer_state_char_ref_numeric_end() [all …]
|
H A D | state.h | 63 data = lxb_dom_attr_local_name_append(tkz->attrs, tkz->start, \ 64 tkz->pos - tkz->start); \ 77 attr->value_size = (size_t) (tkz->pos - tkz->start); \ 84 memcpy(attr->value, tkz->start, attr->value_size); \ 91 tkz->pos = tkz->start; \ 123 tkz->pos = tkz->start; \ 136 tkz->pos = tkz->start; \ 163 tkz->pos = tkz->start; \ 176 tkz->token->text_start = tkz->start; \
|
H A D | state_script.c | 269 tkz->entity_start = (tkz->pos - 1) - tkz->start; in lxb_html_tokenizer_state_script_data_end_tag_open() 347 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_script_data_end_tag_name() 390 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_script_data_end_tag_name() 657 tkz->entity_start = tkz->pos - tkz->start; in lxb_html_tokenizer_state_script_data_escaped_less_than_sign() 679 tkz->entity_start = (tkz->pos - 1) - tkz->start; in lxb_html_tokenizer_state_script_data_escaped_end_tag_open() 757 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_script_data_escaped_end_tag_name() 801 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_script_data_escaped_end_tag_name() 845 if ((tkz->pos - &tkz->start[tkz->entity_start]) == 6 in lxb_html_tokenizer_state_script_data_double_escape_start() 846 && lexbor_str_data_ncasecmp(&tkz->start[tkz->entity_start], in lxb_html_tokenizer_state_script_data_double_escape_start() 1134 tkz->entity_start = (tkz->pos + 1) - tkz->start; in lxb_html_tokenizer_state_script_data_double_escaped_end_tag_open() [all …]
|
H A D | state_rawtext.c | 171 tkz->entity_start = (tkz->pos - 1) - tkz->start; in lxb_html_tokenizer_state_rawtext_end_tag_open() 209 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rawtext_end_tag_name() 222 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rawtext_end_tag_name() 235 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rawtext_end_tag_name() 246 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_rawtext_end_tag_name() 291 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_rawtext_end_tag_name()
|
H A D | state_rcdata.c | 180 tkz->entity_start = (tkz->pos - 1) - tkz->start; in lxb_html_tokenizer_state_rcdata_end_tag_open() 218 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rcdata_end_tag_name() 231 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rcdata_end_tag_name() 244 lxb_html_tokenizer_state_set_tag_m(tkz, &tkz->start[tkz->entity_start] + 2, in lxb_html_tokenizer_state_rcdata_end_tag_name() 255 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_rcdata_end_tag_name() 300 tkz->pos = &tkz->start[tkz->entity_start]; in lxb_html_tokenizer_state_rcdata_end_tag_name()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tokenizer.c | 87 tkz->start = lexbor_malloc(LXB_HTML_TKZ_TEMP_SIZE * sizeof(lxb_char_t)); in lxb_html_tokenizer_init() 88 if (tkz->start == NULL) { in lxb_html_tokenizer_init() 92 tkz->pos = tkz->start; in lxb_html_tokenizer_init() 93 tkz->end = tkz->start + LXB_HTML_TKZ_TEMP_SIZE; in lxb_html_tokenizer_init() 153 tkz_to->start = tkz_from->start; in lxb_html_tokenizer_inherit() 155 tkz_to->pos = tkz_to->start; in lxb_html_tokenizer_inherit() 209 tkz->pos = tkz->start; in lxb_html_tokenizer_clean() 237 lexbor_free(tkz->start); in lxb_html_tokenizer_destroy()
|
H A D | tokenizer.h | 71 lxb_char_t *start; member 256 size_t length = tkz->pos - tkz->start; in lxb_html_tokenizer_temp_realloc() 257 size_t new_size = (tkz->end - tkz->start) + size + 4096; in lxb_html_tokenizer_temp_realloc() 259 tkz->start = (lxb_char_t *)lexbor_realloc(tkz->start, new_size); in lxb_html_tokenizer_temp_realloc() 260 if (tkz->start == NULL) { in lxb_html_tokenizer_temp_realloc() 265 tkz->pos = tkz->start + length; in lxb_html_tokenizer_temp_realloc() 266 tkz->end = tkz->start + new_size; in lxb_html_tokenizer_temp_realloc()
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | tokenizer.h | 63 lxb_char_t *start; member
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | strtod.c | 41 lexbor_strtod_diyfp_read(const lxb_char_t *start, size_t length, 56 lexbor_strtod_read_uint64(const lxb_char_t *start, size_t length, in lexbor_strtod_read_uint64() argument 65 p = start; in lexbor_strtod_read_uint64() 73 *ndigits = p - start; in lexbor_strtod_read_uint64() 90 significand = lexbor_strtod_read_uint64(start, length, &read); in lexbor_strtod_diyfp_read() 95 if (start[read] >= '5') { in lexbor_strtod_diyfp_read() 167 value = lexbor_strtod_diyfp_read(start, length, &remaining); in lexbor_strtod_diyfp_strtod() 271 p = start; in lexbor_strtod_internal() 276 start = p; in lexbor_strtod_internal() 287 b = start; in lexbor_strtod_internal() [all …]
|
H A D | strtod.h | 21 lexbor_strtod_internal(const lxb_char_t *start, size_t length, int exp);
|
H A D | dtoa.c | 48 lexbor_grisu2_round(lxb_char_t *start, size_t len, uint64_t delta, uint64_t rest, in lexbor_grisu2_round() argument 55 start[len - 1]--; in lexbor_grisu2_round()
|
/php-src/build/ |
H A D | libtool.m4 | 405 # Add some code to the start of the generated configure script which 1395 # for dependence libraries. The import file would start with 6254 # Be careful that the start marker always follows a newline.
|