Home
last modified time | relevance | path

Searched refs:chain_ (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/enc/
Dbackward_references.c201 memset(p->chain_, 0xff, p->size_ * sizeof(*p->chain_)); in HashChainReset()
208 assert(p->chain_ == NULL); in VP8LHashChainInit()
210 p->chain_ = (int*)WebPSafeMalloc(size, sizeof(*p->chain_)); in VP8LHashChainInit()
211 if (p->chain_ == NULL) return 0; in VP8LHashChainInit()
219 WebPSafeFree(p->chain_); in VP8LHashChainClear()
221 p->chain_ = NULL; in VP8LHashChainClear()
241 p->chain_[pos] = p->hash_to_first_index_[hash_code]; in HashChainInsert()
274 pos = p->chain_[pos]) { in HashChainFindOffset()
301 pos = p->chain_[pos]) { in HashChainFindCopy()
Dbackward_references.h122 int32_t* chain_; member
/external/opencv3/3rdparty/libwebp/enc/
Dbackward_references.c41 int32_t* chain_; member
118 p->chain_ = (int*)WebPSafeMalloc((uint64_t)size, sizeof(*p->chain_)); in HashChainInit()
119 if (p->chain_ == NULL) { in HashChainInit()
123 p->chain_[i] = -1; in HashChainInit()
133 free(p->chain_); in HashChainDelete()
142 p->chain_[pos] = p->hash_to_first_index_[hash_code]; in HashChainInsert()
181 pos = p->chain_[pos]) { in HashChainFindCopy()