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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h147 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_vm_def.h4163 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
4168 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
4169 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
H A Dzend_vm_execute.h2825 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
2830 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
2831 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
8685 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
8690 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
8691 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
11481 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
11486 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
11487 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
23613 * be relevant if a cast_object handle
[all...]
H A Dzend_builtin_functions.c818 } else if (Z_OBJ_HT_P(val)->cast_object) {
819 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING) == SUCCESS) {
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) {
210 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
218 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
240 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
242 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type) == SUCCESS) {
250 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
257 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
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) { \
370 if (Z_OBJ_HT_P(op)->cast_object) {
374 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL) == SUCCESS) {
759 if (Z_OBJ_HT_P(op)->cast_object) {
760 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING) == SUCCESS) {
1870 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1872 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) {
1889 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1891 if (Z_OBJ_HT_P(op2)->cast_object(op
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c657 gmp_object_handlers.cast_object = gmp_cast_object;
/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/ext/simplexml/
H A Dsimplexml.c1746 /* {{{ cast_object()
1748 static int cast_object(zval *object, int type, char *contents) function
1822 rv = cast_object(writeobj, type, (char *)contents);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1852 return std_object_handlers.cast_object(readobj, writeobj, type);
3111 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;
/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;

Completed in 82 milliseconds