/freebsd/sys/netpfil/pf/ |
H A D | pf_osfp.c | 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->fp_mss == 0) in pf_osfp_find() 387 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/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVDuplicatesTracker.h | 148 if (find(V, MF).isValid()) in add() 165 Register find(KeyTy V, const MachineFunction *MF) const { in find() function 166 auto iter = Storage.find(V); in find() 169 auto iter2 = Map.find(MF); in find() 255 Register find(const Type *Ty, const MachineFunction *MF) { in find() function 256 return TT.find(unifyPtrType(Ty), MF); in find() 259 Register find(const Type *PointeeTy, unsigned AddressSpace, in find() function 261 return ST.find( in find() 265 Register find(const Constant *C, const MachineFunction *MF) { in find() function 266 return CT.find(const_cast<Constant *>(C), MF); in find() [all …]
|
H A D | SPIRVGlobalRegistry.h | 125 Register find(const MachineInstr *MI, MachineFunction *MF) { in find() function 126 return DT.find(MI, MF); in find() 129 Register find(const Constant *C, MachineFunction *MF) { in find() function 130 return DT.find(C, MF); in find() 133 Register find(const GlobalVariable *GV, MachineFunction *MF) { in find() function 134 return DT.find(GV, MF); in find() 137 Register find(const Function *F, MachineFunction *MF) { in find() function 138 return DT.find(F, MF); in find() 155 auto It = FunResPointerTypes.find(ArgF); in findReturnType() 166 auto It = AssignPtrTypeInstr.find(Val); in findAssignPtrTypeInstr() [all …]
|
/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/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) 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/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 | 43 strcount(const char *source, const char *find) in strcount() argument 50 if (source == NULL || find == NULL) in strcount() 54 flen = strlen(find); in strcount() 60 if (strncmp(p, find, flen) == 0) { /* found an instance */ in strcount() 88 replaceall(char *source, const char *find, const char *replace) in replaceall() argument 103 if (find == NULL) in replaceall() 108 flen = strlen(find); in replaceall() 128 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 AddSignalCode() 132 const auto pos = m_signals.find(signo); in RemoveSignal() 145 collection::const_iterator pos = m_signals.find(signo); in GetSignalDescription() 151 pos->second.m_codes.find(*code); in GetSignalDescription() 191 return m_signals.find(signo) != m_signals.end(); in GetSignalDescription() 223 collection::const_iterator pos = m_signals.find(current_signal); in GetFirstSignalNumber() 238 const auto pos = m_signals.find(signo); in GetNextSignalNumber() 250 collection::const_iterator pos = m_signals.find(signo); in GetSignalInfo() 257 collection::iterator pos = m_signals.find(sign in GetShouldSuppress() [all...] |
/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/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/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) 55 assert(string.find("1234567890123456789", ".45", -9) == 13) 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)) [all …]
|
/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/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() 30 if (std::optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound)) in appendArrayType() 33 D.getDwarfUnit()->getUnitDIE().find(DW_AT_language)) in appendArrayType() 154 if (const char *Name = dwarf::toString(D.find(DW_AT_name), nullptr)) in appendUnqualifiedNameBefore() 176 const char *NamePtr = dwarf::toString(D.find(DW_AT_name), nullptr); in appendUnqualifiedNameBefore() 185 auto Separator = Name.find('|'); in appendUnqualifiedNameBefore() 245 if (auto Form = D.find(Attr)) in appendUnqualifiedNameAfter() 255 D.find(DW_AT_LLVM_ptrauth_authentication_mode)) { in appendUnqualifiedNameAfter() 350 auto V = C.find(DW_AT_const_value); in appendTemplateParameters() [all …]
|
/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/kyua/utils/text/ |
H A D | templates.cpp | 185 const types_map::const_iterator iter = _types.find(words[0]); in parse() 460 const std::string::size_type open_pos = in_line.find( in evaluate() 466 const std::string::size_type close_pos = in_line.find( in evaluate() 548 PRE(_vectors.find(name) == _vectors.end()); in add_variable() 564 PRE(_variables.find(name) != _variables.end()); in remove_variable() 565 _variables.erase(_variables.find(name)); in remove_variable() 580 PRE(_variables.find(name) == _variables.end()); in add_vector() 595 PRE(_variables.find(name) == _variables.end()); in add_to_vector() 596 PRE(_vectors.find(name) != _vectors.end()); in add_to_vector() 612 return (_variables.find(name) != _variables.end() || in exists() [all …]
|