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

1234

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_64.c520 sljit_si op = (flags & 0xffff); local
527 if (arg1 == 0 && op != SLJIT_ADD && op != SLJIT_SUB)
539 switch (op) {
563 return push_inst(compiler, ((op == SLJIT_ADD ? ADDI : SUBI) ^ inv_bits) | RD(dst) | RN(reg));
602 if (op == SLJIT_OR)
624 if (op == SLJIT_ASHR)
659 switch (op) {
1126 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
1131 check_sljit_emit_return(compiler, op, sr
1172 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1201 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1353 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1527 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1576 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1819 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativeARM_T2_32.c1200 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
1205 check_sljit_emit_return(compiler, op, src, srcw);
1207 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
1253 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1256 check_sljit_emit_op0(compiler, op);
1258 op = GET_OPCODE(op);
1259 switch (op) {
1266 return push_inst32(compiler, (op == SLJIT_UMUL ? UMULL : SMULL)
1280 (op
1295 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1427 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1610 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1661 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1892 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[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) \
69 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
72 switch (GET_OPCODE(op)) {
86 if (op == SLJIT_MOV_SB) {
104 if (op == SLJIT_MOV_SH) {
120 if (op & SLJIT_SET_E)
129 if (op
[all...]
H A DsljitNativeMIPS_64.c122 (!(op & SLJIT_INT_OP) ? a : b)
126 if (op & SLJIT_SET_E) \
132 if (op & SLJIT_SET_E) \
141 SLJIT_ASSERT(!(op & SLJIT_INT_OP)); \
146 ins = (op & SLJIT_INT_OP) ? op_imm : op_dimm; \
147 if (op & SLJIT_SET_E) \
153 ins = (op & SLJIT_INT_OP) ? op_v : op_dv; \
154 if (op & SLJIT_SET_E) \
160 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
165 switch (GET_OPCODE(op)) {
[all...]
H A DsljitNativeMIPS_common.c519 (!(flags & UNUSED_DEST) || (op & GET_FLAGS(~(list))))
610 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
616 check_sljit_emit_return(compiler, op, src, srcw);
618 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
888 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
908 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM))
910 if (GET_FLAGS(op))
916 if (op >= SLJIT_MOV && op <
1023 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1070 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1171 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1281 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1361 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1908 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativePPC_common.c650 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
653 check_sljit_emit_return(compiler, op, src, srcw);
655 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
1108 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si input_flags, argument
1130 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM))
1137 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI)
1172 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <
1237 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1286 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1441 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1688 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1744 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2028 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativeSPARC_common.c110 #define DOP(op) ((op) << 5)
463 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
466 check_sljit_emit_return(compiler, op, src, srcw);
468 if (op != SLJIT_MOV || !FAST_IS_REG(src)) {
469 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
638 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
658 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM))
664 if (op >
767 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
808 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
876 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
957 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1026 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1319 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativeX86_common.c723 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
731 check_sljit_emit_op0(compiler, op);
733 switch (GET_OPCODE(op)) {
765 compiler->mode32 = op & SLJIT_INT_OP;
768 op = GET_OPCODE(op);
769 if (op == SLJIT_UDIV) {
780 if (op == SLJIT_SDIV) {
811 *inst = MOD_REG | ((op >= SLJIT_UDIV) ? reg_map[TMP_REG1] : reg_map[SLJIT_SCRATCH_REG2]);
814 size = (!compiler->mode32 || op >
1250 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2119 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2327 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2385 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2445 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2456 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2609 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitLir.c85 #define GET_OPCODE(op) \
86 ((op) & ~(SLJIT_INT_OP | SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_SET_C | SLJIT_KEEP_FLAGS))
88 #define GET_FLAGS(op) \
89 ((op) & (SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_SET_C))
91 #define GET_ALL_FLAGS(op) \
92 ((op) & (SLJIT_INT_OP | SLJIT_SET_E | SLJIT_SET_U | SLJIT_SET_S | SLJIT_SET_O | SLJIT_SET_C | SLJIT_KEEP_FLAGS))
94 #define TYPE_CAST_NEEDED(op) \
95 (((op) >= SLJIT_MOV_UB && (op) <= SLJIT_MOV_SH) || ((op) >
873 check_sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
940 check_sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
954 check_sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
993 check_sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1058 check_sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1096 check_sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1250 check_sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
1330 emit_mov_before_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
1601 sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
1629 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1637 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1651 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1690 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1704 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1788 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativeARM_32.c820 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si inp_flags,
901 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
906 check_sljit_emit_return(compiler, op, src, srcw);
908 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
1009 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
1014 switch (GET_OPCODE(op)) {
1032 if (op == SLJIT_MOV_UB)
1035 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (24 << 7) | (op == SLJIT_MOV_UB ? 0x20 : 0x40) | reg_map[dst]));
1037 return push_inst(compiler, (op == SLJIT_MOV_UB ? UXTB : SXTB) | RD(dst) | RM(src2));
1054 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (16 << 7) | (op
1633 emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si inp_flags, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
1838 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
1885 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
1947 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2123 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2180 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2436 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
[all...]
H A DsljitNativeTILEGX_64.c112 #define CHECK_FLAGS(list) (!(flags & UNUSED_DEST) || (op & GET_FLAGS(~(list))))
1251 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) argument
1258 check_sljit_emit_return(compiler, op, src, srcw);
1260 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
1626 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, sljit_si dst, sljit_si src1, sljit_sw src2) argument
1630 switch (GET_OPCODE(op)) {
1642 if (op == SLJIT_MOV_SI)
1655 if (op == SLJIT_MOV_SB)
1668 if (op == SLJIT_MOV_SH)
1679 if (op
1984 emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2110 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw, sljit_si type) argument
2201 sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) argument
2223 sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2288 sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
2527 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src, sljit_sw srcw) argument
2532 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si src1, sljit_sw src1w, sljit_si src2, sljit_sw src2w) argument
[all...]
/PHP_TRUNK/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_TRUNK/ext/standard/
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_TRUNK/ext/opcache/Optimizer/
H A Dpass3.c312 zend_op *op;
313 for(op = opline+1; op<end; op++) {
314 if(ZEND_RESULT_TYPE(op) == IS_TMP_VAR &&
315 ZEND_RESULT(op).var == ZEND_RESULT(opline).var) {
319 if(op->opcode == ZEND_JMP ||
320 op->opcode == ZEND_JMPZ ||
321 op->opcode == ZEND_JMPZ_EX ||
322 op
[all...]
H A Dzend_optimizer_internal.h30 #define INV_COND(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ : ZEND_JMPZ)
31 #define INV_EX_COND(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ : ZEND_JMPZ)
32 #define INV_COND_EX(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX)
33 #define INV_EX_COND_EX(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX)
36 #define RESULT_USED(op) (((op
[all...]
/PHP_TRUNK/Zend/
H A Dzend_operators.h218 ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC);
219 ZEND_API void _convert_to_cstring(zval *op ZEND_FILE_LINE_DC);
220 ZEND_API void _convert_to_string(zval *op ZEND_FILE_LINE_DC);
221 ZEND_API void convert_to_long(zval *op);
222 ZEND_API void convert_to_double(zval *op);
223 ZEND_API void convert_to_long_base(zval *op, int base);
224 ZEND_API void convert_to_null(zval *op);
225 ZEND_API void convert_to_boolean(zval *op);
226 ZEND_API void convert_to_array(zval *op);
227 ZEND_API void convert_to_object(zval *op);
[all...]
H A Dzend_operators.c138 ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC) /* {{{ */
141 switch (Z_TYPE_P(op)) {
143 if (Z_REFCOUNT_P(op) == 1) {
144 ZVAL_UNREF(op);
146 Z_DELREF_P(op);
147 ZVAL_COPY_VALUE(op, Z_REFVAL_P(op));
154 str = Z_STR_P(op);
155 if ((Z_TYPE_INFO_P(op)=is_numeric_string(str->val, str->len, &Z_LVAL_P(op),
325 convert_to_long(zval *op) argument
333 convert_to_long_base(zval *op, int base) argument
393 convert_to_double(zval *op) argument
451 convert_to_null(zval *op) argument
472 convert_to_boolean(zval *op) argument
613 convert_to_array(zval *op) argument
661 convert_to_object(zval *op) argument
2269 zval_is_true(zval *op) argument
[all...]
H A Dzend_execute.h43 ZEND_API int zend_is_true(zval *op TSRMLS_DC);
54 static zend_always_inline int i_zend_is_true(zval *op TSRMLS_DC)
59 switch (Z_TYPE_P(op)) {
69 result = (Z_LVAL_P(op)?1:0);
72 result = (Z_RES_HANDLE_P(op)?1:0);
75 result = (Z_DVAL_P(op) ? 1 : 0);
78 if (Z_STRLEN_P(op) == 0
79 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) {
86 result = (zend_hash_num_elements(Z_ARRVAL_P(op))
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type, HashTable *vars TSRMLS_DC) /* {{{ */ argument
49 asprintf(&decode, "$%s", ops->vars[EX_VAR_TO_NUM(op->var)]->val);
56 if ((pid = zend_hash_index_find_ptr(vars, (zend_ulong) ops->vars - op->var))) {
60 zend_hash_index_update_mem(vars, (zend_ulong) ops->vars - op->var, &id, sizeof(zend_ulong));
67 asprintf(&decode, "C%u", phpdbg_decode_literal(ops, op->zv TSRMLS_CC));
77 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */ argument
81 switch (op->opcode) {
89 asprintf(&decode[1], "J%ld", op->op1.jmp_addr - ops->opcodes);
93 decode[1] = phpdbg_decode_op(ops, &op->op1, op
[all...]
H A Dphpdbg_opcode.h27 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC);
/PHP_TRUNK/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;
332 param.op = want_peer ? STREAM_XPORT_OP_GET_PEER_NAME : STREAM_XPORT_OP_GET_NAME;
358 param.op = STREAM_XPORT_CRYPTO_OP_SETUP;
379 param.op = STREAM_XPORT_CRYPTO_OP_ENABLE;
440 param.op = STREAM_XPORT_OP_RECV;
486 param.op = STREAM_XPORT_OP_SEND;
511 param.op
[all...]
/PHP_TRUNK/ext/filter/
H A Dfilter.c665 static void php_filter_array_handler(zval *input, zval *op, zval *return_value, zend_bool add_empty TSRMLS_DC) /* {{{ */ argument
670 if (!op) {
674 } else if (Z_TYPE_P(op) == IS_LONG) {
677 php_filter_call(return_value, Z_LVAL_P(op), NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC);
678 } else if (Z_TYPE_P(op) == IS_ARRAY) {
681 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(op), arg_key, arg_elm) {
794 zval *array_input = NULL, *op = NULL; local
797 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|zb", &fetch_from, &op, &add_empty) == FAILURE) {
801 if (op && (Z_TYPE_P(op) !
839 zval *array_input = NULL, *op = NULL; local
[all...]

Completed in 50 milliseconds

1234