HomeSort by relevance Sort by last modified time
    Searched full:pathstr (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /external/skia/tests/
PathOpsOpLoopThreadedTest.cpp 35 SkString pathStr;
57 // SkDebugf("%s\n", pathStr);
59 pathStr.printf("static void loop%d(skiatest::Reporter* reporter,"
61 pathStr.appendf(" SkPath path, pathB;\n");
62 pathStr.appendf(" path.moveTo(%d,%d);\n", a, b);
63 pathStr.appendf(" path.cubicTo(%d,%d, ", c, d);
64 add_point(&pathStr, endC.fX, endC.fY);
65 pathStr.appendf(", ");
66 add_point(&pathStr, endD.fX, endD.fY);
67 pathStr.appendf(");\n")
    [all...]
PathOpsSimplifyQuadralateralsThreadedTest.cpp 17 SkString pathStr;
51 pathStr.printf("static void quadralateralSimplify%d(skiatest::Reporter*"
53 pathStr.appendf(" SkPath path;\n");
54 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
55 pathStr.appendf(" path.lineTo(%d, %d);\n", bx, by);
56 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
57 pathStr.appendf(" path.lineTo(%d, %d);\n", dx, dy);
58 pathStr.appendf(" path.close();\n");
59 pathStr.appendf(" path.moveTo(%d, %d);\n", ex, ey);
60 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy)
    [all...]
PathOpsSimplifyQuadThreadedTest.cpp 17 SkString pathStr;
51 pathStr.printf("static void testQuads%d(skiatest::Reporter* reporter,"
53 pathStr.appendf(" SkPath path;\n");
54 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
55 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
56 pathStr.appendf(" path.lineTo(%d, %d);\n", dx, dy);
57 pathStr.appendf(" path.close();\n");
58 pathStr.appendf(" path.moveTo(%d, %d);\n", ex, ey);
59 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
60 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy)
    [all...]
PathOpsOpCubicThreadedTest.cpp 19 SkString pathStr;
39 pathStr.printf("static void cubicOp%d(skiatest::Reporter* reporter,"
41 pathStr.appendf(" SkPath path, pathB;\n");
42 pathStr.appendf(" path.setFillType(SkPath::k%s_FillType);\n",
45 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB);
46 pathStr.appendf(" path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD,
48 pathStr.appendf(" path.close();\n");
49 pathStr.appendf(" pathB.setFillType(SkPath::k%s_FillType);\n",
52 pathStr.appendf(" pathB.moveTo(%d,%d);\n", a, b);
53 pathStr.appendf(" pathB.cubicTo(%d,%d, %d,%d, %d,%d);\n", c, d
    [all...]
PathOpsSimplifyDegenerateThreadedTest.cpp 33 SkString pathStr;
45 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
46 pathStr.appendf(" path.lineTo(%d, %d);\n", bx, by);
47 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
48 pathStr.appendf(" path.close();\n");
49 pathStr.appendf(" path.moveTo(%d, %d);\n", dx, dy);
50 pathStr.appendf(" path.lineTo(%d, %d);\n", ex, ey);
51 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
52 pathStr.appendf(" path.close();\n");
53 state.outputProgress(pathStr.c_str(), SkPath::kWinding_FillType)
    [all...]
PathOpsSimplifyTrianglesThreadedTest.cpp 36 SkString pathStr;
48 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
49 pathStr.appendf(" path.lineTo(%d, %d);\n", bx, by);
50 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
51 pathStr.appendf(" path.close();\n");
52 pathStr.appendf(" path.moveTo(%d, %d);\n", dx, dy);
53 pathStr.appendf(" path.lineTo(%d, %d);\n", ex, ey);
54 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
55 pathStr.appendf(" path.close();\n");
56 state.outputProgress(pathStr.c_str(), SkPath::kWinding_FillType)
    [all...]
PathOpsOpRectThreadedTest.cpp 24 SkString pathStr;
46 pathStr.printf(
49 pathStr.appendf(" SkPath path, pathB;");
50 pathStr.appendf(" path.setFillType(SkPath::k%s_FillType);\n",
53 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
55 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
57 pathStr.appendf(" pathB.setFillType(SkPath::k%s_FillType);\n",
60 pathStr.appendf(" pathB.addRect(%d, %d, %d, %d,"
62 pathStr.appendf(" pathB.addRect(%d, %d, %d, %d,"
64 pathStr.appendf(" testPathOp(reporter, path, pathB, %s, filename);\n"
    [all...]
PathOpsOpCircleThreadedTest.cpp 16 SkString pathStr;
32 pathStr.printf("static void circlesOp%d(skiatest::Reporter* reporter,"
34 pathStr.appendf(" SkPath path, pathB;\n");
35 pathStr.appendf(" path.setFillType(SkPath::k%s_FillType);\n",
38 pathStr.appendf(" path.addCircle(%d, %d, %d, %s);\n", state.fA, state.fB,
40 pathStr.appendf(" pathB.setFillType(SkPath::k%s_FillType);\n",
43 pathStr.appendf(" pathB.addCircle(%d, %d, %d, %s);\n", a, b,
45 pathStr.appendf(" testPathOp(reporter, path, pathB, %s, filename);\n",
47 pathStr.appendf("}\n");
48 state.outputProgress(pathStr.c_str(), (SkPathOp) op)
    [all...]
PathOpsSimplifyRectThreadedTest.cpp 38 SkString pathStr;
67 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
98 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
129 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
160 pathStr.appendf(" path.addRect(%d, %d, %d, %d,"
169 state.outputProgress(pathStr.c_str(), SkPath::kWinding_FillType);
171 testSimplify(path, false, out, state, pathStr.c_str());
173 state.outputProgress(pathStr.c_str(), SkPath::kEvenOdd_FillType);
175 testSimplify(path, true, out, state, pathStr.c_str());
PathOpsThreadedCommon.h 37 void outputProgress(const char* pathStr, SkPath::FillType);
38 void outputProgress(const char* pathStr, SkPathOp);
PathOpsQuadLineIntersectionThreadedTest.cpp 45 SkString pathStr;
46 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY);
47 pathStr.appendf(" path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX,
49 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", line[0].fX, line[0].fY);
50 pathStr.appendf(" path.lineTo(%1.9g, %1.9g);\n", line[1].fX, line[1].fY);
  /frameworks/base/services/core/jni/
com_android_server_SerialService.cpp 39 const char *pathStr = env->GetStringUTFChars(path, NULL);
41 int fd = open(pathStr, O_RDWR | O_NOCTTY);
43 ALOGE("could not open %s", pathStr);
44 env->ReleaseStringUTFChars(path, pathStr);
47 env->ReleaseStringUTFChars(path, pathStr);
  /frameworks/base/libs/hwui/
PathParser.cpp 125 const char* pathStr, int start, int end) {
127 if (pathStr[start] == 'z' || pathStr[start] == 'Z') {
138 extract(&endPosition, &endWithNegOrDot, pathStr, startPosition, end);
141 float currentValue = parseFloat(result, &pathStr[startPosition],
166 const char* pathStr, size_t strLen) {
167 if (pathStr == NULL) {
175 while (isspace(pathStr[start]) && start < strLen) {
186 end = nextStart(pathStr, strLen, end);
188 getFloats(&points, result, pathStr, start, end)
    [all...]
PathParser.h 43 const char* pathStr, size_t strLength);
45 const char* pathStr, size_t strLength);
  /frameworks/base/media/jni/
android_media_MediaScanner.cpp 154 jstring pathStr;
155 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) {
160 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified,
163 mEnv->DeleteLocalRef(pathStr);
254 const char *pathStr = env->GetStringUTFChars(path, NULL);
255 if (pathStr == NULL) { // Out of memory
260 MediaScanResult result = mp->processDirectory(pathStr, myClient);
262 ALOGE("An error occurred while scanning directory '%s'.", pathStr);
264 env->ReleaseStringUTFChars(path, pathStr);
286 const char *pathStr = env->GetStringUTFChars(path, NULL)
    [all...]
android_mtp_MtpServer.cpp 169 const char *pathStr = env->GetStringUTFChars(path, NULL);
170 if (pathStr != NULL) {
173 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr,
176 env->ReleaseStringUTFChars(path, pathStr);
179 env->ReleaseStringUTFChars(path, pathStr);
  /external/skia/gm/
path_stroke_with_zero_length.cpp 141 SkString pathStr;
142 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f);
144 pathStr.append(verb);
148 SkParsePath::FromSVGString(pathStr.c_str(), &path);
204 SkString pathStr;
205 pathStr.append("M 9.5 9.5 ");
207 pathStr.append(firstVerb);
210 pathStr.append("M 40.5 9.5 ");
212 pathStr.append(secondVerb);
217 SkParsePath::FromSVGString(pathStr.c_str(), &path)
    [all...]
  /cts/common/device-side/util/jni/
android_cts_FileUtils.cpp 51 const char* pathStr = env->GetStringUTFChars(path, NULL);
55 int res = statLinks == true ? lstat(pathStr, &s) : stat(pathStr, &s);
75 env->ReleaseStringUTFChars(path, pathStr);
  /frameworks/base/core/jni/
android_server_Watchdog.cpp 55 static void dumpKernelStacks(JNIEnv* env, jobject clazz, jstring pathStr) {
60 if (!pathStr) {
65 const char *path = env->GetStringUTFChars(pathStr, NULL);
97 env->ReleaseStringUTFChars(pathStr, path);
  /cts/tests/tests/security/jni/
android_security_cts_SELinuxTest.cpp 42 static jstring getFileContext(JNIEnv *env, jobject, jstring pathStr) {
43 ScopedUtfChars path(env, pathStr);
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
MultipleWorkspace.py 126 # @retval PathStr Path string include the $(WORKSPACE)
129 def handleWsMacro(cls, PathStr):
130 if TAB_WORKSPACE in PathStr:
131 Path = PathStr.replace(TAB_WORKSPACE, cls.WORKSPACE).strip()
134 Path = PathStr.replace(TAB_WORKSPACE, Pkg).strip()
137 return PathStr
  /external/swiftshader/third_party/LLVM/lib/Support/Unix/
Program.inc 74 const char *PathStr = getenv("PATH");
75 if (PathStr == 0)
79 size_t PathLen = strlen(PathStr);
82 const char *Colon = std::find(PathStr, PathStr+PathLen, ':');
86 if (FilePath.set(std::string(PathStr,Colon))) {
93 PathLen -= Colon-PathStr;
94 PathStr = Colon;
97 while (*PathStr == ':') {
98 PathStr++;
    [all...]
  /cts/tests/openglperf2/jni/graphics/
GLUtils.cpp 73 jstring pathStr = sEnv->NewStringUTF(path);
74 textureId = sEnv->CallStaticIntMethod(activityClass, loadTexture, sAssetManager, pathStr);
75 sEnv->DeleteLocalRef(pathStr);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
PatternBasedDeltaVisitor.java 93 String pathStr = path.toString();
99 if (set.isInput(pathStr, path)) {
117 set.isOutput(pathStr, path)) {
  /external/deqp/executor/
xeTestCase.cpp 69 std::string pathStr (path);
72 for (int pos = 0; pos < (int)pathStr.length(); pos++)
74 if (pathStr[pos] == '.')
76 components.push_back(pathStr.substr(compStart, pos-compStart));
81 DE_ASSERT(compStart < (int)pathStr.length());
82 components.push_back(pathStr.substr(compStart));

Completed in 4688 milliseconds

1 2 3 4 5 6