Searched refs:factory (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/pdo/tests/
H A Dpdo_test.inc21 static function factory($classname = 'PDO', $drop_test_tables = true) {
62 $db = PDOTest::factory();
73 return self::factory();
/PHP_TRUNK/ext/pdo_mysql/tests/
H A Dmysql_pdo_test.inc7 static function factory($classname = 'PDO', $drop_test_tables = false, $myattr = null, $mydsn = null) {
171 $db = self::factory();
/PHP_TRUNK/main/streams/
H A Dfilter.c47 PHPAPI int php_stream_filter_register_factory(const char *filterpattern, php_stream_filter_factory *factory TSRMLS_DC)
49 return zend_hash_str_add_ptr(&stream_filters_hash, filterpattern, strlen(filterpattern), factory) ? SUCCESS : FAILURE;
58 PHPAPI int php_stream_filter_register_factory_volatile(const char *filterpattern, php_stream_filter_factory *factory TSRMLS_DC)
66 return zend_hash_str_add_ptr(FG(stream_filters), (char*)filterpattern, strlen(filterpattern), factory) ? SUCCESS : FAILURE;
253 php_stream_filter_factory *factory = NULL; local
260 if (NULL != (factory = zend_hash_str_find_ptr(filter_hash, filtername, n))) {
261 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
272 if (NULL != (factory = zend_hash_str_find_ptr(filter_hash, wildname, strlen(wildname)))) {
273 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
284 if (factory
[all...]
H A Dphp_stream_filter_api.h149 PHPAPI int php_stream_filter_register_factory(const char *filterpattern, php_stream_filter_factory *factory TSRMLS_DC);
151 PHPAPI int php_stream_filter_register_factory_volatile(const char *filterpattern, php_stream_filter_factory *factory TSRMLS_DC);
H A Dphp_stream_transport.h37 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory TSRMLS_DC);
H A Dtransports.c32 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory TSRMLS_DC)
34 return zend_hash_str_update_ptr(&xport_hash, protocol, strlen(protocol), factory) ? SUCCESS : FAILURE;
61 php_stream_transport_factory factory = NULL; local
110 if (NULL == (factory = zend_hash_str_find_ptr(&xport_hash, tmp, n))) {
126 if (factory == NULL) {
128 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find a factory !?");
132 stream = (factory)(protocol, n,
/PHP_TRUNK/ext/standard/
H A Dfilters.c2123 php_stream_filter_factory *factory; member in struct:__anon27
2144 standard_filters[i].factory

Completed in 9 milliseconds