Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 2876) sorted by relevance

12345678910>>...116

/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/
H A DAlias.pm22 my $find = shift;
23 unless ( exists $Alias{$find} ) {
24 $Alias{$find} = undef; # Recursion guard
36 $new = $alias->($find);
38 elsif ( lc($find) eq lc($alias) ) {
47 $Alias{$find} = $enc;
55 unless ( $Alias{$find} ) {
56 my $lcfind = lc($find);
61 DEBUG and warn "$find => $name";
67 if ( my $e = $Alias{$find} ) {
[all …]
/openbsd/sys/net/
H A Dpf_osfp.c463 if (find->fp_mss == 0) in pf_osfp_find()
470 if ((find->fp_wsize % find->fp_mss || in pf_osfp_find()
471 find->fp_wsize / find->fp_mss != in pf_osfp_find()
483 if ((find->fp_wsize % (find->fp_mss + MTUOFF) || in pf_osfp_find()
484 find->fp_wsize / (find->fp_mss + MTUOFF) != in pf_osfp_find()
589 memcpy(&find, f, sizeof(find)); in pf_osfp_validate()
592 if (find.fp_mss == 0) in pf_osfp_validate()
593 find.fp_mss = 128; in pf_osfp_validate()
595 find.fp_wsize *= find.fp_mss; in pf_osfp_validate()
597 find.fp_wsize *= (find.fp_mss + 40); in pf_osfp_validate()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/orc/tests/unit/
H A Dinterval_map_test.cpp24 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 Dinterval_set_test.cpp24 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()
/openbsd/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-debuginfod-find/
H A DBUILD.gn5 symlink_or_copy("debuginfod-find") {
6 deps = [ ":llvm-debuginfod-find" ]
7 source = "llvm-debuginfod-find"
8 output = "$root_out_dir/bin/debuginfod-find"
12 # //:llvm-debuginfod-find depends on this symlink target, see comment in
15 deps = [ ":llvm-debuginfod-find" ]
17 deps += [ ":debuginfod-find" ]
21 executable("llvm-debuginfod-find") {
26 sources = [ "llvm-debuginfod-find.cpp" ]
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
H A Dfind.cc43 csz01 = str01.find(str01); in test01()
45 csz01 = str01.find(str01, 4); in test01()
47 csz01 = str01.find(str02, 0); in test01()
49 csz01 = str01.find(str02, 3); in test01()
51 csz01 = str01.find(str03, 0); in test01()
53 csz01 = str01.find(str03, 3); in test01()
55 csz01 = str01.find(str03, 12); in test01()
61 csz01 = str01.find(str04, 0); in test01()
63 csz01 = str01.find(str04, 5); in test01()
83 csz01 = str01.find('z'); in test01()
[all …]
/openbsd/usr.bin/vi/docs/internals/
H A Dcscope.NOTES28 :cscope find create a new Q
48 c: find callers of name
50 e: find pattern
52 g: find definition of name
53 i: find files #including name
54 s: find all uses of name
55 t: find assignments to name
108 map <tab>a "tye:csc find t"t
109 map <tab>c "tye:csc find c"t
110 map <tab>d "tye:csc find d"t
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h194 if (find(V, MF).isValid())
211 Register find(KeyTy V, const MachineFunction *MF) const {
212 auto iter = Storage.find(V);
215 auto iter2 = Map.find(MF);
291 return TT.find(const_cast<Type *>(T), MF);
295 return CT.find(const_cast<Constant *>(C), MF);
299 return GT.find(const_cast<GlobalVariable *>(GV), MF);
303 return FT.find(const_cast<Function *>(F), MF);
307 return AT.find(const_cast<Argument *>(Arg), MF);
310 Register find(const SPIRV::SpecialTypeDescriptor &TD,
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-debuginfod-find/
H A DCMakeLists.txt5 add_llvm_tool(llvm-debuginfod-find
6 llvm-debuginfod-find.cpp
8 target_link_libraries(llvm-debuginfod-find PRIVATE LLVMDebuginfod)
10 add_llvm_tool_symlink(debuginfod-find llvm-debuginfod-find)
/openbsd/usr.bin/tmux/
H A Dfile.c208 find.stream = 1; in file_vprint()
235 find.stream = 1; in file_print_buffer()
265 find.stream = 2; in file_error()
578 find.stream = msg->stream; in file_write_open()
631 find.stream = msg->stream; in file_write_data()
650 find.stream = msg->stream; in file_write_close()
739 find.stream = msg->stream; in file_read_open()
791 find.stream = msg->stream; in file_read_cancel()
809 find.stream = msg->stream; in file_write_ready()
831 find.stream = msg->stream; in file_read_data()
[all …]
H A Dhyperlinks.c137 struct hyperlinks_uri find, *hlu; in hyperlinks_put() local
152 find.uri = uri; in hyperlinks_put()
153 find.internal_id = internal_id; in hyperlinks_put()
155 hlu = RB_FIND(hyperlinks_by_uri_tree, &hl->by_uri, &find); in hyperlinks_put()
185 struct hyperlinks_uri find, *hlu; in hyperlinks_get() local
187 find.inner = inner; in hyperlinks_get()
189 hlu = RB_FIND(hyperlinks_by_inner_tree, &hl->by_inner, &find); in hyperlinks_get()
/openbsd/gnu/usr.bin/perl/ext/File-Find/t/
H A Dfind.t73 ok(eval { find(\&noop_wanted); 1 },
304 find(
484 File::Find::find( {wanted => \&noop_wanted,
504 File::Find::find( {wanted => \&noop_wanted,
517 File::Find::find( sub { } , 'fa' ) for @foo;
958 File::Find::find (
977 File::Find::find( {wanted => sub {
1018 find( \&wantmatch, (
1027 find( \&wantmatch, (
1073 File::Find::find({
[all …]
H A Dcorrect-absolute-path-with-follow.t6 use File::Find qw( find finddepth );
24 find(
35 'find: Derive absolute path correctly with follow => 1',
41 my $dir = File::Temp->newdir('file-find-XXXXXX', TMPDIR => 1, CLEANUP => 1);
/openbsd/gnu/llvm/llvm/cmake/platforms/
H A DiOS.cmake24 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find clang
32 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find clang++
40 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find ar
49 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find ranlib
58 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find strip
67 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find dsymutil
76 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find libtool
85 execute_process(COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find codesign
95 COMMAND xcrun -sdk ${CMAKE_OSX_SYSROOT} -find codesign_allocate
/openbsd/regress/usr.sbin/pkg_add/
H A Dcheck-name93 $hash->find('bar')),
96 $hash->find('foo')),
99 $hash->find('baz')),
102 $hash->find('foobar')),
105 $hash->find('pouet')),
108 $hash->find('hugs')),
111 $hash->find('hugs-noversion')),
/openbsd/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Drecoverable.cpp22 size_t FirstIndex = OutputBuffer.find(kGwpAsanErrorString); in CheckOnlyOneGwpAsanCrash()
24 ASSERT_EQ(OutputBuffer.find(kGwpAsanErrorString, FirstIndex + 1), in CheckOnlyOneGwpAsanCrash()
37 ASSERT_NE(std::string::npos, GetOutputBuffer().find("Double Free")); in TEST_P()
53 ASSERT_NE(std::string::npos, GetOutputBuffer().find("Invalid (Wild) Free")); in TEST_P()
69 ASSERT_NE(std::string::npos, GetOutputBuffer().find("Use After Free")); in TEST_P()
86 if (GetOutputBuffer().find("Buffer Overflow") == std::string::npos && in TEST_P()
87 GetOutputBuffer().find("Buffer Underflow") == std::string::npos) in TEST_P()
107 ASSERT_NE(std::string::npos, GetOutputBuffer().find("Double Free")); in TEST_P()
133 ASSERT_NE(std::string::npos, GetOutputBuffer().find("Double Free")); in TEST_P()
/openbsd/gnu/usr.bin/perl/Porting/
H A Dperlhist_calculate.pl46 find(\&wanted_lib, 'lib');
63 find(\&wanted_ext, 'ext', 'dist', 'cpan');
65 find(\&wanted_ext, 'ext');
83 find(\&wanted_t, '.');
110 find(\&wanted_doc, 'pod');
130 find(\&wanted_dir, $dir);
/openbsd/gnu/llvm/lldb/source/Target/
H A DUnixSignals.cpp128 collection::iterator pos = m_signals.find(signo); in RemoveSignal()
135 collection::const_iterator pos = m_signals.find(signo); in GetSignalAsCString()
143 return m_signals.find(signo) != m_signals.end(); in SignalIsValid()
194 collection::const_iterator pos = m_signals.find(signo); in GetSignalInfo()
207 collection::const_iterator pos = m_signals.find(signo); in GetShouldSuppress()
214 collection::iterator pos = m_signals.find(signo); in SetShouldSuppress()
231 collection::const_iterator pos = m_signals.find(signo); in GetShouldStop()
238 collection::iterator pos = m_signals.find(signo); in SetShouldStop()
262 collection::iterator pos = m_signals.find(signo); in SetShouldNotify()
322 collection::iterator pos = m_signals.find(signo); in IncrementSignalHitCount()
[all …]
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp61 if ((Pos = LineStr.find("struct ")) != StringRef::npos) in LayoutOverrideSource()
63 else if ((Pos = LineStr.find("class ")) != StringRef::npos) in LayoutOverrideSource()
65 else if ((Pos = LineStr.find("union ")) != StringRef::npos) in LayoutOverrideSource()
77 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource()
89 Pos = LineStr.find("Alignment:"); in LayoutOverrideSource()
101 Pos = LineStr.find("sizeof="); in LayoutOverrideSource()
111 Pos = LineStr.find("align="); in LayoutOverrideSource()
126 Pos = LineStr.find("FieldOffsets: ["); in LayoutOverrideSource()
166 llvm::StringMap<Layout>::iterator Known = Layouts.find(Record->getName()); in layoutRecordType()
/openbsd/lib/libc/string/
H A Dstrcasestr.c43 strcasestr(const char *s, const char *find) in strcasestr() argument
48 if ((c = *find++) != 0) { in strcasestr()
50 len = strlen(find); in strcasestr()
56 } while (strncasecmp(s, find, len) != 0); in strcasestr()
/openbsd/sys/lib/libkern/
H A Dstrnstr.c44 strnstr(const char *s, const char *find, size_t slen) in strnstr() argument
49 if ((c = *find++) != '\0') { in strnstr()
50 len = strlen(find); in strnstr()
58 } while (strncmp(s, find, len) != 0); in strnstr()
/openbsd/gnu/llvm/lld/Common/
H A DDWARF.cpp44 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()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DOpenCLOptions.cpp29 return OptMap.find(Ext) != OptMap.end(); in isKnown()
37 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption()
45 auto I = OptMap.find(Ext); in isEnabled()
50 auto E = OptMap.find(Ext); in isWithPragma()
56 auto I = OptMap.find(Ext); in isSupported()
63 auto I = OptMap.find(Ext); in isSupportedCore()
70 auto I = OptMap.find(Ext); in isSupportedOptionalCore()
82 auto I = OptMap.find(Ext); in isSupportedExtension()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp26 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()
186 auto Separator = Name.find('|'); in appendUnqualifiedNameBefore()
246 if (auto Form = D.find(Attr)) in appendUnqualifiedNameAfter()
336 auto V = C.find(DW_AT_const_value); in appendTemplateParameters()
348 auto V = C.find(DW_AT_const_value); in appendTemplateParameters()
447 auto TypeAttr = C.find(DW_AT_type); in appendTemplateParameters()
569 if (auto CC = D.find(DW_AT_calling_convention)) { in appendSubroutineNameAfter()
630 if (D.find(DW_AT_reference)) in appendSubroutineNameAfter()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVSupport.h155 typename MapType::const_iterator Iter = Map->find(Key); in addItem()
192 typename LVFirstMapType::iterator FirstIter = FirstMap.find(FirstKey); in add()
201 if (SecondMap && SecondMap->find(SecondKey) == SecondMap->end()) in add()
204 typename LVAuxMapType::iterator AuxIter = AuxMap.find(SecondKey); in add()
211 typename LVFirstMapType::const_iterator FirstIter = FirstMap.find(FirstKey); in findMap()
219 ValueType find(FirstKeyType FirstKey, SecondKeyType SecondKey) const { in find() function
225 SecondMap->find(SecondKey); in find()
229 ValueType find(SecondKeyType SecondKey) const { in find() function
230 typename LVAuxMapType::const_iterator AuxIter = AuxMap.find(SecondKey); in find()
233 return find(AuxIter->second, SecondKey); in find()
[all …]

12345678910>>...116