Searched refs:cam_strmatch (Results 1 - 6 of 6) sorted by relevance
/freebsd-12-stable/lib/libcam/tests/ |
H A D | cam_test.c | 41 ATF_TC_WITHOUT_HEAD(cam_strmatch); variable 42 ATF_TC_BODY(cam_strmatch, tc) 45 ATF_CHECK_EQ(0, cam_strmatch("foo", "foo", 3)); 46 ATF_CHECK_NE(0, cam_strmatch("foo", "bar", 3)); 47 ATF_CHECK_NE(0, cam_strmatch("foo", "foobar", 3)); 50 ATF_CHECK_EQ(0, cam_strmatch("fooxuehfxeuf", "foo", 3)); 51 ATF_CHECK_NE(0, cam_strmatch("foo\0bar", "foo", 7)); 54 ATF_CHECK_EQ(0, cam_strmatch("foo ", "foo", 16)); 57 ATF_CHECK_EQ(0, cam_strmatch("foobar", "foo*", 6)); 58 ATF_CHECK_EQ(0, cam_strmatch("fooba [all...] |
/freebsd-12-stable/sys/cam/ |
H A D | cam.c | 223 cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len) function 232 if (cam_strmatch(str, pattern, str_len) == 0)
|
H A D | cam.h | 384 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len);
|
/freebsd-12-stable/sys/cam/ata/ |
H A D | ata_all.c | 1012 if ((cam_strmatch(ident->model, entry->product, 1014 && (cam_strmatch(ident->revision, entry->revision, 1030 if ((cam_strmatch(ident->model, entry->product, 1032 && (cam_strmatch(ident->revision, entry->revision,
|
/freebsd-12-stable/sbin/camcontrol/ |
H A D | fwdownload.c | 314 if (!cam_strmatch((const u_char *)vendor,
|
/freebsd-12-stable/sys/cam/scsi/ |
H A D | scsi_all.c | 9092 && (cam_strmatch(inq->vendor, entry->vendor, sizeof(inq->vendor)) == 0) 9093 && (cam_strmatch(inq->product, entry->product, 9095 && (cam_strmatch(inq->revision, entry->revision, 9119 && (cam_strmatch(inq->vendor, entry->vendor, sizeof(inq->vendor)) == 0) 9120 && (cam_strmatch(inq->product, entry->product, 9122 && (cam_strmatch(inq->revision, entry->revision,
|
Completed in 122 milliseconds