| /freebsd/usr.bin/find/tests/ |
| H A D | find_test.sh | 49 atf_check -s exit:0 -o save:output find test -newer test/link 67 atf_check -s exit:0 -o "inline:test/link2\n" find test -samefile test/link2 89 find -s dir -printf '%p\n' 91 find -s dir -printf '%f\n' 93 find -s dir -printf '%h\n' 95 find -s dir -printf '%P\n' 97 find -s dir -printf '%H\n' 101 find -s dir -printf '%g\n' 103 find -s dir -printf '%G\n' 107 find -s dir -printf '%u\n' [all …]
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_osfp.c | 346 pf_osfp_find(struct pf_osfp_list *list, struct pf_os_fingerprint *find, in pf_osfp_find() argument 354 if (f->_field != find->_field) \ in pf_osfp_find() 357 if (f->_field == 0 || find->_field % f->_field) \ in pf_osfp_find() 363 if (f->fp_tcpopts != find->fp_tcpopts || in pf_osfp_find() 364 f->fp_optcnt != find->fp_optcnt || in pf_osfp_find() 365 f->fp_ttl < find->fp_ttl || in pf_osfp_find() 366 f->fp_ttl - find->fp_ttl > ttldiff || in pf_osfp_find() 368 (find->fp_flags & (PF_OSFP_DF|PF_OSFP_TS0))) in pf_osfp_find() 376 if (find->fp_mss == 0) in pf_osfp_find() 384 if ((find->fp_wsize % find->fp_mss || in pf_osfp_find() [all …]
|
| /freebsd/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/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/lib/libbsdconf/ |
| H A D | bsdconf_string.c | 23 bsdconf_strcount(const char *source, const char *find) in bsdconf_strcount() argument 29 if (source == NULL || find == NULL || *source == '\0' || *find == '\0') in bsdconf_strcount() 32 flen = strlen(find); in bsdconf_strcount() 33 for (p = source; (p = strstr(p, find)) != NULL; p += flen) in bsdconf_strcount() 58 bsdconf_replaceall(char *buf, size_t buflen, const char *find, in bsdconf_replaceall() argument 70 if (find == NULL) in bsdconf_replaceall() 74 flen = strlen(find); in bsdconf_replaceall() 80 n = bsdconf_strcount(buf, find); in bsdconf_replaceall() 98 while ((hit = strstr(src, find)) != NULL) { in bsdconf_replaceall()
|
| /freebsd/sys/tools/syscalls/tools/ |
| H A D | util.lua | 123 return type:find("*") or type:find("caddr_t") or type:find(default) 127 return type:find("[*][*]") or type:find("[*][ ]*const[ ]*[*]") 132 return type:find("^dev_t[ ]*$") or type:find("^id_t[ ]*$") or 133 type:find("^off_t[ ]*$") 165 if abiprefix ~= "" and funcname:find("^" .. abiprefix) then
|
| /freebsd/lib/libc/string/ |
| H A D | strcasestr.c | 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) 70 return strcasestr_l(s, find, __get_locale());
|
| H A D | strnstr.c | 43 (strnstr)(const char *s, const char *find, size_t slen) 48 if ((c = *find++) != '\0') { 49 len = strlen(find); 57 } while (strncmp(s, find, len) != 0);
|
| H A D | wcsstr.c | 41 (wcsstr)(const wchar_t * __restrict s, const wchar_t * __restrict find) 46 if ((c = *find++) != L'\0') { 47 len = wcslen(find); 53 } while (wcsncmp(s, find, len) != 0);
|
| /freebsd/sys/contrib/dev/acpica/ |
| H A D | acpica_prep.sh | 56 find ${wrk} -name ${i} -type d -print | xargs rm -r 59 find ${wrk} -name ${i} -type f -delete 65 find ${wrk} -name ${i} -type d -print | xargs -J % mv % ${dst} 68 find ${wrk} -type f -print | xargs -J % mv % ${dst} 72 find ${dst} -name "*.[chly]" -type f -print | \ 76 find ${dst}/common ${dst}/compiler ${dst}/components \ 81 find ${dst}/include/platform -name "*.h" -type f -print | \
|
| /freebsd/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/contrib/llvm-project/lldb/source/Target/ |
| H A D | UnixSignals.cpp | 118 collection::iterator signal = m_signals.find(signo); in AddSignalCode() 127 collection::iterator pos = m_signals.find(signo); in RemoveSignal() 134 const auto pos = m_signals.find(signo); in GetSignalAsStringRef() 147 collection::const_iterator pos = m_signals.find(signo); in GetSignalDescription() 153 pos->second.m_codes.find(*code); in GetSignalDescription() 197 return m_signals.find(signo) != m_signals.end(); in SignalIsValid() 229 collection::const_iterator pos = m_signals.find(current_signal); in GetNextSignalNumber() 244 const auto pos = m_signals.find(signo); in GetSignalInfo() 256 collection::const_iterator pos = m_signals.find(signo); in GetShouldSuppress() 263 collection::iterator pos = m_signals.find(signo); in SetShouldSuppress() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVFoldMemOffset.cpp | 116 if (auto I = RegToOffsetMap.find(User.getOperand(1).getReg()); in foldOffset() 119 if (auto I = RegToOffsetMap.find(User.getOperand(2).getReg()); in foldOffset() 124 if (auto I = RegToOffsetMap.find(User.getOperand(1).getReg()); in foldOffset() 127 if (auto I = RegToOffsetMap.find(User.getOperand(2).getReg()); in foldOffset() 132 if (auto I = RegToOffsetMap.find(User.getOperand(1).getReg()); in foldOffset() 135 if (auto I = RegToOffsetMap.find(User.getOperand(2).getReg()); in foldOffset() 140 if (auto I = RegToOffsetMap.find(User.getOperand(1).getReg()); in foldOffset() 143 if (auto I = RegToOffsetMap.find(User.getOperand(2).getReg()); in foldOffset() 154 if (auto I = RegToOffsetMap.find(User.getOperand(2).getReg()); in foldOffset() 160 if (auto I = RegToOffsetMap.find(User.getOperand(1).getReg()); in foldOffset() [all …]
|
| /freebsd/contrib/kyua/admin/ |
| H A D | clean-all.sh | 79 find . -name '#*' | xargs rm -rf 80 find . -name '*~' | xargs rm -rf 81 find . -name .deps | xargs rm -rf 82 find . -name .gdb_history | xargs rm -rf 83 find . -name .libs | xargs rm -rf 84 find . -name .tmp | xargs rm -rf
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVIRMapping.h | 187 if (auto DefIt = Defs.find(MI); DefIt != Defs.end()) { in add() 210 if (auto It = Defs.find(MI); It != Defs.end()) { in erase() 219 auto It = Vregs.find(HandleMF); in findMI() 229 assert(Defs.contains(MI) && Defs.find(MI)->second == HandleMF); in findMI() 232 Register find(SPIRV::IRHandle Handle, const MachineFunction *MF) { in find() function 242 Register find(const Type *PointeeTy, unsigned AddressSpace, in find() function 244 return find(SPIRV::irhandle_pointee(PointeeTy, AddressSpace), MF); in find() 266 Register find(const Value *V, const MachineFunction *MF) { in find() function 267 return find(SPIRV::handle(V), MF); in find() 270 Register find(const Type *T, bool RequiresExplicitLayout, in find() function [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_strings.lua | 50 assert(string.find("123456789", "345") == 3) 51 a,b = string.find("123456789", "345") 53 assert(string.find("1234567890123456789", "345", 3) == 3) 54 assert(string.find("1234567890123456789", "345", 4) == 13) 55 assert(string.find("1234567890123456789", "346", 4) == nil) 56 assert(string.find("1234567890123456789", ".45", -9) == 13) 57 assert(string.find("abcdefg", "\0", 5, 1) == nil) 58 assert(string.find("", "") == 1) 59 assert(string.find("", "", 1) == 1) 60 assert(not string.find("", "", 2)) [all …]
|
| /freebsd/include/ |
| H A D | string.h | 218 #define strstr(s, find) __qualsel((s), \ argument 219 (const char *)(strstr)((s), (find)), (strstr)((s), (find))) 226 #define strcasestr(s, find) __qualsel((s), \ argument 227 (const char *)(strcasestr)((s), (find)), (strcasestr)((s), (find))) 230 #define strnstr(s, find, slen) __qualsel((s), \ argument 231 (const char *)(strnstr)((s), (find), (slen)), \ 232 (strnstr)((s), (find), (slen)))
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TypeName.h | 46 Name.substr(Name.find(Key)); in getTypeName() 73 Name.substr(Name.find(Key)); in getTypeName() 81 SubstitutionKey.find("class ") == 0 in getTypeName() 85 RmPrefixClass.find("struct ") == 0 in getTypeName() 89 RmPrefixStruct.find("union ") == 0 in getTypeName() 93 RmPrefixUnion.find("enum ") == 0 in getTypeName()
|
| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | DWARF.cpp | 44 if (!dwarf::toUnsigned(die.find(dwarf::DW_AT_external), 0)) in DWARFCache() 48 unsigned file = dwarf::toUnsigned(die.find(dwarf::DW_AT_decl_file), 0); in DWARFCache() 53 unsigned line = dwarf::toUnsigned(die.find(dwarf::DW_AT_decl_line), 0); in DWARFCache() 62 dwarf::toString(die.find(dwarf::DW_AT_linkage_name), in DWARFCache() 63 dwarf::toString(die.find(dwarf::DW_AT_name), "")); in DWARFCache() 75 auto it = variableLoc.find(name); in getVariableLoc()
|
| /freebsd/sys/libkern/ |
| H A D | strstr.c | 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 | strcasestr.c | 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()
|
| H A D | strnstr.c | 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()
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | strcasestr.c | 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/contrib/mandoc/ |
| H A D | compat_strcasestr.c | 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()
|