2 # Copyright (C) 2022- Free Software Foundation, Inc.
4 # Copying and distribution of this file, with or without modification,
5 # are permitted in any medium without royalty provided the copyright
6 # notice and this notice are preserved.
8 # The following contributions warranted legal paper exchanges with the
9 # Free Software Foundation.
12 # syntax: <NCATAID> [NTYPE] NNAME "NDESC"
15 # @ srcdir/libdir/bindir/shlibdir
18 # # shitem/shbuiltin/shloadables
19 # # shlibitem/shlibmodule/shlibbuiltin/shlibloadables
20 # # cfile/hfile/citem/cunititem/cunit/cmodule/cmdlitem
21 # # libcfile/libhfile/libcitem/libcunititem/libcunit/libcmodule/libcmdlitem
22 # # libapiitem/libapiunititem/libapiunit/libapimodule/libapimdlitem
23 # # libitfitem/libitfunititem/libitfunit/libitfmodule/libitfmdlitem
28 # fundamental file gen in srcdir.
30 <1> [srcdir] env_testing "Testing for running environment"
32 "stack and queue data structure with array feature"
33 <-> [var] buffer "char *buffer;"
34 <-> [func] create "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
40 <2> [citem] fix_shebang_testing "Testing example for fix-shebang"
41 <3> [citem] cmdlist "check cmd list for shlib"
43 <-> [dir] env_testing2 "Testing for running environment2"
45 <<<861874>>> [citem] aqstk "stack and queue data structure with array feature"
46 <-> [var] buffer "char *buffer;"
47 <-> [func] create "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
52 <<<197686>>> [citem] fix_shebang_testing "Testing example for fix-shebang"
53 <-> [var] buffer "char *buffer;"
54 <-> [func] create "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
59 <-> [libdir] env_testing3 "Testing for running environment3"
61 <<<197686>>> [citem] cmdlist "check cmd list for shlib"
62 <-> [var] buffer "char *buffer;"
63 <-> [func] create "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
69 # in different SRC_TYPE dir.
71 <2> [libdir] env_testing2 "Testing for running environment2"
72 <1> [citem] fix_shebang_testing2 "Testing for fix-shebang2"
73 <2> [citem] cmdlist2 "Checking cmd list for shlib 2"
77 # @ exit£¬½áÊøµ±Ç°ÎļþµÄ½âÎö¡£
78 # @ ignore <cnt>£¬¶Ôµ±Ç°ÐÐÖ®ºóµÄcntÐÐÄÚÈݲ»½øÐнâÎö¡£
79 # @ print [var-name-list]£¬ÔÚ½âÎöʱÊä³ö¶ÔÓ¦µÄ»·¾³±äÁ¿
83 # without id number specified.
84 # or bring reference id
86 <-> [srcdir] env_testing3 "Testing for running environment3"
87 <-> [cunit] fix_shebang_testing3 "Testing for fix-shebang3"
88 <-> [cunit] cmdlist3 "Checking cmd list for shlib 3"
89 <-> [dir] test1 "test code set 1"
90 <-> [cunit] test_func11 "test func set 1_1"
91 <-> [cunit] test_func12 "test func set 1_2"
92 <-> [dir] test2 "test code set 2"
93 <-> [cunit] test_func21 "test func set 2_1"
94 <-> [cunit] test_func22 "test func set 2_2"
96 <-> [srcdir] LangDataType "language data type"
97 <1> [cunit] TInteger "digital data"
98 <-> [cunit] TFloat "float data"
99 <-> [cunit] TString "string"
100 <-> [cunit] TBit "bit"
101 <-> [cunit] TBool "bool"
102 <-> [cunit] TVector "vector"
103 <-> [cunit] TComplex "complex"
105 <-> [cunit] TBitmap "bitmap"
106 <-> [cunit] TBcd "bcd"
108 <-> [cunit] TTexture "text data"
110 next line this doc text.
113 <-> [cunit] TTexture2 "text data2"
116 # content define in catalog file is not very well.
117 # define it in a UML file, user can edit it more easily.
119 <<<b3Blbn>>> [citem] aqstk "stack and queue data structure with array feature"
120 <-> [var] buffer "char *buffer;"
121 <-> [var] head "volatile int head;"
122 <-> [var] tail "volatile int tail;"
123 <-> [var] size "volatile int size;"
124 <-> [var] count "volatile int count;"
125 <-> [var] mutex "TMUTEX mutex;"
126 <-> [var] mode "unsigned int mode;"
127 # opr bit cnt, 8/16/32/cw/str.
129 # over write data if buffer is full.
131 <-> [func] create "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
134 <-> [func] destroy "void AQStackIF_Release (AQSTACK *pstAQStack)"
135 <-> [func] initQueue "void AQStackIF_InitQueue (PAQSTACK pstAQStack, \
138 <-> [func] initStack "void AQStackIF_InitStack (AQSTACK *pstAQStack, \
141 <-> [func] clear "void AQStackIF_Clear (AQSTACK *pstAQStack)"
143 # <8/16/32/64/CW/str>
145 <-> [func] enq "bool AQStackIF_EnQueue (AQSTACK *pstAQStack, char cData)"
146 <-> [func] deq "char AQStackIF_DeQueue (AQSTACK *pstAQStack)"
147 <-> [func] push "bool AQStackIF_Push (AQSTACK *pstAQStack, char cData)"
148 <-> [func] pop "char AQStackIF_Pop (AQSTACK *pstAQStack)"
150 <-> [func] headdata "char AQStackIF_GetHeadData (AQSTACK *pstAQStack)"
151 <-> [func] taildata "char AQStackIF_GetTailData (AQSTACK *pstAQStack)"
153 <-> [func] enqn "bool AQStackIF_EnQueueN ( AQSTACK *pstAQStack, \
156 <-> [func] deqn "char * AQStackIF_DeQueueN (AQSTACK *pstAQStack, \
159 <-> [func] pushn "bool AQStackIF_PushN (AQSTACK *pstAQStack, \
162 <-> [func] popn "char * AQStackIF_PopN (AQSTACK *pstAQStack, \
166 <-> [func] index "char AQStackIF_Index (AQSTACK *pstAQStack, \
168 <-> [func] validcnt "uint32 AQStackIF_ValidCnt (AQSTACK *pstAQStack)"
169 <-> [func] blankcnt "uint32 AQStackIF_BlankCnt (AQSTACK *pstAQStack)"
170 <-> [func] sizecnt "uint32 AQStackIF_GetBuffSize (AQSTACK *pstAQStack)"
172 <-> [func] memcpy "char * AQStackIF_MemCpy (AQSTACK *pstAQStack, \
173 uint32 u32SrcOffset, \
175 uint32 u32DstOffset, \
177 <-> [func] amemcpy "char * AQStackIF_AMemCpy (AQSTACK *pstSrcAQStack, \
178 uint32 u32SrcOffset, \
179 AQSTACK *pstDstAQStack, \
180 uint32 u32DstOffset, \
182 # memory copy from an array to an array
183 <-> [func] memcmp "char * AQStackIF_MemCmp (AQSTACK *pstAQStack, \
184 uint32 u32SrcOffset, \
186 uint32 u32DstOffset, \
188 # memcmp between an array and buffer
189 <-> [func] amemcmp "char * AQStackIF_AMemCmp (AQSTACK *pstSrcAQStack, \
190 uint32 u32SrcOffset, \
191 AQSTACK *pstDstAQStack, \
192 uint32 u32DstOffset, \
194 # memcmp between an array and another array
196 <-> [func] average "uint8 AQStackIF_Average (AQSTACK *pstAQStack)"
197 <-> [func] chksum "uint16 AQStackIF_CheckSum (AQSTACK *pstAQStack)"
198 <-> [func] addsum "uint8 AQStackIF_Average (AQSTACK *pstAQStack)"
199 <-> [func] isempty "bool AQStackIF_IsEmpty (AQSTACK *pstAQStack)"
200 <-> [func] isfull "bool AQStackIF_IsFull (AQSTACK *pstAQStack)"