/external/apache-http/src/org/apache/http/cookie/ |
CookiePathComparator.java | 73 String path2 = normalizePath(c2); local 74 if (path1.equals(path2)) { 76 } else if (path1.startsWith(path2)) { 78 } else if (path2.startsWith(path1)) {
|
/external/skia/tests/ |
ParsePathTest.cpp | 15 SkPath path2; local 16 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); 19 SkParsePath::ToSVGString(path2, &str2); 23 REPORTER_ASSERT(reporter, path == path2); 24 if (path != path2) { 81 SkPath path, path2; local
|
PathOpsBuilderTest.cpp | 96 SkPath path2; local 99 builder.resolve(&path2); 100 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2); 284 SkPath path2; local 285 path2.moveTo(5940, 2790); 286 path2.lineTo(5940, 2160); 287 path2.lineTo(5970, 1980); 288 path2.lineTo(5688, 773669888); 289 path2.lineTo(5688, 2160); 290 path2.lineTo(5688, 2430) [all...] |
PathOpsBattles.cpp | 13 SkPath path1, path2; local 29 path2.moveTo(46.9383f, 68.4529f); 30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); 31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); 32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); 33 path2.lineTo(4.22689e-14f, -60); 34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); 35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); 36 path2.cubicTo(-15.5552f, 63.4296f, 12.6591f, 64.0704f, 33.9313f, 49.484f); 37 path2.lineTo(46.9383f, 68.4529f) 43 SkPath path1, path2; local 66 SkPath path1, path2; local [all...] |
PathOpsOpTest.cpp | 1894 SkPath path2; local 1966 SkPath path2; local 2001 SkPath path2; local 2082 SkPath path2; local 3331 SkPath path2; local 3349 SkPath path2; local 3372 SkPath path2; local 3467 SkPath path2; local 3478 SkPath path1, path2; local 3520 SkPath path, path2; local 5842 SkPath path1, path2; local 5861 SkPath path1, path2; local [all...] |
GpuDrawPathTest.cpp | 106 SkPath path1, path2; local 111 path2.conicTo(p0, p1, .7f); 119 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile); 134 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
|
/external/skia/gm/ |
bug530095.cpp | 13 SkPath path1, path2; local 15 path2.addCircle(2, 2, 1.24f); 33 canvas->drawPath(path2, paint); 47 canvas->drawPath(path2, paint);
|
strokefill.cpp | 282 SkPath path2; local 283 path2.setFillType(SkPath::kWinding_FillType); 284 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 285 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Direction); 286 canvas->drawPath(path2, paint); 288 path2.reset(); 289 path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 290 canvas->drawPath(path2, paint); 291 SkASSERT(SkPathPriv::CheapIsFirstDirection(path2, SkPathPriv::kCCW_FirstDirection)); 293 path2.reset() [all...] |
/external/mesa3d/src/glsl/tests/ |
compare_ir | 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) 55 subprocess.call(['diff', '-u', path1, path2]) 58 os.remove(path2)
|
/external/libcxx/test/std/experimental/filesystem/class.filesystem_error/ |
filesystem_error.members.pass.cpp | 22 // const path& path2() const noexcept; 54 assert(e.path1().empty() && e.path2().empty()); 63 assert(e.path2().empty()); 72 assert(e.path2() == p2); 87 // const path& path2() const noexcept 89 ASSERT_SAME_TYPE(path const&, decltype(e.path2())); 90 ASSERT_NOEXCEPT(e.path2());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CanvasTest.java | 95 Path path2 = new Path(); local 96 path2.moveTo(100, 100); 97 path2.lineTo(150, 140); 101 canvas.drawPath(path2, paint); 104 + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(canvas).getDescription()); 107 + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(targetBitmap).getDescription());
|
/frameworks/compile/mclinker/unittests/ |
UniqueGCFactoryBaseTest.cpp | 68 sys::fs::Path path1(TOPDIR), path2(TOPDIR); 70 path2.append("unittests/test2.txt"); 77 memFactory->produce(path2, FileHandle::OpenMode(FileHandle::ReadOnly),
|
/external/webrtc/webrtc/base/ |
pathutils_unittest.cc | 46 rtc::Pathname path2("c:/foo bar.txt"); 47 EXPECT_EQ(path2.url(), std::string("file:///c:/foo%20bar.txt"));
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
FileSystem.java | 128 * Build a path from the two path components. Concatenate path1 and path2. Insert the file system-dependent
130 * end with a separator character AND path2 does not begin with one).
133 * @param path2 - the second path component may be null or empty
134 * @return the path resulting from concatenating path1 to path2
136 public String path(String path1, String path2);
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
symlink01.c | 224 void delete_files(char *path1, char *path2); 316 int creat_both(char *path1, char *path2, char *path3); 317 int creat_symlink(char *path1, char *path2, char *_path3); 318 int creat_path_max(char *path1, char *path2, char *path3); 319 int ck_symlink(char *path1, char *path2, char *path3); 321 int ck_object(char *path1, char *path2, char *path3); 322 int ck_both(char *path1, char *path2, char *path3); 323 int ck_path_max(char *path1, char *path2, char *path3); 333 int (*test_setup) (char *path1, char *path2, char *path3); 334 int (*ck_test) (char *path1, char *path2, char *path3) [all...] |
/external/dtc/tests/ |
dtbs_equal_unordered.c | 181 char path1[PATH_MAX], path2[PATH_MAX]; local 184 CHECK(fdt_get_path(fdt2, offset2, path2, sizeof(path2))); 186 if (!streq(path1, path2)) 187 TEST_BUG("Path mismatch %s vs. %s\n", path1, path2);
|
/external/lzma/CPP/Windows/ |
FileLink.cpp | 369 FString path2 = path;
local 370 int pos = path2.ReverseFind(FCHAR_PATH_SEPARATOR);
374 if (pos == 2 && path2[1] == L':')
377 path2.DeleteFrom(pos);
378 return NDir::CreateComplexDir(path2);
|
/external/skia/samplecode/ |
SamplePictFile.cpp | 190 SkString path2(path); 191 path2.append(".new.skp"); 192 SkFILEWStream writer(path2.c_str());
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 290 std::string JoinPath(const std::string &path1, const std::string &path2) { 292 return path2; 294 if (path2.empty()) { 301 if (path2[0] == OS_PATH_SEPARATOR) { 302 fullPath += path2.substr(1, string::npos); 304 fullPath += path2;
|
slang_rs_reflect_utils.h | 95 std::string JoinPath(const std::string &path1, const std::string &path2);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
DictionaryMaker.java | 86 * Utility method that throws an exception if path1 and path2 point to the same file. 88 private static void checkNotSameFile(final String path1, final String path2) 90 if (null == path1 || null == path2) return; 91 if (new File(path1).getCanonicalPath().equals(new File(path2).getCanonicalPath())) { 92 throw new RuntimeException(path1 + " and " + path2 + " are the same file: "
|
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 119 const char *path2 = TEST_APP_DIR "example.com/example.apk"; local 120 EXPECT_EQ(0, validate_apk_path(path2)) 121 << path2 << " should be allowed as a valid path"; 152 const char *path2 = TEST_APP_DIR "example.com/example.apk"; local 153 EXPECT_EQ(0, validate_apk_path(path2)) 154 << path2 << " should be allowed as a valid path";
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/ |
canonical.pass.cpp | 108 TEST_CHECK(err.path2() == base); 115 TEST_CHECK(err.path2() == current_path());
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove/ |
remove.pass.cpp | 49 && err.path2() == ""
|
/build/make/tools/ijar/ |
zip_main.cc | 70 // Concatene 2 path, path1 and path2, using / as a directory separator and 73 const char *path1, const char *path2) { 78 if (l < size - 1 && path1[len1] != '/' && path2[0] != '/') { 84 strncat(out, path2, size - 1 - l);
|