Home
last modified time | relevance | path

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

1234

/PHP-5.3/Zend/
H A Dzend_operators.c158 …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()
275 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \
314 zval *newop = Z_OBJ_HT_P(op)->get(op TSRMLS_CC); \
353 Z_LVAL_P(op) = zend_dval_to_lval(Z_DVAL_P(op)); in convert_to_long_base()
411 Z_DVAL_P(op) = (double) Z_LVAL_P(op); in convert_to_double()
462 *org = *op; in convert_to_null()
467 *op = *org; in convert_to_null()
494 Z_LVAL_P(op) = (Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
497 Z_LVAL_P(op) = (Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
504 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in convert_to_boolean()
[all …]
H A Dzend_execute.h63 ZEND_API int zend_is_true(zval *op);
84 switch (Z_TYPE_P(op)) { in i_zend_is_true()
91 result = (Z_LVAL_P(op)?1:0); in i_zend_is_true()
94 result = (Z_DVAL_P(op) ? 1 : 0); in i_zend_is_true()
97 if (Z_STRLEN_P(op) == 0 in i_zend_is_true()
98 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in i_zend_is_true()
108 if(IS_ZEND_STD_OBJECT(*op)) { in i_zend_is_true()
111 if (Z_OBJ_HT_P(op)->cast_object) { in i_zend_is_true()
113 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL TSRMLS_CC) == SUCCESS) { in i_zend_is_true()
117 } else if (Z_OBJ_HT_P(op)->get) { in i_zend_is_true()
[all …]
H A Dzend_operators.h280 ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC);
281 ZEND_API void _convert_to_string(zval *op ZEND_FILE_LINE_DC);
282 ZEND_API void convert_to_long(zval *op);
283 ZEND_API void convert_to_double(zval *op);
284 ZEND_API void convert_to_long_base(zval *op, int base);
285 ZEND_API void convert_to_null(zval *op);
286 ZEND_API void convert_to_boolean(zval *op);
287 ZEND_API void convert_to_array(zval *op);
288 ZEND_API void convert_to_object(zval *op);
294 #define convert_to_string(op) if ((op)->type != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE… argument
[all …]
H A Dzend_vm_gen.php1007 $op = $m[2];
1008 $len = strlen($op);
1021 if (isset($opnames[$op])) {
1025 $opnames[$op] = $code;
1104 $op = $m[1];
1105 if (!isset($opnames[$op])) {
1108 $code = $opnames[$op];
1122 $op = str_pad($dsc["op"],$max_opcode_len);
1123 fputs($f,"#define $op $code\n");
1256 $op = $opcodes[$opnames[$name]];
[all …]
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.h37 #define SET_UNUSED(op) (op).op_type = IS_UNUSED argument
374 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
375 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC);
376 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM…
380 void fetch_simple_variable_ex(znode *result, znode *varname, int bp, zend_uchar op TSRMLS_DC);
410 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
411 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
426 void zend_do_receive_arg(zend_uchar op, const znode *var, const znode *offset, const znode *initial…
457 void zend_do_pass_param(znode *param, zend_uchar op, int offset TSRMLS_DC);
465 void zend_do_brk_cont(zend_uchar op, const znode *expr TSRMLS_DC);
[all …]
/PHP-5.3/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.3/ext/pgsql/tests/
H A Dskipif.inc20 function skip_server_version($version, $op = '<') { _skip_version('server', $version, $op); }
21 function skip_client_version($version, $op = '<') { _skip_version('client', $version, $op); }
24 function _skip_version($type, $version, $op)
27 if (version_compare($pg, $version, $op)) {
28 die("skip {$type} version {$pg} is {$op} {$version}\n");
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dexpr.c32 pNew->op = op; in sqliteExpr()
81 pNew->op = TK_FUNCTION; in sqliteExprFunction()
233 pNew->op = p->op; in sqliteSelectDup()
304 switch( p->op ){ in sqliteExprIsConstant()
338 switch( p->op ){ in sqliteExprIsInteger()
1013 int op; in sqliteExprCode() local
1112 if( pExpr->pLeft->op==TK_FLOAT || pExpr->pLeft->op==TK_INTEGER ){ in sqliteExprCode()
1302 int op = 0; in sqliteExprIfTrue() local
1397 int op = 0; in sqliteExprIfFalse() local
1440 op += 6; in sqliteExprIfFalse()
[all …]
H A Dwhere.c125 if( p->op==TK_COLUMN ){ in exprTableUsage()
150 static int allowedOp(int op){ in allowedOp() argument
151 switch( op ){ in allowedOp()
775 pLevel->op = OP_Noop; in sqliteWhereBegin()
886 aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT, brk); in sqliteWhereBegin()
905 if( aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT ){ in sqliteWhereBegin()
913 pLevel->op = OP_Next; in sqliteWhereBegin()
1005 && (pExpr->op==TK_LT || pExpr->op==TK_LE) in sqliteWhereBegin()
1015 && (pExpr->op==TK_GT || pExpr->op==TK_GE) in sqliteWhereBegin()
1064 && (pExpr->op==TK_GT || pExpr->op==TK_GE) in sqliteWhereBegin()
[all …]
H A Dtrigger.c45 int op, /* One of TK_INSERT, TK_UPDATE, TK_DELETE */ in sqliteBeginTrigger() argument
139 nt->op = op; in sqliteBeginTrigger()
280 pTriggerStep->op = TK_SELECT; in sqliteTriggerSelectStep()
308 pTriggerStep->op = TK_INSERT; in sqliteTriggerInsertStep()
333 pTriggerStep->op = TK_UPDATE; in sqliteTriggerUpdateStep()
352 pTriggerStep->op = TK_DELETE; in sqliteTriggerDeleteStep()
549 if( pTriggerCursor->op == op && in sqliteTriggersExist()
613 switch( pTriggerStep->op ){ in codeTriggerProgram()
693 assert(op == TK_UPDATE || op == TK_INSERT || op == TK_DELETE); in sqliteCodeRowTrigger()
703 if( pTrigger->op == op && pTrigger->tr_tm == tr_tm && in sqliteCodeRowTrigger()
[all …]
H A Dselect.c55 pNew->op = TK_SELECT; in sqliteSelectNew()
936 if( pE->op==TK_DOT && pE->pRight && pE->pRight->op==TK_ALL in fillInColumnList()
950 if( pE->op!=TK_ALL && in fillInColumnList()
951 (pE->op!=TK_DOT || pE->pRight==0 || pE->pRight->op!=TK_ALL) ){ in fillInColumnList()
1127 if( pEList->a[j].zName && (pE->op==TK_ID || pE->op==TK_STRING) ){ in matchOrderbyToColumn()
1143 pE->op = TK_COLUMN; in matchOrderbyToColumn()
1307 selectOpName(p->op)); in multiSelect()
1330 switch( p->op ){ in multiSelect()
1387 switch( p->op ){ in multiSelect()
1530 pExpr->op = TK_NULL; in substExpr()
[all …]
H A Dauth.c117 assert( pExpr->op==TK_COLUMN ); in sqliteAuthRead()
147 pExpr->op = TK_NULL; in sqliteAuthRead()
/PHP-5.3/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()
H A Dflock.h11 PHPAPI int flock(int fd, int op);
/PHP-5.3/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.3/ext/filter/
H A Dfilter.c702 if (!op) { in php_filter_array_handler()
706 } else if (Z_TYPE_PP(op) == IS_LONG) { in php_filter_array_handler()
841 if (op in PHP_FUNCTION()
842 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
843 && (Z_TYPE_PP(op) == IS_LONG && !PHP_FILTER_ID_EXISTS(Z_LVAL_PP(op))) in PHP_FUNCTION()
853 if (op) { in PHP_FUNCTION()
854 if (Z_TYPE_PP(op) == IS_LONG) { in PHP_FUNCTION()
855 filter_flags = Z_LVAL_PP(op); in PHP_FUNCTION()
889 if (op in PHP_FUNCTION()
890 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/fileinfo/libmagic/
H A Dfuncs.c338 char *pbuf, *op, *np; in file_getbuffer() local
369 op = ms->o.buf; in file_getbuffer()
370 eop = op + len; in file_getbuffer()
372 while (op < eop) { in file_getbuffer()
374 (size_t)(eop - op), &state); in file_getbuffer()
383 op += bytesconsumed; in file_getbuffer()
387 OCTALIFY(np, op); in file_getbuffer()
398 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer()
399 if (isprint((unsigned char)*op)) { in file_getbuffer()
400 *np++ = *op++; in file_getbuffer()
[all …]
/PHP-5.3/Zend/tests/
H A Dbug38461.phpt19 $op = new ExtOperation;
20 $op->x = 'test';
/PHP-5.3/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.3/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.3/ext/ereg/regex/
H A Dregex2.h52 #define SOP(op, opnd) ((op)|(opnd)) argument
/PHP-5.3/ext/soap/interop/
H A Dtest.utility.php16 $op = substr($r[8],0,1);
23 $t += (($op == "-"?1:-1) * $h * 60 + $m) * 60;
/PHP-5.3/ext/pcre/pcrelib/
H A Dpcre_compile.c7443 if (op == OP_BRA || op == OP_BRAPOS || in is_anchored()
7444 op == OP_SBRA || op == OP_SBRAPOS) in is_anchored()
7452 op == OP_SCBRA || op == OP_SCBRAPOS) in is_anchored()
7461 else if (op == OP_ASSERT || op == OP_COND) in is_anchored()
7468 else if (op == OP_ONCE || op == OP_ONCE_NC) in is_anchored()
7488 else if (op != OP_SOD && op != OP_SOM && op != OP_CIRC) return FALSE; in is_anchored()
7561 if (op == OP_BRA || op == OP_BRAPOS || in is_startline()
7562 op == OP_SBRA || op == OP_SBRAPOS) in is_startline()
7570 op == OP_SCBRA || op == OP_SCBRAPOS) in is_startline()
7586 else if (op == OP_ONCE || op == OP_ONCE_NC) in is_startline()
[all …]

Completed in 136 milliseconds

1234