gtksourceview3 2.2.5-x86-mingw32 → 3.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -4
  3. data/lib/gtksourceview3/loader.rb +46 -0
  4. data/lib/gtksourceview3/mark-attributes.rb +29 -0
  5. data/lib/gtksourceview3.rb +47 -12
  6. data/test/run-test.rb +2 -0
  7. data/test/{test_mark_attributes.rb → test-mark-attributes.rb} +1 -1
  8. data/test/{test_source_gutter_renderer.rb → test-source-gutter-renderer.rb} +0 -0
  9. data/test/{test_source_language_manager.rb → test-source-language-manager.rb} +6 -6
  10. data/test/{test_source_view.rb → test-source-view.rb} +1 -1
  11. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +3 -0
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +4 -5
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +1 -1
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +5 -0
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +5 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +60 -0
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +56 -0
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +56 -0
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -0
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +5 -0
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +41 -14
  24. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  25. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  26. data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
  27. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  28. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  29. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  30. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  31. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  32. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  33. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  34. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  35. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  36. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  37. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  38. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  39. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  40. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  41. data/vendor/local/lib/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  42. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  43. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  44. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  45. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  46. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  47. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  48. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  49. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  50. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  51. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  52. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  53. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  54. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  55. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  56. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
  57. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +501 -39
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +186 -132
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +55 -55
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +29 -23
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -39
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +9 -9
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +22 -22
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +35 -35
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +14 -14
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +19 -19
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +26 -26
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +32 -32
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +28 -28
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +141 -133
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +14 -14
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +6 -6
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +26 -26
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +17 -17
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +18 -18
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +42 -42
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +89 -89
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +155 -56
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +23 -23
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +8 -8
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +17 -19
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +215 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +129 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +129 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +27 -26
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +751 -327
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +3 -3
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +1 -1
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +1 -1
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +3 -3
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +107 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +1 -1
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +1 -1
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +89 -1
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +9 -90
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +25 -16
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +53 -0
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +44 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +50 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +33 -0
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +38 -0
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +38 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +10 -10
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +253 -161
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +57 -25
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +295 -190
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +73 -30
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -9
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +153 -0
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +50 -0
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
  116. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +4 -4
  117. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +234 -125
  118. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +1 -0
  119. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +247 -257
  120. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +1 -1
  121. data/vendor/local/share/gtksourceview-3.0/language-specs/genie.lang +238 -0
  122. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +4 -3
  123. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
  124. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +3 -1
  125. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +150 -5
  126. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +1 -1
  127. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +1008 -172
  128. data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +283 -0
  129. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -1
  130. data/vendor/local/share/gtksourceview-3.0/language-specs/thrift.lang +267 -0
  131. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +13 -0
  132. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +1 -1
  133. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +2 -0
  134. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +3 -0
  135. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -0
  136. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +3 -0
  137. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +3 -1
  138. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +3 -1
  139. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -0
  140. data/vendor/local/share/license/gtksourceview/AUTHORS +7 -5
  141. metadata +43 -35
  142. data/ext/gtksourceview3/depend +0 -6
  143. data/ext/gtksourceview3/extconf.rb +0 -67
  144. data/ext/gtksourceview3/gtksourceview3.def +0 -2
  145. data/ext/gtksourceview3/rbgtksource.c +0 -53
  146. data/ext/gtksourceview3/rbgtksourcebuffer.c +0 -318
  147. data/ext/gtksourceview3/rbgtksourcegutter.c +0 -82
  148. data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +0 -143
  149. data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +0 -42
  150. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +0 -40
  151. data/ext/gtksourceview3/rbgtksourcelanguage.c +0 -124
  152. data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +0 -114
  153. data/ext/gtksourceview3/rbgtksourcemark.c +0 -85
  154. data/ext/gtksourceview3/rbgtksourcemarkattributes.c +0 -77
  155. data/ext/gtksourceview3/rbgtksourceprintcompositor.c +0 -171
  156. data/ext/gtksourceview3/rbgtksourcestyle.c +0 -42
  157. data/ext/gtksourceview3/rbgtksourcestylescheme.c +0 -72
  158. data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +0 -140
  159. data/ext/gtksourceview3/rbgtksourceundomanager.c +0 -83
  160. data/ext/gtksourceview3/rbgtksourceview.c +0 -94
  161. data/ext/gtksourceview3/rbgtksourceview3conversions.h +0 -50
  162. data/ext/gtksourceview3/rbgtksourceview3private.h +0 -53
  163. data/extconf.rb +0 -49
  164. data/lib/2.0/gtksourceview3.so +0 -0
  165. data/lib/2.1/gtksourceview3.so +0 -0
  166. data/lib/2.2/gtksourceview3.so +0 -0
  167. data/sample/sourcelanguagemanager.rb +0 -21
  168. data/sample/test.rb +0 -32
