Searched refs:cast_object (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h143 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_execute.h112 if (Z_OBJ_HT_P(op)->cast_object) {
114 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, _IS_BOOL TSRMLS_CC) == SUCCESS) {
H A Dzend_operators.c354 if (Z_OBJ_HT_P(op)->cast_object) { \
355 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype TSRMLS_CC) == FAILURE) { \
500 if (Z_OBJ_HT_P(op)->cast_object) {
505 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL TSRMLS_CC) == SUCCESS) {
896 if (Z_OBJ_HT_P(op)->cast_object) {
897 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING TSRMLS_CC) == SUCCESS) {
1821 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1823 if (Z_OBJ_HT_P(op1)->cast_object(op1, &tmp_free, ((Z_TYPE_P(op2) == IS_FALSE || Z_TYPE_P(op2) == IS_TRUE) ? _IS_BOOL : Z_TYPE_P(op2)) TSRMLS_CC) == FAILURE) {
1840 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1842 if (Z_OBJ_HT_P(op2)->cast_object(op
[all...]
H A Dzend_vm_def.h4041 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
4046 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
4047 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
H A Dzend_vm_execute.h2850 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
2855 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
2856 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
9601 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
9606 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
9607 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
16274 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
16279 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
16280 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
[all...]
H A Dzend_API.c226 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
228 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
237 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
245 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
267 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
269 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
277 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
284 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
H A Dzend_builtin_functions.c751 } else if (Z_OBJ_HT_P(val)->cast_object) {
752 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
H A Dzend.c248 if (Z_OBJ_HANDLER_P(expr, cast_object)) {
250 if (Z_OBJ_HANDLER_P(expr, cast_object)(expr, expr_copy, IS_STRING TSRMLS_CC) == SUCCESS) {
256 if (!Z_OBJ_HANDLER_P(expr, cast_object) && Z_OBJ_HANDLER_P(expr, get)) {
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c264 else if( Z_OBJ_HT_P(obj)->cast_object )
268 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE TSRMLS_CC ) == FAILURE )
270 /* cast_object failed => bail out. */
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1754 /* {{{ cast_object()
1756 static int cast_object(zval *object, int type, char *contents TSRMLS_DC) function
1830 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1854 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
3099 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1040 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler;
1041 tidy_object_handlers_node.cast_object = tidy_node_cast_handler;
/PHP_TRUNK/ext/gmp/
H A Dgmp.c648 gmp_object_handlers.cast_object = gmp_cast_object;

Completed in 101 milliseconds