Lines Matching refs:mysqli_resource
62 MYSQLI_RESOURCE *mysqli_resource = NULL; local
98 mysqli_resource = (Z_MYSQLI_P(object))->ptr;
99 if (mysqli_resource && mysqli_resource->ptr) {
100 mysql = (MY_MYSQL*) mysqli_resource->ptr;
116 mysqli_resource = (Z_MYSQLI_P(object))->ptr;
147 if (mysql->mysql && mysqli_resource &&
148 (mysqli_resource->status > MYSQLI_STATUS_INITIALIZED))
151 php_mysqli_close(mysql, MYSQLI_CLOSE_IMPLICIT, mysqli_resource->status);
321 if (!mysqli_resource) {
322 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
323 mysqli_resource->ptr = (void *)mysql;
325 mysqli_resource->status = MYSQLI_STATUS_VALID;
337 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_link_class_entry);
339 (Z_MYSQLI_P(object))->ptr = mysqli_resource;
603 MYSQLI_RESOURCE *mysqli_resource; local
682 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
683 mysqli_resource->ptr = (void *)result;
684 mysqli_resource->status = MYSQLI_STATUS_VALID;
685 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_result_class_entry);
866 MYSQLI_RESOURCE *mysqli_resource; local
906 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
907 mysqli_resource->ptr = (void *)result;
908 mysqli_resource->status = MYSQLI_STATUS_VALID;
909 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_result_class_entry);
918 MYSQLI_RESOURCE *mysqli_resource; local
932 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
933 mysqli_resource->ptr = (void *)result;
934 mysqli_resource->status = MYSQLI_STATUS_VALID;
935 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_result_class_entry);
945 MYSQLI_RESOURCE *mysqli_resource; local
962 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
963 mysqli_resource->ptr = mysqli_resource->info = (void *)w;
964 mysqli_resource->status = MYSQLI_STATUS_VALID;
965 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry);
974 MYSQLI_RESOURCE *mysqli_resource; local
987 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
988 mysqli_resource->ptr = mysqli_resource->info = (void *)w;
989 mysqli_resource->status = MYSQLI_STATUS_VALID;
990 MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry);