Lines Matching refs:storage

47 storage was a single block.
71 @param value The current value from the storage.
100 Creates a new mutable storage with elements of the given size.
102 memory for the set and its storage for values. This
107 to be stored in the storage. If this value is zero or
117 @param storage The storage to which the values are to be inserted.
119 @param range The range of values within the storage to insert. The
120 range location must be at least zero and not exceed the count of the storage.
122 increased by the length of the range. Thus this creates a gap in the storage
128 CF_EXPORT void CFStorageInsertValues(CFStorageRef storage, CFRange range);
132 Deletes the values of the storage in the specified range.
133 @param storage The storage from which the values are to be deleted.
135 @param range The range of values within the storage to delete. If the
137 length minus 1) are outside the index space of the storage (0
138 to N inclusive, where N is the count of the storage), the
143 CF_EXPORT void CFStorageDeleteValues(CFStorageRef storage, CFRange range);
147 Returns the number of values currently in the storage.
148 @param storage The storage to be queried. If this parameter is not a valid
150 @result The number of values in the storage.
152 CF_EXPORT CFIndex CFStorageGetCount(CFStorageRef storage);
161 @param storage The storage to be queried. If this parameter is not a
164 outside the index space of the storage (0 to N-1 inclusive,
165 where N is the count of the storage), the behavior is
172 @result The value with the given index in the storage.
174 CF_EXPORT void *CFStorageGetValueAtIndex(CFStorageRef storage, CFIndex idx, CFRange *validConsecutiveValueRange);
183 @param storage The storage to be queried. If this parameter is not a
186 outside the index space of the storage (0 to N-1 inclusive,
187 where N is the count of the storage), the behavior is
194 @result The value with the given index in the storage.
196 CF_EXPORT const void *CFStorageGetConstValueAtIndex(CFStorageRef storage, CFIndex idx, CFRange *validConsecutiveValueRange);
200 Fills the buffer with values from the storage.
201 @param storage The storage to be queried. If this parameter is not a
203 @param range The range of values within the storage to retrieve. If
206 storage (0 to N-1 inclusive, where N is the count of the
207 storage), the behavior is undefined. If the range length is
210 @param values A C array of to be filled with values from the storage.
212 in the same order in which they appear in the storage. If this
216 CF_EXPORT void CFStorageGetValues(CFStorageRef storage, CFRange range, void *values);
221 @param storage The storage to be operated upon. If this parameter is not
223 @param range The range of values within the storage to operate on. If the
225 length minus 1) are outside the index space of the storage (0
226 to N inclusive, where N is the count of the storage), the
231 the given storage. If this parameter is not a
233 is undefined. If there are values in the storage which the
242 CF_EXPORT void CFStorageApplyFunction(CFStorageRef storage, CFRange range, CFStorageApplierFunction applier, void *context);
247 @param storage The storage to be operated upon. If this parameter is not
249 @param range The range of values within the storage to operate on. If the
251 count of the storage, the behavior is undefined. If the
255 a buffer of contiguous objects in the storage, and the range of stored
262 CF_EXPORT void CFStorageApplyBlock(CFStorageRef storage, CFRange range, CFStorageEnumerationOptionFlags options, CFStorageApplierBlock applier);
269 @param storage The storage to be operated upon. If this parameter is not
271 @param range The range of values within the storage to operate on. If the
273 count of the storage, the behavior is undefined. If the
279 CF_EXPORT CFStorageRef CFStorageCreateWithSubrange(CFStorageRef storage, CFRange range);
283 Replaces a range of values in the storage.
284 @param storage The storage from which the specified values are to be
287 @param range The range of values within the storage to replace. If the
289 length minus 1) are outside the index space of the storage (0
290 to N inclusive, where N is the count of the storage), the
295 @param values A C array of the values to be copied into the storage.
296 The new values in the storage are ordered in the same order
302 CF_EXPORT void CFStorageReplaceValues(CFStorageRef storage, CFRange range, const void *values);
306 CF_EXPORT CFIndex __CFStorageGetCapacity(CFStorageRef storage);
307 CF_EXPORT CFIndex __CFStorageGetValueSize(CFStorageRef storage);
308 CF_EXPORT void __CFStorageSetAlwaysFrozen(CFStorageRef storage, bool alwaysFrozen);