/external/libselinux/src/ |
policyvers.c | 16 char path[PATH_MAX]; local 25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt); 26 fd = open(path, O_RDONLY);
|
/external/libunwind/src/ |
os-hpux.c | 47 unsigned long *segbase, unsigned long *mapoff, char **path) 50 const char *path; local 75 path = dlgetname (&lmd, sizeof (lmd), NULL, 0, 0); 76 if (!path) 87 map->path = strdup(path2); 92 Debug(1, "segbase=%lx, mapoff=%lx, path=%s\n", map->start, map->offset, map->path); 125 if (path != NULL) 127 *path = strdup (map->path); [all...] |
/external/mesa3d/src/glsl/tests/ |
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/ |
check_context.c | 14 char path[PATH_MAX]; local 22 snprintf(path, sizeof path, "%s/context", selinux_mnt); 23 fd = open(path, O_RDWR);
|
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);
|
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);
|
getenforce.c | 15 char path[PATH_MAX]; local 23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt); 24 fd = open(path, O_RDONLY);
|
matchmediacon.c | 16 const char *path = selinux_media_context_path(); local 21 if ((infile = fopen(path, "r")) == NULL)
|
policyvers.c | 16 char path[PATH_MAX]; local 25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt); 26 fd = open(path, O_RDONLY);
|
/external/skia/gm/ |
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
|
dashcubics.cpp | 17 static void flower(SkCanvas* canvas, const SkPath& path, 26 canvas->drawPath(path, paint); 31 canvas->drawPath(path, paint); 36 canvas->drawPath(path, paint); 40 SkPath path; local 51 SkParsePath::FromSVGString(d, &path); 58 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
|
/external/skia/src/animator/ |
SkTextOnPath.h | 25 SkDrawPath* path; member in class:SkTextOnPath
|
SkTextToPath.h | 27 SkDrawPath* path; member in class:SkTextToPath
|
/external/toybox/toys/android/ |
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/ |
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/ |
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/vixl/tools/ |
git.py | 29 import os.path namespace 31 def is_git_repository_root(path): 32 return os.path.isdir(os.path.join(path, '.git'))
|
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 20 import android.graphics.Path; 55 public Path toPath() { 56 Path path = new Path(); local 64 path.moveTo(point[0], point[1]); 69 path.lineTo(point[0], point[1]); 74 path.lineTo(point[0], point[1]); 79 path.lineTo(point[0], point[1]); 81 path.close() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
idle.py | 1 import os.path namespace 5 # parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets 7 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 sys.path.insert(0, idlelib_dir)
|
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
idle.py | 1 import os.path namespace 5 # parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets 7 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 sys.path.insert(0, idlelib_dir)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
idle.py | 1 import os.path namespace 5 # parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets 7 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 sys.path.insert(0, idlelib_dir)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
idle.py | 1 import os.path namespace 5 # parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets 7 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 sys.path.insert(0, idlelib_dir)
|
/system/update_engine/payload_consumer/ |
file_writer_unittest.cc | 41 string path; local 42 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); 43 ScopedPathUnlinker path_unlinker(path); 46 EXPECT_EQ(0, file_writer.Open(path.c_str(), 51 EXPECT_TRUE(utils::ReadFile(path, &actual_data)); 59 const string path("/tmp/ENOENT/FileWriterTest"); 60 EXPECT_EQ(-ENOENT, file_writer.Open(path.c_str(), 66 string path; local 67 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); 68 ScopedPathUnlinker path_unlinker(path); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStartIndicatorView.java | 23 import android.graphics.Path; 85 private final Path mIndicatorPath = new Path(); 103 final Path path = mIndicatorPath; local 104 path.rewind(); 107 path.moveTo(width, 0.0f); 108 path.lineTo(0.0f, halfHeight); 109 path.lineTo(width, height); 112 path.moveTo(0.0f, 0.0f) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 26 import android.graphics.Path; 40 // new the Path instance 41 new Path(); 43 // another the Path instance with different params 44 new Path(new Path()); 49 // new the Path instance 50 Path path = new Path(); local 60 Path path = new Path(); local 68 Path path = new Path(); local 74 Path path = new Path(); local 83 Path path = new Path(); local 94 Path path = new Path(); local 109 Path path = new Path(); local 123 Path path = new Path(); local 131 Path path = new Path(); local 145 Path path = new Path(); local 153 Path path = new Path(); local 161 Path path = new Path(); local 169 Path path = new Path(); local 177 Path path = new Path(); local 186 Path path = new Path(); local 197 Path path = new Path(); local 212 Path path = new Path(); local 230 Path path = new Path(); local 236 Path path = new Path(); local 245 Path path = new Path(); local 257 Path path = new Path(); local 268 Path path = new Path(); local 278 Path path = new Path(); local 288 Path path = new Path(); local 298 Path path = new Path(); local 308 Path path = new Path(); local 319 Path path = new Path(); local 328 Path path = new Path(); local 342 Path path = new Path(); local 350 Path path = new Path(); local 364 Path path = new Path(); local 372 Path path = new Path(); local 384 Path path = new Path(); local 392 Path path = new Path(); local 401 Path path = new Path(); local [all...] |