Lines Matching refs:handle
30 * Generic handle table implementation.
51 /** Number of objects the handle can currently hold */
156 unsigned handle;
163 /* linear search for an empty handle */
171 handle = index + 1;
174 if(!handle)
185 return handle;
191 unsigned handle,
197 assert(handle);
198 if(!handle || !ht)
205 index = handle - 1;
215 return handle;
221 unsigned handle)
226 assert(handle);
227 if(!handle || !ht || handle > ht->size)
230 object = ht->objects[handle - 1];
238 unsigned handle)
244 assert(handle);
245 if(!handle || !ht || handle > ht->size)
248 index = handle - 1;
262 unsigned handle)
266 for(index = handle; index < ht->size; ++index) {