Home
last modified time | relevance | path

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

/PHP-5.5/ext/opcache/
H A Dzend_persist.c393 if (op_array->doc_comment) {
397 if (!zend_shared_alloc_get_xlat_entry(op_array->doc_comment)) {
398 zend_shared_alloc_register_xlat_entry(op_array->doc_comment, op_array->doc_comment);
399 efree((char*)op_array->doc_comment);
401 op_array->doc_comment = NULL;
442 if (prop->doc_comment) {
444 zend_accel_store(prop->doc_comment, prop->doc_comment_len + 1);
446 if (!zend_shared_alloc_get_xlat_entry(prop->doc_comment)) {
447 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment);
448 efree((char*)prop->doc_comment);
[all …]
H A Dzend_persist_calc.c203 if (ZCG(accel_directives).save_comments && op_array->doc_comment) {
204 ADD_DUP_SIZE(op_array->doc_comment, op_array->doc_comment_len + 1);
227 if (ZCG(accel_directives).save_comments && prop->doc_comment) {
228 ADD_DUP_SIZE(prop->doc_comment, prop->doc_comment_len + 1);
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()
580 if (prop_info->doc_comment) {
582 prop_info->doc_comment = estrndup(prop_info->doc_comment, prop_info->doc_comment_len);
584 prop_info->doc_comment = NULL;
H A DZendAccelerator.h375 # define ZEND_CE_DOC_COMMENT(ce) (ce)->info.user.doc_comment
394 # define ZEND_CE_DOC_COMMENT(ce) (ce)->doc_comment
/PHP-5.5/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.5/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.h46 if (CG(doc_comment)) { \
47 efree(CG(doc_comment)); \
48 CG(doc_comment) = NULL; \
225 const char *doc_comment; member
301 const char *doc_comment; member
H A Dzend_compile.c1757 if (CG(doc_comment)) { in zend_do_begin_function_declaration()
1758 CG(active_op_array)->doc_comment = CG(doc_comment); in zend_do_begin_function_declaration()
1760 CG(doc_comment) = NULL; in zend_do_begin_function_declaration()
4280 char* doc_comment; in zend_do_traits_property_binding() local
4359doc_comment = property_info->doc_comment ? estrndup(property_info->doc_comment, property_info->doc… in zend_do_traits_property_binding()
5089 if (CG(doc_comment)) { in zend_do_begin_class_declaration()
5090 CG(active_class_entry)->info.user.doc_comment = CG(doc_comment); in zend_do_begin_class_declaration()
5092 CG(doc_comment) = NULL; in zend_do_begin_class_declaration()
5330 if (CG(doc_comment)) { in zend_do_declare_property()
5373 if (CG(doc_comment)) { in zend_do_declare_class_constant()
[all …]
H A Dzend.h531 const char *doc_comment; member
H A Dzend_language_scanner.l181 CG(doc_comment) = NULL; in startup_scanner()
1979 CG(doc_comment) = estrndup(yytext, yyleng);
H A Dzend_API.c3414 …r *name, int name_length, zval *property, int access_type, const char *doc_comment, int doc_commen… in zend_declare_property_ex() argument
3503 property_info.doc_comment = doc_comment; in zend_declare_property_ex()
H A Dzend_API.h306 …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()
3620 CG(doc_comment) = estrndup(yytext, yyleng); in lex_scan()
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c366 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
367 string_printf(str, "%s%s", indent, ce->info.user.doc_comment); in _class_string()
833 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in _function_string()
834 string_printf(str, "%s%s\n", indent, fptr->op_array.doc_comment); in _function_string()
1865 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in ZEND_METHOD()
3629 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD()
3630 RETURN_STRINGL(ce->info.user.doc_comment, ce->info.user.doc_comment_len, 1); in ZEND_METHOD()
3866 property_info_tmp.doc_comment = NULL; in ZEND_METHOD()
4858 reference->prop.doc_comment = NULL; in ZEND_METHOD()
5135 if (ref->prop.doc_comment) { in ZEND_METHOD()
[all …]

Completed in 103 milliseconds