@@ -21,272 +21,262 @@
21
21
 
22
22
  -->
23
23
  <language id="cuda" _name="CUDA" version="2.0" _section="Source">
24
- <metadata>
25
- <property name="globs">*.cu;*.cuh</property>
26
- <property name="line-comment-start">//</property>
27
- <property name="block-comment-start">/*</property>
28
- <property name="block-comment-end">*/</property>
29
- </metadata>
30
-
31
-
32
- <styles>
33
- <style id="keyword" _name="Keyword" map-to="def:keyword"/>
34
- <style id="data-type" _name="Data Type" map-to="def:type"/>
35
- <style id="cuda-global" _name="Global Functions" map-to="def:function"/>
36
- <style id="cuda-device" _name="Device Functions" map-to="def:function"/>
37
- <style id="global-var" _name="Global Variables" map-to="def:identifier"/>
38
- </styles>
39
-
40
- <definitions>
41
- <context id="cuda">
42
- <include>
24
+ <metadata>
25
+ <property name="globs">*.cu;*.cuh</property>
26
+ <property name="line-comment-start">//</property>
27
+ <property name="block-comment-start">/*</property>
28
+ <property name="block-comment-end">*/</property>
29
+ </metadata>
30
+
31
+
32
+ <styles>
33
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
34
+ <style id="data-type" _name="Data Type" map-to="def:type"/>
35
+ <style id="cuda-global" _name="Global Functions" map-to="def:function"/>
36
+ <style id="cuda-device" _name="Device Functions" map-to="def:function"/>
37
+ <style id="global-var" _name="Global Variables" map-to="def:identifier"/>
38
+ </styles>
39
+
40
+ <definitions>
41
+ <context id="cuda-keywords" style-ref="keyword">
42
+ <keyword>__global__</keyword>
43
+ <keyword>__host__</keyword>
44
+ <keyword>__device__</keyword>
45
+ <keyword>__constant__</keyword>
46
+ <keyword>__shared__</keyword>
47
+ </context>
48
+
49
+ <context id="cuda-types" style-ref="data-type">
50
+ <keyword>uint</keyword>
51
+ <keyword>int1 </keyword>
52
+ <keyword>uint1</keyword>
53
+ <keyword>int2</keyword>
54
+ <keyword>uint2</keyword>
55
+ <keyword>int3</keyword>
56
+ <keyword>uint3</keyword>
57
+ <keyword>int4</keyword>
58
+ <keyword>uint4</keyword>
59
+ <keyword>float1</keyword>
60
+ <keyword>float2</keyword>
61
+ <keyword>float3</keyword>
62
+ <keyword>float4</keyword>
63
+ <keyword>char1</keyword>
64
+ <keyword>char2</keyword>
65
+ <keyword>char3</keyword>
66
+ <keyword>char4</keyword>
67
+ <keyword>uchar1</keyword>
68
+ <keyword>uchar2</keyword>
69
+ <keyword>uchar3</keyword>
70
+ <keyword>uchar4</keyword>
71
+ <keyword>short1</keyword>
72
+ <keyword>short2</keyword>
73
+ <keyword>short3</keyword>
74
+ <keyword>short4</keyword>
75
+ <keyword>dim1</keyword>
76
+ <keyword>dim2</keyword>
77
+ <keyword>dim3</keyword>
78
+ <keyword>dim4</keyword>
79
+ </context>
80
+
81
+ <context id="cudaglobal" style-ref="global-var">
82
+ <keyword>gridDim</keyword>
83
+ <keyword>blockIdx</keyword>
84
+ <keyword>blockDim</keyword>
85
+ <keyword>threadIdx</keyword>
86
+ </context>
87
+
88
+ <context id="kernel-call" style-ref="latex:display-math">
89
+ <start>&lt;&lt;&lt;</start>
90
+ <end>&gt;&gt;&gt;</end>
91
+ </context>
92
+
93
+ <context id="cudaatom" style-ref="cuda-device">
94
+ <keyword>atomicAdd</keyword>
95
+ <keyword>atomicAnd</keyword>
96
+ <keyword>atomicCAS</keyword>
97
+ <keyword>atomicDec</keyword>
98
+ <keyword>atomicExch</keyword>
99
+ <keyword>atomicInc</keyword>
100
+ <keyword>atomicMax</keyword>
101
+ <keyword>atomicMin</keyword>
102
+ <keyword>atomicOr</keyword>
103
+ <keyword>atomicSub</keyword>
104
+ <keyword>atomicXor</keyword>
105
+ </context>
106
+
107
+ <context id="cudadev" style-ref="cuda-device">
108
+ <keyword>tex1D</keyword>
109
+ <keyword>tex1Dfetch</keyword>
110
+ <keyword>tex2D</keyword>
111
+ <keyword>__float_as_int</keyword>
112
+ <keyword>__int_as_float</keyword>
113
+ <keyword>__float2int_rn</keyword>
114
+ <keyword>__float2int_rz</keyword>
115
+ <keyword>__float2int_ru</keyword>
116
+ <keyword>__float2int_rd</keyword>
117
+ <keyword>__float2uint_rn</keyword>
118
+ <keyword>__float2uint_rz</keyword>
119
+ <keyword>__float2uint_ru</keyword>
120
+ <keyword>__float2uint_rd</keyword>
121
+ <keyword>__int2float_rn</keyword>
122
+ <keyword>__int2float_rz</keyword>
123
+ <keyword>__int2float_ru</keyword>
124
+ <keyword>__int2float_rd</keyword>
125
+ <keyword>__uint2float_rn</keyword>
126
+ <keyword>__uint2float_rz</keyword>
127
+ <keyword>__uint2float_ru</keyword>
128
+ <keyword>__uint2float_rd</keyword>
129
+ <keyword>__fadd_rz</keyword>
130
+ <keyword>__fmul_rz</keyword>
131
+ <keyword>__fdividef</keyword>
132
+ <keyword>__mul24</keyword>
133
+ <keyword>__umul24</keyword>
134
+ <keyword>__mulhi</keyword>
135
+ <keyword>__umulhi</keyword>
136
+ <keyword>__mul64hi</keyword>
137
+ <keyword>__umul64hi</keyword>
138
+ <keyword>min</keyword>
139
+ <keyword>umin</keyword>
140
+ <keyword>fminf</keyword>
141
+ <keyword>fmin</keyword>
142
+ <keyword>max</keyword>
143
+ <keyword>umax</keyword>
144
+ <keyword>fmaxf</keyword>
145
+ <keyword>fmax</keyword>
146
+ <keyword>abs</keyword>
147
+ <keyword>fabsf</keyword>
148
+ <keyword>fabs</keyword>
149
+ <keyword>sqrtf</keyword>
150
+ <keyword>sqrt</keyword>
151
+ <keyword>sinf</keyword>
152
+ <keyword>__sinf</keyword>
153
+ <keyword>sin</keyword>
154
+ <keyword>cosf</keyword>
155
+ <keyword>__cosf</keyword>
156
+ <keyword>cos</keyword>
157
+ <keyword>sincosf</keyword>
158
+ <keyword>__sincosf</keyword>
159
+ <keyword>expf</keyword>
160
+ <keyword>__expf</keyword>
161
+ <keyword>exp</keyword>
162
+ <keyword>logf</keyword>
163
+ <keyword>__logf</keyword>
164
+ <keyword>log</keyword>
165
+ </context>
166
+
167
+ <context id="cuda-runtime" style-ref="cuda-global">
168
+ <keyword>cudaBindTexture</keyword>
169
+ <keyword>cudaBindTextureToArray</keyword>
170
+ <keyword>cudaChooseDevice</keyword>
171
+ <keyword>cudaConfigureCall</keyword>
172
+ <keyword>cudaCreateChannelDesc</keyword>
173
+ <keyword>cudaD3D10GetDevice</keyword>
174
+ <keyword>cudaD3D10MapResources</keyword>
175
+ <keyword>cudaD3D10RegisterResource</keyword>
176
+ <keyword>cudaD3D10ResourceGetMappedArray</keyword>
177
+ <keyword>cudaD3D10ResourceGetMappedPitch</keyword>
178
+ <keyword>cudaD3D10ResourceGetMappedPointer</keyword>
179
+ <keyword>cudaD3D10ResourceGetMappedSize</keyword>
180
+ <keyword>cudaD3D10ResourceGetSurfaceDimensions</keyword>
181
+ <keyword>cudaD3D10ResourceSetMapFlags</keyword>
182
+ <keyword>cudaD3D10SetDirect3DDevice</keyword>
183
+ <keyword>cudaD3D10UnmapResources</keyword>
184
+ <keyword>cudaD3D10UnregisterResource</keyword>
185
+ <keyword>cudaD3D9GetDevice</keyword>
186
+ <keyword>cudaD3D9GetDirect3DDevice</keyword>
187
+ <keyword>cudaD3D9MapResources</keyword>
188
+ <keyword>cudaD3D9RegisterResource</keyword>
189
+ <keyword>cudaD3D9ResourceGetMappedArray</keyword>
190
+ <keyword>cudaD3D9ResourceGetMappedPitch</keyword>
191
+ <keyword>cudaD3D9ResourceGetMappedPointer</keyword>
192
+ <keyword>cudaD3D9ResourceGetMappedSize</keyword>
193
+ <keyword>cudaD3D9ResourceGetSurfaceDimensions</keyword>
194
+ <keyword>cudaD3D9ResourceSetMapFlags</keyword>
195
+ <keyword>cudaD3D9SetDirect3DDevice</keyword>
196
+ <keyword>cudaD3D9UnmapResources</keyword>
197
+ <keyword>cudaD3D9UnregisterResource</keyword>
198
+ <keyword>cudaEventCreate</keyword>
199
+ <keyword>cudaEventDestroy</keyword>
200
+ <keyword>cudaEventElapsedTime</keyword>
201
+ <keyword>cudaEventQuery</keyword>
202
+ <keyword>cudaEventRecord</keyword>
203
+ <keyword>cudaEventSynchronize</keyword>
204
+ <keyword>cudaFree</keyword>
205
+ <keyword>cudaFreeArray</keyword>
206
+ <keyword>cudaFreeHost </keyword>
207
+ <keyword>cudaGetChannelDesc</keyword>
208
+ <keyword>cudaGetDevice</keyword>
209
+ <keyword>cudaGetDeviceCount</keyword>
210
+ <keyword>cudaGetDeviceProperties</keyword>
211
+ <keyword>cudaGetErrorString</keyword>
212
+ <keyword>cudaGetLastError</keyword>
213
+ <keyword>cudaGetSymbolAddress</keyword>
214
+ <keyword>cudaGetSymbolSize</keyword>
215
+ <keyword>cudaGetTextureAlignmentOffset</keyword>
216
+ <keyword>cudaGetTextureReference</keyword>
217
+ <keyword>cudaGLMapBufferObject</keyword>
218
+ <keyword>cudaGLRegisterBufferObject</keyword>
219
+ <keyword>cudaGLSetGLDevice</keyword>
220
+ <keyword>cudaGLUnmapBufferObject</keyword>
221
+ <keyword>cudaGLUnregisterBufferObject</keyword>
222
+ <keyword>cudaLaunch</keyword>
223
+ <keyword>cudaMalloc</keyword>
224
+ <keyword>cudaMalloc3D</keyword>
225
+ <keyword>cudaMalloc3DArray</keyword>
226
+ <keyword>cudaMallocArray</keyword>
227
+ <keyword>cudaMallocHost</keyword>
228
+ <keyword>cudaMallocPitch</keyword>
229
+ <keyword>cudaMemcpy</keyword>
230
+ <keyword>cudaMemcpy2D</keyword>
231
+ <keyword>cudaMemcpy2DArrayToArray</keyword>
232
+ <keyword>cudaMemcpy2DFromArray</keyword>
233
+ <keyword>cudaMemcpy2DToArray</keyword>
234
+ <keyword>cudaMemcpy3D</keyword>
235
+ <keyword>cudaMemcpyArrayToArray</keyword>
236
+ <keyword>cudaMemcpyFromArray</keyword>
237
+ <keyword>cudaMemcpyFromSymbol</keyword>
238
+ <keyword>cudaMemcpyToArray</keyword>
239
+ <keyword>cudaMemcpyToSymbol</keyword>
240
+ <keyword>cudaMemset</keyword>
241
+ <keyword>cudaMemset2D</keyword>
242
+ <keyword>cudaMemset3D</keyword>
243
+ <keyword>cudaSetDevice</keyword>
244
+ <keyword>cudaSetupArgument</keyword>
245
+ <keyword>cudaStreamCreate</keyword>
246
+ <keyword>cudaStreamDestroy</keyword>
247
+ <keyword>cudaStreamQuery</keyword>
248
+ <keyword>cudaStreamSynchronize</keyword>
249
+ <keyword>cudaThreadExit</keyword>
250
+ <keyword>cudaThreadSynchronize</keyword>
251
+ <keyword>cudaUnbindTexture</keyword>
252
+ </context>
253
+
254
+ <context id="cuda">
255
+ <include>
43
256
  <context ref="def:c-like-comment"/>
