/external/jsoncpp/test/ |
cleantests.py | 5 paths = [] variable 7 paths += glob.glob( 'data/' + pattern ) 9 for path in paths:
|
/external/flatbuffers/ |
biicode.conf | 2 [paths]
|
/external/tinyxml2/ |
biicode.conf | 3 [paths]
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
TimeZoneDataFilesTest.java | 30 String[] paths = TimeZoneDataFiles.getTimeZoneFilePaths("foo"); local 31 assertEquals(2, paths.length); 33 assertTrue(paths[0].contains("/misc/zoneinfo/current/")); 34 assertTrue(paths[0].endsWith("foo")); 36 assertTrue(paths[1].contains("/usr/share/zoneinfo/")); 37 assertTrue(paths[1].endsWith("foo")); 46 String[] paths = icuDataPath.split(":"); local 47 assertEquals(2, paths.length); 49 assertTrue(paths[0].contains("/misc/zoneinfo/current/icu")); 50 assertTrue(paths[1].contains("/usr/icu")) [all...] |
/external/perf_data_converter/src/ |
perf_data_handler_test.cc | 17 const std::vector<string> paths = { local 24 for (const auto& path : paths) { 30 const std::vector<string> paths = { local 39 for (const auto& path : paths) { 45 const std::vector<string> paths = { local 48 for (const auto& path : paths) { 54 const std::vector<string> paths = { local 57 for (const auto& path : paths) {
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
TweenPaths.java | 3 import aurelienribon.tweenengine.paths.CatmullRom; 4 import aurelienribon.tweenengine.paths.Linear; 7 * Collection of built-in paths.
|
/external/swiftshader/third_party/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...] |
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/ |
CarSettingsRobolectricTestRunner.java | 55 * paths to it. This lets us access resources in both Settings and SettingsLib in our tests. 71 List<ResourcePath> paths = super.getIncludedResourcePaths(); 72 paths.add(createResourcePath("file:packages/apps/Car/Settings/res")); 76 paths.add(createResourcePath( 78 paths.add(createResourcePath("file:prebuilts/sdk/current/support/car/res")); 81 paths.add(createResourcePath("file:packages/apps/Car/libs/car-stream-ui-lib/res ")); 82 paths.add(createResourcePath("file:packages/apps/Car/libs/car-list/res")); 83 paths.add(createResourcePath("file:frameworks/base/packages/SettingsLib/res")); 84 paths.add(createResourcePath( 86 paths.add(createResourcePath [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
md5sum.py | 19 def CalculateHostMd5Sums(paths): 20 """Calculates the MD5 sum value for all items in |paths|. 26 paths: A list of host paths to md5sum. 28 A dict mapping file paths to their respective md5sum checksums. 30 if isinstance(paths, basestring): 31 paths = [paths] 37 [md5sum_bin_host_path] + [os.path.realpath(p) for p in paths]) 42 def CalculateDeviceMd5Sums(paths, device) [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/ |
md5sum.py | 19 def CalculateHostMd5Sums(paths): 20 """Calculates the MD5 sum value for all items in |paths|. 26 paths: A list of host paths to md5sum. 28 A dict mapping file paths to their respective md5sum checksums. 30 if isinstance(paths, basestring): 31 paths = [paths] 37 [md5sum_bin_host_path] + [os.path.realpath(p) for p in paths]) 42 def CalculateDeviceMd5Sums(paths, device) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
SettingsRobolectricTestRunner.java | 45 * paths to it. This lets us access resources in both Settings and SettingsLib in our tests. 62 final List<ResourcePath> paths = super.getIncludedResourcePaths(); 63 addIncludedResourcePaths(paths); 64 return paths; 72 public static void addIncludedResourcePaths(List<ResourcePath> paths) { 74 paths.add(new ResourcePath(null, 76 paths.add(new ResourcePath(null, 78 paths.add(new ResourcePath(null, 80 paths.add(new ResourcePath(null, 82 paths.add(new ResourcePath(null [all...] |
/external/autotest/client/common_lib/brillo/ |
hal_utils.py | 27 paths = [] 29 paths.append('/system/lib64/hw') 31 paths.append('/system/lib/hw') 32 for path in paths:
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
gc.py | 47 path_list = gc.get_paths("/tmp", parser) # contains all ten Paths 87 A filter function that keeps the n largest paths. 89 def keep(paths): 91 for idx, path in enumerate(paths): 94 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)] 111 def keep(paths): 112 """A filter function that keeps exactly one out of every n paths.""" 115 for p in paths: 138 A filter function that keeps paths where export_version % n == 0. 140 def keep(paths) [all...] |
/external/tensorflow/tensorflow/contrib/session_bundle/ |
gc.py | 46 path_list = gc.get_paths("/tmp", parser) # contains all ten Paths 88 A filter function that keeps the n largest paths. 90 def keep(paths): 92 for idx, path in enumerate(paths): 95 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)] 114 def keep(paths): 116 for p in paths: 141 A filter function that keeps paths where export_version % n == 0. 143 def keep(paths): 145 for p in paths [all...] |
/external/tensorflow/tensorflow/python/estimator/ |
gc.py | 47 path_list = gc._get_paths("/tmp", parser) # contains all ten Paths 87 A filter function that keeps the n largest paths. 89 def keep(paths): 91 for idx, path in enumerate(paths): 94 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)] 111 def keep(paths): 112 """A filter function that keeps exactly one out of every n paths.""" 115 for p in paths: 138 A filter function that keeps paths where export_version % n == 0. 140 def keep(paths) [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mmix/ |
loc-4.s | 1 # Hit a few remaining code-paths.
|
/external/protobuf/src/google/protobuf/util/internal/ |
field_mask_utility.cc | 113 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, 116 int length = paths.length(); 131 if (paths[i] == '\\') { 135 if (paths[i] != '\"') { 139 if (i >= length - 1 || paths[i + 1] != ']') { 142 StrCat("Invalid FieldMask '", paths, 150 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && 151 paths[i + 1] != ')' && paths[i + 1] != '(') [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/graph/ |
UsageGraphTest.java | 63 SparseIntArray paths = new SparseIntArray(); local 64 paths.append(0, 100); 65 paths.append(500, 50); 66 paths.append(501, -1); 69 mGraph.calculateLocalPaths(paths, localPaths); 82 SparseIntArray paths = new SparseIntArray(); local 83 paths.append(0, 100); 84 paths.append(200, 75); 85 paths.append(201, -1); 87 paths.append(300, 50) 113 SparseIntArray paths = new SparseIntArray(); local 133 SparseIntArray paths = new SparseIntArray(); local 155 SparseIntArray paths = new SparseIntArray(); local [all...] |
/frameworks/base/libs/androidfw/tests/ |
BenchmarkHelpers.h | 30 void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTable_config* config, 33 void GetResourceBenchmark(const std::vector<std::string>& paths, const ResTable_config* config,
|
/test/vts/utils/python/os/ |
path_utils.py | 19 def JoinTargetPath(path, *paths): 20 """Concatenates paths and inserts target path separators between them. 24 *paths: tuple of strings, the other paths to be concatenated. 29 return posixpath.join(path, *paths)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
win_add2path.py | 36 paths = [envpath]
39 paths.append(path)
41 envpath = os.pathsep.join(paths)
43 return paths, envpath
46 paths, envpath = modify()
47 if len(paths) > 1:
49 print '\n'.join(paths[1:])
|
/external/perfetto/include/perfetto/traced/ |
data_source_types.h | 39 std::set<std::string> paths) 40 : entry_type_(entry_type), paths_(std::move(paths)) {} 45 const std::set<std::string>& paths() const { return paths_; } function in class:perfetto::InodeMapValue 49 void SetPaths(std::set<std::string> paths) { paths_ = std::move(paths); } 53 return type() == rhs.type() && paths() == rhs.paths();
|
/external/python/cpython2/Tools/scripts/ |
win_add2path.py | 36 paths = [envpath] 39 paths.append(path) 41 envpath = os.pathsep.join(paths) 43 return paths, envpath 46 paths, envpath = modify() 47 if len(paths) > 1: 49 print '\n'.join(paths[1:])
|
/external/python/cpython3/Tools/scripts/ |
win_add2path.py | 37 paths = [envpath] 40 paths.append(path) 42 envpath = os.pathsep.join(paths) 44 return paths, envpath 47 paths, envpath = modify() 48 if len(paths) > 1: 50 print('\n'.join(paths[1:]))
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
TvSettingsRobolectricTestRunner.java | 44 * We are going to create our own custom manifest so we can add multiple resource paths to it. 59 final List<ResourcePath> paths = super.getIncludedResourcePaths(); 60 paths.add(resourcePath("file:frameworks/base/core/res/res")); 61 paths.add(resourcePath("file:packages/apps/TvSettings/Settings/res")); 62 paths.add(resourcePath("file:frameworks/base/packages/SettingsLib/res")); 63 paths.add(resourcePath("file:frameworks/support/leanback/res")); 64 paths.add(resourcePath("file:frameworks/support/v7/preference/res")); 65 return paths;
|