/freebsd/sys/netpfil/pf/ |
H A D | pf_osfp.c | 379 if (find->fp_mss == 0) in pf_osfp_find() 387 if ((find->fp_wsize % find->fp_mss || in pf_osfp_find() 388 find->fp_wsize / find->fp_mss != in pf_osfp_find() 400 if ((find->fp_wsize % (find->fp_mss + MTUOFF) || in pf_osfp_find() 401 find->fp_wsize / (find->fp_mss + MTUOFF) != in pf_osfp_find() 497 memcpy(&find, f, sizeof(find)); in pf_osfp_validate() 500 if (find.fp_mss == 0) in pf_osfp_validate() 501 find.fp_mss = 128; in pf_osfp_validate() 503 find.fp_wsize *= find.fp_mss; in pf_osfp_validate() 505 find.fp_wsize *= (find.fp_mss + 40); in pf_osfp_validate() [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 | 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() 498 name = find(as, "name"); in gen_wrapper() 501 arg = find(as, "argument"); in gen_wrapper() 504 opt1 = find(as, "option"); in gen_wrapper() 527 for(tmp = find(as, "option"); in gen_wrapper() [all …]
|
/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) in strcasestr() argument 70 return strcasestr_l(s, find, __get_locale()); in strcasestr()
|
H A D | strnstr.c | 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()
|
H A D | wcsstr.c | 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()
|
/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/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVDuplicatesTracker.h | 212 if (find(V, MF).isValid()) 230 auto iter = Storage.find(V); 233 auto iter2 = Map.find(MF); 315 return TT.find(const_cast<Type *>(Ty), MF); 320 return ST.find( 325 return CT.find(const_cast<Constant *>(C), MF); 329 return GT.find(const_cast<GlobalVariable *>(GV), MF); 333 return FT.find(const_cast<Function *>(F), MF); 337 return AT.find(const_cast<Argument *>(Arg), MF); 340 Register find(const SPIRV::SpecialTypeDescriptor &TD, [all …]
|
/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/lib/libfigpar/ |
H A D | string_m.c | 45 strcount(const char *source, const char *find) in strcount() argument 52 if (source == NULL || find == NULL) in strcount() 56 flen = strlen(find); in strcount() 62 if (strncmp(p, find, flen) == 0) { /* found an instance */ in strcount() 90 replaceall(char *source, const char *find, const char *replace) in replaceall() argument 105 if (find == NULL) in replaceall() 110 flen = strlen(find); in replaceall() 130 if (strncmp(t, find, flen) == 0) { in replaceall()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | UnixSignals.cpp | 116 collection::iterator signal = m_signals.find(signo); in AddSignalCode() 125 collection::iterator pos = m_signals.find(signo); in RemoveSignal() 132 const auto pos = m_signals.find(signo); in GetSignalAsStringRef() 151 pos->second.m_codes.find(*code); in GetSignalDescription() 191 return m_signals.find(signo) != m_signals.end(); in SignalIsValid() 238 const auto pos = m_signals.find(signo); in GetSignalInfo() 257 collection::iterator pos = m_signals.find(signo); in SetShouldSuppress() 281 collection::iterator pos = m_signals.find(signo); in SetShouldStop() 305 collection::iterator pos = m_signals.find(signo); in SetShouldNotify() 365 collection::iterator pos = m_signals.find(signo); in IncrementSignalHitCount() [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/lutok/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/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() 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() 171 Pos = LineStr.find("BaseOffsets: ["); in LayoutOverrideSource() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.lib_strings.lua | 49 assert(string.find("123456789", "345") == 3) 50 a,b = string.find("123456789", "345") 52 assert(string.find("1234567890123456789", "345", 3) == 3) 53 assert(string.find("1234567890123456789", "345", 4) == 13) 54 assert(string.find("1234567890123456789", "346", 4) == nil) 56 assert(string.find("abcdefg", "\0", 5, 1) == nil) 57 assert(string.find("", "") == 1) 58 assert(string.find("", "", 1) == 1) 59 assert(not string.find("", "", 2)) 60 assert(string.find('', 'aaa', 1) == nil) [all …]
|
/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()
|
/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/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFTypePrinter.cpp | 26 if (std::optional<DWARFFormValue> L = C.find(DW_AT_lower_bound)) in appendArrayType() 28 if (std::optional<DWARFFormValue> CountV = C.find(DW_AT_count)) in appendArrayType() 33 D.getDwarfUnit()->getUnitDIE().find(DW_AT_language)) in appendArrayType() 185 auto Separator = Name.find('|'); in appendUnqualifiedNameBefore() 245 if (auto Form = D.find(Attr)) in appendUnqualifiedNameAfter() 335 auto V = C.find(DW_AT_const_value); in appendTemplateParameters() 347 auto V = C.find(DW_AT_const_value); in appendTemplateParameters() 446 auto TypeAttr = C.find(DW_AT_type); in appendTemplateParameters() 568 if (auto CC = D.find(DW_AT_calling_convention)) { in appendSubroutineNameAfter() 632 if (D.find(DW_AT_reference)) in appendSubroutineNameAfter() [all …]
|
/freebsd/contrib/file/src/ |
H A D | strcasestr.c | 67 strcasestr(const char *s, const char *find) in strcasestr() argument 72 if ((c = *find++) != 0) { in strcasestr() 74 len = strlen(find); in strcasestr() 80 } while (_strncasecmp(s, find, len) != 0); in strcasestr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | HashKeyMap.h | 86 iterator find(const original_key_type &Key) { in find() function 87 auto It = base_type::find(hash_value(Key)); in find() 93 const_iterator find(const original_key_type &Key) const { in find() function 94 auto It = base_type::find(hash_value(Key)); in find() 101 auto It = base_type::find(hash_value(Key)); in lookup() 112 auto It = find(Ctx); in erase()
|