44
-
45
257
  <context ref="c:string"/>
46
-
47
258
  <context ref="c:escaped-character"/>
48
-
49
- <context ref="c:storage-class"/>
50
-
259
+ <context ref="c:storage-class"/>
51
260
  <context ref="def:c-like-comment-multiline"/>
52
261
  <context ref="def:c-like-close-comment-outside-comment"/>
53
-
54
262
  <context ref="c:char"/>
55
-
56
263
  <context ref="def:decimal"/>
57
-
58
264
  <context ref="def:float"/>
59
-
60
- <context ref="c:hexadecimal"/>
61
-
62
- <context ref="c:octal"/>
63
-
64
- <context ref="c:keywords"/>
65
-
66
- <context id="cuda-keywords" style-ref="keyword">
67
- <keyword>__global__</keyword>
68
- <keyword>__host__</keyword>
69
- <keyword>__device__</keyword>
70
- <keyword>__constant__</keyword>
71
- <keyword>__shared__</keyword>
72
- </context>
73
-
74
- <context ref="c:types" />
75
-
76
- <context id="cuda-types" style-ref="data-type">
77
- <keyword>uint</keyword>
78
- <keyword>int1 </keyword>
79
- <keyword>uint1</keyword>
80
- <keyword>int2</keyword>
81
- <keyword>uint2</keyword>
82
- <keyword>int3</keyword>
83
- <keyword>uint3</keyword>
84
- <keyword>int4</keyword>
85
- <keyword>uint4</keyword>
86
- <keyword>float1</keyword>
87
- <keyword>float2</keyword>
88
- <keyword>float3</keyword>
89
- <keyword>float4</keyword>
90
- <keyword>char1</keyword>
91
- <keyword>char2</keyword>
92
- <keyword>char3</keyword>
93
- <keyword>char4</keyword>
94
- <keyword>uchar1</keyword>
95
- <keyword>uchar2</keyword>
96
- <keyword>uchar3</keyword>
97
- <keyword>uchar4</keyword>
98
- <keyword>short1</keyword>
99
- <keyword>short2</keyword>
100
- <keyword>short3</keyword>
101
- <keyword>short4</keyword>
102
- <keyword>dim1</keyword>
103
- <keyword>dim2</keyword>
104
- <keyword>dim3</keyword>
105
- <keyword>dim4</keyword>
106
- </context>
107
-
108
- <context id="cudaglobal" style-ref="global-var">
109
- <keyword>gridDim</keyword>
110
- <keyword>blockIdx</keyword>
111
- <keyword>blockDim</keyword>
112
- <keyword>threadIdx</keyword>
113
- </context>
114
-
115
- <context id="kernel-call" style-ref="latex:display-math">
116
- <start>&lt;&lt;&lt;</start>
117
- <end>&gt;&gt;&gt;</end>
118
- </context>
119
-
120
- <context id="cudaatom" style-ref="cuda-device">
121
- <keyword>atomicAdd</keyword>
122
- <keyword>atomicAnd</keyword>
123
- <keyword>atomicCAS</keyword>
124
- <keyword>atomicDec</keyword>
125
- <keyword>atomicExch</keyword>
126
- <keyword>atomicInc</keyword>
127
- <keyword>atomicMax</keyword>
128
- <keyword>atomicMin</keyword>
129
- <keyword>atomicOr</keyword>
130
- <keyword>atomicSub</keyword>
131
- <keyword>atomicXor</keyword>
132
- </context>
133
-
134
- <context id="cudadev" style-ref="cuda-device">
135
- <keyword>tex1D</keyword>
136
- <keyword>tex1Dfetch</keyword>
137
- <keyword>tex2D</keyword>
138
- <keyword>__float_as_int</keyword>
139
- <keyword>__int_as_float</keyword>
140
- <keyword>__float2int_rn</keyword>
141
- <keyword>__float2int_rz</keyword>
142
- <keyword>__float2int_ru</keyword>
143
- <keyword>__float2int_rd</keyword>
144
- <keyword>__float2uint_rn</keyword>
145
- <keyword>__float2uint_rz</keyword>
146
- <keyword>__float2uint_ru</keyword>
147
- <keyword>__float2uint_rd</keyword>
148
- <keyword>__int2float_rn</keyword>
149
- <keyword>__int2float_rz</keyword>
150
- <keyword>__int2float_ru</keyword>
151
- <keyword>__int2float_rd</keyword>
152
- <keyword>__uint2float_rn</keyword>
153
- <keyword>__uint2float_rz</keyword>
154
- <keyword>__uint2float_ru</keyword>
155
- <keyword>__uint2float_rd</keyword>
156
- <keyword>__fadd_rz</keyword>
157
- <keyword>__fmul_rz</keyword>
158
- <keyword>__fdividef</keyword>
159
- <keyword>__mul24</keyword>
160
- <keyword>__umul24</keyword>
161
- <keyword>__mulhi</keyword>
162
- <keyword>__umulhi</keyword>
163
- <keyword>__mul64hi</keyword>
164
- <keyword>__umul64hi</keyword>
165
- <keyword>min</keyword>
166
- <keyword>umin</keyword>
167
- <keyword>fminf</keyword>
168
- <keyword>fmin</keyword>
169
- <keyword>max</keyword>
170
- <keyword>umax</keyword>
171
- <keyword>fmaxf</keyword>
172
- <keyword>fmax</keyword>
173
- <keyword>abs</keyword>
174
- <keyword>fabsf</keyword>
175
- <keyword>fabs</keyword>
176
- <keyword>sqrtf</keyword>
177
- <keyword>sqrt</keyword>
178
- <keyword>sinf</keyword>
179
- <keyword>__sinf</keyword>
180
- <keyword>sin</keyword>
181
- <keyword>cosf</keyword>
182
- <keyword>__cosf</keyword>
183
- <keyword>cos</keyword>
184
- <keyword>sincosf</keyword>
185
- <keyword>__sincosf</keyword>
186
- <keyword>expf</keyword>
187
- <keyword>__expf</keyword>
188
- <keyword>exp</keyword>
189
- <keyword>logf</keyword>
190
- <keyword>__logf</keyword>
191
- <keyword>log</keyword>
192
- </context>
193
-
194
- <context id="cuda-runtime" style-ref="cuda-global">
195
- <keyword>cudaBindTexture</keyword>
196
- <keyword>cudaBindTextureToArray</keyword>
197
- <keyword>cudaChooseDevice</keyword>
198
- <keyword>cudaConfigureCall</keyword>
199
- <keyword>cudaCreateChannelDesc</keyword>
200
- <keyword>cudaD3D10GetDevice</keyword>
201
- <keyword>cudaD3D10MapResources</keyword>
202
- <keyword>cudaD3D10RegisterResource</keyword>
203
- <keyword>cudaD3D10ResourceGetMappedArray</keyword>
204
- <keyword>cudaD3D10ResourceGetMappedPitch</keyword>
205
- <keyword>cudaD3D10ResourceGetMappedPointer</keyword>
206
- <keyword>cudaD3D10ResourceGetMappedSize</keyword>
207
- <keyword>cudaD3D10ResourceGetSurfaceDimensions</keyword>
208
- <keyword>cudaD3D10ResourceSetMapFlags</keyword>
209
- <keyword>cudaD3D10SetDirect3DDevice</keyword>
210
- <keyword>cudaD3D10UnmapResources</keyword>
211
- <keyword>cudaD3D10UnregisterResource</keyword>
212
- <keyword>cudaD3D9GetDevice</keyword>
213
- <keyword>cudaD3D9GetDirect3DDevice</keyword>
214
- <keyword>cudaD3D9MapResources</keyword>
215
- <keyword>cudaD3D9RegisterResource</keyword>
216
- <keyword>cudaD3D9ResourceGetMappedArray</keyword>
217
- <keyword>cudaD3D9ResourceGetMappedPitch</keyword>
218
- <keyword>cudaD3D9ResourceGetMappedPointer</keyword>
219
- <keyword>cudaD3D9ResourceGetMappedSize</keyword>
220
- <keyword>cudaD3D9ResourceGetSurfaceDimensions</keyword>
221
- <keyword>cudaD3D9ResourceSetMapFlags</keyword>
222
- <keyword>cudaD3D9SetDirect3DDevice</keyword>
223
- <keyword>cudaD3D9UnmapResources</keyword>
224
- <keyword>cudaD3D9UnregisterResource</keyword>
225
- <keyword>cudaEventCreate</keyword>
226
- <keyword>cudaEventDestroy</keyword>
227
- <keyword>cudaEventElapsedTime</keyword>
228
- <keyword>cudaEventQuery</keyword>
229
- <keyword>cudaEventRecord</keyword>
230
- <keyword>cudaEventSynchronize</keyword>
231
- <keyword>cudaFree</keyword>
232
- <keyword>cudaFreeArray</keyword>
233
- <keyword>cudaFreeHost </keyword>
234
- <keyword>cudaGetChannelDesc</keyword>
235
- <keyword>cudaGetDevice</keyword>
236
- <keyword>cudaGetDeviceCount</keyword>
237
- <keyword>cudaGetDeviceProperties</keyword>
238
- <keyword>cudaGetErrorString</keyword>
239
- <keyword>cudaGetLastError</keyword>
240
- <keyword>cudaGetSymbolAddress</keyword>
241
- <keyword>cudaGetSymbolSize</keyword>
242
- <keyword>cudaGetTextureAlignmentOffset</keyword>
243
- <keyword>cudaGetTextureReference</keyword>
244
- <keyword>cudaGLMapBufferObject</keyword>
245
- <keyword>cudaGLRegisterBufferObject</keyword>
246
- <keyword>cudaGLSetGLDevice</keyword>
247
- <keyword>cudaGLUnmapBufferObject</keyword>
248
- <keyword>cudaGLUnregisterBufferObject</keyword>
249
- <keyword>cudaLaunch</keyword>
250
- <keyword>cudaMalloc</keyword>
251
- <keyword>cudaMalloc3D</keyword>
252
- <keyword>cudaMalloc3DArray</keyword>
253
- <keyword>cudaMallocArray</keyword>
254
- <keyword>cudaMallocHost</keyword>
255
- <keyword>cudaMallocPitch</keyword>
256
- <keyword>cudaMemcpy</keyword>
257
- <keyword>cudaMemcpy2D</keyword>
258
- <keyword>cudaMemcpy2DArrayToArray</keyword>
259
- <keyword>cudaMemcpy2DFromArray</keyword>
260
- <keyword>cudaMemcpy2DToArray</keyword>
261
- <keyword>cudaMemcpy3D</keyword>
262
- <keyword>cudaMemcpyArrayToArray</keyword>
263
- <keyword>cudaMemcpyFromArray</keyword>
264
- <keyword>cudaMemcpyFromSymbol</keyword>
265
- <keyword>cudaMemcpyToArray</keyword>
266
- <keyword>cudaMemcpyToSymbol</keyword>
267
- <keyword>cudaMemset</keyword>
268
- <keyword>cudaMemset2D</keyword>
269
- <keyword>cudaMemset3D</keyword>
270
- <keyword>cudaSetDevice</keyword>
271
- <keyword>cudaSetupArgument</keyword>
272
- <keyword>cudaStreamCreate</keyword>
273
- <keyword>cudaStreamDestroy</keyword>
274
- <keyword>cudaStreamQuery</keyword>
275
- <keyword>cudaStreamSynchronize</keyword>
276
- <keyword>cudaThreadExit</keyword>
277
- <keyword>cudaThreadSynchronize</keyword>
278
- <keyword>cudaUnbindTexture</keyword>
279
- </context>
280
-
265
+ <context ref="c:hexadecimal"/>
266
+ <context ref="c:octal"/>
267
+ <context ref="c:keywords"/>
268
+ <context ref="cuda-keywords"/>
269
+ <context ref="c:types"/>
270
+ <context ref="cuda-types"/>
271
+ <context ref="cudaglobal"/>
272
+ <context ref="kernel-call"/>
273
+ <context ref="cudaatom"/>
274
+ <context ref="cudadev"/>
275
+ <context ref="cuda-runtime"/>
281
276
  <context ref="c:preprocessor"/>
282
-
283
277
  <context ref="c:include"/>
284
-
285
278
  <context ref="c:if0-comment"/>
286
- </include>
287
- </context>
288
- </definitions>
279
+ </include>
280
+ </context>
281
+ </definitions>
289
282
  </language>
290
-
291
-
292
-
@@ -81,7 +81,7 @@
81
81
  (".*?"|&lt;.*&gt;)
82
82
  </match>
83
83
  <include>
84
- <context id="included-file" sub-pattern="2" style-ref="included-file"/>
84
+ <context id="included-file" sub-pattern="2" style-ref="included-file" class="path"/>
85
85
  </include>
86
86
  </context>
87
87