/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);
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
EdgeWalker_Test.h | 26 State4& state, const char* pathStr); 53 void outputProgress(const State4& state, const char* pathStr, SkPath::FillType ); 54 void outputProgress(const State4& state, const char* pathStr, ShapeOp op); 55 void outputToStream(const State4& state, const char* pathStr, const char* pathPrefix,
|
EdgeWalkerPolygon4x4_Test.cpp | 14 char pathStr[1024]; 15 bzero(pathStr, sizeof(pathStr)); 50 char* str = pathStr; 62 outputProgress(state, pathStr, SkPath::kWinding_FillType); 63 testSimplifyx(path, false, out, state, pathStr); 66 outputProgress(state, pathStr, SkPath::kEvenOdd_FillType); 67 testSimplifyx(path, true, out, state, pathStr); 108 char pathStr[1024]; 109 bzero(pathStr, sizeof(pathStr)) [all...] |
EdgeWalkerQuadratic4x4_Test.cpp | 17 char pathStr[1024]; 18 bzero(pathStr, sizeof(pathStr)); 51 char* str = pathStr; 61 outputProgress(state, pathStr, SkPath::kWinding_FillType); 62 testSimplifyx(path, false, out, state, pathStr); 65 outputProgress(state, pathStr, SkPath::kEvenOdd_FillType); 66 testSimplifyx(path, true, out, state, pathStr);
|
ShapeOpRect4x4_Test.cpp | 22 char pathStr[1024]; // gdb: set print elements 400 23 bzero(pathStr, sizeof(pathStr)); 32 char* str = pathStr; 56 outputProgress(state, pathStr, (ShapeOp) op);
|
SimplifyRect4x4_Test.cpp | 22 char pathStr[1024]; // gdb: set print elements 400 23 bzero(pathStr, sizeof(pathStr)); 42 char* str = pathStr; 158 outputProgress(state, pathStr, SkPath::kWinding_FillType); 159 testSimplifyx(path, false, out, state, pathStr); 161 outputProgress(state, pathStr, SkPath::kEvenOdd_FillType); 162 testSimplifyx(path, true, out, state, pathStr);
|
/external/skia/experimental/Intersection/ |
EdgeWalker_Test.h | 26 State4& state, const char* pathStr); 53 void outputProgress(const State4& state, const char* pathStr, SkPath::FillType ); 54 void outputProgress(const State4& state, const char* pathStr, ShapeOp op); 55 void outputToStream(const State4& state, const char* pathStr, const char* pathPrefix,
|
EdgeWalkerPolygon4x4_Test.cpp | 14 char pathStr[1024]; 15 bzero(pathStr, sizeof(pathStr)); 50 char* str = pathStr; 62 outputProgress(state, pathStr, SkPath::kWinding_FillType); 63 testSimplifyx(path, false, out, state, pathStr); 66 outputProgress(state, pathStr, SkPath::kEvenOdd_FillType); 67 testSimplifyx(path, true, out, state, pathStr); 108 char pathStr[1024]; 109 bzero(pathStr, sizeof(pathStr)) [all...] |
EdgeWalkerQuadratic4x4_Test.cpp | 17 char pathStr[1024]; 18 bzero(pathStr, sizeof(pathStr)); 51 char* str = pathStr; 61 outputProgress(state, pathStr, SkPath::kWinding_FillType); 62 testSimplifyx(path, false, out, state, pathStr); 65 outputProgress(state, pathStr, SkPath::kEvenOdd_FillType); 66 testSimplifyx(path, true, out, state, pathStr);
|
ShapeOpRect4x4_Test.cpp | 22 char pathStr[1024]; // gdb: set print elements 400 23 bzero(pathStr, sizeof(pathStr)); 32 char* str = pathStr; 56 outputProgress(state, pathStr, (ShapeOp) op);
|
/external/chromium_org/third_party/skia/tests/ |
PathOpsSimplifyDegenerateThreadedTest.cpp | 13 char pathStr[1024]; 16 sk_bzero(pathStr, sizeof(pathStr)); 48 char* str = pathStr; 57 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 59 testSimplify(path, false, out, state, pathStr); 62 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 64 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyQuadThreadedTest.cpp | 14 char pathStr[1024]; 17 sk_bzero(pathStr, sizeof(pathStr)); 53 char* str = pathStr; 62 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 64 testSimplify(path, false, out, state, pathStr); 67 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 69 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 14 char pathStr[1024]; 17 sk_bzero(pathStr, sizeof(pathStr)); 53 char* str = pathStr; 64 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 66 testSimplify(path, false, out, state, pathStr); 69 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 71 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyTrianglesThreadedTest.cpp | 13 char pathStr[1024]; 16 sk_bzero(pathStr, sizeof(pathStr)); 51 char* str = pathStr; 60 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 63 testSimplify(path, false, out, state, pathStr); 66 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 69 testSimplify(path, true, out, state, pathStr);
|
PathOpsExtendedTest.h | 39 const char* pathStr); 43 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType ); 44 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op);
|
PathOpsOpLoopThreadedTest.cpp | 16 char pathStr[1024]; // gdb: set print elements 400 19 sk_bzero(pathStr, sizeof(pathStr)); 37 char* str = pathStr; 53 // SkDebugf("%s\n", pathStr); 55 outputProgress(state.fPathStr, pathStr, kIntersect_PathOp); 95 char pathStr[PATH_STR_SIZE]; 96 state.fPathStr = pathStr;
|
/external/chromium_org/third_party/skia/tools/ |
sk_tool_utils_font.cpp | 126 SkString pathStr(GetResourcePath()); 127 pathStr = SkOSPath::Join(pathStr.c_str(), ".."); 128 pathStr = SkOSPath::Join(pathStr.c_str(), "tools"); 129 pathStr = SkOSPath::Join(pathStr.c_str(), "test_font_data_chars.cpp"); 130 FILE* out = fopen(pathStr.c_str(), "w");
|
/external/skia/tests/ |
PathOpsSimplifyDegenerateThreadedTest.cpp | 13 char pathStr[1024]; 16 sk_bzero(pathStr, sizeof(pathStr)); 48 char* str = pathStr; 57 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 59 testSimplify(path, false, out, state, pathStr); 62 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 64 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyQuadThreadedTest.cpp | 14 char pathStr[1024]; 17 sk_bzero(pathStr, sizeof(pathStr)); 53 char* str = pathStr; 62 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 64 testSimplify(path, false, out, state, pathStr); 67 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 69 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 14 char pathStr[1024]; 17 sk_bzero(pathStr, sizeof(pathStr)); 53 char* str = pathStr; 64 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 66 testSimplify(path, false, out, state, pathStr); 69 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 71 testSimplify(path, true, out, state, pathStr);
|
PathOpsSimplifyTrianglesThreadedTest.cpp | 13 char pathStr[1024]; 16 sk_bzero(pathStr, sizeof(pathStr)); 51 char* str = pathStr; 60 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 63 testSimplify(path, false, out, state, pathStr); 66 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 69 testSimplify(path, true, out, state, pathStr);
|
PathOpsExtendedTest.h | 36 const char* pathStr); 40 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType ); 41 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op);
|
PathOpsOpLoopThreadedTest.cpp | 16 char pathStr[1024]; // gdb: set print elements 400 19 sk_bzero(pathStr, sizeof(pathStr)); 37 char* str = pathStr; 53 // SkDebugf("%s\n", pathStr); 55 outputProgress(state.fPathStr, pathStr, kIntersect_PathOp); 89 char pathStr[PATH_STR_SIZE]; 90 state.fPathStr = 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);
|
/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...] |