Home
last modified time | relevance | path

Searched refs:doc_comment (Results 1 – 25 of 27) sorted by relevance

12

/php-src/ext/opcache/
H A Dzend_persist.c794 if (prop->doc_comment) { in zend_persist_property_info()
799 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment); in zend_persist_property_info()
864 if (c->doc_comment) { in zend_persist_class_constant()
866 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
867 if (doc_comment) { in zend_persist_class_constant()
868 c->doc_comment = doc_comment; in zend_persist_class_constant()
873 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
874 if (!doc_comment) { in zend_persist_class_constant()
875 zend_shared_alloc_register_xlat_entry(c->doc_comment, c->doc_comment); in zend_persist_class_constant()
1025 if (ce->doc_comment) { in zend_persist_class_entry()
[all …]
H A Dzend_persist_calc.c286 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
287 ADD_STRING(op_array->doc_comment); in zend_persist_op_array_calc_ex()
376 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
377 ADD_STRING(prop->doc_comment); in zend_persist_property_info_calc()
409 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
410 ADD_STRING(c->doc_comment); in zend_persist_class_constant_calc()
503 if (ZCG(accel_directives).save_comments && ce->doc_comment) { in zend_persist_class_entry_calc()
504 ADD_STRING(ce->doc_comment); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c487 SERIALIZE_STR(op_array->doc_comment);
639 SERIALIZE_STR(op_array->doc_comment);
676 if (prop->doc_comment) {
677 SERIALIZE_STR(prop->doc_comment);
716 if (c->doc_comment) {
717 SERIALIZE_STR(c->doc_comment);
773 SERIALIZE_STR(ce->doc_comment);
1537 if (prop->doc_comment) {
1572 if (c->doc_comment) {
1573 UNSERIALIZE_STR(c->doc_comment);
[all …]
/php-src/ext/reflection/tests/
H A Dbug64936.phpt16 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
23 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/php-src/Zend/tests/
H A Dgh12468_1.phpt2 GH-12468: Double-free of doc_comment when overriding static property via trait
H A Dgh12468_2.phpt2 GH-12468: Double-free of doc_comment when overriding static property via trait
/php-src/Zend/
H A Dzend_opcode.c67 op_array->doc_comment = NULL; in init_op_array()
167 if (function->common.doc_comment) { in zend_function_dtor()
169 function->common.doc_comment = NULL; in zend_function_dtor()
346 if (ce->doc_comment) { in destroy_zend_class()
347 zend_string_release_ex(ce->doc_comment, 0); in destroy_zend_class()
393 if (prop_info->doc_comment) { in destroy_zend_class()
417 if (c->doc_comment) { in destroy_zend_class()
435 if (ce->doc_comment) { in destroy_zend_class()
436 zend_string_release_ex(ce->doc_comment, 1); in destroy_zend_class()
504 if (c->doc_comment) { in destroy_zend_class()
[all …]
H A Dzend_compile.h48 if (CG(doc_comment)) { \
49 zend_string_release_ex(CG(doc_comment), 0); \
50 CG(doc_comment) = NULL; \
451 zend_string *doc_comment; member
470 zend_string *doc_comment; member
516 zend_string *doc_comment; member
575 zend_string *doc_comment; member
604 zend_string *doc_comment; member
H A Dzend_enum.c444 cases_function->doc_comment = NULL; in zend_enum_register_funcs()
453 from_function->doc_comment = NULL; in zend_enum_register_funcs()
463 try_from_function->doc_comment = NULL; in zend_enum_register_funcs()
H A Dzend_globals.h120 zend_string *doc_comment; member
H A Dzend_ast.h216 zend_string *doc_comment; member
306 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment,
H A Dzend_API.c2950 …internal_function->doc_comment = ptr->doc_comment ? zend_string_init_interned(ptr->doc_comment, st… in zend_register_functions()
4572 if (property_info_ptr->doc_comment && property_info_ptr->ce == ce) { in zend_declare_typed_property()
4573 zend_string_release(property_info_ptr->doc_comment); in zend_declare_typed_property()
4593 if (property_info_ptr->doc_comment && property_info_ptr->ce == ce) { in zend_declare_typed_property()
4594 zend_string_release_ex(property_info_ptr->doc_comment, 1); in zend_declare_typed_property()
4639 property_info->doc_comment = doc_comment; in zend_declare_typed_property()
4783 …_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_property_ex() argument
4785 …zend_declare_typed_property(ce, name, property, access_type, doc_comment, (zend_type) ZEND_TYPE_IN… in zend_declare_property_ex()
4880 c->doc_comment = doc_comment; in zend_declare_typed_class_constant()
4901 …stant_ex(zend_class_entry *ce, zend_string *name, zval *value, int flags, zend_string *doc_comment) in zend_declare_class_constant_ex() argument
[all …]
H A Dzend_closures.c368 call.doc_comment = NULL; in zend_create_closure_from_callable()
483 invoke->internal_function.doc_comment = NULL; in zend_get_closure_invoke_method()
878 trampoline.doc_comment = NULL; in zend_closure_from_frame()
H A Dzend_API.h42 const char *doc_comment; member
80doc_comment) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_inter… argument
97 #define ZEND_FRAMELESS_FE(name, arg_info, flags, frameless_function_infos, doc_comment) \ argument
98 …rg_info)/sizeof(struct _zend_internal_arg_info)-1), flags, frameless_function_infos, doc_comment },
426 … *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type…
428 …end_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment);
437 …try *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment, zend_type type…
438 …x(zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment);
H A Dzend_language_scanner.l191 CG(doc_comment) = NULL; in startup_scanner()
2451 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2692 zend_string *saved_doc_comment = CG(doc_comment);
2703 CG(doc_comment) = NULL;
2753 CG(doc_comment) = saved_doc_comment;
H A Dzend.h224 zend_string *doc_comment; member
H A Dzend_inheritance.c2766 constant->doc_comment = constant->doc_comment ? zend_string_copy(constant->doc_comment) : NULL; in zend_do_traits_constant_binding()
2803 zend_string *doc_comment; in zend_do_traits_property_binding() local
2890 doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) : NULL; in zend_do_traits_property_binding()
2895 new_prop = zend_declare_typed_property(ce, prop_name, prop_value, flags, doc_comment, type); in zend_do_traits_property_binding()
H A Dzend_ast.c113 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, in zend_ast_create_decl() argument
124 ast->doc_comment = doc_comment; in zend_ast_create_decl()
1198 if (decl->doc_comment) { in zend_ast_destroy()
1199 zend_string_release_ex(decl->doc_comment, 0); in zend_ast_destroy()
H A Dzend_compile.c2059 ce->doc_comment = NULL; in zend_initialize_class_data()
7789 zend_string *doc_comment = in zend_compile_params() local
7794 doc_comment, type); in zend_compile_params()
8259 if (decl->doc_comment) { in zend_compile_func_decl_ex()
8260 op_array->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_func_decl_ex()
8637 zend_string *doc_comment = NULL; in zend_compile_prop_decl() local
8669 doc_comment = zend_string_copy(zend_ast_get_str(doc_comment_ast)); in zend_compile_prop_decl()
9066 if (decl->doc_comment) { in zend_compile_class_decl()
9067 ce->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_class_decl()
9245 zend_string *doc_comment = NULL; in zend_compile_enum_case() local
[all …]
H A Dzend_language_parser.y1358 %empty { $$ = CG(doc_comment); CG(doc_comment) = NULL; }
/php-src/ext/reflection/
H A Dphp_reflection.c319 if (ce->doc_comment) { in _class_string()
605 if (c->doc_comment) { in _class_const_string()
927 if (prop && prop->doc_comment) { in _property_string()
1950 RETURN_STR_COPY(fptr->op_array.doc_comment); in ZEND_METHOD()
1954 RETURN_STR_COPY(((zend_internal_function *) fptr)->doc_comment); in ZEND_METHOD()
3925 if (ref->doc_comment) { in ZEND_METHOD()
3926 RETURN_STR_COPY(ref->doc_comment); in ZEND_METHOD()
4325 if (ce->doc_comment) { in ZEND_METHOD()
4326 RETURN_STR_COPY(ce->doc_comment); in ZEND_METHOD()
6166 if (ref->prop && ref->prop->doc_comment) { in ZEND_METHOD()
[all …]
/php-src/ext/zend_test/
H A Dtest.c863 fptr->doc_comment = NULL; in zend_test_class_method_get()
887 fptr->doc_comment = NULL; in zend_test_class_static_method_get()
H A Dtest_arginfo.h980 …class_entry->doc_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see htt… in register_class_ZendTestPropertyAttribute()
/php-src/ext/com_dotnet/
H A Dcom_handlers.c314 f.doc_comment = NULL; in com_method_get()
/php-src/ext/pdo/
H A Dpdo_dbh.c1369 func.doc_comment = NULL; in pdo_hash_methods()

Completed in 157 milliseconds

12