root/test/manual/etags/c-src/c.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. f
  2. bar
  3. foobar
  4. interface_locate
  5. max
  6. max
  7. f1
  8. f2
  9. XDEFUN
  10. DEFUN
  11. DEFUN
  12. defun_func1
  13. DEFUN_func2
  14. funcboo
  15. bla
  16. a
  17. func2
  18. caccacacca
  19. a
  20. inita
  21. b
  22. initb

     1 T f(){if(x){}
     2 }T i;
     3 
     4 // The next two functions must be kept together
     5 void bar() {while(0) {}}
     6 int foobar() {;}
     7 
     8 struct interface *
     9 interface_locate(void)
    10 { return 0; }
    11 
    12 #line 123 "c.c"
    13 // 7.4: string literal in #line directive shall be a character string
    14 //      literal.
    15 //E t_6_062.cpp(21): warning: ill formed #line directive: 123 L"wide"
    16 #line 123                                       L"wide.c"
    17 #line 123 L"wide.c"
    18 #line 123L"wide.c"
    19 
    20 
    21 void (*fa) (void);
    22 void (__attribute__((noreturn)) *fb) (void);
    23 
    24 extern int
    25 my_printf (void *my_object, const char *my_format, ...)
    26      __attribute__ ((format (printf, 2, 3)));
    27 
    28 void fatala () __attribute__ ((noreturn));
    29 void fatalb ();
    30 
    31 max (int a, int b)
    32 { if (a > b) return a; else return b; }
    33 struct bar {
    34   char z;
    35   struct foo f;
    36 };
    37 __attribute__ ((always_inline)) max (int a, int b)
    38 { if (a > b) return a; else return b }
    39 extern int old_var __attribute__ ((deprecated));
    40 struct foo
    41 {
    42   char a;
    43   int x[2] __attribute__ ((packed));
    44 };
    45 char stack[10000] __attribute__ ((section ("STACK"))) = { 0 };
    46 struct S { short f[3]; } __attribute__ ((aligned (8)));
    47 typedef union
    48 {
    49   int *__ip;
    50   union wait *__up;
    51 } wait_status_ptr_t __attribute__ ((__transparent_union__));
    52 Some_Class  A  __attribute__ ((init_priority (2000)));
    53 typedef T1 T3 __attribute__ ((deprecated));
    54 T3 z __attribute__ ((deprecated));
    55 typedef int more_aligned_int __attribute__ ((aligned (8)));
    56 struct S  __attribute__ ((vector_size (16))) foo;
    57 int foo __attribute__ ((vector_size (16)));
    58 char *__attribute__((aligned(8))) *f;
    59 int i __attribute__ ((visibility ("hidden")));
    60 extern void foobar (void) __attribute__ ((section ("bar")));
    61 
    62 typedef struct cacheLRUEntry_s
    63 {
    64   U16 next;
    65   U16 prev;
    66 }
    67 __attribute__ ((packed)) cacheLRUEntry_t;
    68 struct foo {
    69   int x;
    70   char a, b, c, d;
    71 } __attribute__((packed));
    72 void __attribute__ ((visibility ("protected")))
    73      f1 () { /* Do something. */; }
    74 void f2 () { /* Do something. */; }
    75 __attribute__((noreturn)) void d0 (void),
    76   __attribute__((format(printf, 1, 2))) d1 (const char *, ...),
    77   d2 (void);
    78 int x __attribute__ ((aligned (16))) = 0;
    79 struct foo { int x[2] __attribute__ ((aligned (8))); };
    80 short array[3] __attribute__ ((aligned));
    81 
    82 asm("   section 10");
    83 int f
    84         () {}
    85 
    86 DEAFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0,
    87   "name.")
    88      (name, defalt)
    89      Lisp_Object name, defalt;
    90 {
    91   unsigned char *nm;
    92 }
    93 XDEFUN ("x-get-selection-internal", Fx_get_selection_internal,
    94        Sx_get_selection_internal, 2, 2, 0, "")
    95 {}
    96 DEFUN ("x-get-selection-internal", Fx_get_selection_internal,
    97        Sx_get_selection_internal, 2, 2, 0, "")
    98 {}
    99 /* The next two are not tagged correctly.  To prevent this, the code in
   100    Emacs should contain the two first args of DEFUN on the same line. */
   101 DEFUN ("x-get-selection-internal",
   102        Fx_get_selection_internal, Sx_get_selection_internal, 2, 2, 0, "")
   103 {}
   104 DEFUN
   105      ("y-get-selection-internal",
   106       Fy_get_selection_internal, Sy_get_selection_internal, 2, 2, 0, "")
   107 {}
   108 defun_func1()
   109 {}
   110 DEFUN_func2()
   111 {}
   112 typedef int bool;
   113 bool funcboo ()
   114 {}
   115 static void (*lang_func) () = NULL;
   116 struct my_struct {
   117 };
   118 typedef struct my_struct my_typedef;
   119 int bla ()
   120 {
   121   PrkList ExistingOperations =
   122       ProcedureOperationSelections(PrkNull, CalledFromDomain);
   123 }
   124 a()
   125  b c;
   126 {}
   127 int func1
   128   (a,b,c,d) {};
   129 static struct cca_control init_control = { 0 };
   130 static tpcmd rbtp [RB_TPSZ];
   131 static byte ring1 [(RBUFNO + 1) + 8];
   132 static byte ring2 [(RBUFNO + 1) * sizeof (struct le_md) + 8];
   133 request request (a, b)
   134 {
   135 }
   136 int func2 (a,b
   137           c,d) {};
   138 int wrongfunc
   139   aaa;
   140 struct wrongstruct
   141   bbb;
   142 struct sss1 {};
   143 struct sss2
   144 {
   145   struct ss3
   146     {
   147     };
   148 };
   149 struct a b;
   150 struct aa *b;
   151 struct aaa
   152   **b;
   153 caccacacca (a,b,c,d,e,f,g)
   154      struct aa *b;
   155 {
   156 }
   157 a ()
   158 {
   159   typedef struct aa {} aaa;
   160 }
   161 static void inita () {}
   162 node *lasta = NULL;
   163 b ()
   164 {
   165   typedef  int bb;
   166 }
   167 static void initb () {}
   168 node *lastb = NULL;
   169 typedef enum { REG_ENOSYS = -1, aa } reg_errcode_t;

/* [<][>][^][v][top][bottom][index][help] */