FreeBSD/cddl/contrib/opensolaris/tools/ctf/cvt/merge.c
/*
 * Mapping of child type IDs to parent type IDs
 */
Mapping of child type IDs to parent type IDs
Mapping of child type IDs to parent type IDs
static void
add_mapping(alist_t *ta, tid_t srcid, tid_t tgtid)
{
	debug(3, "Adding mapping %u <%x> => %u <%x>\n", srcid, srcid, tgtid, tgtid);
	assert(!alist_find(ta, (void *)(uintptr_t)srcid, NULL));
	assert(srcid != 0 && tgtid != 0);
	alist_add(ta, (void *)(uintptr_t)srcid, (void *)(uintptr_t)tgtid);
}
static void add_mapping ( alist_t * ta , tid_t srcid , tid_t tgtid ) { debug ( 3 , " \n " , srcid , srcid , tgtid , tgtid ) ; assert ( ! alist_find ( ta , ( void * ) ( uintptr_t ) srcid , NULL ) ) ; assert ( srcid != 0 && tgtid != 0 ) ; alist_add ( ta , ( void * ) ( uintptr_t ) srcid , ( void * ) ( uintptr_t ) tgtid ) ; }
Mapping of child type IDs to parent type IDs
Mapping of child type IDs to parent type IDs