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

/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/Zend/
H A Dzend_object_handlers.h147 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_execute.h101 if (Z_OBJ_HT_P(op)->cast_object) {
103 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, _IS_BOOL TSRMLS_CC) == SUCCESS) {
H A Dzend_operators.c308 if (Z_OBJ_HT_P(op)->cast_object) { \
309 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype TSRMLS_CC) == FAILURE) { \
454 if (Z_OBJ_HT_P(op)->cast_object) {
459 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL TSRMLS_CC) == SUCCESS) {
850 if (Z_OBJ_HT_P(op)->cast_object) {
851 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING TSRMLS_CC) == SUCCESS) {
1802 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1804 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) {
1821 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1823 if (Z_OBJ_HT_P(op2)->cast_object(op
[all...]
H A Dzend_builtin_functions.c743 } else if (Z_OBJ_HT_P(val)->cast_object) {
744 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
H A Dzend_vm_def.h3994 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
3999 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
4000 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
H A Dzend_vm_execute.h2860 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
2865 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
2866 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
9647 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
9652 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
9653 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
16463 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
16468 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
16469 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
[all...]
H A Dzend_API.c201 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
203 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
212 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
220 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
242 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
244 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
252 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
259 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1746 /* {{{ cast_object()
1748 static int cast_object(zval *object, int type, char *contents TSRMLS_DC) function
1822 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1042 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler;
1043 tidy_object_handlers_node.cast_object = tidy_node_cast_handler;
/PHP_TRUNK/ext/gmp/
H A Dgmp.c646 gmp_object_handlers.cast_object = gmp_cast_object;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1856 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
3107 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;

Completed in 104 milliseconds