Searched defs:class_name_len (Results 1 - 20 of 20) sorted by relevance

/PHP_5_6/ext/com_dotnet/
H A Dcom_handlers.c445 static int com_class_name_get(const zval *object, const 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, const 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_6/ext/mysqlnd/
H A Dmysqlnd_bt.c127 zend_uint class_name_len; local
132 dupl = zend_get_object_classname(*arg, (const char **)&class_name, &class_name_len TSRMLS_CC);
134 TRACE_APPEND_STRL(class_name, class_name_len);
/PHP_5_6/Zend/
H A Dzend_exceptions.c494 zend_uint class_name_len; local
499 dup = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC);
501 TRACE_APPEND_STRL(class_name, class_name_len);
H A Dzend_constants.c320 int class_name_len = colon - name - 1; local
321 int const_name_len = name_len - class_name_len - 2;
325 class_name = estrndup(name, class_name_len);
326 lcname = zend_str_tolower_dup(class_name, class_name_len);
335 if (class_name_len == sizeof("self")-1 &&
344 } else if (class_name_len == sizeof("parent")-1 &&
354 } else if (class_name_len == sizeof("static")-1 &&
364 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC);
H A Dzend_builtin_functions.c846 int class_name_len; local
852 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs|b", &obj, &class_name, &class_name_len, &allow_string) == FAILURE) {
874 if (zend_lookup_class_ex(class_name, class_name_len, NULL, 0, &ce TSRMLS_CC) == FAILURE) {
964 int class_name_len; local
967 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &class_name, &class_name_len) == FAILURE) {
971 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC) == FAILURE) {
1233 int class_name_len; local
1238 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &class_name, &class_name_len, &autoload) == FAILURE) {
1246 lc_name = do_alloca(class_name_len + 1, use_heap);
1247 zend_str_tolower_copy(lc_name, class_name, class_name_len);
1403 int class_name_len, alias_name_len; local
2133 zend_uint class_name_len; local
2323 zend_uint class_name_len; local
[all...]
H A Dzend_closures.c98 int class_name_len; local
104 class_name_len = Z_STRLEN_P(scope_arg);
110 class_name_len = Z_STRLEN(tmp_zval);
113 if ((class_name_len == sizeof("static") - 1) &&
117 else if (zend_lookup_class_ex(class_name, class_name_len, NULL, 1, &ce_p TSRMLS_CC) == FAILURE) {
H A Dzend_compile.h239 zend_uint class_name_len; member in struct:_zend_arg_info
718 int zend_get_class_fetch_type(const char *class_name, uint class_name_len);
H A Dzend_compile.c1925 cur_arg_info->class_name_len = 0;
1956 cur_arg_info->class_name_len = Z_STRLEN(class_type->u.constant);
3293 fe_class_name_len = fe_arg_info->class_name_len;
3304 proto_class_name_len = proto_arg_info->class_name_len;
3386 zend_uint class_name_len; local
3389 class_name_len = fptr->common.scope->name_length;
3392 class_name_len = fptr->common.scope->parent->name_length;
3395 class_name_len = arg_info->class_name_len;
3397 REALLOC_BUF_IF_EXCEED(buf, offset, length, class_name_len);
5363 int class_name_len; local
6967 zend_get_class_fetch_type(const char *class_name, uint class_name_len) argument
[all...]
H A Dzend_object_handlers.c1532 int zend_std_object_get_class_name(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) /* {{{ */ argument
1547 *class_name_len = ce->name_length;
H A Dzend_API.c247 ZEND_API int zend_get_object_classname(const zval *object, const char **class_name, zend_uint *class_name_len TSRMLS_DC) /* {{{ */
250 Z_OBJ_HT_P(object)->get_class_name(object, class_name, class_name_len, 0 TSRMLS_CC) != SUCCESS) {
254 *class_name_len = ce->name_length;
2041 int class_name_len = 0; local
2057 class_name_len = strlen(scope->name);
2058 if ((lc_class_name = zend_memrchr(scope->name, '\\', class_name_len))) {
2060 class_name_len -= (lc_class_name - scope->name);
2061 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2063 lc_class_name = zend_str_tolower_dup(scope->name, class_name_len);
2161 if ((fname_len == class_name_len)
3722 zend_uint class_name_len; local
3927 zend_uint class_name_len; local
[all...]
/PHP_5_6/ext/pdo/
H A Dpdo_stmt.c1325 int class_name_len; local
1332 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!a", &class_name, &class_name_len, &ctor_args)) {
1358 stmt->fetch.cls.ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
2733 static int row_get_classname(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
2739 *class_name_len = sizeof("PDORow")-1;
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c2070 int class_name_len = 0; local
2072 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|sz", &res, &class_name, &class_name_len, &ctor_params) == FAILURE) {
2079 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_6/ext/standard/
H A Dvar.c91 zend_uint class_name_len; local
137 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
246 zend_uint class_name_len; local
287 Z_OBJ_HANDLER_PP(struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
422 zend_uint class_name_len; local
486 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
488 smart_str_appendl(buf, class_name, class_name_len);
/PHP_5_6/ext/pgsql/
H A Dpgsql.c2690 int class_name_len; local
2692 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|z!sz", &result, &zrow, &class_name, &class_name_len, &ctor_params) == FAILURE) {
2698 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_6/ext/mysqli/
H A Dmysqli.c1248 int class_name_len; local
1250 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) {
1256 ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
/PHP_5_6/ext/readline/
H A Dreadline_cli.c525 int class_name_len; local
530 class_name_len = class_name_end - text;
531 class_name = zend_str_tolower_dup(text, class_name_len);
532 class_name[class_name_len] = '\0'; /* not done automatically */
533 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC)==FAILURE) {
537 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len);
538 textlen -= (class_name_len + 2);
568 int len = class_name_len + 2 + strlen(retval) + 1;
/PHP_5_6/ext/soap/
H A Dsoap.c1714 int class_name_len = strlen(service->soap_class.ce->name); local
1715 char *class_name = emalloc(class_name_len+1);
1717 memcpy(class_name, service->soap_class.ce->name,class_name_len+1);
1718 if (zend_hash_exists(&Z_OBJCE_P(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len+1)) {
/PHP_5_6/ext/spl/
H A Dphp_spl.c253 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const char * file_extension TSRMLS_DC) /* {{{ */ argument
307 return zend_hash_exists(EG(class_table), (char*)lc_name, class_name_len+1);
319 int class_name_len, file_exts_len = SPL_G(autoload_extensions_len), found = 0; local
325 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &class_name, &class_name_len, &file_exts, &file_exts_len) == FAILURE) {
334 lc_name = zend_str_tolower_dup(class_name, class_name_len);
341 if (spl_autoload(class_name, lc_name, class_name_len, pos1 TSRMLS_CC)) {
416 int class_name_len; local
430 class_name_len = Z_STRLEN_P(class_name);
431 lc_name = zend_str_tolower_dup(Z_STRVAL_P(class_name), class_name_len);
442 if (zend_hash_exists(EG(class_table), lc_name, class_name_len
[all...]
H A Dspl_iterators.c1495 int class_name_len = 0; local
1497 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|s", &zobject, ce_inner, &class_name, &class_name_len) == FAILURE) {
1504 if (zend_lookup_class(class_name, class_name_len, &pce_cast TSRMLS_CC) == FAILURE

Completed in 72 milliseconds