aboutsummaryrefslogtreecommitdiff
path: root/tools/scripts/camelcase.txt
blob: 59fe5cae03b50f5c5e5862bd87fa672922b11804 (plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# SPDX-License-Identifier: GPL-2.0-or-later

# The OpenOCD coding-style rules forbids CamelCase names for symbols,
# either functions, variables, macros and enums.
# The script checkpatch detects the CamelCase symbols.
# This file contains the exceptions to the coding-style, mainly due
# to external dependencies and libraries.

# format types from inttypes.h (only some are already used)
PRId8
PRId16
PRId32
PRId64
PRIi8
PRIi16
PRIi32
PRIi64
PRIo8
PRIo16
PRIo32
PRIo64
PRIu8
PRIu16
PRIu32
PRIu64
PRIx8
PRIx16
PRIx32
PRIx64
PRIX8
PRIX16
PRIX32
PRIX64
SCNd8
SCNd16
SCNd32
SCNd64
SCNi8
SCNi16
SCNi32
SCNi64
SCNo8
SCNo16
SCNo32
SCNo64
SCNu8
SCNu16
SCNu32
SCNu64
SCNx8
SCNx16
SCNx32
SCNx64
SCNX8
SCNX16
SCNX32
SCNX64

# OpenOCD format types
TARGET_PRIdADDR
TARGET_PRIoADDR
TARGET_PRIuADDR
TARGET_PRIxADDR

# from libusb.h
bcdDevice
bConfigurationValue
bEndpointAddress
bInterfaceClass
bInterfaceNumber
bInterfaceProtocol
bInterfaceSubClass
bmAttributes
bNumConfigurations
bNumEndpoints
bNumInterfaces
idProduct
idVendor
iInterface
iProduct
iSerialNumber
wMaxPacketSize

# from jimtcl/jim.h and jimtcl/jim-eventloop.h
Jim_AppendString
Jim_AppendStrings
Jim_Cmd
Jim_CmdPrivData
Jim_CmdProc
Jim_CompareStringImmediate
Jim_ConcatObj
Jim_CreateCommand
Jim_CreateInterp
Jim_DecrRefCount
Jim_DelCmdProc
Jim_DeleteAssocData
Jim_DeleteCommand
Jim_DictAddElement
Jim_DictPairs
Jim_DuplicateObj
Jim_Eval
Jim_EvalExpression
Jim_EvalObj
Jim_EvalObjPrefix
Jim_EvalSource
Jim_Eval_Named
Jim_FreeInterp
Jim_FreeObj
Jim_GetAssocData
Jim_GetCommand
Jim_GetDouble
Jim_GetEnum
Jim_GetExitCode
Jim_GetGlobalVariableStr
Jim_GetIntRepPtr
Jim_GetLong
Jim_GetResult
Jim_GetString
Jim_GetVariable
Jim_GetWide
Jim_IncrRefCount
Jim_InitStaticExtensions
Jim_Interp
Jim_ListAppendElement
Jim_ListGetIndex
Jim_ListLength
Jim_MakeErrorMessage
Jim_NewDictObj
Jim_NewEmptyStringObj
Jim_NewIntObj
Jim_NewListObj
Jim_NewStringObj
Jim_NewWideObj
Jim_Obj
Jim_ProcessEvents
Jim_RegisterCoreCommands
Jim_SetAssocData
Jim_SetEmptyResult
Jim_SetResult
Jim_SetResultBool
Jim_SetResultFormatted
Jim_SetResultInt
Jim_SetResultString
Jim_SetVariable
Jim_String
Jim_WrongNumArgs
cmdProc
currentScriptObj
delProc
emptyObj
privData
returnCode
typePtr

# from elf.h
Elf32_Addr
Elf32_Ehdr
Elf32_Half
Elf32_Off
Elf32_Phdr
Elf32_Size
Elf32_Word
Elf64_Addr
Elf64_Ehdr
Elf64_Half
Elf64_Off
Elf64_Phdr
Elf64_Word
Elf64_Xword

# for BSD's
__FreeBSD__
__FreeBSD_kernel__

# for Windows
CreateFile
CloseHandle
CreatePipe
CreateProcess
FormatMessage
GetLastError
GetModuleFileName
GetSystemTimeAsFileTime
GetTickCount
GetVersionEx
HighPart
LowPart
MsgWaitForMultipleObjects
PeekMessage
PeekNamedPipe
QuadPart
ReadFile
SetConsoleCtrlHandler
SetHandleInformation
Sleep
WaitForSingleObject
WriteFile
WSACleanup
WSAGetLastError
WSAStartup
ZeroMemory
bInheritHandle
dwFlags
dwHighDateTime
dwLowDateTime
dwPlatformId
dwOSVersionInfoSize
hProcess
hThread
hStdError
hStdInput
hStdOutput
lpSecurityDescriptor
nLength

# OpenOCD exceptions that should be removed
KiB