Lines Matching defs:idx
180 * @param idx index of object, 0 based, must be smaller then
187 heim_array_copy_value(heim_array_t array, size_t idx)
189 if (idx >= array->len)
191 return heim_retain(array->val[idx]);
195 * Delete value at idx
198 * @param idx the key to delete
202 heim_array_delete_value(heim_array_t array, size_t idx)
205 if (idx >= array->len)
207 obj = array->val[idx];
211 if (idx < array->len)
212 memmove(&array->val[idx], &array->val[idx + 1],
213 (array->len - idx) * sizeof(array->val[0]));
220 * Get value at idx
223 * @param idx the key to delete