Searched refs:class_name_len (Results 1 - 25 of 25) sorted by relevance

/PHP_5_3/ext/com_dotnet/
H A Dcom_handlers.c445 static int com_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
451 *class_name_len = obj->ce->name_length;
H A Dcom_saproxy.c346 static int saproxy_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
349 *class_name_len = php_com_saproxy_class_entry->name_length;
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c1337 int class_name_len; local
1345 &class_name, &class_name_len, &ctor_args)) {
1380 stmt->fetch.cls.ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
2742 static int row_get_classname(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
2748 *class_name_len = sizeof("PDORow")-1;
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c2275 } else if (zend_lookup_class(param->arg_info->class_name, param->arg_info->class_name_len, &pce TSRMLS_CC) == FAILURE) {
/PHP_5_3/ext/spl/
H A Dphp_spl.c222 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const char * file_extension TSRMLS_DC) /* {{{ */ argument
276 return zend_hash_exists(EG(class_table), (char*)lc_name, class_name_len+1);
288 int class_name_len, file_exts_len = SPL_G(autoload_extensions_len), found = 0; local
294 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &class_name, &class_name_len, &file_exts, &file_exts_len) == FAILURE) {
303 lc_name = zend_str_tolower_dup(class_name, class_name_len);
310 if (spl_autoload(class_name, lc_name, class_name_len, pos1 TSRMLS_CC)) {
385 int class_name_len; local
399 class_name_len = Z_STRLEN_P(class_name);
400 lc_name = zend_str_tolower_dup(Z_STRVAL_P(class_name), class_name_len);
411 if (zend_hash_exists(EG(class_table), lc_name, class_name_len
[all...]
H A Dspl_iterators.c1432 int class_name_len = 0; local
1434 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|s", &zobject, ce_inner, &class_name, &class_name_len) == FAILURE) {
1441 if (zend_lookup_class(class_name, class_name_len, &pce_cast TSRMLS_CC) == FAILURE
/PHP_5_3/ext/sqlite/
H A Dsqlite.c2374 int class_name_len; local
2385 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|szb", &class_name, &class_name_len, &ctor_params, &decode_binary)) {
2393 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
2396 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|szb", &zres, &class_name, &class_name_len, &ctor_params, &decode_binary)) {
2404 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_3/ext/standard/
H A Dvar.c91 zend_uint class_name_len; local
136 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
244 zend_uint class_name_len; local
286 Z_OBJ_HANDLER_PP(struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
427 zend_uint class_name_len; local
480 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
482 smart_str_appendl(buf, class_name, class_name_len);
/PHP_5_3/sapi/cli/
H A Dphp_cli_readline.c378 int class_name_len; local
383 class_name_len = class_name_end - text;
384 class_name = zend_str_tolower_dup(text, class_name_len);
385 class_name[class_name_len] = '\0'; /* not done automatically */
386 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC)==FAILURE) {
390 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len);
391 textlen -= (class_name_len + 2);
421 int len = class_name_len + 2 + strlen(retval) + 1;
/PHP_5_3/Zend/
H A Dzend_API.c239 ZEND_API int zend_get_object_classname(const zval *object, char **class_name, zend_uint *class_name_len TSRMLS_DC) /* {{{ */
242 Z_OBJ_HT_P(object)->get_class_name(object, class_name, class_name_len, 0 TSRMLS_CC) != SUCCESS) {
246 *class_name_len = ce->name_length;
1811 int class_name_len = 0; local
1826 class_name_len = strlen(scope->name);
1827 if ((lc_class_name = zend_memrchr(scope->name, '\\', class_name_len))) {
1829 class_name_len -= (lc_class_name - scope->name);
1830 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
1832 lc_class_name = zend_str_tolower_dup(scope->name, class_name_len);
1912 if ((fname_len == class_name_len)
3370 zend_uint class_name_len; local
3575 zend_uint class_name_len; local
[all...]
H A Dzend_compile.h178 zend_uint class_name_len; member in struct:_zend_arg_info
594 int zend_get_class_fetch_type(const char *class_name, uint class_name_len);
H A Dzend_constants.c295 int class_name_len = colon - name - 1; local
296 int const_name_len = name_len - class_name_len - 2;
300 class_name = estrndup(name, class_name_len);
301 lcname = zend_str_tolower_dup(class_name, class_name_len);
310 if (class_name_len == sizeof("self")-1 &&
319 } else if (class_name_len == sizeof("parent")-1 &&
329 } else if (class_name_len == sizeof("static")-1 &&
339 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC);
H A Dzend_execute.h368 ZEND_API zend_class_entry *zend_fetch_class(const char *class_name, uint class_name_len, int fetch_type TSRMLS_DC);
H A Dzend_object_handlers.h100 typedef int (*zend_object_get_class_name_t)(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC);
H A Dzend_object_handlers.c1252 int zend_std_object_get_class_name(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) /* {{{ */ argument
1267 *class_name_len = ce->name_length;
H A Dzend_builtin_functions.c816 int class_name_len; local
822 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs|b", &obj, &class_name, &class_name_len, &allow_string) == FAILURE) {
843 if (zend_lookup_class_ex(class_name, class_name_len, 0, &ce TSRMLS_CC) == FAILURE) {
929 int class_name_len; local
932 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &class_name, &class_name_len) == FAILURE) {
936 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC) == FAILURE) {
1171 int class_name_len; local
1176 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &class_name, &class_name_len, &autoload) == FAILURE) {
1184 lc_name = do_alloca(class_name_len + 1, use_heap);
1185 zend_str_tolower_copy(lc_name, class_name, class_name_len);
1298 int class_name_len, alias_name_len; local
2000 zend_uint class_name_len; local
2182 zend_uint class_name_len; local
[all...]
H A Dzend_execute.c444 *pce = zend_fetch_class(cur_arg_info->class_name, cur_arg_info->class_name_len, (fetch_type | ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD) TSRMLS_CC);
H A Dzend_API.h165 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \
166 INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, NULL, NULL, NULL, NULL, NULL)
168 #define INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, handle_fcall, handle_propget, handle_propset, handle_propunset, handle_propisset) \
170 int _len = class_name_len; \
331 ZEND_API int zend_get_object_classname(const zval *object, char **class_name, zend_uint *class_name_len TSRMLS_DC);
H A Dzend_compile.c1519 cur_arg_info->class_name_len = 0;
1528 cur_arg_info->class_name_len = class_type->u.constant.value.str.len;
1539 cur_arg_info->class_name_len = 0;
2578 (colon = zend_memrchr(fe->common.arg_info[i].class_name, '\\', fe->common.arg_info[i].class_name_len)) == NULL ||
2583 found = zend_lookup_class(fe->common.arg_info[i].class_name, fe->common.arg_info[i].class_name_len, &fe_ce TSRMLS_CC);
2584 found2 = zend_lookup_class(proto->common.arg_info[i].class_name, proto->common.arg_info[i].class_name_len, &proto_ce TSRMLS_CC);
3602 int class_name_len; local
3616 class_name_len = zend_strnlen(mangled_property+1, --len - 1) + 1;
3617 if (class_name_len >= len || mangled_property[class_name_len]!
5072 zend_get_class_fetch_type(const char *class_name, uint class_name_len) argument
[all...]
H A Dzend_execute_API.c1529 zend_class_entry *zend_fetch_class(const char *class_name, uint class_name_len, int fetch_type TSRMLS_DC) /* {{{ */
1558 fetch_type = zend_get_class_fetch_type(class_name, class_name_len);
1566 if (zend_lookup_class_ex(class_name, class_name_len, use_autoload, &pce TSRMLS_CC) == FAILURE) {
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_debug.c1573 zend_uint class_name_len; local
1578 dup = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC);
1580 ZVAL_UNICODEL(&tmp, class_name.u, class_name_len, 1);
1755 zend_uint class_name_len; local
1760 dupl = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC);
1762 TRACE_APPEND_STRL(class_name, class_name_len);
/PHP_5_3/ext/mysqli/
H A Dmysqli.c1105 int class_name_len; local
1107 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|sz", &mysql_result, mysqli_result_class_entry, &class_name, &class_name_len, &ctor_params) == FAILURE) {
1113 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_3/ext/soap/
H A Dsoap.c1843 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 if (zend_hash_exists(&Z_OBJCE_P(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len+1)) {
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c2032 int class_name_len = 0; local
2034 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|sz", &res, &class_name, &class_name_len, &ctor_params) == FAILURE) {
2041 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_3/ext/pgsql/
H A Dpgsql.c2430 int class_name_len; local
2432 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|z!sz", &result, &zrow, &class_name, &class_name_len, &ctor_params) == FAILURE) {
2438 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);

Completed in 124 milliseconds