-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.cpp.stc
executable file
·54 lines (44 loc) · 2.32 KB
/
test.cpp.stc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FileName : test.cpp
Set : $iterateInputFileName = test.cpp
Set : $iterate_comments = OFF
DiagInputManager::DiagInputManager(android::sp<DiagManagerService> diagMgrService)
: mDiagMgrService(diagMgrService), each_packet_ptr(0), mDiagInputMgrTimer(NULL)
{
/*!! appmgr Inheritance CGA start-------------------------------------------------*/
mAppManager = NULL;
mSystemPostReceiver = NULL;
/*!! appmgr Inheritance CGA end-------------------------------------------------*/
ITERATE %Related_Manager +<<+ ITKEY ITVALUE
IFEQUAL(+<+$Related_Manager{ITKEY}{VALUE}+>+ eq "O")+{{+
/*!! ITKEY Inheritance CGA start-------------------------------------------------*/
m+<+ucfirst("ITKEY")+>+Manager = NULL;
m+<+ucfirst("ITKEY")+>+Receiver = NULL;
m+<+ucfirst("ITKEY")+>+PostReceiver = NULL;
/*!! ITKEY Inheritance CGA end-------------------------------------------------*/
+}}+
+>>+
isLongBufferActive = false;
memset(longDataBuffer, 0U, DIAGDATA_BUFSIZE);
}
ITERATE %MODULE +<<+ ITKEY ITVALUE
ITKEY // +<+$g_y = 0+>+
+<+$g_y+>+ // set +<+ $g_y=plus($g_y,1) +>+
ITERATE %MODULE{ITKEY} +<<+ IT2KEY IT2VALUE
IT2KEY
x1 : +<+$MODULE{"ITKEY"}{"IT2KEY"}{x1}+>+
IFNOTEQUAL(+<+$MODULE{"ITKEY"}{"IT2KEY"}{x1}+>+ < 5)+{{+
not under 5 : duration type 1: +<+$MODULE{ITKEY}{IT2KEY}{duration}+>+ => +<+$g_y+>+ // set +<+ $g_y=plus($g_y,1) +>+
not under 5 : duration type 2: +<+$MODULE{"ITKEY"}{IT2KEY}{duration}+>+ => +<+$g_y+>+ // set +<+$g_y=plus($g_y,1)+>+
not under 5 : duration type 3: +<+$MODULE{"ITKEY"}{"IT2KEY"}{duration}+>+ => +<+$g_y+>+ // set +<+$g_y=plus($g_y,1)+>+
not under 5 : x1 +<+$MODULE{"ITKEY"}{"IT2KEY"}{x1}+>+
+}}+
IFEQUAL(+<+$MODULE{"ITKEY"}{"IT2KEY"}{x1}+>+ > 3)+{{+
duration type 1: +<+$MODULE{ITKEY}{IT2KEY}{duration}+>+ => +<+$g_y+>+ // set +<+ $g_y=plus($g_y,1) +>+
duration type 2: +<+$MODULE{"ITKEY"}{IT2KEY}{duration}+>+ => +<+$g_y+>+ // set +<+$g_y=plus($g_y,1)+>+
duration type 3: +<+$MODULE{"ITKEY"}{"IT2KEY"}{duration}+>+ => +<+$g_y+>+ // set +<+$g_y=plus($g_y,1)+>+
x1 +<+$MODULE{"ITKEY"}{"IT2KEY"}{x1}+>+
+}}+
y1 +<+$MODULE{ITKEY}{IT2KEY}{y1}+>+ cnt : +<+$g_y+>+
Remark +<+$MODULE{ITKEY}{IT2KEY}{Remark}+>+
+>>+
+>>+