/ndk/tests/device/stat/jni/ |
stat.c | 25 char *paths[] = { local 29 for(i=0; i<sizeof(paths)/sizeof(paths[0]); i++) 31 if (stat(paths[i], &sb) != 0) 32 printf("Can't stat path %s\n", paths[i]); 35 printf("%14s %6lld: %s%s%s %s %s %s %s\n", paths[i], sb.st_size,
|
/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/third_party/WebKit/Source/core/fileapi/ |
FileList.cpp | 44 Vector<String> FileList::paths() const function in class:WebCore::FileList 46 Vector<String> paths; local 48 paths.append(m_files[i]->path()); 50 return paths;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
path.cc | 44 StringArray_t paths = Split(path); local 46 for (size_t index = 0; index < paths.size(); index++) { 48 if (paths_.size() && index == 0 && paths[0] == "/") continue; 49 paths_.push_back(paths[index]); 57 StringArray_t paths = Split(path); local 62 paths.push_back(paths[index]); 64 paths_ = Normalize(paths); 69 StringArray_t paths = Split(path); local 70 paths_ = Normalize(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...] |
/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(context).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/build/android/gyp/ |
dex.py | 15 def DoDex(options, paths): 21 dex_cmd += paths 27 input_paths=paths, 52 options, paths = parser.parse_args() 56 paths = [options.proguard_enabled_input_path] 58 DoDex(options, paths)
|
/external/chromium_org/chrome/installer/util/ |
helper.cc | 47 std::vector<base::FilePath>* paths) { 56 paths->clear(); 58 paths->resize(has_metro_data ? 2 : 1); 59 (*paths)[0] = data_dir; 61 (*paths)[1] = data_dir.DirName().Append( 65 DCHECK(!paths->empty());
|
/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/WebKit/Tools/Scripts/ |
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) {
|
/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)
|
empty_dir_file_system.py | 12 def Read(self, paths): 14 for path in paths:
|
offline_file_system.py | 16 def Read(self, paths): 18 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
Android.mk | 9 # All paths are relative to APP_PROJECT_PATH 15 # Include paths are absolute 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/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())
|
/external/llvm/unittests/Support/ |
Path.cpp | 46 SmallVector<StringRef, 40> paths; local 47 paths.push_back(""); 48 paths.push_back("."); 49 paths.push_back(".."); 50 paths.push_back("foo"); 51 paths.push_back("/"); 52 paths.push_back("/foo"); 53 paths.push_back("foo/"); 54 paths.push_back("/foo/"); 55 paths.push_back("foo/bar") [all...] |
/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();
|
ProcessorStripSpace.java | 63 WhitespaceInfoPaths paths = new WhitespaceInfoPaths(thisSheet); local 64 setPropertiesFromAttributes(handler, rawName, attributes, paths); 66 Vector xpaths = paths.getElements(); 75 paths.clearElements();
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_util_unittest.cc | 27 std::vector<std::string> hosts, paths; local 31 safe_browsing_util::GeneratePathsToCheck(url, &paths); 33 EXPECT_EQ(paths.size(), static_cast<size_t>(4)); 37 EXPECT_TRUE(VectorContains(paths, "/1/2.html?param=1")); 38 EXPECT_TRUE(VectorContains(paths, "/1/2.html")); 39 EXPECT_TRUE(VectorContains(paths, "/1/")); 40 EXPECT_TRUE(VectorContains(paths, "/")); 44 safe_browsing_util::GeneratePathsToCheck(url, &paths); 46 EXPECT_EQ(paths.size(), static_cast<size_t>(2)); 52 EXPECT_TRUE(VectorContains(paths, "/1.html")) [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
gjslint.py | 79 def _MultiprocessCheckPaths(paths): 87 paths: paths to check. 95 for results in pool.imap(_CheckPath, paths): 103 def _CheckPaths(paths): 104 """Run _CheckPath on all paths in one thread. 107 paths: paths to check. 113 for path in paths: 123 path: paths to check [all...] |