Lines Matching refs:filt
635 filter_add(char **filt, char *what, uintptr_t base, size_t size)
640 if (*filt == NULL) {
641 *filt = malloc(1);
642 *filt[0] = '\0';
646 (void) sprintf(c, "%s(%s >= 0x%p && %s < 0x%p)", *filt[0] != '\0' ?
649 (void) sprintf(c, "%s(%s >= %p && %s < %p)", *filt[0] != '\0' ?
653 newlen = (len = strlen(*filt) + 1) + strlen(c);
655 bcopy(*filt, new, len);
657 free(*filt);
658 *filt = new;
662 filter_destroy(char **filt)
664 free(*filt);
665 *filt = NULL;
1130 char *filt = NULL, *ifilt = NULL;
1241 filter_add(&filt, "arg0", addr, size);
1243 filter_add(&filt, "caller", addr, size);
1344 if (filt != NULL) {
1345 predicate_add(&g_predicate, filt, NULL, 0);
1346 filter_destroy(&filt);