Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 101) sorted by relevance

12345

/PHP-5.4/Zend/
H A Dzend_operators.c155 …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()
272 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \
311 zval *newop = Z_OBJ_HT_P(op)->get(op TSRMLS_CC); \
350 Z_LVAL_P(op) = zend_dval_to_lval(Z_DVAL_P(op)); in convert_to_long_base()
408 Z_DVAL_P(op) = (double) Z_LVAL_P(op); in convert_to_double()
459 *org = *op; in convert_to_null()
464 *op = *org; in convert_to_null()
491 Z_LVAL_P(op) = (Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
494 Z_LVAL_P(op) = (Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
501 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in convert_to_boolean()
[all …]
H A Dzend_execute.h60 ZEND_API int zend_is_true(zval *op);
105 switch (Z_TYPE_P(op)) { in i_zend_is_true()
112 result = (Z_LVAL_P(op)?1:0); in i_zend_is_true()
115 result = (Z_DVAL_P(op) ? 1 : 0); in i_zend_is_true()
118 if (Z_STRLEN_P(op) == 0 in i_zend_is_true()
119 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in i_zend_is_true()
129 if(IS_ZEND_STD_OBJECT(*op)) { in i_zend_is_true()
132 if (Z_OBJ_HT_P(op)->cast_object) { in i_zend_is_true()
134 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL TSRMLS_CC) == SUCCESS) { in i_zend_is_true()
138 } else if (Z_OBJ_HT_P(op)->get) { in i_zend_is_true()
[all …]
H A Dzend_language_parser.y288 … ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); }
331 | /* empty */ { $$.u.op.opline_num = -1; }
391 T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; }
392 …| T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CL…
393 | T_TRAIT { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_TRAIT; }
394 | T_FINAL T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_FINAL_CLASS; }
403 T_INTERFACE { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_INTERFACE; }
805 T_FUNCTION { $$.u.op.opline_num = CG(zend_lineno); }
821 namespace_name '(' { $2.u.op.opline_num = zend_do_begin_function_call(&$1, 1 TSRMLS_CC); }
827 …| T_NS_SEPARATOR namespace_name '(' { $3.u.op.opline_num = zend_do_begin_function_call(&$2, 0 TSRM…
[all …]
/PHP-5.4/ext/pcre/pcrelib/sljit/
H A DsljitLir.c89 …(((op) >= SLJIT_MOV_UB && (op) <= SLJIT_MOV_SH) || ((op) >= SLJIT_MOVU_UB && (op) <= SLJIT_MOVU_SH…
628 CHECK_ARGUMENT(!GET_FLAGS(op) || !(op & SLJIT_KEEP_FLAGS)); \
675 CHECK_ARGUMENT(!GET_FLAGS(op) || !(op & SLJIT_KEEP_FLAGS)); \
985 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_P); in check_sljit_emit_return()
1038 CHECK_ARGUMENT((op >= SLJIT_BREAKPOINT && op <= SLJIT_LSMUL) in check_sljit_emit_op0()
1068 … !(op & SLJIT_SET_E) ? "" : ".e", !(op & SLJIT_SET_U) ? "" : ".u", !(op & SLJIT_SET_S) ? "" : ".s", in check_sljit_emit_op1()
1069 …!(op & SLJIT_SET_O) ? "" : ".o", !(op & SLJIT_SET_C) ? "" : ".c", !(op & SLJIT_KEEP_FLAGS) ? "" : … in check_sljit_emit_op1()
1099 … !(op & SLJIT_SET_E) ? "" : ".e", !(op & SLJIT_SET_U) ? "" : ".u", !(op & SLJIT_SET_S) ? "" : ".s", in check_sljit_emit_op2()
1100 …!(op & SLJIT_SET_O) ? "" : ".o", !(op & SLJIT_SET_C) ? "" : ".c", !(op & SLJIT_KEEP_FLAGS) ? "" : … in check_sljit_emit_op2()
1421 CHECK_ARGUMENT(op == SLJIT_MOV || GET_OPCODE(op) == SLJIT_MOV_UI || GET_OPCODE(op) == SLJIT_MOV_SI in check_sljit_emit_op_flags()
[all …]
H A DsljitNativeMIPS_32.c43 if (op & SLJIT_SET_E) \
49 if (op & SLJIT_SET_E) \
57 if (op & SLJIT_SET_E) \
63 if (op & SLJIT_SET_E) \
120 if (op & SLJIT_SET_E) in emit_single_op()
129 if (op & SLJIT_SET_E) in emit_single_op()
148 if (op & SLJIT_SET_E) in emit_single_op()
161 if (op & SLJIT_SET_E) in emit_single_op()
176 if (op & SLJIT_SET_O) in emit_single_op()
214 if (op & SLJIT_SET_C) in emit_single_op()
[all …]
H A DsljitNativeSPARC_common.c109 #define DOP(op) ((op) << 5) argument
652 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
658 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
708 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
766 op = GET_OPCODE(op); in sljit_emit_op0()
767 switch (op) { in sljit_emit_op0()
813 op = GET_OPCODE(op); in sljit_emit_op1()
814 switch (op) { in sljit_emit_op1()
883 op = GET_OPCODE(op); in sljit_emit_op2()
884 switch (op) { in sljit_emit_op2()
[all …]
H A DsljitNativePPC_common.c1139 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
1146 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
1255 op = GET_OPCODE(op); in sljit_emit_op0()
1256 switch (op) { in sljit_emit_op0()
1307 op = GET_OPCODE(op); in sljit_emit_op1()
1341 switch (op) { in sljit_emit_op1()
1608 if (!GET_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2()
1626 if (!GET_FLAGS(op) && GET_OPCODE(op) != SLJIT_AND) { in sljit_emit_op2()
1722 op = GET_OPCODE(op); in sljit_emit_fop1_convw_fromd()
2229 op = GET_OPCODE(op); in sljit_emit_op_flags()
[all …]
H A DsljitNativeMIPS_64.c126 if (op & SLJIT_SET_E) \
132 if (op & SLJIT_SET_E) \
147 if (op & SLJIT_SET_E) \
154 if (op & SLJIT_SET_E) \
212 if (op & SLJIT_SET_E) in emit_single_op()
221 if (op & SLJIT_SET_E) in emit_single_op()
240 if (op & SLJIT_SET_E) in emit_single_op()
253 if (op & SLJIT_SET_E) in emit_single_op()
268 if (op & SLJIT_SET_O) in emit_single_op()
306 if (op & SLJIT_SET_C) in emit_single_op()
[all …]
H A DsljitNativeMIPS_common.c917 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
919 if (GET_FLAGS(op)) in emit_op()
925 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
979 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
990 if ((op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) && (dst & SLJIT_MEM)) in emit_op()
1041 op = GET_OPCODE(op); in sljit_emit_op0()
1042 switch (op) { in sljit_emit_op0()
1095 if ((op & SLJIT_INT_OP) && GET_OPCODE(op) >= SLJIT_NOT) { in sljit_emit_op1()
1286 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_SINGLE_OP) >> 7)) argument
2021 op = GET_OPCODE(op); in sljit_emit_op_flags()
[all …]
H A DsljitNativeX86_common.c765 op = GET_OPCODE(op); in sljit_emit_op0()
832 switch (op) { in sljit_emit_op0()
1272 op = GET_OPCODE(op); in sljit_emit_op1()
1273 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_P) { in sljit_emit_op1()
1285 op = SLJIT_MOV_UI; in sljit_emit_op1()
1298 op -= 8; in sljit_emit_op1()
1302 switch (op) { in sljit_emit_op1()
1339 …if (SLJIT_UNLIKELY(dst_is_ereg) && (!(op == SLJIT_MOV || op == SLJIT_MOV_UI || op == SLJIT_MOV_SI … in sljit_emit_op1()
1345 switch (op) { in sljit_emit_op1()
1392 switch (op) { in sljit_emit_op1()
[all …]
H A DsljitNativeARM_32.c1624 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
1631 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
1681 op = SLJIT_SUB | GET_ALL_FLAGS(op); in emit_op()
1698 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
1716 op = SLJIT_SUB | GET_ALL_FLAGS(op); in emit_op()
1724 op = SLJIT_ADD | GET_ALL_FLAGS(op); in emit_op()
1812 op = GET_OPCODE(op); in sljit_emit_op0()
1813 switch (op) { in sljit_emit_op0()
2479 op = GET_OPCODE(op); in sljit_emit_op_flags()
2483 if (op < SLJIT_ADD) { in sljit_emit_op_flags()
[all …]
H A DsljitNativeTILEGX_64.c1673 if (op & SLJIT_SET_E) in emit_single_op()
1682 if (op & SLJIT_SET_E) in emit_single_op()
1752 if (op & SLJIT_SET_C) in emit_single_op()
1995 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
1997 if (GET_FLAGS(op)) in emit_op()
2002 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
2055 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
2064 if ((op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) && (dst & SLJIT_MEM)) in emit_op()
2116 op = GET_OPCODE(op); in sljit_emit_op_flags()
2199 op = GET_OPCODE(op); in sljit_emit_op0()
[all …]
H A DsljitNativeARM_T2_32.c1245 op = GET_OPCODE(op); in sljit_emit_op0()
1246 switch (op) { in sljit_emit_op0()
1299 op = GET_OPCODE(op); in sljit_emit_op1()
1300 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_P) { in sljit_emit_op1()
1301 switch (op) { in sljit_emit_op1()
1382 if (op == SLJIT_NEG) { in sljit_emit_op1()
1723 op ^= SLJIT_SINGLE_OP; in sljit_emit_fop2()
1959 op = GET_OPCODE(op); in sljit_emit_op_flags()
1963 if (op < SLJIT_ADD) { in sljit_emit_op_flags()
1977 ins = (op == SLJIT_AND ? ANDI : (op == SLJIT_OR ? ORRI : EORI)); in sljit_emit_op_flags()
[all …]
H A DsljitNativeARM_64.c529 if (arg1 == 0 && op != SLJIT_ADD && op != SLJIT_SUB) in emit_op_imm()
541 switch (op) { in emit_op_imm()
604 if (op == SLJIT_OR) in emit_op_imm()
626 if (op == SLJIT_ASHR) in emit_op_imm()
661 switch (op) { in emit_op_imm()
1234 op = GET_OPCODE(op); in sljit_emit_op0()
1235 switch (op) { in sljit_emit_op0()
1273 op = GET_OPCODE(op); in sljit_emit_op1()
1274 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_P) { in sljit_emit_op1()
1275 switch (op) { in sljit_emit_op1()
[all …]
/PHP-5.4/ext/standard/
H A Dversioning.c213 char *v1, *v2, *op = NULL; in PHP_FUNCTION() local
219 &v2_len, &op, &op_len) == FAILURE) { in PHP_FUNCTION()
226 if (!strncmp(op, "<", op_len) || !strncmp(op, "lt", op_len)) { in PHP_FUNCTION()
229 if (!strncmp(op, "<=", op_len) || !strncmp(op, "le", op_len)) { in PHP_FUNCTION()
232 if (!strncmp(op, ">", op_len) || !strncmp(op, "gt", op_len)) { in PHP_FUNCTION()
235 if (!strncmp(op, ">=", op_len) || !strncmp(op, "ge", op_len)) { in PHP_FUNCTION()
238 if (!strncmp(op, "==", op_len) || !strncmp(op, "=", op_len) || !strncmp(op, "eq", op_len)) { in PHP_FUNCTION()
241 if (!strncmp(op, "!=", op_len) || !strncmp(op, "<>", op_len) || !strncmp(op, "ne", op_len)) { in PHP_FUNCTION()
H A Dscanf.c589 char op = 0; in php_sscanf_internal() local
763 op = 'i'; in php_sscanf_internal()
768 op = 'i'; in php_sscanf_internal()
773 op = 'i'; in php_sscanf_internal()
779 op = 'i'; in php_sscanf_internal()
784 op = 'i'; in php_sscanf_internal()
794 op = 'f'; in php_sscanf_internal()
798 op = 's'; in php_sscanf_internal()
802 op = 's'; in php_sscanf_internal()
811 op = '['; in php_sscanf_internal()
[all …]
/PHP-5.4/win32/
H A Dflock.c55 PHPAPI int flock(int fd, int op) in flock() argument
65 switch (op & ~LOCK_NB) { /* translate to LockFileEx() op */ in flock()
68 ((op & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0), in flock()
73 if (LockFileEx(hdl, ((op & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0), in flock()
/PHP-5.4/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt29 $op = str_shuffle($ip);
31 if (!is_string($op) || strlen($op) != $len_ip) {
36 if (empty($a[$op])) {
38 $a[$op] = 0;
42 $a[$op]++;
/PHP-5.4/ext/filter/
H A Dfilter.c687 if (!op) { in php_filter_array_handler()
691 } else if (Z_TYPE_PP(op) == IS_LONG) { in php_filter_array_handler()
826 if (op in PHP_FUNCTION()
827 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
828 && (Z_TYPE_PP(op) == IS_LONG && !PHP_FILTER_ID_EXISTS(Z_LVAL_PP(op))) in PHP_FUNCTION()
838 if (op) { in PHP_FUNCTION()
839 if (Z_TYPE_PP(op) == IS_LONG) { in PHP_FUNCTION()
840 filter_flags = Z_LVAL_PP(op); in PHP_FUNCTION()
874 if (op in PHP_FUNCTION()
875 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/fileinfo/libmagic/
H A Dfuncs.c338 char *op, *np; in file_getbuffer() local
371 op = ms->o.buf; in file_getbuffer()
372 eop = op + len; in file_getbuffer()
374 while (op < eop) { in file_getbuffer()
376 (size_t)(eop - op), &state); in file_getbuffer()
385 op += bytesconsumed; in file_getbuffer()
389 OCTALIFY(np, op); in file_getbuffer()
400 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer()
401 if (isprint((unsigned char)*op)) { in file_getbuffer()
402 *np++ = *op++; in file_getbuffer()
[all …]
/PHP-5.4/Zend/tests/
H A Dbug38461.phpt19 $op = new ExtOperation;
20 $op->x = 'test';
/PHP-5.4/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.4/ext/mbstring/oniguruma/
H A Dregsyntax.c160 onig_set_syntax_op(OnigSyntaxType* syntax, unsigned int op) in onig_set_syntax_op() argument
162 syntax->op = op; in onig_set_syntax_op()
186 return syntax->op; in onig_get_syntax_op()
/PHP-5.4/main/streams/
H A Dtransports.c205 param.op = STREAM_XPORT_OP_BIND; in php_stream_xport_bind()
236 param.op = asynchronous ? STREAM_XPORT_OP_CONNECT_ASYNC: STREAM_XPORT_OP_CONNECT; in php_stream_xport_connect()
266 param.op = STREAM_XPORT_OP_LISTEN; in php_stream_xport_listen()
296 param.op = STREAM_XPORT_OP_ACCEPT; in php_stream_xport_accept()
333 param.op = want_peer ? STREAM_XPORT_OP_GET_PEER_NAME : STREAM_XPORT_OP_GET_NAME; in php_stream_xport_get_name()
360 param.op = STREAM_XPORT_CRYPTO_OP_SETUP; in php_stream_xport_crypto_setup()
381 param.op = STREAM_XPORT_CRYPTO_OP_ENABLE; in php_stream_xport_crypto_enable()
442 param.op = STREAM_XPORT_OP_RECV; in php_stream_xport_recvfrom()
489 param.op = STREAM_XPORT_OP_SEND; in php_stream_xport_sendto()
514 param.op = STREAM_XPORT_OP_SHUTDOWN; in php_stream_xport_shutdown()
/PHP-5.4/main/
H A Doutput.c775 if (op && OG(active) && OG(running)) { in php_output_lock_error()
795 context->op = op; in php_output_context_init()
805 int op = context->op; in php_output_context_reset() local
808 context->op = op; in php_output_context_reset()
925 int original_op = context->op; in php_output_handler_op()
938 context->op, in php_output_handler_op()
957 context->op = original_op; in php_output_handler_op()
962 context->op |= PHP_OUTPUT_HANDLER_START; in php_output_handler_op()
972 ZVAL_LONG(ob_mode, (long) context->op); in php_output_handler_op()
1045 context->op = original_op; in php_output_handler_op()
[all …]

Completed in 149 milliseconds

12345