Lines Matching +defs:src +defs:hash
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
699 cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src)
701 if (ds->cb_size != src->cb_size)
704 bcopy(src->cb_data, ds->cb_data, ds->cb_size);
705 ds->cb_hrtime = src->cb_hrtime;
706 ds->cb_tick = src->cb_tick;
820 cpc_strhash_t *hash;
825 if ((hash = __cpc_strhash_alloc()) == NULL) {
847 if (__cpc_strhash_add(hash, p) == -1)
855 if (__cpc_strhash_add(hash, p) == -1)
860 while ((p = __cpc_strhash_next(hash)) != NULL)
864 __cpc_strhash_free(hash);