/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
main_unittest.py | 41 def _change_directory(self, paths, checkout_root): 42 return change_directory(self.filesystem, paths=paths, checkout_root=checkout_root) 51 paths = self._change_directory(checkout_root=self._checkout_root, paths=None) 52 self._assert_result(paths, None, [], self._checkout_root) 55 paths = ["/WebKit/foo1.txt", "/WebKit/foo2.txt"] 56 paths = self._change_directory(checkout_root=self._checkout_root, paths=paths) [all...] |
main.py | 37 def change_directory(filesystem, checkout_root, paths): 40 If every path in the paths parameter is below the checkout root (or if 41 the paths parameter is empty or None), this method changes the current 42 working directory to the checkout root and converts the paths parameter 44 This allows the paths being checked to be displayed relative to the 50 paths: A copy of the paths parameter -- possibly converted, as follows. 52 checkout root, then the list is the paths parameter converted to 53 normalized paths relative to the checkout root. 56 paths: A list of paths to the files that should be checked for style 95 paths = rel_paths variable [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/ |
PRESUBMIT.py | 8 paths = input_api.AbsoluteLocalPaths() 19 paths = [p for p in paths if ShouldCheckFile(p)] 20 if not paths: 25 # compile, if any, based on the changed paths. 26 if any((ScriptFilter(p) for p in paths)): 27 paths = None 38 success, output = CheckChromeVox(paths)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
check-testharness-expected-pass | 20 paths = [] variable 26 paths.append(path) 28 if len(paths) > 0: 30 sys.stderr.write('\n '.join(paths))
|
do-file-rename | 45 my @paths; 68 push @paths, $File::Find::name; 80 for my $file (sort @paths) { 86 for my $file (sort @paths) { 96 for my $file (sort @paths) {
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
path.cc | 40 StringArray_t paths = Split(path); local 41 if (paths.empty()) 44 for (size_t index = 0; index < paths.size(); index++) { 46 if (paths_.size() && index == 0 && paths[0] == "/") 48 paths_.push_back(paths[index]); 56 StringArray_t paths = Split(path); local 57 if (paths.empty()) 64 paths.push_back(paths_[index]); 67 paths_ = Normalize(paths); 72 StringArray_t paths = Split(path) local [all...] |
/external/chromium_org/build/android/gyp/ |
dex.py | 15 def DoDex(options, paths): 22 dex_cmd += paths 28 input_paths=paths, 31 build_utils.WriteJson(paths, options.dex_path + '.inputs') 52 parser.add_option('--inputs', help='A list of additional input paths.') 53 parser.add_option('--excluded-paths-file', 54 help='Path to a file containing a list of paths to exclude ' 57 options, paths = parser.parse_args(args) 64 paths = [options.proguard_enabled_input_path] 68 paths = [p for p in paths if not p in exclude_paths [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
find_files.py | 31 an optional list of paths, optional set of skipped directories and optional 35 found under the paths passed in. i.e. calling find(["LayoutTests/fast"]) 49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_sort_key=None): 50 """Finds the set of tests under a given list of sub-paths. 53 paths: a list of path expressions relative to base_dir 55 forward slashes on Windows. If paths is empty, we look at 59 paths = paths or ['*'] 61 return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, file_filter, directory_sort_key) 64 def _normalize(filesystem, base_dir, paths) [all...] |
find_files_unittest.py | 37 def join(self, *paths): 38 return '\\'.join(paths)
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileList.cpp | 45 Vector<String> paths; local 48 paths.append(m_files[i]->path()); 51 return paths;
|
/external/chromium_org/chrome/browser/safe_browsing/ |
safe_browsing_util_unittest.cc | 24 std::vector<std::string> hosts, paths; local 28 safe_browsing_util::GeneratePathsToCheck(url, &paths); 30 EXPECT_EQ(paths.size(), static_cast<size_t>(4)); 34 EXPECT_TRUE(VectorContains(paths, "/1/2.html?param=1")); 35 EXPECT_TRUE(VectorContains(paths, "/1/2.html")); 36 EXPECT_TRUE(VectorContains(paths, "/1/")); 37 EXPECT_TRUE(VectorContains(paths, "/")); 41 safe_browsing_util::GeneratePathsToCheck(url, &paths); 43 EXPECT_EQ(paths.size(), static_cast<size_t>(2)); 49 EXPECT_TRUE(VectorContains(paths, "/1.html")) [all...] |
/external/chromium_org/tools/cr/cr/base/ |
platform.py | 52 def paths(self): member in class:Platform 59 paths = [] 60 for entry in Platform.GetActivePlugin().paths: 62 if entry not in paths: 63 paths.append(entry) 67 elif entry not in paths: 68 paths.append(entry) 69 value = os.path.pathsep.join(paths)
|
/external/chromium_org/media/base/ |
media_posix.cc | 49 StubPathMap paths; local 53 paths[kModuleFfmpegsumo].push_back(module_dir.Append(kSumoLib).value()); 56 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 58 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 60 paths[kModuleFfmpegsumo].push_back(module_dir.Append( 63 return InitializeStubs(paths);
|
/external/chromium_org/third_party/webrtc/base/ |
iosfilesystem.mm | 37 NSArray* paths = NSSearchPathForDirectoriesInDomains( 39 ASSERT([paths count] == 1); 40 return copyString([paths objectAtIndex:0]);
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
CommonExternalStorageTest.java | 87 final List<File> paths = getAllPackageSpecificPaths(getContext()); local 88 for (File path : paths) { 108 for (File path : paths) { 114 * Return a set of several package-specific external storage paths. 117 final List<File> paths = new ArrayList<File>(); local 118 Collections.addAll(paths, context.getExternalCacheDirs()); 119 Collections.addAll(paths, context.getExternalFilesDirs(null)); 120 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); 121 Collections.addAll(paths, context.getObbDirs()); 122 return paths; 126 final List<File> paths = new ArrayList<File>(); local 134 final List<File> paths = new ArrayList<File>(); local 143 final List<File> paths = new ArrayList<File>(); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
test_patcher.py | 26 def Apply(self, paths, file_system, version=None): 30 for path in paths)) 32 raise FileNotFoundError('One of %s is deleted in the patch.' % paths)
|
offline_file_system.py | 16 def Read(self, paths, skip_not_found=False): 19 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
|
/external/chromium_org/ash/resources/ |
PRESUBMIT.py | 28 # List of paths with their associated scale factor. This is used to verify 41 for paths in path_scales: 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/chrome/app/theme/ |
PRESUBMIT.py | 28 # List of paths with their associated scale factor. This is used to verify 41 for paths in path_scales: 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
zip_file_creator_browsertest.cc | 54 std::vector<base::FilePath> paths; local 55 paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist"))); 60 paths, local 82 std::vector<base::FilePath> paths; local 83 paths.push_back(kDir1); 84 paths.push_back(kFile1); 85 paths.push_back(kFile2); 90 paths, local
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/check-for-inappropriate-macros-in-external-headers-tests/ |
run-test.rb | 42 output = sanitized_output %x{ #{$tool} #{config[:paths].join(' ')} 2>&1 } 60 :paths => ['Headers/Pass.h'], 68 :paths => ['Headers/Fail.h'],
|
/external/chromium_org/ui/resources/ |
PRESUBMIT.py | 27 # List of paths with their associated scale factor. This is used to verify 40 for paths in path_scales: 42 input_api, output_api, paths).RunChecks())
|
/bionic/libc/include/ |
mntent.h | 33 #include <paths.h> /* for _PATH_MOUNTED */
|
/development/ndk/platforms/android-L/include/ |
mntent.h | 33 #include <paths.h> /* for _PATH_MOUNTED */
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorPreserveSpace.java | 64 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); local 65 setPropertiesFromAttributes(handler, rawName, attributes, paths); 67 Vector xpaths = paths.getElements(); 76 paths.clearElements();
|