Searched refs:cast_object (Results 1 - 11 of 11) 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 ) == FAILURE )
270 /* cast_object failed => bail out. */
/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h150 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_API.c199 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
201 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type) == SUCCESS) {
209 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
216 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
H A Dzend_builtin_functions.c838 } else if (Z_OBJ_HT_P(val)->cast_object) {
839 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING) == SUCCESS) {
H A Dzend_operators.c226 if (Z_OBJ_HT_P(op)->cast_object) { \
227 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype) == FAILURE) { \
399 if (Z_OBJ_HT_P(op)->cast_object) {
403 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL) == SUCCESS) {
788 if (Z_OBJ_HT_P(op)->cast_object) {
789 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING) == SUCCESS) {
1815 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1817 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))) == FAILURE) {
1834 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1836 if (Z_OBJ_HT_P(op2)->cast_object(op
[all...]
H A Dzend_vm_def.h4473 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
4478 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
4479 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
H A Dzend_vm_execute.h2997 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
3002 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
3003 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
9164 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
9169 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
9170 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
12060 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
12065 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
12066 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
24557 * be relevant if a cast_object handle
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1747 /* {{{ cast_object()
1749 static int cast_object(zval *object, int type, char *contents) function
1823 rv = cast_object(writeobj, type, (char *)contents);
/PHP_TRUNK/ext/gmp/
H A Dgmp.c653 gmp_object_handlers.cast_object = gmp_cast_object;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1044 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler;
1045 tidy_object_handlers_node.cast_object = tidy_node_cast_handler;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1852 return std_object_handlers.cast_object(readobj, writeobj, type);
3114 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;

Completed in 83 milliseconds