/freebsd-src/sys/netpfil/pf/ |
H A D | pf_osfp.c | 347 /* Find a fingerprint in the list */ 349 pf_osfp_find(struct pf_osfp_list *list, struct pf_os_fingerprint *find, in pf_osfp_find() argument 357 if (f->_field != find->_field) \ in pf_osfp_find() 360 if (f->_field == 0 || find->_field % f->_field) \ in pf_osfp_find() 366 if (f->fp_tcpopts != find->fp_tcpopts || in pf_osfp_find() 367 f->fp_optcnt != find->fp_optcnt || in pf_osfp_find() 368 f->fp_ttl < find->fp_ttl || in pf_osfp_find() 369 f->fp_ttl - find->fp_ttl > ttldiff || in pf_osfp_find() 371 (find->fp_flags & (PF_OSFP_DF|PF_OSFP_TS0))) in pf_osfp_find() 379 if (find in pf_osfp_find() 424 pf_osfp_find_exact(struct pf_osfp_list * list,struct pf_os_fingerprint * find) pf_osfp_find_exact() argument 494 struct pf_os_fingerprint *f, *f2, find; pf_osfp_validate() local [all...] |
/freebsd-src/crypto/openssh/regress/ |
H A D | sshsig.sh | 178 trace "$tid: key type $t find-principals with valid lifespan" 179 ${SSHKEYGEN} -vvv -Y find-principals -s $sigfile \ 182 fail "failed find-principals for $t key with valid expiry interval" 184 trace "$tid: key type $t find principals with not-yet-valid lifespan" 185 ${SSHKEYGEN} -vvv -Y find-principals -s $sigfile \ 188 fail "failed find-principals for $t not-yet-valid key" 190 trace "$tid: key type $t find-principals with expired lifespan" 191 ${SSHKEYGEN} -vvv -Y find-principals -s $sigfile \ 194 fail "failed find-principals for $t with expired key" 196 trace "$tid: key type $t find-principals with expired lifespan (now)" [all …]
|
H A D | keygen-knownhosts.sh | 61 fail "didn't find $_name" 76 # Find key 80 check_find host-a "simple find" 82 # find CA key 85 check_find host-c "find CA key" 87 # find revoked key 90 check_find host-d "find revoked key" 92 # find key with wildcard 95 check_find host-e.somedomain "find wildcard key" 97 # find key among multiple hosts [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | interval_map_test.cpp | 24 EXPECT_TRUE(M.find(0) == M.end()); in TEST() 35 EXPECT_EQ(M.find(7), M.begin()); in TEST() 36 EXPECT_EQ(M.find(8), M.end()); in TEST() 53 EXPECT_EQ(M1.find(7), M1.find(8)); // 7 and 8 should point to same range. in TEST() 65 EXPECT_NE(M2.find(7), M2.find(8)); // 7 and 8 should be different ranges. in TEST() 82 EXPECT_EQ(M1.find(7), M1.find(8)); // 7 and 8 should point to same range. in TEST() 110 EXPECT_NE(M1.find(7), M1.find(9)); in TEST() 117 EXPECT_EQ(M1.find(7), M1.find(8)); // 7, 8, and 9 should point to same range. in TEST() 118 EXPECT_EQ(M1.find(8), M1.find(9)); in TEST() 132 EXPECT_NE(M2.find(7), M2.find(8)); // All keys should map to different ranges. in TEST() [all …]
|
H A D | interval_set_test.cpp | 24 EXPECT_TRUE(S.find(0) == S.end()); in TEST() 35 EXPECT_EQ(S.find(7), S.begin()); in TEST() 36 EXPECT_EQ(S.find(8), S.end()); in TEST() 48 EXPECT_EQ(S.find(7), S.find(8)); // 7 and 8 should point to same range. in TEST() 60 EXPECT_EQ(S.find(7), S.find(8)); // 7 and 8 should point to same range. in TEST() 71 EXPECT_NE(S.find(7), S.find(9)); in TEST() 78 EXPECT_EQ(S.find(7), S.find(8)); // 7, 8, and 9 should point to same range. in TEST() 79 EXPECT_EQ(S.find(8), S.find(9)); in TEST()
|
/freebsd-src/sbin/ipf/libipf/ |
H A D | interror.c | 39 { 11, "cannot find rule function" }, 40 { 12, "cannot find rule group" }, 62 { 34, "could not find function" }, 66 { 38, "group map cannot find it's hash table" }, 103 { 75, "cannot find tunable name to delete" }, 105 { 77, "could not find tunable" }, 110 { 82, "could not find token to delete" }, 121 { 93, "could not find token for generic iterator" }, 160 { 132, "cannot find source lookup pool" }, 162 { 134, "cannot find destination lookup pool" }, [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVDuplicatesTracker.h | 148 if (find(V, MF).isValid()) in classof() 165 Register find(KeyTy V, const MachineFunction *MF) const { 166 auto iter = Storage.find(V); 169 auto iter2 = Map.find(MF); 255 Register find(const Type *Ty, const MachineFunction *MF) { 256 return TT.find(unifyPtrType(Ty), MF); 259 Register find(const Type *PointeeTy, unsigned AddressSpace, 261 return ST.find( 265 Register find(const Constant *C, const MachineFunction *MF) { 266 return CT.find(const_cas [all...] |
/freebsd-src/usr.bin/find/ |
H A D | find.1 | 32 .Dt FIND 1 35 .Nm find 154 .Ql find -s 156 .Ql "find | sort" 160 .Ql find -s 166 .Ql "find | sort" 330 GNU find implements this as a primary in mistaken emulation of 473 This is a GNU find extension. 523 command can be used to find out the types of file systems 537 for compatibility with GNU find [all...] |
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 70 # Run the command as the specified user, and find the new history. 82 log_fail "Didn't find \"$histcmd\" in pool history" 117 log_note "Couldn't find long information for \"$cmd\"" 142 log_note "Didn't find hold on $ds with $tag" 171 log_note "Didn't find rollback clone swap in pool history" 176 log_note "Didn't find rollback destroy in pool history" 197 log_note "Didn't find inherit history for $ds" 247 log_note "Couldn't find $code in $NEW_HISTORY" 256 log_note "Couldn't find $code in $NEW_HISTORY" 268 log_note "Couldn't find $code in $NEW_HISTORY" [all …]
|
/freebsd-src/lib/libc/string/ |
H A D | strcasestr.c | 45 * Find the first occurrence of find in s, ignore case. 48 strcasestr_l(const char *s, const char *find, locale_t locale) in strcasestr_l() argument 54 if ((c = *find++) != 0) { in strcasestr_l() 56 len = strlen(find); in strcasestr_l() 62 } while (strncasecmp_l(s, find, len, locale) != 0); in strcasestr_l() 68 strcasestr(const char *s, const char *find) in strcasestr() argument 70 return strcasestr_l(s, find, __get_locale()); in strcasestr()
|
H A D | wcsstr.c | 38 * Find the first occurrence of find in s. 41 wcsstr(const wchar_t * __restrict s, const wchar_t * __restrict find) in wcsstr() argument 46 if ((c = *find++) != L'\0') { in wcsstr() 47 len = wcslen(find); in wcsstr() 53 } while (wcsncmp(s, find, len) != 0); in wcsstr()
|
H A D | strnstr.c | 39 * Find the first occurrence of find in s, where the search is limited to the 43 strnstr(const char *s, const char *find, size_t slen) in strnstr() argument 48 if ((c = *find++) != '\0') { in strnstr() 49 len = strlen(find); in strnstr() 57 } while (strncmp(s, find, len) != 0); in strnstr()
|
/freebsd-src/tests/sys/cddl/zfs/tests/acl/trivial/ |
H A D | zfs_acl_find_001_pos.ksh | 36 # Verifies ability to find files with attribute with -xattr flag and using 56 log_assert "Verifies ability to find files with attribute with" \ 71 ff=$(usr_exec $FIND $INI_DIR -type f -name ${f##*/} \ 74 log_fail "find file containing attribute fail." 76 log_note "find $f by '-xattr'." 82 fa=$(usr_exec $FIND $INI_DIR -type f -name ${f##*/} \ 85 log_fail "find file attribute fail" 90 log_note "find all attribute files of $f" 96 log_pass "find files with -xattr passed."
|
H A D | zfs_acl_find_002_neg.ksh | 36 # Verifies ability to find files with attribute with -xattr flag and using 79 ff=$(usr_exec $FIND $INI_DIR -type f -name ${f##*/} \ 82 log_fail "find not containing attribute should fail." 87 fa=$(usr_exec $FIND $INI_DIR -type f -name ${f##*/} \ 90 log_fail "find file attribute should fail." 94 log_note "Failed to find $f and its attribute file as expected." 102 log_pass "find files which have no attrabute files with -xattr passed."
|
/freebsd-src/crypto/heimdal/lib/sl/ |
H A D | slc-gram.y | 284 find(struct assignment *as, const char *name) in find() function 326 a = find(as, "name"); in gen_command() 332 b = find(as, "argument"); in gen_command() 337 b = find(as, "help"); in gen_command() 365 lopt = find(as, "long"); in make_name() 367 lopt = find(as, "name"); in make_name() 371 type = find(as, "type"); in make_name() 478 type = find(tmp->u.assignment, "type"); in gen_options() 498 name = find(as, "name"); in gen_wrapper() 501 arg = find(as, "argument"); in gen_wrapper() [all …]
|
/freebsd-src/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | iidesc.c | 74 iidesc_find_t *find = arg2; in iidesc_cmp() local 75 iidesc_t *tgt = find->iif_tgt; in iidesc_cmp() 81 find->iif_ret = src; in iidesc_cmp() 89 iidesc_find_t find; in iidesc_add() local 91 find.iif_tgt = new; in iidesc_add() 92 find.iif_ret = NULL; in iidesc_add() 94 (void) hash_match(hash, new, iidesc_cmp, &find); in iidesc_add() 96 if (find.iif_ret != NULL) { in iidesc_add() 97 iidesc_t *old = find.iif_ret; in iidesc_add()
|
/freebsd-src/sys/libkern/ |
H A D | strstr.c | 39 * Find the first occurrence of find in s. 42 strstr(const char *s, const char *find) in strstr() argument 47 if ((c = *find++) != 0) { in strstr() 48 len = strlen(find); in strstr() 54 } while (strncmp(s, find, len) != 0); in strstr()
|
H A D | strnstr.c | 42 * Find the first occurrence of find in s, where the search is limited to the 46 strnstr(const char *s, const char *find, size_t slen) in strnstr() argument 51 if ((c = *find++) != '\0') { in strnstr() 52 len = strlen(find); in strnstr() 60 } while (strncmp(s, find, len) != 0); in strnstr()
|
H A D | strcasestr.c | 45 * Find the first occurrence of find in s, ignore case. 48 strcasestr(const char *s, const char *find) in strcasestr() argument 53 if ((c = *find++) != 0) { in strcasestr() 55 len = strlen(find); in strcasestr() 61 } while (strncasecmp(s, find, len) != 0); in strcasestr()
|
/freebsd-src/contrib/atf/test-programs/ |
H A D | srcdir_test.sh | 35 atf_set "descr" "Checks that the program can find its files if" \ 48 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 55 atf_set "descr" "Checks that the program can find its files if" \ 71 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 81 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 88 atf_set "descr" "Checks that the program can find its files when" \ 102 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 130 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
|
/freebsd-src/contrib/netbsd-tests/usr.bin/find/ |
H A D | t_find.sh | 33 atf_set "descr" "Test that 'find -empty' does not error out " \ 46 -e not-empty -x "find /var -empty -type d" 51 atf_set "descr" "Test that find(1) with -exit works (PR bin/44973)" 56 -s exit:0 -x "find /etc -type f -exit" 61 atf_set "descr" "Test exit status from 'find -exit'" 66 atf_check -o ignore -e ignore -s exit:$num -x "find / -exit $num"
|
/freebsd-src/crypto/openssh/openbsd-compat/ |
H A D | strcasestr.c | 46 * Find the first occurrence of find in s, ignore case. 49 strcasestr(const char *s, const char *find) in strcasestr() argument 54 if ((c = *find++) != 0) { in strcasestr() 56 len = strlen(find); in strcasestr() 62 } while (strncasecmp(s, find, len) != 0); in strcasestr()
|
/freebsd-src/contrib/mandoc/ |
H A D | compat_strcasestr.c | 44 * Find the first occurrence of find in s, ignore case. 47 strcasestr(const char *s, const char *find) in strcasestr() argument 52 if ((c = *find++) != 0) { in strcasestr() 54 len = strlen(find); in strcasestr() 60 } while (strncasecmp(s, find, len) != 0); in strcasestr()
|
/freebsd-src/lib/libfigpar/ |
H A D | string_m.c | 43 strcount(const char *source, const char *find) 50 if (source == NULL || find == NULL) in strcount() 53 /* Cache the length of find element */ in strcount() 54 flen = strlen(find); in strcount() 60 if (strncmp(p, find, flen) == 0) { /* found an instance */ in strcount() 71 * Replaces all occurrences of `find' in `source' with `replace'. 76 * replacement string is greater than the length of the find string, the result 88 replaceall(char *source, const char *find, const char *replace) 103 if (find == NULL) in replaceall() 108 flen = strlen(find); in replaceall() 45 strcount(const char * source,const char * find) strcount() argument 90 replaceall(char * source,const char * find,const char * replace) replaceall() argument [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 74 if ((Pos = LineStr.find("struct ")) != StringRef::npos) in LayoutOverrideSource() 76 else if ((Pos = LineStr.find("class ")) != StringRef::npos) in LayoutOverrideSource() 78 else if ((Pos = LineStr.find("union ")) != StringRef::npos) in LayoutOverrideSource() 83 // Find the name of the type. in LayoutOverrideSource() 90 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource() 102 Pos = LineStr.find("Alignment:"); in LayoutOverrideSource() 115 Pos = LineStr.find("sizeof="); in LayoutOverrideSource() 125 Pos = LineStr.find("align="); in LayoutOverrideSource() 140 Pos = LineStr.find("FieldOffsets: ["); in LayoutOverrideSource() 155 Pos = LineStr.find("VBaseOffsets: ["); in LayoutOverrideSource() [all …]
|