Searched refs:classname (Results 1 - 19 of 19) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_dtrace.d22 probe exception__caught(char *classname);
23 probe exception__thrown(char* classname);
31 probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
32 probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
H A Dzend_dtrace.c50 const char *scope, *filename, *funcname, *classname; local
51 scope = filename = funcname = classname = NULL;
61 classname = get_active_class_name(&scope TSRMLS_CC);
70 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
76 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
H A Dzend_API.h69 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name))
82 #define ZEND_ME(classname, name, arg_info, flags) ZEND_FENTRY(name, ZEND_MN(classname##_##name), arg_info, flags)
83 #define ZEND_ABSTRACT_ME(classname, name, arg_info) ZEND_FENTRY(name, NULL, arg_info, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
84 #define ZEND_MALIAS(classname, name, alias, arg_info, flags) \
85 ZEND_FENTRY(name, ZEND_MN(classname##_##alias), arg_info, flags)
103 #define ZEND_ARG_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, sizeof(#name)-1, #classname, sizeof(#classname)
[all...]
H A Dzend_exceptions.c88 const char *classname; local
92 zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC);
93 DTRACE_EXCEPTION_THROWN((char *)classname);
H A Dzend_builtin_functions.c172 ZEND_ARG_INFO(0, classname)
1227 /* {{{ proto bool class_exists(string classname [, bool autoload])
1270 /* {{{ proto bool interface_exists(string classname [, bool autoload])
/PHP_TRUNK/ext/pdo/tests/
H A Dpdo_test.inc21 static function factory($classname = 'PDO', $drop_test_tables = true) {
35 $db = new $classname($dsn, $user, $pass, $attr);
/PHP_TRUNK/ext/phar/phar/
H A Dphar.php43 function command_autoload($classname)
45 command_include(strtolower($classname) . '.inc');
/PHP_TRUNK/ext/spl/examples/
H A Dautoload.inc13 * Tries to load class $classname from directory $dir.
15 function __load_class($classname, $dir)
17 $file = $dir . '/' . $classname . '.inc';
34 function __autoload($classname) {
35 $classname = strtolower($classname);
41 if (__load_class($classname, $dir))
43 fprintf(STDERR, 'Loading class('.$classname.")\n");
47 fprintf(STDERR, 'Class not found ('.$classname.")\n");
/PHP_TRUNK/scripts/dev/
H A Dsearch_underscores.php86 foreach($classes as $classname => &$methods) {
87 echo " Class: $classname\n";
/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) {
24 $db = new $classname($dsn, $user, $pass, $attr);
/PHP_TRUNK/ext/spl/internal/
H A Diteratoriterator.inc45 * @param classname optional class the iterator has to be downcasted to
47 function __construct(Traversable $iterator, $classname = null)
/PHP_TRUNK/ext/tidy/
H A Dtidy.c90 #define REGISTER_TIDY_CLASS(classname, name, parent, __flags) \
93 INIT_CLASS_ENTRY(ce, # classname, tidy_funcs_ ## name); \
/PHP_TRUNK/main/streams/
H A Duserspace.c43 char * classname; member in struct:php_user_stream_wrapper
78 efree(uwrap->classname);
418 us->wrapper->classname);
496 us->wrapper->classname);
517 /* {{{ proto bool stream_wrapper_register(string protocol, string classname[, integer flags])
521 char *protocol, *classname; local
527 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname, &classname_len, &flags) == FAILURE) {
533 uwrap->classname = estrndup(classname, classname_len);
540 if (zend_lookup_class(uwrap->classname, classname_le
[all...]
/PHP_TRUNK/ext/standard/
H A Duser_filters.c35 char classname[1]; member in struct:php_user_filter_data
302 /* determine the classname/class entry */
336 /* bind the classname to the actual class */
338 if (FAILURE == zend_lookup_class(fdat->classname, strlen(fdat->classname),
342 filtername, fdat->classname);
577 /* {{{ proto bool stream_filter_register(string filtername, string classname)
581 char *filtername, *classname; local
586 &classname, &classname_len) == FAILURE) {
608 memcpy(fdat->classname, classnam
[all...]
H A Dbasic_functions.c204 ZEND_ARG_INFO(0, classname)
2608 ZEND_ARG_INFO(0, classname)
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1482 zval **classname; local
1485 if (zend_hash_find(SOAP_GLOBAL(class_map), type->type_str, strlen(type->type_str)+1, (void**)&classname) == SUCCESS &&
1486 Z_TYPE_PP(classname) == IS_STRING &&
1487 (tmp = zend_fetch_class(Z_STRVAL_PP(classname), Z_STRLEN_PP(classname), ZEND_FETCH_CLASS_AUTO TSRMLS_CC)) != NULL) {
H A Dsoap.c1269 char *classname; local
1279 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s*", &classname, &classname_len, &argv, &num_args) == FAILURE) {
1283 found = zend_lookup_class(classname, classname_len, &ce TSRMLS_CC);
1300 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set a non existent class (%s)", classname);
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c1414 #define SPL_CHECK_CTOR(intern, classname) \
1417 (spl_ce_##classname)->name, (spl_ce_##classname)->name); \
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1299 zval *classname; local
1305 MAKE_STD_ZVAL(classname);
1308 ZVAL_STRINGL(classname, method->common.scope->name, method->common.scope->name_length, 1);
1316 reflection_update_property(object, "class", classname);
1325 zval *classname; local
1349 MAKE_STD_ZVAL(classname);
1351 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1);
1363 reflection_update_property(object, "class", classname);
2196 _DO_THROW("Expected array($object, $method) or array($classname, $method)");
2691 zval *name, *classname; local
3324 zval *classname; local
3876 char *name, *tmp, *classname; local
4804 zval *propname, *classname; local
[all...]

Completed in 87 milliseconds