Searched refs:op (Results 1 - 25 of 72) sorted by relevance

123

/PHP_5_6/ext/pgsql/tests/
H A Dskipif.inc20 function skip_server_version($version, $op = '<')
23 if (version_compare($pg, $version, $op)) {
24 die("skip Server version {$pg} is {$op} {$version}\n");
/PHP_5_6/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc55 * This is a no-op for the tar creator
/PHP_5_6/ext/ereg/regex/
H A Dregex2.h52 #define SOP(op, opnd) ((op)|(opnd))
/PHP_5_6/ext/mbstring/oniguruma/
H A Dregsyntax.c239 onig_set_syntax_op(OnigSyntaxType* syntax, unsigned int op) argument
241 syntax->op = op;
265 return syntax->op;
/PHP_5_6/win32/
H A Dflock.c55 PHPAPI int flock(int fd, int op) argument
65 switch (op & ~LOCK_NB) { /* translate to LockFileEx() op */
68 ((op & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
73 if (LockFileEx(hdl, ((op & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
H A Dflock.h11 PHPAPI int flock(int fd, int op);
/PHP_5_6/ext/filter/
H A Dfilter.c681 static void php_filter_array_handler(zval *input, zval **op, zval *return_value, zend_bool add_empty TSRMLS_DC) /* {{{ */ argument
689 if (!op) {
693 } else if (Z_TYPE_PP(op) == IS_LONG) {
696 php_filter_call(&return_value, Z_LVAL_PP(op), NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
697 } else if (Z_TYPE_PP(op) == IS_ARRAY) {
700 zend_hash_internal_pointer_reset(Z_ARRVAL_PP(op));
701 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(op), &pos);
702 zend_hash_get_current_data_ex(Z_ARRVAL_PP(op), (void **) &arg_elm, &pos) == SUCCESS;
703 zend_hash_move_forward_ex(Z_ARRVAL_PP(op), &pos))
705 if (zend_hash_get_current_key_ex(Z_ARRVAL_PP(op),
821 zval *array_input = NULL, **op = NULL; local
869 zval *array_input = NULL, **op = NULL; local
[all...]
/PHP_5_6/ext/opcache/Optimizer/
H A Dzend_optimizer_internal.h38 #define INV_COND(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ : ZEND_JMPZ)
39 #define INV_EX_COND(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ : ZEND_JMPZ)
40 #define INV_COND_EX(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX)
41 #define INV_EX_COND_EX(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX)
45 # define RESULT_USED(op) (((op
[all...]
H A Dblock_pass.c536 # define VAR_NUM_EX(op) ((op ## _type & (IS_TMP_VAR|IS_VAR))?VAR_NUM((op).var):(op).var)
538 # define VAR_SOURCE(op) Tsource[VAR_NUM(op.var)]
541 # define VAR_UNSET(op) do { if (op ## _type & (IS_TMP_VAR|IS_VAR)) {VAR_SOURCE(op) = NULL;}} while (0)
545 # define VAR_NUM_EX(op) ((o
[all...]
H A Dpass1_5.c529 zend_op *op = opline + 1; variable
532 while (op < end) {
533 if (op->opcode == ZEND_BEGIN_SILENCE) {
535 } else if (op->opcode == ZEND_END_SILENCE) {
542 if (op->op1_type == IS_VAR && op->op1.var == var) {
548 use = op;
549 } else if (op->op2_type == IS_VAR && op->op2.var == var) {
555 use = op;
[all...]
H A Dpass3.c306 zend_op *op;
307 for(op = opline+1; op<end; op++) {
308 if(ZEND_RESULT_TYPE(op) == IS_TMP_VAR &&
309 ZEND_RESULT(op).var == ZEND_RESULT(opline).var) {
313 if(op->opcode == ZEND_JMP ||
314 op->opcode == ZEND_JMPZ ||
315 op->opcode == ZEND_JMPZ_EX ||
316 op
[all...]
/PHP_5_6/ext/standard/
H A Dscanf.c589 char op = 0; local
763 op = 'i';
768 op = 'i';
773 op = 'i';
779 op = 'i';
784 op = 'i';
794 op = 'f';
798 op = 's';
802 op = 's';
811 op
[all...]
H A Dversioning.c213 char *v1, *v2, *op = NULL; local
219 &v2_len, &op, &op_len) == FAILURE) {
226 if (!strncmp(op, "<", op_len) || !strncmp(op, "lt", op_len)) {
229 if (!strncmp(op, "<=", op_len) || !strncmp(op, "le", op_len)) {
232 if (!strncmp(op, ">", op_len) || !strncmp(op, "gt", op_len)) {
235 if (!strncmp(op, ">=", op_len) || !strncmp(op, "g
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_opcode.h27 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC);
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */ argument
49 asprintf(&decode, "$%s", ops->vars[op->var].name);
56 if (zend_hash_index_find(vars, (zend_ulong) ops->vars - op->var, (void**) &pid) != SUCCESS) {
59 vars, (zend_ulong) ops->vars - op->var,
68 asprintf(&decode, "C%u", phpdbg_decode_literal(ops, op->literal TSRMLS_CC));
78 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */ argument
82 switch (op->opcode) {
90 asprintf(&decode[1], "J%ld", op->op1.jmp_addr - ops->opcodes);
94 decode[1] = phpdbg_decode_op(ops, &op->op1, op
[all...]
/PHP_5_6/main/streams/
H A Dtransports.c205 param.op = STREAM_XPORT_OP_BIND;
236 param.op = asynchronous ? STREAM_XPORT_OP_CONNECT_ASYNC: STREAM_XPORT_OP_CONNECT;
266 param.op = STREAM_XPORT_OP_LISTEN;
296 param.op = STREAM_XPORT_OP_ACCEPT;
333 param.op = want_peer ? STREAM_XPORT_OP_GET_PEER_NAME : STREAM_XPORT_OP_GET_NAME;
360 param.op = STREAM_XPORT_CRYPTO_OP_SETUP;
381 param.op = STREAM_XPORT_CRYPTO_OP_ENABLE;
442 param.op = STREAM_XPORT_OP_RECV;
489 param.op = STREAM_XPORT_OP_SEND;
514 param.op
[all...]
/PHP_5_6/Zend/
H A Dzend_vm_gen.php650 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
656 out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
703 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
709 out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_HANDLER,\n");
765 gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
790 gen_handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
845 out($f,"static opcode_handler_t zend_vm_get_opcode_handler(zend_uchar opcode, zend_op* op);\n\n");
1097 $op = $m[2]; variable
1098 $len = strlen($op);
1111 if (isset($opnames[$op])) {
1194 $op = $m[1]; variable
1215 $op = str_pad($dsc["op"],$max_opcode_len); variable
1403 $op = $opcodes[$opnames[$name]]; variable
[all...]
H A Dzend_ast.h54 ZEND_API void zend_ast_dynamic_add(zend_ast **ast, zend_ast *op);
H A Dzend_execute.h63 ZEND_API int zend_is_true(zval *op);
104 static zend_always_inline int i_zend_is_true(zval *op) argument
108 switch (Z_TYPE_P(op)) {
115 result = (Z_LVAL_P(op)?1:0);
118 result = (Z_DVAL_P(op) ? 1 : 0);
121 if (Z_STRLEN_P(op) == 0
122 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) {
129 result = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0);
132 if(IS_ZEND_STD_OBJECT(*op)) {
[all...]
H A Dzend_operators.c184 ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC) /* {{{ */
186 switch (Z_TYPE_P(op)) {
191 strval = Z_STRVAL_P(op);
192 if ((Z_TYPE_P(op)=is_numeric_string(strval, Z_STRLEN_P(op), &Z_LVAL_P(op), &Z_DVAL_P(op), 1)) == 0) {
193 ZVAL_LONG(op, 0);
199 Z_TYPE_P(op) = IS_LONG;
202 zend_list_delete(Z_LVAL_P(op));
361 convert_to_long(zval *op) argument
369 convert_to_long_base(zval *op, int base) argument
429 convert_to_double(zval *op) argument
488 convert_to_null(zval *op) argument
511 convert_to_boolean(zval *op) argument
664 convert_scalar_to_array(zval *op, int type TSRMLS_DC) argument
687 convert_to_array(zval *op) argument
740 convert_to_object(zval *op) argument
2114 zval_is_true(zval *op) argument
[all...]
H A Dzend_language_parser.y316 | T_WHILE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr { zend_do_while_cond(&$3, &$$ TSRMLS_CC); } while_statement { zend_do_while_end(&$1, &$4 TSRMLS_CC); }
317 | T_DO { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } statement T_WHILE { $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr ';' { zend_do_do_while_end(&$1, &$4, &$6 TSRMLS_CC); }
321 ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); }
350 | T_DECLARE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_declare_begin(TSRMLS_C); } '(' declare_list ')' declare_statement { zend_do_declare_end(&$1 TSRMLS_CC); }
374 | /* empty */ { $$.u.op.opline_num = -1; }
383 T_CATCH '(' fully_qualified_class_name { $$.u.op.opline_num = get_next_op_number(CG(active_op_array)); } T_VARIABLE ')' { zend_do_begin_catch(&$1, &$3, &$5, NULL TSRMLS_CC); } '{' inner_statement_list '}' { zend_do_end_catch(&$1 TSRMLS_CC); }
436 T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; }
437 | T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; }
438 | T_TRAIT { $$.u.op
[all...]
H A Dzend_compile.c33 #define CONSTANT_EX(op_array, op) \
34 (op_array)->literals[op].constant
36 #define CONSTANT(op) \
37 CONSTANT_EX(CG(active_op_array), op)
44 target = (src)->u.op; \
53 (target)->u.op = src; \
552 #define LITERAL_STRINGL(op, str, len, copy) do { \
555 op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \
558 #define LITERAL_LONG(op, val) do { \
561 op
584 zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) argument
597 zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) argument
620 zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) argument
1865 zend_do_receive_param(zend_uchar op, znode *varname, const znode *initialization, znode *class_type, zend_uchar pass_by_reference, zend_bool is_variadic TSRMLS_DC) argument
3444 zend_op *op = ((zend_op_array *)fptr)->opcodes; local
4925 zend_do_brk_cont(zend_uchar op, const znode *expr TSRMLS_DC) argument
[all...]
/PHP_5_6/main/
H A Doutput.c55 static inline int php_output_lock_error(int op TSRMLS_DC);
56 static inline void php_output_op(int op, const char *str, size_t len TSRMLS_DC);
63 static inline php_output_context *php_output_context_init(php_output_context *context, int op TSRMLS_DC);
770 /* {{{ static int php_output_lock_error(int op TSRMLS_DC)
772 static inline int php_output_lock_error(int op TSRMLS_DC)
775 if (op && OG(active) && OG(running)) {
785 /* {{{ static php_output_context *php_output_context_init(php_output_context *context, int op TSRMLS_DC)
787 static inline php_output_context *php_output_context_init(php_output_context *context, int op TSRMLS_DC)
795 context->op = op;
805 int op = context->op; local
1053 php_output_op(int op, const char *str, size_t len TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/fileinfo/libmagic/
H A Dfuncs.c338 char *op, *np; local
371 op = ms->o.buf;
372 eop = op + len;
374 while (op < eop) {
375 bytesconsumed = mbrtowc(&nextchar, op,
376 (size_t)(eop - op), &state);
384 (void)memcpy(np, op, bytesconsumed);
385 op += bytesconsumed;
389 OCTALIFY(np, op);
400 for (np = ms->o.pbuf, op
[all...]
/PHP_5_6/ext/gmp/
H A Dgmp.c344 #define gmp_binary_ui_op(op, uop) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, uop, 0)
345 #define gmp_binary_op(op) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, NULL, 0)
346 #define gmp_binary_opl(op) _gmp_binary_opl(INTERNAL_FUNCTION_PARAM_PASSTHRU, op)
347 #define gmp_binary_ui_op_no_zero(op, uop) \
348 _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, uop, 1)
351 #define gmp_unary_op(op) _gmp_unary_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op)
509 shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]

Completed in 184 milliseconds

123