Lines Matching refs:dirname
2 dirname test
7 $s = dirname("/foo");
13 $path2 = dirname($path1);
15 print "dirname($path) == $path3\n";
36 same(".",dirname("d:\\foo\\bar.inc"));
37 same(".",dirname("c:\\foo"));
38 same(".",dirname("c:\\"));
39 same(".",dirname("c:"));
41 same("d:\\foo",dirname("d:\\foo\\bar.inc"));
42 same("c:\\",dirname("c:\\foo"));
43 same("c:\\",dirname("c:\\"));
44 same("c:",dirname("c:"));
49 dirname(%foo%) == %
50 dirname(%foo) == %
51 dirname(%foo%bar) == %foo
52 dirname(%) == %
53 dirname(...%foo) == ...
54 dirname(.%foo) == .
55 dirname(foobar%%%) == .
56 dirname(%%%.%.) == %%%.