Home
last modified time | relevance | path

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

/PHP-5.6/ext/reflection/tests/
H A Dbug64936.phpt19 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
26 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-5.6/ext/opcache/
H A Dzend_persist.c424 if (op_array->doc_comment) {
428 if (!zend_shared_alloc_get_xlat_entry(op_array->doc_comment)) {
429 zend_shared_alloc_register_xlat_entry(op_array->doc_comment, op_array->doc_comment);
430 efree((char*)op_array->doc_comment);
432 op_array->doc_comment = NULL;
473 if (prop->doc_comment) {
475 zend_accel_store(prop->doc_comment, prop->doc_comment_len + 1);
477 if (!zend_shared_alloc_get_xlat_entry(prop->doc_comment)) {
478 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment);
479 efree((char*)prop->doc_comment);
[all …]
H A Dzend_persist_calc.c232 if (ZCG(accel_directives).save_comments && op_array->doc_comment) {
233 ADD_DUP_SIZE(op_array->doc_comment, op_array->doc_comment_len + 1);
256 if (ZCG(accel_directives).save_comments && prop->doc_comment) {
257 ADD_DUP_SIZE(prop->doc_comment, prop->doc_comment_len + 1);
H A DZendAccelerator.h384 # define ZEND_CE_DOC_COMMENT(ce) (ce)->info.user.doc_comment
403 # define ZEND_CE_DOC_COMMENT(ce) (ce)->doc_comment
H A Dzend_accelerator_util_funcs.c220 if (property_info->doc_comment) { in zend_destroy_property_info()
221 efree((char*)property_info->doc_comment); in zend_destroy_property_info()
642 if (prop_info->doc_comment) {
644 prop_info->doc_comment = estrndup(prop_info->doc_comment, prop_info->doc_comment_len);
646 prop_info->doc_comment = NULL;
/PHP-5.6/Zend/
H A Dzend_opcode.c78 op_array->doc_comment = NULL; in init_op_array()
310 if (ce->info.user.doc_comment) { in destroy_zend_class()
311 efree((char*)ce->info.user.doc_comment); in destroy_zend_class()
397 if (op_array->doc_comment) { in destroy_op_array()
398 efree((char*)op_array->doc_comment); in destroy_op_array()
H A Dzend_globals.h127 char *doc_comment; member
H A Dzend_compile.h47 if (CG(doc_comment)) { \
48 efree(CG(doc_comment)); \
49 CG(doc_comment) = NULL; \
229 const char *doc_comment; member
307 const char *doc_comment; member
H A Dzend_compile.c1785 if (CG(doc_comment)) { in zend_do_begin_function_declaration()
1786 CG(active_op_array)->doc_comment = CG(doc_comment); in zend_do_begin_function_declaration()
1788 CG(doc_comment) = NULL; in zend_do_begin_function_declaration()
4423 char* doc_comment; in zend_do_traits_property_binding() local
4502doc_comment = property_info->doc_comment ? estrndup(property_info->doc_comment, property_info->doc… in zend_do_traits_property_binding()
5232 if (CG(doc_comment)) { in zend_do_begin_class_declaration()
5233 CG(active_class_entry)->info.user.doc_comment = CG(doc_comment); in zend_do_begin_class_declaration()
5235 CG(doc_comment) = NULL; in zend_do_begin_class_declaration()
5473 if (CG(doc_comment)) { in zend_do_declare_property()
5507 if (CG(doc_comment)) { in zend_do_declare_class_constant()
[all …]
H A Dzend.h534 const char *doc_comment; member
H A Dzend_language_scanner.l181 CG(doc_comment) = NULL; in startup_scanner()
1921 CG(doc_comment) = estrndup(yytext, yyleng);
H A Dzend_API.c3470 …r *name, int name_length, zval *property, int access_type, const char *doc_comment, int doc_commen… in zend_declare_property_ex() argument
3558 property_info.doc_comment = doc_comment; in zend_declare_property_ex()
H A Dzend_API.h309 …r *name, int name_length, zval *property, int access_type, const char *doc_comment, int doc_commen…
H A Dzend_language_scanner.c183 CG(doc_comment) = NULL; in startup_scanner()
3568 CG(doc_comment) = estrndup(yytext, yyleng); in lex_scan()
/PHP-5.6/ext/reflection/
H A Dphp_reflection.c385 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
386 string_printf(str, "%s%s", indent, ce->info.user.doc_comment); in _class_string()
871 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in _function_string()
872 string_printf(str, "%s%s\n", indent, fptr->op_array.doc_comment); in _function_string()
1903 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in ZEND_METHOD()
3703 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD()
3704 RETURN_STRINGL(ce->info.user.doc_comment, ce->info.user.doc_comment_len, 1); in ZEND_METHOD()
3940 property_info_tmp.doc_comment = NULL; in ZEND_METHOD()
4932 reference->prop.doc_comment = NULL; in ZEND_METHOD()
5209 if (ref->prop.doc_comment) { in ZEND_METHOD()
[all …]

Completed in 103 milliseconds