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

/PHP_5_4/ext/standard/
H A Dfilters.c179 static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, int 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 = 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 *) thisfilter->abstract; local
249 php_strip_tags_filter *inst; local
367 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
385 php_conv_base64_encode_dtor(php_conv_base64_encode *inst) argument
393 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
467 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
614 php_conv_base64_decode_ctor(php_conv_base64_decode *inst) argument
626 php_conv_base64_decode_dtor(php_conv_base64_decode *inst) argument
632 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
765 php_conv_qprint_encode_dtor(php_conv_qprint_encode *inst) argument
785 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
973 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
1010 php_conv_qprint_decode_dtor(php_conv_qprint_decode *inst) argument
1018 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
1188 php_conv_qprint_decode_ctor(php_conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) argument
1501 php_convert_filter_ctor(php_convert_filter *inst, int conv_mode, HashTable *conv_opts, const char *filtername, int persistent) argument
1526 php_convert_filter_dtor(php_convert_filter *inst) argument
1539 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 TSRMLS_DC) argument
1752 php_convert_filter *inst = (php_convert_filter *)thisfilter->abstract; local
1805 php_convert_filter *inst; local
[all...]
/PHP_5_4/ext/iconv/
H A Diconv.c2796 php_iconv_stream_filter *inst; local
2819 if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) {
2823 if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len, persistent) != PHP_ICONV_ERR_SUCCESS) {
2824 pefree(inst, persistent);
2828 if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) {
2829 php_iconv_stream_filter_dtor(inst);
2830 pefree(inst, persistent);
/PHP_5_4/ext/pcre/pcrelib/sljit/
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
373 push_inst(struct sljit_compiler *compiler, sljit_uw inst) argument
453 sljit_uw *inst = (sljit_uw*)ptr[0]; local
511 sljit_uw *inst = (sljit_uw*)ptr[0]; local
2032 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); local
[all...]
H A DsljitNativeARM_64.c144 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) argument
146 sljit_si dst = inst[0] & 0x1f;
147 SLJIT_ASSERT((inst[0] & 0xffe00000) == MOVZ && (inst[1] & 0xffe00000) == (MOVK | (1 << 21)));
148 inst[0] = MOVZ | dst | ((new_imm & 0xffff) << 5);
149 inst[1] = MOVK | dst | (((new_imm >> 16) & 0xffff) << 5) | (1 << 21);
150 inst[2] = MOVK | dst | (((new_imm >> 32) & 0xffff) << 5) | (2 << 21);
151 inst[3] = MOVK | dst | ((new_imm >> 48) << 5) | (3 << 21);
2018 sljit_ins* inst = (sljit_ins*)addr; local
2019 modify_imm64_const(inst, new_add
2025 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[
1537 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); local
2048 sljit_uh *inst = (sljit_uh*)addr; local
2055 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[
1620 sljit_ins inst; local
1739 sljit_ins inst; local
1859 sljit_ins inst; local
[all...]
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 DsljitNativePPC_common.c717 #define INST_CODE_AND_DST(inst, flags, reg) \
718 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
721 #define INST_CODE_AND_DST(inst, flags, reg) \
722 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
846 sljit_ins inst; local
858 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK];
859 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ)));
860 FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(OFFS_REG(arg))));
868 inst = data_transfer_insts[inp_flags & MEM_MASK];
869 SLJIT_ASSERT((arg & REG_MASK) || !(inst
946 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[
2429 sljit_ins inst; local
2557 sljit_ins *inst = (sljit_ins *)addr; local
2567 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
86 inst = (sljit_ub*)ensure_buf(compiler, 1 + size);
87 FAIL_IF(!inst);
93 *inst++ = MOV_r_rm;
94 *inst
211 sljit_ub *inst; local
280 sljit_ub *inst; local
443 sljit_ub *inst; local
481 sljit_ub *inst; local
512 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
109 inst = (sljit_ub*)ensure_buf(compiler, 1 + size);
110 FAIL_IF(!inst);
113 *inst
259 sljit_ub *inst; local
333 sljit_ub *inst; local
352 sljit_ub *inst; local
558 sljit_ub *inst; local
594 sljit_ub *inst; local
631 sljit_ub *inst; local
696 sljit_ub* inst; local
[all...]
H A DsljitNativeX86_common.c259 #define INC_SIZE(s) (*inst++ = (s), compiler->size += (s))
261 #define PUSH_REG(r) (*inst++ = (PUSH_r + (r)))
262 #define POP_REG(r) (*inst++ = (POP_r + (r)))
263 #define RET() (*inst++ = (RET_near))
264 #define RET_I16(n) (*inst++ = (RET_i16), *inst++ = n, *inst++ = 0)
266 #define MOV_RM(mod, reg, rm) (*inst++ = (MOV_r_rm), *inst++ = (mod) << 6 | (reg) << 3 | (rm))
584 sljit_ub *inst; local
607 sljit_ub *inst; local
656 sljit_ub* inst; local
722 sljit_ub *inst; local
867 sljit_ub* inst; local
1012 sljit_ub* inst; local
1063 sljit_ub* inst; local
1102 sljit_ub* inst; local
1142 sljit_ub* inst; local
1251 sljit_ub* inst; local
1452 sljit_ub* inst; local
1568 sljit_ub* inst; local
1649 sljit_ub* inst; local
1779 sljit_ub* inst; local
1837 sljit_ub* inst; local
1888 sljit_ub* inst; local
1998 sljit_ub* inst; local
2230 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
2868 sljit_ub *inst; local
[all...]

Completed in 102 milliseconds