/PHP-5.3/sapi/cli/ |
H A D | php_cli_readline.c | 378 int class_name_len; in cli_completion_generator() local 383 class_name_len = class_name_end - text; in cli_completion_generator() 384 class_name = zend_str_tolower_dup(text, class_name_len); in cli_completion_generator() 385 class_name[class_name_len] = '\0'; /* not done automatically */ in cli_completion_generator() 386 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC)==FAILURE) { in cli_completion_generator() 390 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator() 391 textlen -= (class_name_len + 2); in cli_completion_generator() 421 int len = class_name_len + 2 + strlen(retval) + 1; in cli_completion_generator()
|
/PHP-5.3/Zend/ |
H A D | zend_constants.c | 295 int class_name_len = colon - name - 1; in zend_get_constant_ex() local 296 int const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex() 300 class_name = estrndup(name, class_name_len); in zend_get_constant_ex() 301 lcname = zend_str_tolower_dup(class_name, class_name_len); in zend_get_constant_ex() 310 if (class_name_len == sizeof("self")-1 && in zend_get_constant_ex() 319 } else if (class_name_len == sizeof("parent")-1 && in zend_get_constant_ex() 329 } else if (class_name_len == sizeof("static")-1 && in zend_get_constant_ex() 339 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC); in zend_get_constant_ex()
|
H A D | zend_builtin_functions.c | 816 int class_name_len; in is_a_impl() local 929 int class_name_len; in ZEND_FUNCTION() local 1171 int class_name_len; in ZEND_FUNCTION() local 1184 lc_name = do_alloca(class_name_len + 1, use_heap); in ZEND_FUNCTION() 1185 zend_str_tolower_copy(lc_name, class_name, class_name_len); in ZEND_FUNCTION() 1189 len = class_name_len; in ZEND_FUNCTION() 1298 int class_name_len, alias_name_len; in ZEND_FUNCTION() local 1308 lc_name = do_alloca(class_name_len + 1, use_heap); in ZEND_FUNCTION() 1309 zend_str_tolower_copy(lc_name, class_name, class_name_len); in ZEND_FUNCTION() 2000 zend_uint class_name_len; in ZEND_FUNCTION() local [all …]
|
H A D | zend_object_handlers.h | 100 …_get_class_name_t)(const zval *object, char **class_name, zend_uint *class_name_len, int parent TS…
|
H A D | zend_API.c | 246 *class_name_len = ce->name_length; in zend_get_object_classname() 1811 int class_name_len = 0; in zend_register_functions() local 1826 class_name_len = strlen(scope->name); in zend_register_functions() 1827 if ((lc_class_name = zend_memrchr(scope->name, '\\', class_name_len))) { in zend_register_functions() 1829 class_name_len -= (lc_class_name - scope->name); in zend_register_functions() 1830 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len); in zend_register_functions() 1832 lc_class_name = zend_str_tolower_dup(scope->name, class_name_len); in zend_register_functions() 1912 …if ((fname_len == class_name_len) && !memcmp(lowercase_name, lc_class_name, class_name_len+1) && !… in zend_register_functions() 3370 zend_uint class_name_len; in zend_update_property() local 3372 zend_get_object_classname(object, &class_name, &class_name_len TSRMLS_CC); in zend_update_property() [all …]
|
H A D | zend_exceptions.c | 426 zend_uint class_name_len; in _build_trace_args() local 431 dup = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC); in _build_trace_args() 433 TRACE_APPEND_STRL(class_name, class_name_len); in _build_trace_args()
|
H A D | zend_API.h | 165 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \ argument 166 …INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, NULL, NULL,… 168 #define INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, hand… argument 170 int _len = class_name_len; \ 331 …d_get_object_classname(const zval *object, char **class_name, zend_uint *class_name_len TSRMLS_DC);
|
H A D | zend_compile.c | 1519 cur_arg_info->class_name_len = 0; in zend_do_receive_arg() 1528 cur_arg_info->class_name_len = class_type->u.constant.value.str.len; in zend_do_receive_arg() 1539 cur_arg_info->class_name_len = 0; in zend_do_receive_arg() 3602 int class_name_len; in zend_unmangle_property_name() local 3616 class_name_len = zend_strnlen(mangled_property+1, --len - 1) + 1; in zend_unmangle_property_name() 3617 if (class_name_len >= len || mangled_property[class_name_len]!=0) { in zend_unmangle_property_name() 3623 *prop_name = (*class_name)+class_name_len; in zend_unmangle_property_name() 5072 int zend_get_class_fetch_type(const char *class_name, uint class_name_len) /* {{{ */ in zend_get_class_fetch_type() argument 5074 if ((class_name_len == sizeof("self")-1) && in zend_get_class_fetch_type() 5077 } else if ((class_name_len == sizeof("parent")-1) && in zend_get_class_fetch_type() [all …]
|
H A D | zend_execute.h | 368 ZEND_API zend_class_entry *zend_fetch_class(const char *class_name, uint class_name_len, int fetch_…
|
H A D | zend_compile.h | 178 zend_uint class_name_len; member 594 int zend_get_class_fetch_type(const char *class_name, uint class_name_len);
|
H A D | zend_execute_API.c | 1529 zend_class_entry *zend_fetch_class(const char *class_name, uint class_name_len, int fetch_type TSRM… in zend_fetch_class() argument 1558 fetch_type = zend_get_class_fetch_type(class_name, class_name_len); in zend_fetch_class() 1566 if (zend_lookup_class_ex(class_name, class_name_len, use_autoload, &pce TSRMLS_CC) == FAILURE) { in zend_fetch_class()
|
H A D | zend_object_handlers.c | 1252 int zend_std_object_get_class_name(const zval *object, char **class_name, zend_uint *class_name_len… in zend_std_object_get_class_name() argument 1267 *class_name_len = ce->name_length; in zend_std_object_get_class_name()
|
H A D | zend_execute.c | 444 …*pce = zend_fetch_class(cur_arg_info->class_name, cur_arg_info->class_name_len, (fetch_type | ZEND… in zend_verify_arg_class_kind()
|
/PHP-5.3/ext/spl/ |
H A D | php_spl.c | 222 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const cha… in spl_autoload() argument 276 return zend_hash_exists(EG(class_table), (char*)lc_name, class_name_len+1); in spl_autoload() 288 int class_name_len, file_exts_len = SPL_G(autoload_extensions_len), found = 0; in PHP_FUNCTION() local 294 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &class_name, &class_name_len, &file_ex… in PHP_FUNCTION() 303 lc_name = zend_str_tolower_dup(class_name, class_name_len); in PHP_FUNCTION() 310 if (spl_autoload(class_name, lc_name, class_name_len, pos1 TSRMLS_CC)) { in PHP_FUNCTION() 385 int class_name_len; in PHP_FUNCTION() local 399 class_name_len = Z_STRLEN_P(class_name); in PHP_FUNCTION() 400 lc_name = zend_str_tolower_dup(Z_STRVAL_P(class_name), class_name_len); in PHP_FUNCTION() 411 if (zend_hash_exists(EG(class_table), lc_name, class_name_len + 1)) { in PHP_FUNCTION()
|
H A D | spl_iterators.c | 1432 int class_name_len = 0; in spl_dual_it_construct() local 1434 …s(ZEND_NUM_ARGS() TSRMLS_CC, "O|s", &zobject, ce_inner, &class_name, &class_name_len) == FAILURE) { in spl_dual_it_construct() 1441 if (zend_lookup_class(class_name, class_name_len, &pce_cast TSRMLS_CC) == FAILURE in spl_dual_it_construct()
|
/PHP-5.3/ext/standard/ |
H A D | var.c | 91 zend_uint class_name_len; in php_var_dump() local 136 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC); in php_var_dump() 244 zend_uint class_name_len; in php_debug_zval_dump() local 286 Z_OBJ_HANDLER_PP(struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC); in php_debug_zval_dump() 427 zend_uint class_name_len; in php_var_export_ex() local 480 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC); in php_var_export_ex() 482 smart_str_appendl(buf, class_name, class_name_len); in php_var_export_ex()
|
/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 1573 zend_uint class_name_len; in mysqlnd_build_trace_args() local 1578 dup = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC); in mysqlnd_build_trace_args() 1580 ZVAL_UNICODEL(&tmp, class_name.u, class_name_len, 1); in mysqlnd_build_trace_args() 1755 zend_uint class_name_len; in mysqlnd_build_trace_args() local 1760 dupl = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC); in mysqlnd_build_trace_args() 1762 TRACE_APPEND_STRL(class_name, class_name_len); in mysqlnd_build_trace_args()
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_saproxy.c | 346 static int saproxy_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len,… in saproxy_class_name_get() argument 349 *class_name_len = php_com_saproxy_class_entry->name_length; in saproxy_class_name_get()
|
H A D | com_handlers.c | 445 static int com_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int… in com_class_name_get() argument 451 *class_name_len = obj->ce->name_length; in com_class_name_get()
|
/PHP-5.3/ext/mysqli/ |
H A D | mysqli.c | 1105 int class_name_len; in php_mysqli_fetch_into_hash() local 1107 …s(), "O|sz", &mysql_result, mysqli_result_class_entry, &class_name, &class_name_len, &ctor_params)… in php_mysqli_fetch_into_hash() 1113 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC); in php_mysqli_fetch_into_hash()
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_stmt.c | 1337 int class_name_len; in PHP_METHOD() local 1345 &class_name, &class_name_len, &ctor_args)) { in PHP_METHOD() 1380 …stmt->fetch.cls.ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC); in PHP_METHOD() 2742 static int row_get_classname(const zval *object, char **class_name, zend_uint *class_name_len, int … in row_get_classname() argument 2748 *class_name_len = sizeof("PDORow")-1; in row_get_classname()
|
/PHP-5.3/ext/sqlite/ |
H A D | sqlite.c | 2374 int class_name_len; in PHP_FUNCTION() local 2385 …nd_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|szb", &class_name, &class_name_len, &ctor_params,… in PHP_FUNCTION() 2393 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC); in PHP_FUNCTION() 2396 …_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|szb", &zres, &class_name, &class_name_len, &ctor_params,… in PHP_FUNCTION() 2404 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC); in PHP_FUNCTION()
|
/PHP-5.3/ext/mysql/ |
H A D | php_mysql.c | 2032 int class_name_len = 0; local 2034 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|sz", &res, &class_name, &class_name_len, &… 2041 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
|
/PHP-5.3/ext/soap/ |
H A D | soap.c | 1843 int class_name_len = strlen(service->soap_class.ce->name); local 1844 char *class_name = emalloc(class_name_len+1); 1846 memcpy(class_name, service->soap_class.ce->name,class_name_len+1); 1847 …OBJCE_P(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len+1)) {
|
/PHP-5.3/ext/pgsql/ |
H A D | pgsql.c | 2430 int class_name_len; local 2432 …s(ZEND_NUM_ARGS() TSRMLS_CC, "r|z!sz", &result, &zrow, &class_name, &class_name_len, &ctor_params)… 2438 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
|