Lines Matching refs:call_result
300 int call_result; in user_wrapper_opener() local
344 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 4, args); in user_wrapper_opener()
350 if (call_result == SUCCESS && Z_TYPE(zretval) != IS_UNDEF && zval_is_true(&zretval)) { in user_wrapper_opener()
401 int call_result; in user_wrapper_opendir() local
429 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 2, args); in user_wrapper_opendir()
431 if (call_result == SUCCESS && Z_TYPE(zretval) != IS_UNDEF && zval_is_true(&zretval)) { in user_wrapper_opendir()
567 int call_result; in php_userstreamop_write() local
578 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_write()
586 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in php_userstreamop_write()
617 int call_result; in php_userstreamop_read() local
627 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_read()
636 if (call_result == FAILURE) { in php_userstreamop_read()
667 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_read()
675 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) { in php_userstreamop_read()
677 } else if (call_result == FAILURE) { in php_userstreamop_read()
717 int call_result; in php_userstreamop_flush() local
724 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_flush()
726 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) in php_userstreamop_flush()
727 call_result = 0; in php_userstreamop_flush()
729 call_result = -1; in php_userstreamop_flush()
734 return call_result; in php_userstreamop_flush()
741 int call_result, ret; in php_userstreamop_seek() local
752 call_result = call_method_if_exists(&us->object, &func_name, &retval, 2, args); in php_userstreamop_seek()
758 if (call_result == FAILURE) { in php_userstreamop_seek()
766 } else if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) { in php_userstreamop_seek()
782 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_seek()
784 if (call_result == SUCCESS && Z_TYPE(retval) == IS_LONG) { in php_userstreamop_seek()
787 } else if (call_result == FAILURE) { in php_userstreamop_seek()
842 int call_result; in php_userstreamop_stat() local
848 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_stat()
850 if (call_result == SUCCESS && Z_TYPE(retval) == IS_ARRAY) { in php_userstreamop_stat()
854 if (call_result == FAILURE) { in php_userstreamop_stat()
870 int call_result; in php_userstreamop_set_option() local
878 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_set_option()
879 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
912 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
914 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
916 } else if (call_result == FAILURE) { in php_userstreamop_set_option()
947 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
948 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in php_userstreamop_set_option()
1007 call_result = call_method_if_exists(&us->object, &func_name, &retval, 3, args); in php_userstreamop_set_option()
1009 if (call_result == FAILURE) { in php_userstreamop_set_option()
1038 int call_result; in user_wrapper_unlink() local
1053 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 1, args); in user_wrapper_unlink()
1055 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_unlink()
1057 } else if (call_result == FAILURE) { in user_wrapper_unlink()
1077 int call_result; in user_wrapper_rename() local
1093 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rename()
1095 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rename()
1097 } else if (call_result == FAILURE) { in user_wrapper_rename()
1118 int call_result; in user_wrapper_mkdir() local
1135 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_mkdir()
1137 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_mkdir()
1139 } else if (call_result == FAILURE) { in user_wrapper_mkdir()
1161 int call_result; in user_wrapper_rmdir() local
1177 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rmdir()
1179 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rmdir()
1181 } else if (call_result == FAILURE) { in user_wrapper_rmdir()
1202 int call_result; in user_wrapper_metadata() local
1243 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_metadata()
1245 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_metadata()
1247 } else if (call_result == FAILURE) { in user_wrapper_metadata()
1270 int call_result; in user_wrapper_stat_url() local
1286 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_stat_url()
1288 if (call_result == SUCCESS && Z_TYPE(zretval) == IS_ARRAY) { in user_wrapper_stat_url()
1293 if (call_result == FAILURE) { in user_wrapper_stat_url()
1315 int call_result; in php_userstreamop_readdir() local
1326 call_result = call_method_if_exists(&us->object, &func_name, &retval, 0, NULL); in php_userstreamop_readdir()
1328 if (call_result == SUCCESS && Z_TYPE(retval) != IS_FALSE && Z_TYPE(retval) != IS_TRUE) { in php_userstreamop_readdir()
1334 } else if (call_result == FAILURE) { in php_userstreamop_readdir()
1391 int call_result; in php_userstreamop_cast() local
1407 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_cast()
1410 if (call_result == FAILURE) { in php_userstreamop_cast()