/external/skia/include/gpu/ |
GrPathRendererChain.h | 23 * Keeps track of an ordered list of path renderers. When a path needs to be 25 * path renderer to the list implement the GrPathRenderer::AddPathRenderers 46 /** Documents how the caller plans to use a GrPathRenderer to draw a path. It affects the PR 57 is drawing the path to the stencil buffer then stencilSupport can be used to determine 58 whether the path can be rendered with arbitrary stencil rules or not. See comments on 63 const SkPath& path,
|
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 28 virtual bool openDir(String8 path) = 0; 29 virtual bool openDir(const char* path) = 0; 44 // Base path 57 virtual bool openDir(String8 path) { 58 mBasePath = path; 67 virtual bool openDir(const char* path) { 68 String8 p(path);
|
/sdk/find_java2/src/ |
JavaPath.h | 34 // Static empty path that can be returned as a reference.
38 CJavaPath(int version, CPath path);
39 void set(int version, CPath path);
41 // Returns true if path/version is empty/0
44 // Clears path and version to 0
47 // Converts the internal path into a short DOS path.
|
/system/media/audio_utils/ |
Android.mk | 19 LOCAL_C_INCLUDES += $(call include-path-for, speex) 21 $(call include-path-for, speex) \ 22 $(call include-path-for, audio-utils) 42 $(call include-path-for, audio-utils) 55 $(call include-path-for, audio-utils) 70 $(call include-path-for, audio-utils) 87 $(call include-path-for, audio-utils)
|
/external/strace/ |
pathtrace.c | 43 * Return true if specified path matches one that we're tracing. 46 pathmatch(const char *path) 51 if (strcmp(path, paths_selected[i]) == 0) 58 * Return true if specified path (in user-space) matches. 63 char path[PATH_MAX + 1]; local 65 return umovestr(tcp, upath, sizeof path, path) > 0 && 66 pathmatch(path); 70 * Return true if specified fd maps to a path we're tracing. 75 char path[PATH_MAX + 1] local [all...] |
/system/core/adb/ |
sysdeps.h | 111 static __inline__ int adb_unlink(const char* path) 113 int rc = unlink(path); 118 rc = chmod(path, _S_IREAD|_S_IWRITE ); 120 rc = unlink(path); 127 static __inline__ int adb_mkdir(const char* path, int mode) 129 return _mkdir(path); 134 extern int adb_open(const char* path, int options); 135 extern int adb_creat(const char* path, int mode); 161 static __inline__ int adb_open_mode(const char* path, int options, int mode) 163 return adb_open(path, options) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 81 * @param obbFilePath path to the OBB image file 82 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB 88 assertTrue("path to contents file cannot be null!", pathToContentsFile != null); 100 // the official OBB file path and the mount-request file path should be the same, but 140 * Returns the official path of the OBB file that was mounted 142 * This is not the mount path, but the normalized path to the actual OBB file 144 * @return a {@link String} representation of the path to the OBB file that was mounted 171 public void onObbStateChange(String path, int state) 278 String path = mSm.getMountedObbPath(obbPath); local 562 String path = null; local 590 String path = null; local 607 String path = null; local 623 String path = null; local [all...] |
/external/openssh/ |
sftp.0 | 34 path names, IPv6 addresses must be enclosed in square brackets to avoid 186 Specifies the SSH2 subsystem or the path for an sftp server on 187 the remote host. A path is useful for using sftp over protocol 202 cd path 203 Change remote directory to path. 205 chgrp grp path 206 Change group of file path to grp. path may contain glob(3) 210 chmod mode path 211 Change permissions of file path to mode. path may contai [all...] |
sftp.1 | 93 Since some usage formats use colon characters to delimit host names from path 280 Specifies the SSH2 subsystem or the path for an sftp server 282 A path is useful for using 306 .It Ic cd Ar path 308 .Ar path . 309 .It Ic chgrp Ar grp Ar path 311 .Ar path 314 .Ar path 320 .It Ic chmod Ar mode Ar path 322 .Ar path [all...] |
/bootable/recovery/minzip/ |
DirUtil.c | 32 getPathDirStatus(const char *path) 37 err = stat(path, &st); 47 /* Something went wrong, or something in the path 56 dirCreateHierarchy(const char *path, int mode, 65 if (path[0] == '\0') { 70 /* Allocate a path that we can modify; stick a slash on 73 size_t pathLen = strlen(path); 79 memcpy(cpath, path, pathLen); 88 //xxx test this path 89 /* No directory component. Act like the path was empty [all...] |
/external/compiler-rt/lib/dfsan/scripts/ |
build-libc-list.py | 37 p.add_option('--libc-dso-path', metavar='PATH', 38 help='path to libc DSO directory', 40 p.add_option('--libc-archive-path', metavar='PATH', 41 help='path to libc archive directory', 44 p.add_option('--libgcc-dso-path', metavar='PATH', 45 help='path to libgcc DSO directory', 47 p.add_option('--libgcc-archive-path', metavar='PATH' [all...] |
/external/skia/samplecode/ |
SampleComplexClip.cpp | 30 SkPath path; local 31 path.moveTo(SkIntToScalar(0), SkIntToScalar(50)); 32 path.quadTo(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(50), SkIntToScalar(0)); 33 path.lineTo(SkIntToScalar(175), SkIntToScalar(0)); 34 path.quadTo(SkIntToScalar(200), SkIntToScalar(0), SkIntToScalar(200), SkIntToScalar(25)); 35 path.lineTo(SkIntToScalar(200), SkIntToScalar(150)); 36 path.quadTo(SkIntToScalar(200), SkIntToScalar(200), SkIntToScalar(150), SkIntToScalar(200)); 37 path.lineTo(SkIntToScalar(0), SkIntToScalar(200)); 38 path.close(); 39 path.moveTo(SkIntToScalar(50), SkIntToScalar(50)) [all...] |
/external/toybox/lib/ |
dirtree.c | 23 // Create a dirtree node from a path, with stat and symlink info. 61 char *path = parent ? dirtree_path(parent, 0) : ""; local 63 perror_msg("%s%s%s", path, parent ? "/" : "", name); 64 if (parent) free(path); 71 // Return path to this node, assembled recursively. 74 // to return the length of the path, or a value greater than 0 to allocate 79 char *path; local 83 path = xmalloc(*plen); 85 return path; 89 path = dirtree_path(node->parent, &len) 147 char *path = dirtree_path(node, 0); local [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabaseConfiguration.java | 44 * Special path used by in-memory databases. 49 * The database path. 51 public final String path; field in class:SQLiteDatabaseConfiguration 55 * This is derived from the path but is stripped to remove PII. 96 * @param path The database path. 99 public SQLiteDatabaseConfiguration(String path, int openFlags) { 100 if (path == null) { 101 throw new IllegalArgumentException("path must not be null."); 104 this.path = path [all...] |
/hardware/libhardware/ |
hardware.c | 30 /** Base path of the hal modules */ 67 const char *path, 79 handle = dlopen(path, RTLD_NOW); 82 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); 116 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p", 117 id, path, *pHmi, handle); 127 * otherwise return negative. On success path will contain the path to the HAL. 129 static int hw_module_exists(char *path, size_t path_len, const char *name, 132 snprintf(path, path_len, "%s/%s.%s.so" 150 char path[PATH_MAX] = {0}; local [all...] |
/pdk/build/ |
pdk_utils.py | 28 if not os.path.isdir(dest_full_path): 38 if not os.path.isdir(dest_full_path): 43 if os.path.isfile(child_full_name): 56 if not os.path.isdir(dest_full_path): 66 if not os.path.isfile(src_full_name): 70 dest_dir = os.path.dirname(dest_file) 71 if not os.path.isdir(dest_dir): 81 if not os.path.isfile(src_full_name): 85 if not os.path.isdir(dest_dir): 101 if os.path.islink(item_full_path) or os.path.isfile(item_full_path) [all...] |
/frameworks/native/cmds/installd/ |
utils.cpp | 40 * Create the path name where package app contents should be stored for 54 * Create the path name where package data should be stored for the given 67 int create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, 70 path[0] = '\0'; 77 path[0] = '\0'; 80 strcpy(path, tmp); 95 * Create the path name for app data. 102 * Create the path name for user data for a certain userid. 118 * Create the path name for media for a certain userid. 130 std::string path(create_data_path(volume_uuid) + "/" + SECONDARY_USER_PREFIX) 851 char path[PATH_MAX]; local 966 const char* path = getenv(var); local [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
html_module_unittest.py | 63 absolute_path = os.path.join(script_path, relative_path) 77 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 90 file_contents[os.path.normpath('/tmp/a/foo.js')] = """ 95 FakeLoader([os.path.normpath('/tmp')], file_contents), 110 file_contents[os.path.normpath('/foo.js')] = '' 113 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 128 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 145 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 158 file_contents[os.path.normpath('/tmp/a/foo.html')] = """ 162 FakeLoader([os.path.normpath('/tmp')], file_contents) [all...] |
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 22 import android.graphics.Path; 125 public Path toPath() { 129 public Path toPath(Path path) { 130 if (path == null) path = new Path(); 136 path.addPath(strokes.get(i).getPath()); 139 return path; 204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); local 234 final Path path = toPath(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalSource.java | 83 public MediaObject createMediaObject(Path path) { 85 switch (mMatcher.match(path)) { 89 return new LocalAlbumSet(path, mApplication); 91 return new LocalAlbum(path, app, mMatcher.getIntVar(0), true); 93 return new LocalAlbum(path, app, mMatcher.getIntVar(0), false); 103 path, comp, new MediaSet[] {imageSet, videoSet}, bucketId); 106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0)); 108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0)); 110 throw new RuntimeException("bad path: " + path) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/utils/ |
decorators.py | 4 from os.path import splitext 115 def _open_gz(path, mode): 117 return gzip.open(path,mode=mode) 119 def _open_bz2(path, mode): 121 return bz2.BZ2File(path,mode=mode) 123 # To handle new extensions, define a function accepting a `path` and `mode`. 137 Location of the path argument in args. Even if the argument is a 164 @open_file('path', 'w+') 166 path = kwargs['path'] [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
PathShapeTest.java | 23 import android.graphics.Path; 37 new PathShape(new Path(), 1f, 5f); 39 new PathShape(new Path(), -1f, -1f); 48 Path path = new Path(); local 49 path.moveTo(50, 0); 50 path.lineTo(0, 50); 51 path.lineTo(50, 100); 52 path.lineTo(100, 50) [all...] |
/external/chromium-trace/trace-viewer/tracing/build/ |
tracing_dev_server.py | 11 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 13 if tracing_path not in sys.path: 14 sys.path.append(tracing_path) 33 full_f = os.path.join(dirpath, f) 34 rel_f = os.path.relpath(full_f, basedir) 103 default=os.path.abspath(os.path.join(project.test_data_path))) 106 default=os.path.abspath(os.path.join(project.skp_data_path)) [all...] |
/external/lldb/utils/test/ |
llvm-mc-shell.py | 14 return os.path.isfile(fpath) and os.access(fpath, os.X_OK) 17 """Find the full path to a program, or return None.""" 18 fpath, fname = os.path.split(program) 23 for path in os.environ["PATH"].split(os.pathsep): 24 exe_file = os.path.join(path, program) 58 # This is to set up the Python path to include the pexpect-2.4 dir. 60 scriptPath = sys.path[0] 61 sys.path.append(os.path.join(scriptPath, os.pardir, os.pardir, 'test', 'pexpect-2.4') [all...] |
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 41 // gets device coord bounds of path (not considering the fill) and clip. The 42 // path bounds will be a subset of the clip bounds. returns false if 43 // path bounds would be empty. 46 const SkPath& path, 50 // compute bounds as intersection of rt size, clip, and path 63 if (!path.getBounds().isEmpty()) { 65 matrix.mapRect(&pathSBounds, path.getBounds()); 70 // set the correct path bounds, as this would be used later. 124 const SkPath& path, 132 if (!get_path_and_clip_bounds(target, pipelineBuilder, path, viewMatrix, &devPathBounds [all...] |