Lines Matching refs:used
48 idx = pchk->used > 0 ? 0 : -1 ;
95 { for (k = iterator->current ; k < pchk->used ; k++)
101 else if (iterator->current < pchk->used)
112 { pchk->used = 0 ;
119 else if (pchk->used > pchk->count)
121 else if (pchk->used == pchk->count)
133 pchk->chunks [pchk->used] = *rchunk ;
135 pchk->used ++ ;
170 for (k = 0 ; k < pchk->used ; k++)
181 for (k = 0 ; k < pchk->used ; k++)
189 { if (marker->current < pchk->used)
230 { pchk->used = 0 ;
237 else if (pchk->used >= pchk->count)
253 pchk->chunks [pchk->used].hash = strlen (chunk_info->id) > 4 ? hash_of_str (chunk_info->id) : u.marker ;
254 pchk->chunks [pchk->used].mark32 = u.marker ;
255 pchk->chunks [pchk->used].len = len ;
256 pchk->chunks [pchk->used].data = psf_memdup (chunk_info->data, chunk_info->datalen) ;
258 pchk->used ++ ;