Lines Matching refs:zretval
298 zval zretval, zfuncname; 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()
373 zval_ptr_dtor(&zretval); in user_wrapper_opener()
399 zval zretval, zfuncname; 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()
449 zval_ptr_dtor(&zretval); in user_wrapper_opendir()
1036 zval zfuncname, zretval; 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()
1056 ret = (Z_TYPE(zretval) == IS_TRUE); in user_wrapper_unlink()
1063 zval_ptr_dtor(&zretval); in user_wrapper_unlink()
1075 zval zfuncname, zretval; 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()
1096 ret = (Z_TYPE(zretval) == IS_TRUE); in user_wrapper_rename()
1103 zval_ptr_dtor(&zretval); in user_wrapper_rename()
1116 zval zfuncname, zretval; 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()
1138 ret = (Z_TYPE(zretval) == IS_TRUE); in user_wrapper_mkdir()
1145 zval_ptr_dtor(&zretval); in user_wrapper_mkdir()
1159 zval zfuncname, zretval; 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()
1180 ret = (Z_TYPE(zretval) == IS_TRUE); in user_wrapper_rmdir()
1187 zval_ptr_dtor(&zretval); in user_wrapper_rmdir()
1200 zval zfuncname, zretval; 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()
1246 ret = Z_TYPE(zretval) == IS_TRUE; in user_wrapper_metadata()
1253 zval_ptr_dtor(&zretval); in user_wrapper_metadata()
1268 zval zfuncname, zretval; 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()
1290 if (SUCCESS == statbuf_from_array(&zretval, ssb)) in user_wrapper_stat_url()
1301 zval_ptr_dtor(&zretval); in user_wrapper_stat_url()