Searched defs:path (Results 301 - 325 of 2871) sorted by relevance

<<11121314151617181920>>

/external/annotation-tools/annotation-file-utilities/src/annotator/find/
H A DNewCriterion.java36 public boolean isSatisfiedBy(TreePath path, Tree leaf) { argument
37 assert path == null || path.getLeaf() == leaf;
38 return isSatisfiedBy(path);
43 public boolean isSatisfiedBy(TreePath path) { argument
44 if (path == null) {
48 Tree leaf = path.getLeaf();
50 if (inMethodCriterion!=null && !inMethodCriterion.isSatisfiedBy(path)) {
51 // If we're not in the method now, the parent path may still be in the method.
54 return this.isSatisfiedBy(path
[all...]
H A DParamCriterion.java23 public boolean isSatisfiedBy(TreePath path, Tree leaf) { argument
24 assert path == null || path.getLeaf() == leaf;
25 return isSatisfiedBy(path);
30 public boolean isSatisfiedBy(TreePath path) { argument
32 if (path == null) {
39 Tree leaf = path.getLeaf();
41 Tree parent = path.getParentPath().getLeaf();
58 return this.isSatisfiedBy(path.getParentPath());
H A DReturnTypeCriterion.java24 public boolean isSatisfiedBy(TreePath path, Tree leaf) { argument
25 assert path == null || path.getLeaf() == leaf;
26 return isSatisfiedBy(path);
31 public boolean isSatisfiedBy(TreePath path) { argument
32 if (path == null) { return false; }
35 Main.pathToString(path), this.toString());
38 if (path.getLeaf().getKind() == Tree.Kind.METHOD) {
40 || sigMethodCriterion.isSatisfiedBy(path)) {
42 path
[all...]
/external/annotation-tools/annotation-file-utilities/src/annotator/scanner/
H A DAnonymousClassScanner.java20 * @param path the source path ending in the anonymous class
24 public static int indexOfClassTree(TreePath path, Tree anonclass) { argument
31 while (path.getParentPath() != null && classesFound < 1) {
32 if (path.getLeaf() == anonclass) {
35 path = path.getParentPath();
36 if (anonclassFound && CommonScanner.hasClassKind(path.getLeaf())) {
41 lvts.scan(path, 0);
H A DInitBlockScanner.java17 public static int indexOfInitTree(TreePath path, boolean isStatic) { argument
18 // we allow to start with any path/tree within an initializer.
21 CommonScanner.findEnclosingInitBlock(path, isStatic).getLeaf();
23 path = CommonScanner.findEnclosingClass(path);
24 if (tree==null || path == null) {
30 bts.scan(path, isStatic);
H A DLocalClassScanner.java22 * @param path the source path ending in the local class
26 public static int indexOfClassTree(TreePath path, ClassTree localClass) { argument
33 while (path.getParentPath() != null && classesFound < 1) {
34 if (path.getLeaf() == localClass) {
37 path = path.getParentPath();
38 if (localClassFound && path.getLeaf().getKind() == Tree.Kind.CLASS) {
43 lcs.scan(path, 0);
/external/apache-http/src/org/apache/http/cookie/
H A DCookieOrigin.java52 private final String path; field in class:CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) { argument
68 if (path == null) {
74 if (path.trim().length() != 0) {
75 this.path = path;
77 this.path = "/";
87 return this.path;
108 buffer.append(this.path);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DAbsPathChecker.java32 * This class runs over a path expression that is assumed to be absolute, and
42 * @param path LocPathIterator that is assumed to be absolute, but needs checking.
43 * @return true if the path is confirmed to be absolute, false if it
46 public boolean checkAbsolute(LocPathIterator path) argument
49 path.callVisitors(null, this);
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DHasPositionalPredChecker.java46 * @param path LocPathIterator that is assumed to be absolute, but needs checking.
47 * @return true if the path is confirmed to be absolute, false if it
50 public static boolean check(LocPathIterator path) argument
53 path.callVisitors(null, hppc);
86 * Visit a predicate within a location path. Note that there isn't a
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
H A DUnitTestZipEntry.java27 * The path under which the data is located in the archive.
29 public final String path; field in class:UnitTestZipEntry
53 * @param path the path under which the data is located in the archive
58 public UnitTestZipEntry(String path, int level, String content, String comment) { argument
59 this(path, level, true, content, comment);
64 * @param path the path under which the data is located in the archive
69 public UnitTestZipEntry(String path, int level, boolean nowrap, String content, String comment) { argument
70 this.path
[all...]
/external/autotest/client/bin/input/
H A Dinput_event_player.py16 import os.path namespace
74 help='device path (/dev/input/event0)')
89 elif not os.path.exists(options.devpath):
97 if not os.path.exists(options.gesture_file):
/external/autotest/client/site_tests/logging_CrashServices/
H A Dlogging_CrashServices.py5 import os, os.path, logging namespace
54 def _find_file_in_path(self, path, process_name, filetype):
58 @param path: Dirctory path where the dump files are expected.
66 entries = os.listdir(path)
71 (filename, ext) = os.path.splitext(entry)
73 logging.info('the path is %s', os.path)
74 if os.path.getsize(path
[all...]
/external/autotest/server/site_tests/hardware_DiskFirmwareUpgrade/
H A Dhardware_DiskFirmwareUpgrade.py5 import os, os.path, re namespace
79 self._client.send_file(os.path.join(self.bindir, p),
84 disk_firmware_package=os.path.join(self._tmpdir, p),
/external/autotest/server/site_tests/telemetry_UnitTestsServer/
H A Dtelemetry_UnitTestsServer.py7 import os.path namespace
19 LOCAL_BOTO_FILE = os.path.join(os.getenv('HOME'), '.boto')
27 os.path.dirname(self.CLIENT_BOTO_FILE))
28 host.run('mkdir -p %s' % os.path.dirname(self.CLIENT_BOTO_FILE))
32 assert(os.path.exists(self.LOCAL_BOTO_FILE))
/external/autotest/tko/
H A Djsonp_fetcher.cgi22 path = parameters['path'] variable
26 file_contents = urllib2.urlopen('http://localhost' + path).read()
29 result_dict['err'] = LogFileNotFound('%s not found' % path)
/external/autotest/tko/parsers/test/
H A Dinspect_parser_result_store.py9 from os import path namespace
23 scenario_dirpath = path.normpath(args[0])
24 if not path.exists(scenario_dirpath) or not path.isdir(scenario_dirpath):
H A Dnew_scenario.py21 from os import path namespace
48 results_dirpath = path.normpath(args[0])
49 if not path.exists(results_dirpath) or not path.isdir(results_dirpath):
54 scenarios_dirpath = path.normpath(args[1])
55 if not path.exists(scenarios_dirpath) or not path.isdir(scenarios_dirpath):
60 results_dirname = path.basename(results_dirpath)
65 scenario_package_dirpath = path.join(
67 if path
[all...]
/external/boringssl/src/crypto/test/
H A Dfile_test_gtest.cc29 std::string GetTestData(const char *path);
68 void FileTestGTest(const char *path, std::function<void(FileTest *)> run_test) { argument
70 new StringLineReader(GetTestData(path)));
88 SCOPED_TRACE(testing::Message() << path << ", line " << t.start_line());
/external/boringssl/src/util/bot/
H A Dextract.py21 import os.path namespace
28 def CheckedJoin(output, path):
30 CheckedJoin returns os.path.join(output, path). It does sanity checks to
31 ensure the resulting path is under output, but shouldn't be used on untrusted
34 path = os.path.normpath(path)
35 if os.path.isabs(path) o
[all...]
/external/capstone/suite/
H A Dtest_mc.py3 import array, os.path, sys namespace
/external/clang/test/Analysis/
H A Dunix-api.c14 void open_1(const char *path) { argument
16 fd = open(path, O_RDONLY); // no-warning
21 void open_2(const char *path) { argument
24 fd = open(path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'open' with more than three arguments}}
29 void open_3(const char *path) { argument
31 fd = open(path, O_RDONLY, NULL); // expected-warning{{Third argument to 'open' is not an integer}}
36 void open_4(const char *path) { argument
38 fd = open(path, O_RDONLY, ""); // expected-warning{{Third argument to 'open' is not an integer}}
43 void open_5(const char *path) { argument
48 fd = open(path, O_RDONL
53 open_6(const char *path) argument
63 open_7(const char *path) argument
70 open_8(const char *path) argument
[all...]
/external/clang/tools/scan-build-py/libscanbuild/
H A D__init__.py44 import os.path namespace
53 program = os.path.basename(sys.argv[0])
/external/clang/tools/scan-build-py/tests/functional/cases/
H A D__init__.py8 import os.path namespace
25 this_dir, _ = os.path.split(__file__)
26 path = os.path.normpath(os.path.join(this_dir, '..', 'src'))
27 return ['make', 'SRCDIR={}'.format(path), 'OBJDIR={}'.format(target), '-f',
28 os.path.join(path, 'build', 'Makefile')]
H A Dtest_exec_anatomy.py10 import os.path namespace
25 result_file = os.path.join(target_dir, 'result.json')
26 expected_file = os.path.join(target_dir, 'expected.json')
46 this_dir, _ = os.path.split(__file__)
47 source_dir = os.path.normpath(os.path.join(this_dir, '..', 'exec'))
/external/clang/tools/scan-build-py/tests/unit/
H A Dtest_clang.py10 import os.path namespace
16 filename = os.path.join(tmpdir, 'test.c')

Completed in 966 milliseconds

<<11121314151617181920>>