Lines Matching refs:item_size
76 unsigned int size,next,item_size;
79 static inline void array_init(array_t* array,unsigned int item_size)
84 array->item_size=item_size;
97 return array->pointer + index * array->item_size;
102 if((index + 1) * array->item_size > array->size) {
103 int new_size = (index + 32) * array->item_size;
128 if((array->next+count)*array->item_size>array->size) {
129 int increment=count*array->item_size;
135 memmove(array->pointer+(index+count)*array->item_size,
136 array->pointer+index*array->item_size,
137 (array->next-index)*array->item_size);
139 return array->pointer+index*array->item_size;
159 is=array->item_size;
197 assert((offset % array->item_size) == 0);
198 assert(offset/array->item_size < array->next);
199 return offset/array->item_size;
591 s->sectors_per_fat * 0x200 / s->fat.item_size - 1);
1198 assert((char*)s->cluster+s->cluster_size <= s->directory.pointer+s->directory.next*s->directory.item_size);
2860 assert(vvv->mapping.size >= vvv->mapping.item_size * vvv->mapping.next);
2861 assert(vvv->directory.size >= vvv->directory.item_size * vvv->directory.next);