Lines Matching refs:call_result
311 int call_result; in user_wrapper_opener() local
353 call_result = call_user_function(NULL, in user_wrapper_opener()
363 if (call_result == SUCCESS && Z_TYPE(zretval) != IS_UNDEF && zval_is_true(&zretval)) { in user_wrapper_opener()
405 int call_result; in user_wrapper_opendir() local
431 call_result = call_user_function(NULL, in user_wrapper_opendir()
437 if (call_result == SUCCESS && Z_TYPE(zretval) != IS_UNDEF && zval_is_true(&zretval)) { in user_wrapper_opendir()
563 int call_result; in php_userstreamop_write() local
574 call_result = call_user_function(NULL, 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_user_function(NULL, in php_userstreamop_read()
640 if (call_result == FAILURE) { in php_userstreamop_read()
671 call_result = call_user_function(NULL, in php_userstreamop_read()
683 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) { in php_userstreamop_read()
685 } else if (call_result == FAILURE) { in php_userstreamop_read()
729 int call_result; in php_userstreamop_flush() local
736 call_result = call_user_function(NULL, in php_userstreamop_flush()
742 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) in php_userstreamop_flush()
743 call_result = 0; in php_userstreamop_flush()
745 call_result = -1; in php_userstreamop_flush()
750 return call_result; in php_userstreamop_flush()
757 int call_result, ret; in php_userstreamop_seek() local
768 call_result = call_user_function(NULL, in php_userstreamop_seek()
778 if (call_result == FAILURE) { in php_userstreamop_seek()
786 } else if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) { in php_userstreamop_seek()
802 call_result = call_user_function(NULL, in php_userstreamop_seek()
808 if (call_result == SUCCESS && Z_TYPE(retval) == IS_LONG) { in php_userstreamop_seek()
811 } else if (call_result == FAILURE) { in php_userstreamop_seek()
866 int call_result; in php_userstreamop_stat() local
872 call_result = call_user_function(NULL, in php_userstreamop_stat()
878 if (call_result == SUCCESS && Z_TYPE(retval) == IS_ARRAY) { in php_userstreamop_stat()
882 if (call_result == FAILURE) { in php_userstreamop_stat()
898 int call_result; in php_userstreamop_set_option() local
906 …call_result = call_user_function(NULL, Z_ISUNDEF(us->object)? NULL : &us->object, &func_name, &ret… in php_userstreamop_set_option()
907 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
940 call_result = call_user_function(NULL, in php_userstreamop_set_option()
946 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
948 } else if (call_result == FAILURE) { in php_userstreamop_set_option()
981 call_result = call_user_function(NULL, in php_userstreamop_set_option()
986 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in php_userstreamop_set_option()
1045 call_result = call_user_function(NULL, in php_userstreamop_set_option()
1051 if (call_result == FAILURE) { in php_userstreamop_set_option()
1080 int call_result; in user_wrapper_unlink() local
1095 call_result = call_user_function(NULL, in user_wrapper_unlink()
1101 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_unlink()
1103 } else if (call_result == FAILURE) { in user_wrapper_unlink()
1123 int call_result; in user_wrapper_rename() local
1139 call_result = call_user_function(NULL, in user_wrapper_rename()
1145 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rename()
1147 } else if (call_result == FAILURE) { in user_wrapper_rename()
1168 int call_result; in user_wrapper_mkdir() local
1185 call_result = call_user_function(NULL, in user_wrapper_mkdir()
1191 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_mkdir()
1193 } else if (call_result == FAILURE) { in user_wrapper_mkdir()
1215 int call_result; in user_wrapper_rmdir() local
1231 call_result = call_user_function(NULL, in user_wrapper_rmdir()
1237 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rmdir()
1239 } else if (call_result == FAILURE) { in user_wrapper_rmdir()
1260 int call_result; in user_wrapper_metadata() local
1301 call_result = call_user_function(NULL, in user_wrapper_metadata()
1307 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_metadata()
1309 } else if (call_result == FAILURE) { in user_wrapper_metadata()
1332 int call_result; in user_wrapper_stat_url() local
1348 call_result = call_user_function(NULL, in user_wrapper_stat_url()
1354 if (call_result == SUCCESS && Z_TYPE(zretval) == IS_ARRAY) { in user_wrapper_stat_url()
1359 if (call_result == FAILURE) { in user_wrapper_stat_url()
1381 int call_result; in php_userstreamop_readdir() local
1392 call_result = call_user_function(NULL, in php_userstreamop_readdir()
1398 if (call_result == SUCCESS && Z_TYPE(retval) != IS_FALSE && Z_TYPE(retval) != IS_TRUE) { in php_userstreamop_readdir()
1403 } else if (call_result == FAILURE) { in php_userstreamop_readdir()
1468 int call_result; in php_userstreamop_cast() local
1482 call_result = call_user_function(NULL, in php_userstreamop_cast()
1489 if (call_result == FAILURE) { in php_userstreamop_cast()