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

/PHP_5_5/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_5_5/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_5_5/ext/standard/
H A Dfilters.c2144 php_stream_filter_factory *factory; member in struct:__anon242
2165 standard_filters[i].factory
/PHP_5_5/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_add(&stream_filters_hash, (char*)filterpattern, strlen(filterpattern) + 1, factory, sizeof(*factory), NULL);
58 PHPAPI int php_stream_filter_register_factory_volatile(const char *filterpattern, php_stream_filter_factory *factory TSRMLS_DC)
68 return zend_hash_add(FG(stream_filters), (char*)filterpattern, strlen(filterpattern) + 1, factory, sizeof(*factory), NULL);
255 php_stream_filter_factory *factory = NULL; local
262 if (SUCCESS == zend_hash_find(filter_hash, (char*)filtername, n + 1, (void**)&factory)) {
263 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
274 if (SUCCESS == zend_hash_find(filter_hash, wildname, strlen(wildname) + 1, (void**)&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(char *protocol, php_stream_transport_factory factory TSRMLS_DC);
H A Dtransports.c32 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC)
34 return zend_hash_update(&xport_hash, protocol, strlen(protocol) + 1, &factory, sizeof(factory), NULL);
61 php_stream_transport_factory *factory = NULL; local
110 if (FAILURE == zend_hash_find(&xport_hash, (char*)tmp, n + 1, (void**)&factory)) {
126 if (factory == NULL) {
128 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find a factory !?");
132 stream = (*factory)(protocol, n,

Completed in 22 milliseconds