| /openbsd/src/gnu/usr.bin/perl/ext/File-Find/t/ |
| D | find.t | 16 # 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() and finddepth() work correctly in the directory [all …]
|
| D | taint.t | 13 # 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::dir => '$File::Find::dir'\n"; 174 # find/finddepth. Historically topdir() differed on Mac OS classic. [all …]
|
| D | correct-absolute-path-with-follow.t | 6 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/ |
| D | Find.pm | 1 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::current_dir; [all …]
|
| /openbsd/src/usr.bin/vi/docs/internals/ |
| D | cscope.NOTES | 28 :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/ |
| D | sshsig.sh | 178 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 …]
|
| D | keygen-knownhosts.sh | 61 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/ |
| D | pf_osfp.c | 430 /* 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/ |
| D | find.cc | 21 // 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/usr.bin/perl/cpan/podlators/t/style/ |
| D | obsolete-strings.t | 42 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/usr.bin/perl/Porting/ |
| D | findrfuncs | 4 # 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 …]
|
| D | perlhist_calculate.pl | 8 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/ |
| D | iOS.cmake | 24 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/ |
| D | Installed.t | 53 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/usr.bin/binutils/gdb/testsuite/gdb.trace/ |
| D | backtrace.exp | 95 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/usr.bin/tmux/ |
| D | file.c | 202 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/ |
| D | tree_text_lor_find_find_timing_test.html | 7 <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
|
| D | tree_random_int_find_find_timing_test.html | 7 <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
|
| D | tree_text_find_find_timing_test.html | 7 <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/ |
| D | mg.1 | 148 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 …]
|
| /openbsd/src/sys/lib/libkern/ |
| D | strnstr.c | 40 * Find the first occurrence of find in s, where the search is limited to the 44 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/src/lib/libc/string/ |
| D | strcasestr.c | 40 * Find the first occurrence of find in s, ignore case. 43 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/src/gnu/llvm/clang/lib/Frontend/ |
| D | LayoutOverrideSource.cpp | 61 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() 70 // Find the name of the type. 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/src/gnu/llvm/llvm/include/llvm/ADT/ |
| D | SparseSet.h | 91 /// clear() and iteration as fast as a vector. The find(), insert(), and 107 /// When SparseT is uint32_t, find() only touches 2 cache lines, but the sparse 110 /// When SparseT is uint8_t (the default), find() touches up to 2+[N/256] cache 195 // Sparse does not need to be cleared, see find(). 199 /// findIndex - Find an element by its index. 201 /// @param Idx A valid index to find. 219 /// find - Find an element by its key. 221 /// @param Key A valid key to find. 224 iterator find(const KeyT &Key) { 228 const_iterator find(const KeyT &Key) const { [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/porting/ |
| D | checkcase.t | 12 use File::Find; 19 no warnings 'File::Find'; 21 find({no_chdir => 1, wanted => sub { 22 my $name = $File::Find::name; 36 ++$File::Find::prune;
|