File: ttcache.xml

package info (click to toggle)
lazarus 2.2.6%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 219,980 kB
  • sloc: pascal: 1,944,919; xml: 357,634; makefile: 270,608; cpp: 57,115; sh: 3,249; java: 609; perl: 297; sql: 222; ansic: 137
file content (272 lines) | stat: -rw-r--r-- 7,641 bytes parent folder | download | duplicates (4)
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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="freetypelaz">
    <!--
      ====================================================================
        TTCache
      ====================================================================
    -->
    <module name="TTCache">
      <short>Defines and implements object caches used in the FreeType library.</short>
      <descr>
        <p>
          An object class is a structure layout that encapsulate one given type of data used by the FreeType engine. Each object class is completely described by:
        </p>
        <p>
          A 'root' or 'leading' structure containing the first important fields of the class. The root structure is always of fixed size. It is implemented as a simple C structure, and may contain several pointers to sub-tables that can be sized and allocated dynamically.
        </p>
        <p>
          Examples: TFace, TInstance, TGlyph and TExecution_Context (defined in TTObjs).
        </p>
        <p>
          There is a difference between 'child' pointers and 'peer' pointers. A 'child' pointer points to a sub-table that is owned by the object, while a 'peer' pointer points to any other kind of data the object isn't responsible for. An object class is thus usually a 'tree' of 'child' tables.
        </p>
        <p>
          Each object class needs a constructor and a destructor. A constructor is a function which receives the address of freshly allocated and zeroed object root structure and 'builds' all the valid child data that must be associated to the object before it becomes 'valid'.
        </p>
        <p>
          A destructor does the inverse job : given the address of a valid object, it must discards all its child data and zero its main fields (essentially the pointers and array sizes found in the root fields).
        </p>
        <p>
          Copyright 1996, 1997 by David Turner, Robert Wilhelm, and Werner Lemberg.
        </p>
      </descr>

      <!-- unresolved external references -->
      <element name="TTTypes"/>

      <element name="PList_Element">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TList_Element">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>
      <element name="TList_Element.next">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>
      <element name="TList_Element.data">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TSingle_List">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TConstructor">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>
      <element name="TConstructor.Result">
        <short></short>
      </element>
      <element name="TConstructor._object">
        <short></short>
      </element>
      <element name="TConstructor._parent">
        <short></short>
      </element>

      <element name="TDestructor">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>
      <element name="TDestructor.Result">
        <short></short>
      </element>
      <element name="TDestructor._object">
        <short></short>
      </element>

      <element name="PCache_Class">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache_Class">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache_Class.Object_Size">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache_Class.Idle_Limit">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache_Class.Init">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache_Class.Done">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="PCache">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache.clazz">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache.active">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache.idle">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="TCache.idle_count">
        <short></short>
        <descr></descr>
        <seealso></seealso>
      </element>

      <element name="Cache_Create">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Cache_Create.Result">
        <short></short>
      </element>
      <element name="Cache_Create.clazz">
        <short></short>
      </element>
      <element name="Cache_Create.cache">
        <short></short>
      </element>

      <element name="Cache_Destroy">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Cache_Destroy.Result">
        <short></short>
      </element>
      <element name="Cache_Destroy.cache">
        <short></short>
      </element>

      <element name="Cache_New">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Cache_New.Result">
        <short></short>
      </element>
      <element name="Cache_New.cache">
        <short></short>
      </element>
      <element name="Cache_New.new_object">
        <short></short>
      </element>
      <element name="Cache_New.parent_data">
        <short></short>
      </element>

      <element name="Cache_Done">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Cache_Done.Result">
        <short></short>
      </element>
      <element name="Cache_Done.cache">
        <short></short>
      </element>
      <element name="Cache_Done.obj">
        <short></short>
      </element>

      <element name="Element_New">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Element_New.Result">
        <short></short>
      </element>

      <element name="Element_Done">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="Element_Done.element">
        <short></short>
      </element>

      <element name="TTCache_Init">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="TTCache_Init.Result">
        <short></short>
      </element>

      <element name="TTCache_Done">
        <short></short>
        <descr></descr>
        <errors></errors>
        <seealso></seealso>
      </element>
      <element name="TTCache_Done.Result">
        <short></short>
      </element>

    </module>
    <!-- TTCache -->
  </package>
</fpdoc-descriptions>