Searched defs:path (Results 51 - 75 of 1823) sorted by relevance

1234567891011>>

/external/libselinux/src/
H A Dlgetfilecon.c10 int lgetfilecon(const char *path, char ** context) argument
22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1);
26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0);
37 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1);
H A Dload_policy.c21 char path[PATH_MAX]; local
29 snprintf(path, sizeof path, "%s/load", selinux_mnt);
30 fd = open(path, O_RDWR);
H A Dpolicyvers.c16 char path[PATH_MAX]; local
25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt);
26 fd = open(path, O_RDONLY);
H A Dsetenforce.c15 char path[PATH_MAX]; local
23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt);
24 fd = open(path, O_RDWR);
/external/mesa3d/src/glsl/tests/
H A Dcompare_ir29 import os.path namespace
48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1]))
49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2]))
/external/selinux/libselinux/src/
H A Dcheck_context.c14 char path[PATH_MAX]; local
22 snprintf(path, sizeof path, "%s/context", selinux_mnt);
23 fd = open(path, O_RDWR);
H A Ddeny_unknown.c15 char path[PATH_MAX]; local
23 snprintf(path, sizeof(path), "%s/deny_unknown", selinux_mnt);
24 fd = open(path, O_RDONLY);
H A Denabled.c32 char buf[20], path[PATH_MAX]; local
38 snprintf(path, sizeof path, "%s/mls", selinux_mnt);
39 fd = open(path, O_RDONLY);
H A Dgetenforce.c15 char path[PATH_MAX]; local
23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt);
24 fd = open(path, O_RDONLY);
H A Dpolicyvers.c16 char path[PATH_MAX]; local
25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt);
26 fd = open(path, O_RDONLY);
H A Dsetenforce.c15 char path[PATH_MAX]; local
23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt);
24 fd = open(path, O_RDWR);
/external/skia/experimental/fiddle/
H A Ddraw.cpp14 // path *should* be absolute.
15 static const char path[] = "../../resources/color_wheel.png"; local
16 return DrawOptions(256, 256, true, true, true, true, path);
/external/skia/gm/
H A Dbitmaprecttest.cpp19 SkPath path; local
20 path.moveTo(6, 6);
21 path.lineTo(6, 54);
22 path.lineTo(30, 54);
23 canvas.drawPath(path, paint);
33 // fast-path in the bitmapshader, but ended up drawing the last col of pixels
34 // twice. The fix resulted in (a) not taking the fast-path, but (b) drawing
/external/skia/src/animator/
H A DSkTextOnPath.h25 SkDrawPath* path; member in class:SkTextOnPath
H A DSkTextToPath.h27 SkDrawPath* path; member in class:SkTextToPath
/external/skia/src/core/
H A DSkRecords.cpp21 PreCachedPath::PreCachedPath(const SkPath& path) : SkPath(path) { argument
/external/skia/src/gpu/
H A DGrPathRenderer.cpp14 void GrPathRenderer::GetPathDevBounds(const SkPath& path, argument
18 if (path.isInverseFillType()) {
22 *bounds = path.getBounds();
/external/skia/src/pathops/
H A DSkPathOpsTightBounds.cpp10 bool TightBounds(const SkPath& path, SkRect* result) { argument
15 // turn path into list of segments
16 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState);
/external/toybox/toys/android/
H A Dload_policy.c22 char *path = *toys.optargs; local
23 int fd = xopen(path, O_RDONLY);
29 perror_exit("Couldn't %s %s", policy_data ? "load" : "read", path);
/external/toybox/toys/other/
H A Dchcon.c26 char *path, *con = *toys.optargs; local
30 path = dirtree_path(try, 0);
31 if (toys.optflags & FLAG_v) printf("chcon '%s' to %s\n", path, con);
32 if (-1 == ((toys.optflags & FLAG_h) ? lsetfilecon : setfilecon)(path, con))
33 perror_msg("'%s' to %s", path, con);
34 free(path);
/external/v8/tools/generate_shim_headers/
H A Dgenerate_shim_headers.py40 import os.path namespace
63 source_tree_root = os.path.abspath(
64 os.path.join(os.path.dirname(__file__), '..', '..'))
67 target_directory = os.path.join(
69 os.path.relpath(root, source_tree_root))
70 if options.generate and not os.path.exists(target_directory):
83 yield os.path.join(target_directory, header_filename)
85 with open(os.path.join(target_directory, header_filename), 'w') as f:
/external/valgrind/memcheck/tests/darwin/
H A Dmkfifo.c14 int mkfifo(const char *path) argument
16 return syscall(SYS_mkfifo, path);
H A Dpth-undocumented.c16 int __pthread_chdir(const char *path) argument
18 return syscall(SYS___pthread_chdir, path);
/external/vixl/tools/
H A Dgit.py29 import os.path namespace
31 def is_git_repository_root(path):
32 return os.path.isdir(os.path.join(path, '.git'))
/external/vogar/src/vogar/util/
H A DIoUtils.java26 public static void safeMkdirs(File path) { argument
28 if (!path.exists()) {
29 success = path.mkdirs();
30 } else if (!path.isDirectory()) {
31 success = path.delete() && path.mkdirs();
37 throw new RuntimeException("Failed to make directory " + path);

Completed in 463 milliseconds

1234567891011>>