Lines Matching refs:filt
601 filter_add(char **filt, char *what, uintptr_t base, uintptr_t size)
606 if (*filt == NULL) {
607 *filt = malloc(1);
608 *filt[0] = '\0';
612 (void) sprintf(c, "%s(%s >= 0x%p && %s < 0x%p)", *filt[0] != '\0' ?
615 (void) sprintf(c, "%s(%s >= %p && %s < %p)", *filt[0] != '\0' ?
619 newlen = (len = strlen(*filt) + 1) + strlen(c);
621 bcopy(*filt, new, len);
623 free(*filt);
624 *filt = new;
628 filter_destroy(char **filt)
630 free(*filt);
631 *filt = NULL;
1087 char *filt = NULL, *ifilt = NULL;
1198 filter_add(&filt, "arg0", addr, size);
1200 filter_add(&filt, "caller", addr, size);
1299 if (filt != NULL) {
1300 predicate_add(&g_predicate, filt, NULL, 0);
1301 filter_destroy(&filt);