Home
last modified time | relevance | path

Searched full:find (Results 1 – 25 of 5762) sorted by relevance

12345678910>>...231

/openbsd-src/gnu/usr.bin/perl/ext/File-Find/t/
H A Dfind.t16 # This is a hack - at present File::Find does not produce native names
18 # must be set *before* importing File::Find
40 use File::Find;
43 my %Expect_Name = (); # what we expect for $File::Find::name/fullname
44 my %Expect_Dir = (); # what we expect for $File::Find::dir
53 # Uncomment this to see where File::Find is chdir-ing to. Helpful for
70 # Do find() and finddepth() work correctly with an empty list of
73 ok(eval { find(\&noop_wanted); 1 },
74 "'find' successfully returned for an empty list of directories");
80 # Do find() an
[all...]
H A Dtaint.t13 # This is a hack - at present File::Find does not produce native names
15 # must be set *before* importing File::Find
22 use File::Find;
46 my %Expect_Name = (); # what we expect for $File::Find::name/fullname
47 my %Expect_Dir = (); # what we expect for $File::Find::dir
88 find({wanted => sub { ++$found if $_ eq 'taint.t' },
149 print "# \$File::Find::dir => '$File::Find::dir'\t\$_ => '$_'\n";
165 $File::Find::prune=1 if $_ eq 'faba';
169 print "# \$File::Find
[all...]
H A Dcorrect-absolute-path-with-follow.t6 use File::Find qw( find finddepth );
22 my $dir = File::Temp->newdir('file-find-XXXXXX', TMPDIR => 1, CLEANUP => 1);
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-src/gnu/usr.bin/perl/ext/File-Find/lib/File/
H A DFind.pm1 package File::Find;
14 our @EXPORT = qw(find finddepth);
31 return substr($cdir,0,rindex($cdir,'/')) if $fn eq $File::Find::current_dir;
146 # call find() or finddepth()
185 # for compatibility reasons (find.pl, find2perl)
189 $avoid_nlink = $follow || $File::Find::dont_use_nlink;
213 elsif ($top_item eq $File::Find::current_dir) {
277 $name = $abs_dir . $_; # $File::Find::name
288 die "insecure cwd in find(depth)";
315 my $dir_rel = $File::Find
761 sub find { global() subroutine
[all...]
/openbsd-src/usr.bin/vi/docs/internals/
H A Dcscope.NOTES28 :cscope find create a new Q
48 c: find callers of name
49 d: find all function calls made from name
50 e: find pattern
51 f: find files with name as substring
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
57 The find command pushes the current location onto the tags stack,
[all …]
/openbsd-src/regress/usr.bin/ssh/
H A Dsshsig.sh178 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 Dkeygen-knownhosts.sh61 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 …]
/openbsd-src/sys/net/
H A Dpf_osfp.c430 /* Find a fingerprint in the list */
432 pf_osfp_find(struct pf_os_fingerprint *find, u_int8_t ttldiff) in pf_osfp_find() argument
441 if (f->_field != find->_field) \ in pf_osfp_find()
444 if (f->_field == 0 || find->_field % f->_field) \ in pf_osfp_find()
450 if (f->fp_tcpopts != find->fp_tcpopts || in pf_osfp_find()
451 f->fp_optcnt != find->fp_optcnt || in pf_osfp_find()
452 f->fp_ttl < find->fp_ttl || in pf_osfp_find()
453 f->fp_ttl - find->fp_ttl > ttldiff || in pf_osfp_find()
455 (find->fp_flags & (PF_OSFP_DF|PF_OSFP_TS0))) in pf_osfp_find()
463 if (find->fp_mss == 0) in pf_osfp_find()
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
H A Dfind.cc21 // 21.3.6.1 basic_string find
42 // size_type find(const string&, size_type pos = 0) const; in test01()
43 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()
[all …]
/openbsd-src/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-src/gnu/usr.bin/perl/cpan/podlators/t/style/
H A Dobsolete-strings.t42 use File::Find qw(find);
59 # function from File::Find.
65 $File::Find::prune = 1;
72 open(my $fh, '<', $filename) or BAIL_OUT("Cannot open $File::Find::name");
76 ok(0, "$File::Find::name contains $regex");
77 close($fh) or BAIL_OUT("Cannot close $File::Find::name");
83 ok(0, "$File::Find::name contains $string");
84 close($fh) or BAIL_OUT("Cannot close $File::Find::name");
89 close($fh) or BAIL_OUT("Cannot close $File::Find::name");
90 ok(1, $File::Find::name);
[all …]
/openbsd-src/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-src/gnu/usr.bin/perl/Porting/
H A Dfindrfuncs4 # findrfuncs: find reentrant variants of functions used in an executable.
7 # to find available *_r functions and looks for non-reentrant
15 # Hacked to automatically find the executable and shared objects.
19 use File::Find;
37 find(sub {push @EXES, $File::Find::name if /\.$SO$/}, '.' );
49 find(sub {
50 return unless -f $File::Find::name;
52 open F, "<$File::Find::name"
53 or die "Can't open $File::Find::name: $!";
57 #warn "$1 => $File::Find::name\n";
[all …]
H A Dperlhist_calculate.pl8 use File::Find;
41 $File::Find::name =~ /[.] (?:pm|pl)\z/msx or return;
46 find(\&wanted_lib, 'lib');
57 $File::Find::name =~ /[.] (?:h|c|y|t|xs|pm)\z/msx or return;
63 find(\&wanted_ext, 'ext', 'dist', 'cpan');
65 find(\&wanted_ext, 'ext');
78 $File::Find::name =~ /[.] t\z/msx or return;
83 find(\&wanted_t, '.');
105 $File::Find::name =~ /[.] pod\z/msx or return;
110 find(\&wanted_doc, 'pod');
[all …]
/openbsd-src/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-src/gnu/usr.bin/perl/cpan/ExtUtils-Install/t/
H A DInstalled.t53 ok( $ei->_is_type($file, 'doc'), "... should find doc file in $path" );
69 "... should find prog file under $prefix" );
74 '... should not find doc file outside path' );
85 ok( !$ei->_is_under('foo', @under), '... should find no file not under dirs');
86 ok( $ei->_is_under('baz', @under), '... should find file under dir' );
125 # should find $fake_mod_dir via '.' in @INC
136 ok( exists $realei->{FakeMod}, 'new() should find modules with .packlists');
139 '... should find version in modules' );
159 …ok( ! exists $realei->{FakeMod}, 'new( skip_cwd => 1 ) should fail to find modules with .packlists…
180 ok( exists $realei->{FakeMod}, 'new() should find modules with .packlists');
[all …]
/openbsd-src/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);
290 Register find(const Type *T, const MachineFunction *MF) {
291 return TT.find(const_cast<Type *>(T), MF);
294 Register find(const Constant *C, const MachineFunction *MF) {
295 return CT.find(const_cast<Constant *>(C), MF);
298 Register find(const GlobalVariable *GV, const MachineFunction *MF) {
299 return GT.find(const_cast<GlobalVariable *>(GV), MF);
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/
H A Dbacktrace.exp95 fail "Could not find gdb_recursion_test function"
287 gdb_tfind_test "8.6: find start frame" "start" "0"
292 gdb_tfind_test "8.6: find frame 1" "1" "1"
297 gdb_tfind_test "8.6: find frame 2" "2" "2"
303 gdb_tfind_test "8.6: find frame 4" "4" "4"
308 gdb_tfind_test "8.6: find frame 5" "5" "5"
313 gdb_tfind_test "8.6: find frame 6" "6" "6"
318 gdb_tfind_test "8.6: find frame 7" "7" "7"
324 gdb_tfind_test "8.6: find frame 9" "9" "9"
329 gdb_tfind_test "8.6: find frame 10" "10" "10"
[all …]
/openbsd-src/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-src/usr.bin/tmux/
H A Dfile.c202 struct client_file find, *cf; in file_vprint() local
208 find.stream = 1; in file_vprint()
209 if ((cf = RB_FIND(client_files, &c->files, &find)) == NULL) { in file_vprint()
229 struct client_file find, *cf; in file_print_buffer() local
235 find.stream = 1; in file_print_buffer()
236 if ((cf = RB_FIND(client_files, &c->files, &find)) == NULL) { in file_print_buffer()
256 struct client_file find, *cf; in file_error() local
265 find.stream = 2; in file_error()
266 if ((cf = RB_FIND(client_files, &c->files, &find)) == NULL) { in file_error()
566 struct client_file find, *cf; in file_write_open() local
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/docs/html/ext/pb_ds/
H A Dtree_text_lor_find_find_timing_test.html7 <title>Tree Text Locality of Reference Find Timing Test</title>
12 <h1>Tree-Based Locality-of-Reference Text <tt>find</tt> Find
18 … <tt>find</tt> . It is different than <a href="tree_text_find_find_timing_test.html">Tree-Based and
19 Trie-Based Text <tt>find</tt> Find Timing Test</a> in the
21 <tt>find</tt> s on the same key before moving on to the next
22 key. It measures the average time for <tt>find</tt> as a
39 …a></h6>NTG: Native and tree-based locality-of-reference text find timing test using <tt>find</tt> …
72 …a></h6>NTM: Native and tree-based locality-of-reference text find timing test using <tt>find</tt> …
105 …a></h6>NTL: Native and tree-based locality-of-reference text find timing test using <tt>find</tt> …
119 much better, since each (successful) find "bubbles" the
H A Dtree_random_int_find_find_timing_test.html7 <title>Tree Text Find Timing Test</title>
12 <h1>Tree-Based and Trie-Based Text <tt>find</tt> Find Timing
18 <tt>find</tt>. It measures the average time for <tt>find</tt>
35 …t="no image" /></a></h6>NTTG: Native, tree-based, random int find timing test using <tt>find</tt> …
66 …t="no image" /></a></h6>NTTM: Native, tree-based, random int find timing test using <tt>find</tt> …
97 …t="no image" /></a></h6>NTTL: Native, tree-based, random int find timing test using <tt>find</tt> …
115 find the required node; a splay tree will require
128 find a key, more math operations than they do.
139 Text <tt>find</tt> Find Timing Test</a>), but it is
H A Dtree_text_find_find_timing_test.html7 <title>Tree Text Find Timing Test</title>
12 <h1>Tree-Based and Trie-Based Text <tt>find</tt> Find Timing
18 <tt>find</tt>. It measures the average time for <tt>find</tt>
35 …e" /></a></h6>NTTG: Native, tree-based, and trie-based, text find timing test using <tt>find</tt> …
74 …e" /></a></h6>NTTM: Native, tree-based, and trie-based, text find timing test using <tt>find</tt> …
113 …e" /></a></h6>NTTL: Native, tree-based, and trie-based, text find timing test using <tt>find</tt> …
129 comparisons to find the required node; a splay tree will
140 trees, since it requires, in order to find a key, more math
150 <tt>find</tt> Find Timing Test</a>), but it is order
/openbsd-src/usr.bin/mg/
H A Dmg.1148 cscope-find-functions-calling-this-function
150 cscope-find-global-definition
152 cscope-find-egrep-pattern
154 cscope-find-this-file
156 cscope-find-files-including-file
162 cscope-find-this-symbol
164 cscope-find-this-text-string
214 find-file
226 find-file-read-only
232 find-alternate-file
[all …]

12345678910>>...231