Lines Matching refs:mysqli_resource
51 MYSQLI_RESOURCE *mysqli_resource = NULL; local
89 mysqli_resource = (Z_MYSQLI_P(object))->ptr;
90 if (mysqli_resource && mysqli_resource->ptr) {
91 mysql = (MY_MYSQL*) mysqli_resource->ptr;
106 mysqli_resource = (Z_MYSQLI_P(object))->ptr;
132 if (mysql->mysql && mysqli_resource &&
133 (mysqli_resource->status > MYSQLI_STATUS_INITIALIZED))
136 php_mysqli_close(mysql, MYSQLI_CLOSE_IMPLICIT, mysqli_resource->status);
277 if (!mysqli_resource) {
278 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
279 mysqli_resource->ptr = (void *)mysql;
281 mysqli_resource->status = MYSQLI_STATUS_VALID;
294 (Z_MYSQLI_P(object))->ptr = mysqli_resource;
297 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_link_class_entry);
564 MYSQLI_RESOURCE *mysqli_resource; local
629 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
630 mysqli_resource->ptr = (void *)result;
631 mysqli_resource->status = MYSQLI_STATUS_VALID;
632 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_result_class_entry);
813 MYSQLI_RESOURCE *mysqli_resource; local
853 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
854 mysqli_resource->ptr = (void *)result;
855 mysqli_resource->status = MYSQLI_STATUS_VALID;
856 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_result_class_entry);
864 MYSQLI_RESOURCE *mysqli_resource; local
878 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
879 mysqli_resource->ptr = (void *)result;
880 mysqli_resource->status = MYSQLI_STATUS_VALID;
881 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_result_class_entry);
890 MYSQLI_RESOURCE *mysqli_resource; local
904 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
905 mysqli_resource->ptr = mysqli_resource->info = (void *)w;
906 mysqli_resource->status = MYSQLI_STATUS_VALID;
907 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_warning_class_entry);
916 MYSQLI_RESOURCE *mysqli_resource; local
930 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
931 mysqli_resource->ptr = mysqli_resource->info = (void *)w;
932 mysqli_resource->status = MYSQLI_STATUS_VALID;
933 MYSQLI_RETVAL_RESOURCE(mysqli_resource, mysqli_warning_class_entry);