Searched defs:inst (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_32.c255 sljit_ins *inst = (sljit_ins*)addr; local
257 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 16) & 0xffff);
258 inst[1] = (inst[1] & 0xffff0000) | (new_addr & 0xffff);
259 SLJIT_CACHE_FLUSH(inst, inst + 2);
264 sljit_ins *inst = (sljit_ins*)addr; local
266 inst[0] = (inst[
[all...]
H A DsljitNativePPC_64.c403 sljit_ins *inst = (sljit_ins*)addr; local
405 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff);
406 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff);
407 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff);
408 inst[4] = (inst[4] & 0xffff0000) | (new_addr & 0xffff);
409 SLJIT_CACHE_FLUSH(inst, ins
414 sljit_ins *inst = (sljit_ins*)addr; local
[all...]
H A DsljitNativeARM_32.c132 sljit_uw* inst; local
142 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw));
143 FAIL_IF(!inst);
145 *inst = 0xff000000 | compiler->cpool_fill;
148 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw));
149 FAIL_IF(!inst);
151 *inst = 0;
157 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw));
158 FAIL_IF(!inst);
160 *inst
167 push_inst(struct sljit_compiler *compiler, sljit_uw inst) argument
181 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal) argument
231 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal) argument
371 push_inst(struct sljit_compiler *compiler, sljit_uw inst) argument
451 sljit_uw *inst = (sljit_uw*)ptr[0]; local
509 sljit_uw *inst = (sljit_uw*)ptr[0]; local
2045 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); local
[all...]
H A DsljitNativeARM_64.c145 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) argument
147 sljit_si dst = inst[0] & 0x1f;
148 SLJIT_ASSERT((inst[0] & 0xffe00000) == MOVZ && (inst[1] & 0xffe00000) == (MOVK | (1 << 21)));
149 inst[0] = MOVZ | dst | ((new_imm & 0xffff) << 5);
150 inst[1] = MOVK | dst | (((new_imm >> 16) & 0xffff) << 5) | (1 << 21);
151 inst[2] = MOVK | dst | (((new_imm >> 32) & 0xffff) << 5) | (2 << 21);
152 inst[3] = MOVK | dst | ((new_imm >> 48) << 5) | (3 << 21);
2008 sljit_ins* inst = (sljit_ins*)addr; local
2009 modify_imm64_const(inst, new_add
2015 sljit_ins* inst = (sljit_ins*)addr; local
[all...]
H A DsljitNativeARM_T2_32.c184 static sljit_si push_inst16(struct sljit_compiler *compiler, sljit_ins inst) argument
187 SLJIT_ASSERT(!(inst & 0xffff0000));
191 *ptr = inst;
196 static sljit_si push_inst32(struct sljit_compiler *compiler, sljit_ins inst) argument
200 *ptr++ = inst >> 16;
201 *ptr = inst;
214 static SLJIT_INLINE void modify_imm32_const(sljit_uh *inst, sljit_uw new_imm) argument
216 sljit_si dst = inst[1] & 0x0f00;
217 SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[
1552 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); local
2062 sljit_uh *inst = (sljit_uh*)addr; local
2069 sljit_uh *inst = (sljit_uh*)addr; local
[all...]
H A DsljitNativeMIPS_32.c352 sljit_ins *inst = (sljit_ins*)addr; local
354 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 16) & 0xffff);
355 inst[1] = (inst[1] & 0xffff0000) | (new_addr & 0xffff);
356 SLJIT_CACHE_FLUSH(inst, inst + 2);
361 sljit_ins *inst = (sljit_ins*)addr; local
363 inst[0] = (inst[
[all...]
H A DsljitNativeMIPS_64.c451 sljit_ins *inst = (sljit_ins*)addr; local
453 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff);
454 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff);
455 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff);
456 inst[5] = (inst[5] & 0xffff0000) | (new_addr & 0xffff);
457 SLJIT_CACHE_FLUSH(inst, ins
462 sljit_ins *inst = (sljit_ins*)addr; local
[all...]
H A DsljitNativeMIPS_common.c225 sljit_ins *inst; local
242 inst = (sljit_ins*)jump->addr;
244 inst--;
253 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2;
258 inst[0] = inst[-1];
259 inst[-1] = (jump->flags & IS_JAL) ? BAL : B;
261 return inst;
263 saved_inst = inst[0];
264 inst[
1636 sljit_ins inst; local
1755 sljit_ins inst; local
1875 sljit_ins inst; local
[all...]
H A DsljitNativePPC_common.c732 #define INST_CODE_AND_DST(inst, flags, reg) \
733 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
736 #define INST_CODE_AND_DST(inst, flags, reg) \
737 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
861 sljit_ins inst; local
873 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK];
874 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ)));
875 FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(OFFS_REG(arg))));
883 inst = data_transfer_insts[inp_flags & MEM_MASK];
884 SLJIT_ASSERT((arg & REG_MASK) || !(inst
961 sljit_ins inst; local
[all...]
H A DsljitNativeSPARC_32.c150 sljit_ins *inst = (sljit_ins*)addr; local
152 inst[0] = (inst[0] & 0xffc00000) | ((new_addr >> 10) & 0x3fffff);
153 inst[1] = (inst[1] & 0xfffffc00) | (new_addr & 0x3ff);
154 SLJIT_CACHE_FLUSH(inst, inst + 2);
159 sljit_ins *inst = (sljit_ins*)addr; local
161 inst[0] = (inst[
[all...]
H A DsljitNativeSPARC_common.c202 sljit_ins *inst; local
214 inst = (sljit_ins*)jump->addr;
221 inst[0] = inst[-1];
222 inst[-1] = CALL;
224 return inst;
226 inst[0] = CALL;
227 inst[1] = NOP;
228 return inst + 1;
236 inst
[all...]
H A DsljitNativeTILEGX_64.c609 tilegx_bundle_bits get_bundle_bit(struct jit_instr *inst) argument
612 const struct tilegx_opcode* opcode = inst->opcode;
613 tilegx_bundle_bits bits = opcode->fixed_bit_values[inst->pipe];
617 operand = &tilegx_operands[opcode->operands[inst->pipe][i]];
618 val = inst->operand_value[i];
907 sljit_ins *inst; local
920 inst = (sljit_ins *)jump->addr;
922 inst--;
924 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3;
932 inst[
2445 sljit_ins inst; local
2573 sljit_ins *inst = (sljit_ins *)addr; local
2583 sljit_ins *inst = (sljit_ins *)addr; local
[all...]
H A DsljitNativeX86_32.c31 sljit_ub *inst; local
33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw));
34 FAIL_IF(!inst);
36 *inst++ = opcode;
37 *(sljit_sw*)inst = imm;
71 sljit_ub *inst; local
93 inst = (sljit_ub*)ensure_buf(compiler, 1 + size);
94 FAIL_IF(!inst);
100 *inst++ = MOV_r_rm;
101 *inst
202 sljit_ub *inst; local
259 sljit_ub *inst; local
422 sljit_ub *inst; local
460 sljit_ub *inst; local
491 sljit_ub *inst; local
[all...]
H A DsljitNativeX86_64.c31 sljit_ub *inst; local
33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw));
34 FAIL_IF(!inst);
36 *inst++ = REX_W | ((reg_map[reg] <= 7) ? 0 : REX_B);
37 *inst++ = MOV_r_i32 + (reg_map[reg] & 0x7);
38 *(sljit_sw*)inst = imm;
95 sljit_ub *inst; local
116 inst = (sljit_ub*)ensure_buf(compiler, 1 + size);
117 FAIL_IF(!inst);
120 *inst
272 sljit_ub *inst; local
346 sljit_ub *inst; local
365 sljit_ub *inst; local
571 sljit_ub *inst; local
607 sljit_ub *inst; local
644 sljit_ub *inst; local
709 sljit_ub* inst; local
[all...]
H A DsljitNativeX86_common.c258 #define INC_SIZE(s) (*inst++ = (s), compiler->size += (s))
260 #define PUSH_REG(r) (*inst++ = (PUSH_r + (r)))
261 #define POP_REG(r) (*inst++ = (POP_r + (r)))
262 #define RET() (*inst++ = (RET_near))
263 #define RET_I16(n) (*inst++ = (RET_i16), *inst++ = n, *inst++ = 0)
265 #define MOV_RM(mod, reg, rm) (*inst++ = (MOV_r_rm), *inst++ = (mod) << 6 | (reg) << 3 | (rm))
583 sljit_ub *inst; local
606 sljit_ub *inst; local
655 sljit_ub* inst; local
721 sljit_ub *inst; local
866 sljit_ub* inst; local
1011 sljit_ub* inst; local
1062 sljit_ub* inst; local
1101 sljit_ub* inst; local
1141 sljit_ub* inst; local
1250 sljit_ub* inst; local
1451 sljit_ub* inst; local
1567 sljit_ub* inst; local
1648 sljit_ub* inst; local
1778 sljit_ub* inst; local
1836 sljit_ub* inst; local
1887 sljit_ub* inst; local
1997 sljit_ub* inst; local
2229 sljit_ub *inst; local
2279 sljit_ub *inst; local
2291 sljit_ub *inst; local
2317 sljit_ub *inst; local
2339 sljit_ub *inst; local
2514 sljit_ub *inst; local
2543 sljit_ub *inst; local
2580 sljit_ub *inst; local
2652 sljit_ub *inst; local
2864 sljit_ub *inst; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c179 static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, size_t allowed_tags_len, int persistent) argument
182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
185 memcpy((char *)inst->allowed_tags, allowed_tags, allowed_tags_len);
186 inst->allowed_tags_len = (int)allowed_tags_len;
188 inst->allowed_tags = NULL;
190 inst->state = 0;
191 inst->persistent = persistent;
196 static void php_strip_tags_filter_dtor(php_strip_tags_filter *inst) argument
198 if (inst->allowed_tags != NULL) {
199 pefree((void *)inst
214 php_strip_tags_filter *inst = (php_strip_tags_filter *) Z_PTR(thisfilter->abstract); local
249 php_strip_tags_filter *inst; local
357 php_conv_base64_encode_ctor(php_conv_base64_encode *inst, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) argument
375 php_conv_base64_encode_dtor(php_conv_base64_encode *inst) argument
383 php_conv_base64_encode_flush(php_conv_base64_encode *inst, const char **in_pp, size_t *in_left_p, char **out_pp, size_t *out_left_p) argument
457 php_conv_base64_encode_convert(php_conv_base64_encode *inst, const char **in_pp, size_t *in_left_p, char **out_pp, size_t *out_left_p) argument
604 php_conv_base64_decode_ctor(php_conv_base64_decode *inst) argument
616 php_conv_base64_decode_dtor(php_conv_base64_decode *inst) argument
622 php_conv_base64_decode_convert(php_conv_base64_decode *inst, const char **in_pp, size_t *in_left_p, char **out_pp, size_t *out_left_p) argument
755 php_conv_qprint_encode_dtor(php_conv_qprint_encode *inst) argument
775 php_conv_qprint_encode_convert(php_conv_qprint_encode *inst, const char **in_pp, size_t *in_left_p, char **out_pp, size_t *out_left_p) argument
964 php_conv_qprint_encode_ctor(php_conv_qprint_encode *inst, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int opts, int persistent) argument
1001 php_conv_qprint_decode_dtor(php_conv_qprint_decode *inst) argument
1009 php_conv_qprint_decode_convert(php_conv_qprint_decode *inst, const char **in_pp, size_t *in_left_p, char **out_pp, size_t *out_left_p) argument
1179 php_conv_qprint_decode_ctor(php_conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) argument
1482 php_convert_filter_ctor(php_convert_filter *inst, int conv_mode, HashTable *conv_opts, const char *filtername, int persistent) argument
1507 php_convert_filter_dtor(php_convert_filter *inst) argument
1520 strfilter_convert_append_bucket( php_convert_filter *inst, php_stream *stream, php_stream_filter *filter, php_stream_bucket_brigade *buckets_out, const char *ps, size_t buf_len, size_t *consumed, int persistent) argument
1733 php_convert_filter *inst = (php_convert_filter *)Z_PTR(thisfilter->abstract); local
1786 php_convert_filter *inst; local
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c2850 php_iconv_stream_filter *inst; local
2873 if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) {
2877 if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len, persistent) != PHP_ICONV_ERR_SUCCESS) {
2878 pefree(inst, persistent);
2882 if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) {
2883 php_iconv_stream_filter_dtor(inst);
2884 pefree(inst, persistent);

Completed in 37 milliseconds