Searched defs:class_name (Results 1 - 25 of 39) sorted by relevance

12

/PHP_5_6/ext/opcache/Optimizer/
H A Dcompact_literals.c362 zval *class_name = &op_array->literals[(info[i].u.num < i) ? map[info[i].u.num] : info[i].u.num].constant; local
363 key_len = Z_STRLEN_P(class_name) + sizeof("::") + Z_STRLEN(op_array->literals[i].constant);
365 memcpy(key, Z_STRVAL_P(class_name), Z_STRLEN_P(class_name));
366 memcpy(key + Z_STRLEN_P(class_name), "::", sizeof("::") - 1);
367 memcpy(key + Z_STRLEN_P(class_name) + sizeof("::") - 1,
/PHP_5_6/Zend/
H A Dzend_list.c117 const char *class_name; local
122 class_name = get_active_class_name(&space TSRMLS_CC);
123 zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
128 class_name = get_active_class_name(&space TSRMLS_CC);
129 zend_error(E_WARNING, "%s%s%s(): supplied argument is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
141 class_name = get_active_class_name(&space TSRMLS_CC);
142 zend_error(E_WARNING, "%s%s%s(): %d is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), id, resource_type_name);
160 class_name = get_active_class_name(&space TSRMLS_CC);
161 zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
H A Dzend_language_scanner.c4287 const char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL; local
4291 class_name ? class_name : "",
4292 class_name && func_name ? "::" : "",
H A Dzend_exceptions.c493 const char *class_name; local
499 dup = zend_get_object_classname(*arg, &class_name, &class_name_len TSRMLS_CC);
501 TRACE_APPEND_STRL(class_name, class_name_len);
503 efree((char*)class_name);
H A Dzend_constants.c308 char *class_name; local
325 class_name = estrndup(name, class_name_len);
326 lcname = zend_str_tolower_dup(class_name, class_name_len);
364 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC);
370 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name, constant_name);
376 efree(class_name);
H A Dzend_object_handlers.c396 const char *class_name, *prop_name; local
400 zend_unmangle_property_name_ex(prop_info_name, prop_info_name_len, &class_name, &prop_name, &prop_name_len);
406 if (class_name && class_name[0] != '*') {
430 const char *class_name = NULL, *prop_name = NULL; local
431 zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_name);
432 if(class_name) {
1529 int zend_std_object_get_class_name(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) /* {{{ */ argument
1545 *class_name = estrndup(ce->name, ce->name_length);
H A Dzend_closures.c97 char *class_name; local
103 class_name = Z_STRVAL_P(scope_arg);
109 class_name = Z_STRVAL(tmp_zval);
114 (memcmp("static", class_name, sizeof("static") - 1) == 0)) {
117 else if (zend_lookup_class_ex(class_name, class_name_len, NULL, 1, &ce_p TSRMLS_CC) == FAILURE) {
118 zend_error(E_WARNING, "Class '%s' not found", class_name);
H A Dzend_language_parser.y902 | class_name T_PAAMAYIM_NEKUDOTAYIM variable_name { $$.u.op.opline_num = zend_do_begin_class_member_function_call(&$1, &$3 TSRMLS_CC); }
904 | class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects { zend_do_end_variable_parse(&$3, BP_VAR_R, 0 TSRMLS_CC); zend_do_begin_class_member_function_call(&$1, &$3 TSRMLS_CC); }
914 class_name: label
930 class_name { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); }
988 class_name T_PAAMAYIM_NEKUDOTAYIM T_STRING { zend_do_fetch_constant(&$$, &$1, &$3, ZEND_CT, 0 TSRMLS_CC); }
1143 class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects { $$ = $3; zend_do_fetch_static_member(&$$, &$1 TSRMLS_CC); }
1287 class_name T_PAAMAYIM_NEKUDOTAYIM T_STRING { zend_do_fetch_constant(&$$, &$1, &$3, ZEND_RT, 0 TSRMLS_CC); }
1292 class_name T_PAAMAYIM_NEKUDOTAYIM T_CLASS { zend_do_resolve_class_name(&$$, &$1, 1 TSRMLS_CC); }
1296 class_name T_PAAMAYIM_NEKUDOTAYIM T_CLASS { zend_do_resolve_class_name(&$$, &$1, 0 TSRMLS_CC); }
/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
450 *class_name = estrndup(obj->ce->name, 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
348 *class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_bt.c126 char *class_name; 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);
136 efree(class_name);
/PHP_5_6/ext/spl/
H A Dspl_functions.c31 void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry * functions TSRMLS_DC) argument
35 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions);
41 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, const zend_function_entry * function_list TSRMLS_DC) argument
45 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
56 PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_function_entry * function_list TSRMLS_DC) argument
60 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
H A Dphp_spl.c182 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \
183 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags TSRMLS_CC)
253 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const char * file_extension TSRMLS_DC) /* {{{ */ argument
314 /* {{{ proto void spl_autoload(string class_name [, string file_extensions])
318 char *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); 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)) {
362 zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Class %s could not be loaded", class_name);
364 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s could not be loaded", class_name);
415 zval *class_name, *retval = NULL; local
[all...]
/PHP_5_6/ext/standard/
H A Dincomplete_class.c39 char *class_name; local
42 class_name = php_lookup_class_name(object, NULL);
44 if (!class_name) {
46 class_name = "unknown";
49 php_error_docref(NULL TSRMLS_CC, error_type, INCOMPLETE_CLASS_MSG, class_name);
52 efree(class_name);
H A Dvar.c59 const char *prop_name, *class_name; local
66 int unmangle = zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name);
69 if (class_name && unmangle == SUCCESS) {
70 if (class_name[0] == '*') {
73 php_printf("\"%s\":\"%s\":private", prop_name, class_name);
90 const char *class_name; local
137 Z_OBJ_HANDLER(**struc, get_class_name)(*struc, &class_name, &class_name_len, 0 TSRMLS_CC);
138 php_printf("%sobject(%s)#%d (%d) {\n", COMMON, class_name, Z_OBJ_HANDLE_PP(struc), myht ? zend_hash_num_elements(myht) : 0);
139 efree((char*)class_name);
216 const char *prop_name, *class_name; local
245 const char *class_name; local
391 const char *class_name; /* ignored, but must be passed to unmangle */ local
421 const char *class_name; local
[all...]
H A Dvar_unserializer.c617 char *class_name; local
641 class_name = (char*)YYCURSOR;
654 len3 = strspn(class_name, "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\\");
661 class_name = estrndup(class_name, len);
666 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
669 efree(class_name);
678 efree(class_name);
694 ZVAL_STRING(arg_func_name, class_name, 1);
699 efree(class_name);
[all...]
/PHP_5_6/ext/wddx/
H A Dwddx.c481 php_wddx_add_chunk_ex(packet, class_name, name_len);
515 php_wddx_add_chunk_ex(packet, class_name, name_len);
530 const char *class_name, *prop_name; local
532 zend_unmangle_property_name(key, key_len-1, &class_name, &prop_name);
/PHP_5_6/main/
H A Dmain.c784 const char *class_name = ""; local
841 class_name = get_active_class_name(&space TSRMLS_CC);
847 origin_len = spprintf(&origin, 0, "%s%s%s(%s)", class_name, space, function, params);
874 doclen = spprintf(&docref_buf, 0, "%s.%s", class_name, function);
/PHP_5_6/ext/pdo/
H A Dpdo_stmt.c55 ZEND_ARG_INFO(0, class_name)
65 ZEND_ARG_INFO(0, class_name)
1317 /* {{{ proto mixed PDOStatement::fetchObject([string class_name [, NULL|array ctor_args]])
1324 char *class_name = NULL; local
1332 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!a", &class_name, &class_name_len, &ctor_args)) {
1357 if (class_name && !error) {
1358 stmt->fetch.cls.ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
1407 /* {{{ proto array PDOStatement::fetchAll([int $how = PDO_FETCH_BOTH [, string class_name [, NULL|array ctor_args]]])
2733 static int row_get_classname(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
2738 *class_name
[all...]
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c209 ZEND_ARG_INFO(0, class_name)
2069 char *class_name = NULL; 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);
2082 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find class '%s'", class_name);
2227 /* {{{ proto object mysql_fetch_object(resource result [, string class_name [, NULL|array ctor_params]])
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_bp.c72 efree((char*)bp->class_name);
85 if (bp->class_name) {
86 efree((char*)bp->class_name);
152 ((phpdbg_breakmethod_t*)brake)->class_name,
159 ((phpdbg_breakopline_t*)brake)->class_name,
174 ((phpdbg_breakopline_t*)brake)->class_name,
297 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name TSRMLS_DC) /* {{{ */ argument
300 size_t class_len = strlen(class_name);
304 if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_name,
309 class_name, class_le
1372 char *class_name = NULL; local
1451 char *class_name = NULL, *method_name = NULL; local
[all...]
H A Dphpdbg_bp.h59 phpdbg_breakbase(class_name);
71 const char *class_name; member in struct:_phpdbg_breakopline_t
114 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name TSRMLS_DC);
H A Dphpdbg_cmd.c74 char *class_name, *func_name; local
91 } else if (phpdbg_is_class_method(str, len+1, &class_name, &func_name)) {
92 param->method.class = class_name;
120 if (phpdbg_is_class_method(str, line_pos - str, &class_name, &func_name)) {
121 param->method.class = class_name;
/PHP_5_6/ext/mysqli/
H A Dmysqli.c1247 char *class_name; 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);
1259 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find class '%s'", class_name);
/PHP_5_6/ext/readline/
H A Dreadline_cli.c524 char *lc_text, *class_name, *class_name_end; local
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) {
534 efree(class_name);
565 efree(class_name);

Completed in 99 milliseconds

12