/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);
|
/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; 67 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 69 testSimplify(path, false, out, state, pathStr); 72 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 74 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);
|
PathOpsSimplifyRectThreadedTest.cpp | 21 char pathStr[1024]; // gdb: set print elements 400 24 sk_bzero(pathStr, sizeof(pathStr)); 43 char* str = pathStr; 172 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType); 174 testSimplify(path, false, out, state, pathStr); 176 outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType); 178 testSimplify(path, true, out, state, pathStr);
|
PathOpsOpCircleThreadedTest.cpp | 13 char pathStr[1024]; 16 sk_bzero(pathStr, sizeof(pathStr)); 27 char* str = pathStr; 54 outputProgress(state.fPathStr, pathStr, (SkPathOp) op);
|
PathOpsOpCubicThreadedTest.cpp | 18 char pathStr[1024]; 21 sk_bzero(pathStr, sizeof(pathStr)); 42 outputProgress(state.fPathStr, pathStr, (SkPathOp) op); 45 char* str = pathStr;
|
PathOpsExtendedTest.h | 48 const char* pathStr); 54 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType ); 55 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op);
|
PathOpsThreadedCommon.h | 78 char pathStr[PATH_STR_SIZE]; 79 fState.fPathStr = pathStr;
|
PathOpsOpLoopThreadedTest.cpp | 34 char pathStr[1024]; // gdb: set print elements 400 37 sk_bzero(pathStr, sizeof(pathStr)); 55 char* str = pathStr; 84 // SkDebugf("%s\n", pathStr); 86 outputProgress(state.fPathStr, pathStr, kIntersect_SkPathOp);
|
PathOpsOpRectThreadedTest.cpp | 21 char pathStr[1024]; // gdb: set print elements 400 24 sk_bzero(pathStr, sizeof(pathStr)); 34 char* str = pathStr; 72 outputProgress(state.fPathStr, pathStr, (SkPathOp) op);
|
PathOpsQuadLineIntersectionThreadedTest.cpp | 43 char pathStr[1024]; 44 sk_bzero(pathStr, sizeof(pathStr)); 45 char* str = pathStr;
|
PathOpsExtendedTest.cpp | 375 static void outputToStream(const char* pathStr, const char* pathPrefix, const char* nameSuffix, 384 outFile.writeText(pathStr); 402 outFile.writeText(pathStr); 425 const char* pathStr) { 450 outputToStream(pathStr, pathPrefix, nameSuffix, testFunction, false, stream); 609 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType pathFillType) { 618 outputToStream(pathStr, pathPrefix, nameSuffix, testFunction, false, rRamStream); 621 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op) { 626 outputToStream(pathStr, nullptr, nameSuffix, testFunction, true, rRamStream);
|
/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 | 146 const char *pathStr = env->GetStringUTFChars(path, NULL); 147 if (pathStr != NULL) { 150 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, 153 env->ReleaseStringUTFChars(path, pathStr); 156 env->ReleaseStringUTFChars(path, pathStr);
|
/cts/apps/CtsVerifier/jni/verifier/ |
com_android_cts_verifier_os_FileUtils.cpp | 43 const char* pathStr = env->GetStringUTFChars(path, NULL); 47 int res = statLinks == true ? lstat(pathStr, &s) : stat(pathStr, &s); 65 if (access(pathStr, X_OK) == 0) { 72 env->ReleaseStringUTFChars(path, pathStr);
|
/cts/libs/deviceutil/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 | 41 static jstring getFileContext(JNIEnv *env, jobject, jstring pathStr) { 42 ScopedUtfChars path(env, pathStr);
|
/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));
|