/external/libselinux/src/ |
H A D | lgetfilecon.c | 10 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 D | load_policy.c | 21 char path[PATH_MAX]; local 29 snprintf(path, sizeof path, "%s/load", selinux_mnt); 30 fd = open(path, O_RDWR);
|
H A D | policyvers.c | 16 char path[PATH_MAX]; local 25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt); 26 fd = open(path, O_RDONLY);
|
H A D | setenforce.c | 15 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 D | compare_ir | 29 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 D | check_context.c | 14 char path[PATH_MAX]; local 22 snprintf(path, sizeof path, "%s/context", selinux_mnt); 23 fd = open(path, O_RDWR);
|
H A D | deny_unknown.c | 15 char path[PATH_MAX]; local 23 snprintf(path, sizeof(path), "%s/deny_unknown", selinux_mnt); 24 fd = open(path, O_RDONLY);
|
H A D | enabled.c | 32 char buf[20], path[PATH_MAX]; local 38 snprintf(path, sizeof path, "%s/mls", selinux_mnt); 39 fd = open(path, O_RDONLY);
|
H A D | getenforce.c | 15 char path[PATH_MAX]; local 23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt); 24 fd = open(path, O_RDONLY);
|
H A D | policyvers.c | 16 char path[PATH_MAX]; local 25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt); 26 fd = open(path, O_RDONLY);
|
H A D | setenforce.c | 15 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 D | draw.cpp | 14 // 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 D | bitmaprecttest.cpp | 19 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 D | SkTextOnPath.h | 25 SkDrawPath* path; member in class:SkTextOnPath
|
H A D | SkTextToPath.h | 27 SkDrawPath* path; member in class:SkTextToPath
|
/external/skia/src/core/ |
H A D | SkRecords.cpp | 21 PreCachedPath::PreCachedPath(const SkPath& path) : SkPath(path) { argument
|
/external/skia/src/gpu/ |
H A D | GrPathRenderer.cpp | 14 void GrPathRenderer::GetPathDevBounds(const SkPath& path, argument 18 if (path.isInverseFillType()) { 22 *bounds = path.getBounds();
|
/external/skia/src/pathops/ |
H A D | SkPathOpsTightBounds.cpp | 10 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 D | load_policy.c | 22 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 D | chcon.c | 26 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 D | generate_shim_headers.py | 40 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 D | mkfifo.c | 14 int mkfifo(const char *path) argument 16 return syscall(SYS_mkfifo, path);
|
H A D | pth-undocumented.c | 16 int __pthread_chdir(const char *path) argument 18 return syscall(SYS___pthread_chdir, path);
|
/external/vixl/tools/ |
H A D | git.py | 29 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 D | IoUtils.java | 26 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);
|