Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 22 of 22) sorted by relevance

/php-src/ext/standard/
H A Dfilters.c250 if (inst->lbchars_dup && inst->lbchars != NULL) { in php_conv_base64_encode_dtor()
251 pefree((void *)inst->lbchars, inst->persistent); in php_conv_base64_encode_dtor()
276 memcpy(pd, inst->lbchars, inst->lbchars_len); in php_conv_base64_encode_flush()
425 inst->erem[inst->erem_len++] = *(ps++); in php_conv_base64_encode_convert()
502 if (inst->eos || inst->urem_nbits == 0) { in php_conv_base64_decode_convert()
625 if (inst->lbchars_dup && inst->lbchars != NULL) { in php_conv_qprint_encode_dtor()
846 inst->lb_cnt = inst->lb_ptr = 0; in php_conv_qprint_encode_ctor()
1049 inst->lb_ptr = inst->lb_cnt = 0; in php_conv_qprint_decode_ctor()
1305 pefree(inst->cd, inst->persistent); in php_convert_filter_dtor()
1309 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
[all …]
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeRISCV_32.c73 sljit_ins inst; in sljit_emit_fcopy() local
85 return push_inst(compiler, inst); in sljit_emit_fcopy()
126 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr() local
132 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 0); in sljit_set_jump_addr()
134 SLJIT_ASSERT((inst[0] & 0x7f) == LUI); in sljit_set_jump_addr()
135 inst[0] = (inst[0] & 0xfff) | (sljit_ins)((sljit_sw)new_target & ~0xfff); in sljit_set_jump_addr()
136 SLJIT_ASSERT((inst[1] & 0x707f) == ADDI || (inst[1] & 0x707f) == JALR); in sljit_set_jump_addr()
137 inst[1] = (inst[1] & 0xfffff) | IMM_I(new_target); in sljit_set_jump_addr()
139 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 1); in sljit_set_jump_addr()
140 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
[all …]
H A DsljitNativeX86_64.c35 sljit_u8 *inst; in emit_load_imm64() local
38 FAIL_IF(!inst); in emit_load_imm64()
48 sljit_u8 *inst; in emit_do_imm32() local
52 FAIL_IF(!inst); in emit_do_imm32()
55 *inst++ = rex; in emit_do_imm32()
56 *inst++ = opcode; in emit_do_imm32()
67 sljit_u8 *inst; in emit_x86_instruction() local
199 *inst++ = rex; in emit_x86_instruction()
283 return inst; in emit_x86_instruction()
292 sljit_u8 *inst; in emit_vex_instruction() local
[all …]
H A DsljitNativeX86_common.c373 #define RET_I16(n) (*inst++ = RET_i16, *inst++ = U8(n), *inst++ = 0)
1096 FAIL_IF(!inst); in emit_byte()
1098 *inst = byte; in emit_byte()
1135 sljit_u8 *inst; in emit_endbranch() local
1137 FAIL_IF(!inst); in emit_endbranch()
1141 inst[2] = 0x1e; in emit_endbranch()
1143 inst[3] = 0xfb; in emit_endbranch()
1145 inst[3] = 0xfa; in emit_endbranch()
1157 sljit_u8 *inst; in emit_rdssp() local
1167 FAIL_IF(!inst); in emit_rdssp()
[all …]
H A DsljitNativeRISCV_64.c152 sljit_ins inst; in sljit_emit_fcopy() local
163 inst |= (sljit_ins)1 << 25; in sljit_emit_fcopy()
208 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 0); in sljit_set_jump_addr()
211 inst[0] = (inst[0] & 0xfff) | (sljit_ins)(high & ~0xfff); in sljit_set_jump_addr()
213 inst[1] = (inst[1] & 0xfffff) | IMM_I(high); in sljit_set_jump_addr()
215 inst[2] = (inst[2] & 0xfff) | (sljit_ins)((sljit_sw)new_target & ~0xfff); in sljit_set_jump_addr()
216 SLJIT_ASSERT((inst[5] & 0x707f) == ADDI || (inst[5] & 0x707f) == JALR); in sljit_set_jump_addr()
217 inst[5] = (inst[5] & 0xfffff) | IMM_I(new_target); in sljit_set_jump_addr()
218 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 1); in sljit_set_jump_addr()
220 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
[all …]
H A DsljitNativeX86_32.c35 sljit_u8 *inst; in emit_do_imm() local
38 FAIL_IF(!inst); in emit_do_imm()
40 *inst++ = opcode; in emit_do_imm()
52 sljit_u8 *inst; in emit_x86_instruction() local
133 *inst++ = 0xf2; in emit_x86_instruction()
135 *inst++ = 0xf3; in emit_x86_instruction()
219 return inst; in emit_x86_instruction()
228 sljit_u8 *inst; in emit_vex_instruction() local
266 FAIL_IF(!inst); in emit_vex_instruction()
275 inst[0] = 0xc4; in emit_vex_instruction()
[all …]
H A DsljitNativeMIPS_32.c148 inst |= T(reg2); in sljit_emit_fcopy()
160 inst = FS(freg); in sljit_emit_fcopy()
165 inst |= T(reg); in sljit_emit_fcopy()
175 inst |= (1 << 11); in sljit_emit_fcopy()
197 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 0); in sljit_set_jump_addr()
198 SLJIT_ASSERT((inst[0] & 0xffe00000) == LUI && (inst[1] & 0xfc000000) == ORI); in sljit_set_jump_addr()
199 inst[0] = (inst[0] & 0xffff0000) | ((new_target >> 16) & 0xffff); in sljit_set_jump_addr()
200 inst[1] = (inst[1] & 0xffff0000) | (new_target & 0xffff); in sljit_set_jump_addr()
201 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 1); in sljit_set_jump_addr()
202 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
[all …]
H A DsljitNativeMIPS_64.c180 sljit_ins inst; in sljit_emit_fcopy() local
185 inst = T(reg) | FS(freg); in sljit_emit_fcopy()
201 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr() local
204 SLJIT_UPDATE_WX_FLAGS(inst, inst + 6, 0); in sljit_set_jump_addr()
205 inst[0] = (inst[0] & 0xffff0000) | ((sljit_ins)(new_target >> 48) & 0xffff); in sljit_set_jump_addr()
206 inst[1] = (inst[1] & 0xffff0000) | ((sljit_ins)(new_target >> 32) & 0xffff); in sljit_set_jump_addr()
207 inst[3] = (inst[3] & 0xffff0000) | ((sljit_ins)(new_target >> 16) & 0xffff); in sljit_set_jump_addr()
208 inst[5] = (inst[5] & 0xffff0000) | ((sljit_ins)new_target & 0xffff); in sljit_set_jump_addr()
209 SLJIT_UPDATE_WX_FLAGS(inst, inst + 6, 1); in sljit_set_jump_addr()
210 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
[all …]
H A DsljitNativeARM_32.c544 SLJIT_CACHE_FLUSH(inst, inst + 1); in set_jump_addr()
555 SLJIT_CACHE_FLUSH(inst, inst + 2); in set_jump_addr()
574 SLJIT_CACHE_FLUSH(inst, inst + 1); in set_jump_addr()
581 SLJIT_CACHE_FLUSH(inst, inst + 2); in set_jump_addr()
604 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 0); in set_jump_addr()
611 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 1); in set_jump_addr()
613 SLJIT_CACHE_FLUSH(inst, inst + 2); in set_jump_addr()
643 SLJIT_CACHE_FLUSH(inst, inst + 1); in set_const_value()
659 SLJIT_CACHE_FLUSH(inst, inst + 1); in set_const_value()
679 SLJIT_CACHE_FLUSH(inst, inst + 1); in set_const_value()
[all …]
H A DsljitNativeLOONGARCH_64.c368 #define INST(inst, type) ((sljit_ins)((type & SLJIT_32) ? inst##_W : inst##_D)) argument
432 inst--; in detect_jump_type()
433 inst[0] = (inst[0] & 0xfc0003ff) ^ 0x4000000; in detect_jump_type()
456 inst[1] = inst[0]; in detect_jump_type()
465 inst[1] = inst[0]; in detect_jump_type()
474 inst[2] = inst[0]; in detect_jump_type()
481 inst[3] = inst[0]; in detect_jump_type()
2230 #define FINST(inst, type) (sljit_ins)((type & SLJIT_32) ? inst##_S : inst##_D) argument
3693 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 0); in sljit_set_jump_addr()
3710 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 1); in sljit_set_jump_addr()
[all …]
H A DsljitNativePPC_32.c475 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr() local
478 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 0); in sljit_set_jump_addr()
479 SLJIT_ASSERT((inst[0] & 0xfc1f0000) == ADDIS && (inst[1] & 0xfc000000) == ORI); in sljit_set_jump_addr()
480 inst[0] = (inst[0] & 0xffff0000) | ((new_target >> 16) & 0xffff); in sljit_set_jump_addr()
481 inst[1] = (inst[1] & 0xffff0000) | (new_target & 0xffff); in sljit_set_jump_addr()
482 SLJIT_UPDATE_WX_FLAGS(inst, inst + 2, 1); in sljit_set_jump_addr()
483 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
484 SLJIT_CACHE_FLUSH(inst, inst + 2); in sljit_set_jump_addr()
H A DsljitNativeMIPS_common.c532 inst[0] = inst[-1]; in detect_jump_type()
558 inst[0] = inst[-1]; in detect_jump_type()
578 inst[0] = inst[-1]; in detect_jump_type()
602 inst[2] = inst[0]; in detect_jump_type()
603 inst[3] = inst[1]; in detect_jump_type()
611 inst[4] = inst[0]; in detect_jump_type()
612 inst[5] = inst[1]; in detect_jump_type()
619 inst[2] = inst[0]; in detect_jump_type()
620 inst[3] = inst[1]; in detect_jump_type()
623 inst[6] = inst[0]; in detect_jump_type()
[all …]
H A DsljitNativeRISCV_common.c174 sljit_ins *inst; in detect_jump_type() local
194 inst--; in detect_jump_type()
195 inst[0] = (inst[0] & 0x1fff07f) ^ 0x1000; in detect_jump_type()
198 return inst; in detect_jump_type()
214 return inst; in detect_jump_type()
223 inst[1] = inst[0]; in detect_jump_type()
232 inst[1] = inst[0]; in detect_jump_type()
241 inst[3] = inst[0]; in detect_jump_type()
250 inst[4] = inst[0]; in detect_jump_type()
257 inst[1] = inst[0]; in detect_jump_type()
[all …]
H A DsljitNativePPC_64.c708 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr() local
711 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 0); in sljit_set_jump_addr()
712 inst[0] = (inst[0] & 0xffff0000u) | ((sljit_ins)(new_target >> 48) & 0xffff); in sljit_set_jump_addr()
713 inst[1] = (inst[1] & 0xffff0000u) | ((sljit_ins)(new_target >> 32) & 0xffff); in sljit_set_jump_addr()
714 inst[3] = (inst[3] & 0xffff0000u) | ((sljit_ins)(new_target >> 16) & 0xffff); in sljit_set_jump_addr()
715 inst[4] = (inst[4] & 0xffff0000u) | ((sljit_ins)new_target & 0xffff); in sljit_set_jump_addr()
716 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 1); in sljit_set_jump_addr()
717 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
718 SLJIT_CACHE_FLUSH(inst, inst + 5); in sljit_set_jump_addr()
H A DsljitNativeARM_64.c2217 sljit_ins inst; in sljit_emit_fcopy() local
2578 sljit_u32 inst; in sljit_emit_mem() local
2599 inst = ADDI; in sljit_emit_mem()
2604 inst = SUBI; in sljit_emit_mem()
2637 if (inst == SUBI) in sljit_emit_mem()
2694 inst |= 0x800; in sljit_emit_mem_update()
2703 sljit_u32 inst; in sljit_emit_fmem_update() local
2723 inst |= 0x800; in sljit_emit_fmem_update()
3474 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 0); in sljit_set_jump_addr()
3483 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 1); in sljit_set_jump_addr()
[all …]
H A DsljitNativePPC_common.c1095 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
1099 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
1239 sljit_ins inst; in emit_op_mem() local
1258 SLJIT_ASSERT(!(inst & INT_ALIGNED)); in emit_op_mem()
2897 #define EMIT_MEM_LOAD_IMM(inst, mem, memw) \ argument
2902 #define EMIT_MEM_LOAD_IMM(inst, mem, memw) \ argument
2913 sljit_ins inst; in sljit_emit_mem() local
2937 if (EMIT_MEM_LOAD_IMM(inst, mem, memw)) { in sljit_emit_mem()
2960 inst &= (sljit_ins)~INT_ALIGNED; in sljit_emit_mem()
2979 sljit_ins inst; in sljit_emit_mem_update() local
[all …]
H A DsljitNativeARM_T2_32.c316 …SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const()
2531 sljit_ins inst; in sljit_emit_fcopy() local
2545 inst |= 1 << 7; in sljit_emit_fcopy()
2549 inst |= 1 << 20; in sljit_emit_fcopy()
3387 sljit_ins inst; in sljit_emit_mem_update() local
3430 inst |= 0x400; in sljit_emit_mem_update()
3433 inst |= 0x200; in sljit_emit_mem_update()
4292 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 0); in sljit_set_jump_addr()
4294 SLJIT_UPDATE_WX_FLAGS(inst, inst + 4, 1); in sljit_set_jump_addr()
4295 inst = (sljit_u16 *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
[all …]
/php-src/win32/
H A Ddllmain.c32 BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID dummy) in DllMain() argument
42 ret = ret && xmlDllMain(inst, reason, dummy); in DllMain()
/php-src/ext/iconv/
H A Diconv.c2579 php_iconv_stream_filter *inst; in php_iconv_stream_filter_factory_create() local
2602 inst = pemalloc(sizeof(php_iconv_stream_filter), persistent); in php_iconv_stream_filter_factory_create()
2604 …if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len,… in php_iconv_stream_filter_factory_create()
2605 pefree(inst, persistent); in php_iconv_stream_filter_factory_create()
2609 if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) { in php_iconv_stream_filter_factory_create()
2610 php_iconv_stream_filter_dtor(inst); in php_iconv_stream_filter_factory_create()
2611 pefree(inst, persistent); in php_iconv_stream_filter_factory_create()
/php-src/build/
H A Dltmain.sh1558 -inst-prefix-dir)
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます6023 0 string cyd!inst Klystrack instrument
33898 # look for inst TAG
33899 >>0x31 search/256 inst by
H A Dmagic6023 0 string cyd!inst Klystrack instrument
33898 # look for inst TAG
33899 >>0x31 search/256 inst by

Completed in 275 milliseconds