Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 106) sorted by path

12345

/PHP-5.5/
H A DINSTALL686 Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/op
H A DNEWS3207 'interactive' execution of a single top-level op-array.
7728 - Fixed crash on op-assign where argument is string offset (Brian, Stas)
H A DREADME.NEW-OUTPUT-API7 and there's an API call for every output handler op.
H A DUPGRADING.INTERNALS47 stores new offsets in op_array->opcodes[*].op?.num. You can use macros
/PHP-5.5/Zend/
H A DREADME.ZEND_VM56 opline->op<X>.op_type
58 get_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>)
60 get_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>)
62 get_obj_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>)
64 get_obj_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>)
H A Dzend_compile.c36 #define CONSTANT(op) \ argument
44 target = (src)->u.op; \
580 opline->opcode = op; in zend_do_binary_op()
593 opline->opcode = op; in zend_do_unary_op()
644 opline->opcode = op; in zend_do_binary_assign_op()
1188 opline->opcode = op; in zend_do_pre_incdec()
2550 int original_op=op; in zend_do_pass_param()
2615 switch (op) { in zend_do_pass_param()
3330 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) in zend_get_function_declaration()
3333 precv = op; in zend_get_function_declaration()
[all …]
H A Dzend_compile.h37 #define SET_UNUSED(op) op ## _type = IS_UNUSED argument
92 znode_op op; member
451 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
452 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC);
453 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM…
457 void fetch_simple_variable_ex(znode *result, znode *varname, int bp, zend_uchar op TSRMLS_DC);
487 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
488 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
547 void zend_do_pass_param(znode *param, zend_uchar op, int offset TSRMLS_DC);
555 void zend_do_brk_cont(zend_uchar op, const znode *expr TSRMLS_DC);
[all …]
H A Dzend_execute.c472 static inline zval **_get_obj_zval_ptr_ptr(int op_type, const znode_op *op, const zend_execute_data… in _get_obj_zval_ptr_ptr() argument
484 return get_zval_ptr_ptr(op_type, op, execute_data, should_free, type); in _get_obj_zval_ptr_ptr()
497 static inline zval *_get_obj_zval_ptr(int op_type, znode_op *op, const zend_execute_data *execute_d… in _get_obj_zval_ptr() argument
507 return get_zval_ptr(op_type, op, execute_data, should_free, type); in _get_obj_zval_ptr()
H A Dzend_execute.h63 ZEND_API int zend_is_true(zval *op);
98 switch (Z_TYPE_P(op)) { in i_zend_is_true()
105 result = (Z_LVAL_P(op)?1:0); in i_zend_is_true()
108 result = (Z_DVAL_P(op) ? 1 : 0); in i_zend_is_true()
111 if (Z_STRLEN_P(op) == 0 in i_zend_is_true()
112 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in i_zend_is_true()
122 if(IS_ZEND_STD_OBJECT(*op)) { in i_zend_is_true()
125 if (Z_OBJ_HT_P(op)->cast_object) { in i_zend_is_true()
127 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL TSRMLS_CC) == SUCCESS) { in i_zend_is_true()
131 } else if (Z_OBJ_HT_P(op)->get) { in i_zend_is_true()
[all …]
H A Dzend_execute_API.c442 ZEND_API int zend_is_true(zval *op) /* {{{ */ in zend_is_true() argument
444 return i_zend_is_true(op); in zend_is_true()
H A Dzend_language_parser.y291 … ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); }
344 | /* empty */ { $$.u.op.opline_num = -1; }
402 T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; }
403 …| T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CL…
404 | T_TRAIT { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_TRAIT; }
405 | T_FINAL T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_FINAL_CLASS; }
414 T_INTERFACE { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_INTERFACE; }
837 T_FUNCTION { $$.u.op.opline_num = CG(zend_lineno); }
853 namespace_name { $$.u.op.opline_num = zend_do_begin_function_call(&$1, 1 TSRMLS_CC); }
857 …| T_NS_SEPARATOR namespace_name { $$.u.op.opline_num = zend_do_begin_function_call(&$2, 0 TSRMLS_C…
[all …]
H A Dzend_opcode.c420 void init_op(zend_op *op TSRMLS_DC) in init_op()
422 memset(op, 0, sizeof(zend_op)); in init_op()
423 op->lineno = CG(zend_lineno); in init_op()
424 SET_UNUSED(op->result); in init_op()
H A Dzend_operators.c192 …if ((Z_TYPE_P(op)=is_numeric_string(strval, Z_STRLEN_P(op), &Z_LVAL_P(op), &Z_DVAL_P(op), 1)) == 0… in convert_scalar_to_number()
309 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \
348 zval *newop = Z_OBJ_HT_P(op)->get(op TSRMLS_CC); \
387 Z_LVAL_P(op) = zend_dval_to_lval(Z_DVAL_P(op)); in convert_to_long_base()
445 Z_DVAL_P(op) = (double) Z_LVAL_P(op); in convert_to_double()
496 *org = *op; in convert_to_null()
501 *op = *org; in convert_to_null()
528 Z_LVAL_P(op) = (Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
531 Z_LVAL_P(op) = (Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
538 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in convert_to_boolean()
[all …]
H A Dzend_operators.h326 ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC);
329 ZEND_API void convert_to_long(zval *op);
330 ZEND_API void convert_to_double(zval *op);
331 ZEND_API void convert_to_long_base(zval *op, int base);
332 ZEND_API void convert_to_null(zval *op);
333 ZEND_API void convert_to_boolean(zval *op);
334 ZEND_API void convert_to_array(zval *op);
335 ZEND_API void convert_to_object(zval *op);
341 #define convert_to_cstring(op) if ((op)->type != IS_STRING) { _convert_to_cstring((op) ZEND_FILE_LI… argument
342 #define convert_to_string(op) if ((op)->type != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE… argument
[all …]
H A Dzend_vm_execute.h309 static opcode_handler_t zend_vm_get_opcode_handler(zend_uchar opcode, zend_op* op);
45097 static opcode_handler_t zend_vm_get_opcode_handler(zend_uchar opcode, zend_op* op) in zend_vm_get_opcode_handler() argument
45118 …return zend_opcode_handlers[opcode * 25 + zend_vm_decode[op->op1_type] * 5 + zend_vm_decode[op->op… in zend_vm_get_opcode_handler()
45121 ZEND_API void zend_vm_set_opcode_handler(zend_op* op) in zend_vm_set_opcode_handler() argument
45123 op->handler = zend_vm_get_opcode_handler(zend_user_opcodes[op->opcode], op); in zend_vm_set_opcode_handler()
H A Dzend_vm_gen.php1070 $op = $m[2];
1071 $len = strlen($op);
1084 if (isset($opnames[$op])) {
1088 $opnames[$op] = $code;
1167 $op = $m[1];
1168 if (!isset($opnames[$op])) {
1171 $code = $opnames[$op];
1190 $op = str_pad($dsc["op"],$max_opcode_len);
1191 fputs($f,"#define $op $code\n");
1378 $op = $opcodes[$opnames[$name]];
[all …]
/PHP-5.5/Zend/tests/
H A Dbug38461.phpt19 $op = new ExtOperation;
20 $op->x = 'test';
/PHP-5.5/ext/com_dotnet/
H A Dcom_variant.c514 static void variant_binary_operation(enum variant_binary_opcode op, INTERNAL_FUNCTION_PARAMETERS) /… in variant_binary_operation() argument
561 switch (op) { in variant_binary_operation()
722 static void variant_unary_operation(enum variant_unary_opcode op, INTERNAL_FUNCTION_PARAMETERS) /* … in variant_unary_operation() argument
747 switch (op) { in variant_unary_operation()
/PHP-5.5/ext/com_dotnet/tests/
H A Dvariants.phpt29 foreach ($binary_ops as $op) {
31 echo "$op: " . call_user_func('variant_' . $op, $v, $op2) . "\n";
33 echo "$op:\n";
34 echo "\tvariant_$op($v, $op2)\n";
/PHP-5.5/ext/ereg/regex/
H A Dregcomp.c60 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd)) argument
61 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) argument
1380 doemit(p, op, opnd) in doemit() argument
1382 sop op;
1398 p->strip[p->slen++] = SOP(op, opnd);
1406 doinsert(p, op, opnd, pos) in doinsert() argument
1408 sop op;
1421 EMIT(op, opnd); /* do checks, ensure space */
H A Dregcomp.ih42 static void doemit(register struct parse *p, sop op, size_t opnd);
43 static void doinsert(register struct parse *p, sop op, size_t opnd, sopno pos);
H A Dregex2.h52 #define SOP(op, opnd) ((op)|(opnd)) argument
H A Dtests325 [ab][cd][ef][gh][ij][kl][mn][op] - xacegikmoq acegikmo
326 [ab][cd][ef][gh][ij][kl][mn][op][qr] - xacegikmoqy acegikmoq
327 [ab][cd][ef][gh][ij][kl][mn][op][q] - xacegikmoqy acegikmoq
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch541 if ((op = get_op(*l)) != -1) {
546 m->mask_op |= op;
2107 - char *pbuf, *op, *np;
2108 + char *op, *np;
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c1502 int op; in parse() local
1657 if ((op = get_op(*l)) != -1) { in parse()
1658 m->in_op |= op; in parse()
1760 if ((op = get_op(*l)) != -1) { in parse()
1764 m->mask_op |= op; in parse()
1770 else if (op == FILE_OPDIVIDE) { in parse()

Completed in 264 milliseconds

12345