Lines Matching refs:obj
129 php_maxminddb_fetch_object(zend_object *obj TSRMLS_DC) { in php_maxminddb_fetch_object()
131 return (maxminddb_obj *)((char *)(obj)-XtOffsetOf(maxminddb_obj, std)); in php_maxminddb_fetch_object()
133 return (maxminddb_obj *)obj; in php_maxminddb_fetch_object()
602 maxminddb_obj *obj = in maxminddb_free_storage() local
604 if (obj->mmdb != NULL) { in maxminddb_free_storage()
605 MMDB_close(obj->mmdb); in maxminddb_free_storage()
606 efree(obj->mmdb); in maxminddb_free_storage()
609 zend_object_std_dtor(&obj->std TSRMLS_CC); in maxminddb_free_storage()
617 maxminddb_obj *obj = (maxminddb_obj *)ecalloc(1, sizeof(maxminddb_obj)); in maxminddb_create_handler() local
618 zend_object_std_init(&obj->std, type TSRMLS_CC); in maxminddb_create_handler()
619 object_properties_init(&(obj->std), type); in maxminddb_create_handler()
621 obj->std.handlers = &maxminddb_obj_handlers; in maxminddb_create_handler()
623 return &obj->std; in maxminddb_create_handler()
630 maxminddb_obj *obj = (maxminddb_obj *)ecalloc(1, sizeof(maxminddb_obj)); in maxminddb_create_handler() local
631 zend_object_std_init(&obj->std, type TSRMLS_CC); in maxminddb_create_handler()
632 object_properties_init(&(obj->std), type); in maxminddb_create_handler()
635 obj, NULL, maxminddb_free_storage, NULL TSRMLS_CC); in maxminddb_create_handler()