Lines Matching refs:path
44 static jboolean isSecuritySupported(JNIEnv* env, const char* path) {
57 root = strdup(path);
123 static SECURITY_DESCRIPTOR* getFileSecurityDescriptor(JNIEnv* env, const char* path) {
129 GetFileSecurityA(path, info , 0, 0, &len);
138 if (!(*GetFileSecurityA)(path, info, sd, len, &len)) {
257 const char* path;
259 path = JNU_GetStringPlatformChars(env, str, &isCopy);
260 if (path != NULL) {
261 res = isSecuritySupported(env, path);
263 JNU_ReleaseStringPlatformChars(env, str, path);
283 const char* path;
285 path = JNU_GetStringPlatformChars(env, str, &isCopy);
286 if (path != NULL) {
292 SECURITY_DESCRIPTOR* sd = getFileSecurityDescriptor(env, path);
310 JNU_ReleaseStringPlatformChars(env, str, path);