/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.h | 2135 …jit_get_local_base(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw offset);
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitExecAllocatorCore.c | 109 #define AS_BLOCK_HEADER(base, offset) \ argument 110 ((struct block_header*)(((sljit_u8*)base) + offset)) 111 #define AS_FREE_BLOCK(base, offset) \ argument 112 ((struct free_block*)(((sljit_u8*)base) + offset))
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_match.c | 372 if (offset >= Foffset_top || Fovector[offset] == PCRE2_UNSET) in match_ref() 386 length = Fovector[offset+1] - Fovector[offset]; in match_ref() 813 offset = Flast_group_offset; in match() 822 offset = (number << 1) - 2; in match() 826 if (offset >= Foffset_top) Foffset_top = offset + 2; in match() 852 offset = Flast_group_offset; in match() 5440 offset = Flast_group_offset; in match() 5670 condition = offset < Foffset_top && Fovector[offset] != PCRE2_UNSET; in match() 5680 condition = offset < Foffset_top && Fovector[offset] != PCRE2_UNSET; in match() 6079 offset = (number << 1) - 2; in match() [all …]
|
H A D | pcre2_jit_compile.c | 2231 int offset; in init_frame() local 2561 if (offset != 0 && recurse_check_bit(common, offset)) in get_recurse_data_length() 2571 if (offset != 0 && recurse_check_bit(common, offset)) in get_recurse_data_length() 2584 if (offset != 0 && recurse_check_bit(common, offset)) in get_recurse_data_length() 2597 if (offset != 0 && recurse_check_bit(common, offset)) in get_recurse_data_length() 2604 if (offset != 0 && recurse_check_bit(common, offset)) in get_recurse_data_length() 2916 offset = OVECTOR_PRIV(offset); in copy_recurse_data() 6260 offset = -1; in fast_forward_first_n_chars() 6276 SLJIT_ASSERT(offset == -1 || (chars[offset].count >= 1 && chars[offset].count <= 2)); in fast_forward_first_n_chars() 6283 fast_forward_first_char2(common, chars[offset].chars[0], chars[offset].chars[1], offset); in fast_forward_first_n_chars() [all …]
|
H A D | pcre2_jit_simd_inc.h | 256 SLJIT_UNUSED_ARG(offset); in fast_forward_char_simd() 350 if (common->utf && offset > 0) in fast_forward_char_simd() 354 OP1(MOV_UCHAR, TMP1, 0, SLJIT_MEM1(STR_PTR), IN_UCHARS(-offset)); in fast_forward_char_simd() 852 OP1(SLJIT_MOV, SLJIT_R2, 0, SLJIT_IMM, offset); in fast_forward_char_simd() 861 if (common->utf && offset > 0) in fast_forward_char_simd() 882 if (common->utf && offset > 0) in fast_forward_char_simd() 900 if (common->utf && offset > 0) in fast_forward_char_simd() 1250 SLJIT_UNUSED_ARG(offset); in fast_forward_char_simd() 1409 if (common->utf && offset > 0) in fast_forward_char_simd() 1935 SLJIT_UNUSED_ARG(offset); in fast_forward_char_simd() [all …]
|
H A D | pcre2_dfa_match.c | 298 int offset; /* Offset to opcode (-ve has meaning) */ member 486 next_active_state->offset = (x); \ 495 next_active_state->offset = (x); \ 505 next_new_state->offset = (x); \ 514 next_new_state->offset = (x); \ 752 int state_offset = current_state->offset; in internal_dfa_match() 772 current_state->offset = state_offset = -state_offset; in internal_dfa_match() 782 if (active_states[j].offset == state_offset && in internal_dfa_match()
|
H A D | pcre2_compile.c | 934 PCRE2_SIZE offset; in show_parsed() local 962 GETOFFSET(offset, pptr); in show_parsed() 1105 GETOFFSET(offset, pptr); in show_parsed() 1111 GETOFFSET(offset, pptr); in show_parsed() 2244 int offset = 0; in get_ucp() local 2251 offset = 4; in get_ucp() 2275 if (offset != 0) memmove(name, sname, offset*sizeof(PCRE2_UCHAR)); in get_ucp() 2873 PCRE2_SIZE offset; in parse_regex() local 5657 PCRE2_SIZE offset = 0; in compile_branch() local 9450 PCRE2_SIZE offset; in get_branchlength() local [all …]
|
/php-src/ext/ldap/ |
H A D | ldap.c | 832 ldap_link_object_handlers.offset = XtOffsetOf(ldap_linkdata, std); in PHP_MINIT_FUNCTION() 843 ldap_result_object_handlers.offset = XtOffsetOf(ldap_resultdata, std); in PHP_MINIT_FUNCTION() 854 ldap_result_entry_object_handlers.offset = XtOffsetOf(ldap_result_entry, std); in PHP_MINIT_FUNCTION()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | file.h | 343 int32_t offset; /* offset to magic number */ member 455 uint32_t offset; /* a copy of m->offset while we */ member 470 size_t offset; /* starting offset in source: XXX - should this be off_t? */ member 608 uint32_t offset; member
|
H A D | funcs.c | 704 pb->offset = ms->offset; in file_push_buffer() 708 ms->offset = 0; in file_push_buffer() 728 ms->offset = pb->offset; in file_pop_buffer()
|
H A D | softmagic.c | 1347 ms->search.offset = offset; in mcopy() 1397 ms->search.offset = offset; in mcopy() 1508 offset = lhs; in do_ops() 1510 offset = ~offset; in do_ops() 1526 offset = -m->offset; in msetoffset() 1549 offset = m->offset; in msetoffset() 1554 ms->offset = offset; in msetoffset() 1557 ms->offset = ms->eoffset + offset; in msetoffset() 1599 uint32_t eoffset, offset = ms->offset; in mget() local 1814 ms->offset = offset; in mget() [all …]
|
H A D | print.c | 56 (m->cont_level & 7) + 1, ">>>>>>>>", m->offset); in file_mdump()
|
H A D | der.c | 275 DPRINTF(("%s1: %u %" SIZE_T_FORMAT "u %d\n", __func__, ms->offset, in der_offs() 276 offs, m->offset)); in der_offs() 283 DPRINTF(("%s2: %u %" SIZE_T_FORMAT "u %u\n", __func__, ms->offset, in der_offs() 286 offs += ms->offset + m->offset; in der_offs() 321 DPRINTF(("%s1: %d %" SIZE_T_FORMAT "u %d\n", __func__, ms->offset, in der_cmp() 322 offs, m->offset)); in der_cmp()
|
H A D | apprentice.c | 2066 m->offset = CAST(int32_t, strtol(l, &t, 0)); in parse() 3565 m->offset = swap4(CAST(uint32_t, m->offset));
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 855 m->offset = swap4(CAST(uint32_t, m->offset)); 2230 ms->offset = pb->offset; 3020 size_t nmagic, const struct buffer *b, size_t offset, int mode, int text, 3151 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) 3174 offset + o, mode, text, flip, indir_count, name_count, 3309 - ms->search.offset += CAST(size_t, pmatch.rm_so); 3355 + zval *match, *offset; 3357 + (offset = zend_hash_index_find(Z_ARRVAL_P(pzval), 1))) { 3358 + if (Z_TYPE_P(match) != IS_STRING && Z_TYPE_P(offset) != IS_LONG) { 3361 + ms->search.s += Z_LVAL_P(offset); /* this is where the match starts */ [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1030 zend_long offset; in zend_check_string_offset() local 1046 return offset; in zend_check_string_offset() 1096 zend_long offset; in zend_jit_fetch_dim_str_r_helper() local 1109 offset = Z_LVAL_P(dim); in zend_jit_fetch_dim_str_r_helper() 1119 zend_long offset; in zend_jit_fetch_dim_str_is_helper() local 1151 offset = Z_LVAL_P(dim); in zend_jit_fetch_dim_str_is_helper() 1155 if (offset < 0) { in zend_jit_fetch_dim_str_is_helper() 1228 zend_long offset; in zend_assign_to_string_offset() local 1262 offset = Z_LVAL_P(dim); in zend_assign_to_string_offset() 1747 lval = Z_LVAL_P(offset); in zend_jit_isset_dim_helper() [all …]
|
H A D | zend_jit_internal.h | 39 #define ZEND_ADDR_MEM_ZVAL(reg, offset) \ argument 40 ((((zend_jit_addr)(uintptr_t)(offset)) << _ZEND_ADDR_OFFSET_SHIFT) | \ 336 size_t offset; /* offset from "zend_op" to corresponding "op_info" */ member 340 #define ZEND_OP_TRACE_INFO(opline, offset) \ argument 341 ((zend_op_trace_info*)(((char*)opline) + offset))
|
/php-src/ext/standard/ |
H A D | file.c | 396 zend_long offset = 0; in PHP_FUNCTION() local 409 Z_PARAM_LONG(offset) in PHP_FUNCTION() 435 if (offset != 0 && php_stream_seek(stream, offset, ((offset > 0) ? SEEK_SET : SEEK_END)) < 0) { in PHP_FUNCTION() 436 …rror_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FMT " in the stream", offset); in PHP_FUNCTION() 1104 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION() local 1109 Z_PARAM_LONG(offset) in PHP_FUNCTION() 1116 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
|
H A D | type.c | 171 int offset = 0; in PHP_FUNCTION() local 173 offset = 1; in PHP_FUNCTION() 176 if (strval[offset] == '0' && (strval[offset + 1] == 'b' || strval[offset + 1] == 'B')) { in PHP_FUNCTION() 182 if (offset) { in PHP_FUNCTION() 187 memcpy(tmpval + offset, strval + offset + 2, strlen - offset); in PHP_FUNCTION()
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_util.inc | 245 public function getHeader(string $field, bool $ignoreCases = false, int $offset = 0) 248 $mail = array_change_key_case($this->mailData[$offset] ?? []); 251 $mail = $this->mailData[$offset] ?? []; 257 public function getBody(int $offset = 0): ?string 259 return $this->mailData[$offset]['Body'] ?? null;
|
/php-src/main/ |
H A D | rfc1867.c | 775 zend_off_t offset; local 986 offset = 0; 1013 event_file_data.offset = offset; 1054 offset += wlen;
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Expose-line-and-column-information-for-use-in-PHP.patch | 77 + /* Other characters can be mapped back to the unicode codepoint offset because UTF…
|
/php-src/ext/pcre/ |
H A D | php_pcre.stub.php | 105 function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset… argument 108 …(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} argument
|
/php-src/Zend/ |
H A D | zend_execute.h | 81 …D_API ZEND_COLD zval* ZEND_FASTCALL zend_undefined_index_write(HashTable *ht, zend_string *offset);
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_strtab.c | 83 intptr_t offset = (intptr_t)strtab->buf - old; in ir_strtab_grow_buf() local 87 p->str += offset; in ir_strtab_grow_buf()
|