/external/google-breakpad/src/common/android/testing/ |
mkdtemp.h | 56 char* breakpad_mkdtemp(char* path) { 57 if (path == NULL) { 62 // 'path' must be terminated with six 'X' 65 char* path_end = path + strlen(path); 67 if (static_cast<size_t>(path_end - path) < kSuffixLen || 73 // If 'path' contains a directory separator, check that it exists to 75 char* sep = strrchr(path, '/'); 80 ret = stat(path, &st); 81 *sep = '/'; // restore full path [all...] |
/external/libxml2/result/HTML/ |
utf8bug.html.err | 2 <img src="showimage.aspx?path=Files_Upload\192.png&width=%>" border="0" /> 5 <a href="showimage.aspx?path=Files_Upload\302.JPG&Width=" rel="lightbox" tit 8 <img src="showimage.aspx?path=Files_Upload\302.JPG&Width=220" align="left" b
|
/external/lldb/examples/test/ |
.lldb-loggings | 6 dname = os.path.join(os.environ["LLDB_TEST"], 8 if not os.path.isdir(dname): 10 dest = os.path.join(dname, "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), self.id()))
|
/external/llvm/test/Assembler/ |
mdnamespace.ll | 7 !0 = !MDFile(filename: "file.cpp", directory: "/path/to/dir") 9 !2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir")
|
/external/llvm/test/Other/ |
can-execute.txt | 8 The PATH is constructed such that 'not' will first find a directory named 19 RUN: export PATH=%S/Inputs:%T:%S/Inputs/TestProg:$PATH
|
/external/selinux/libselinux/man/man3/ |
selinux_policy_root.3 | 3 selinux_policy_root \- return the path of the SELinux policy files for this machine 4 selinux_set_policy_root \- Set an alternate SELinux root path for the SELinux policy files for this machine. 27 On success, selinux_policy_root returns a directory path containing the SELinux policy files.
|
/external/skia/include/core/ |
SkRasterizer.h | 25 /** Turn the path into a mask, respecting the specified local->device matrix. 27 bool rasterize(const SkPath& path, const SkMatrix& matrix, 35 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
/external/skia/samplecode/ |
SamplePathEffects.cpp | 34 SkPath path; 35 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); 37 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); 38 path.close(); 39 path.offset(SkIntToScalar(-6), 0); 41 SkPathEffect* outer = SkPath1DPathEffect::Create(path, 12, phase, 56 SkPath path; local 57 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); 59 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); 60 path.close() [all...] |
/external/skia/src/pathops/ |
SkPathOpsTightBounds.cpp | 10 bool TightBounds(const SkPath& path, SkRect* result) { 15 // turn path into list of segments 16 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState);
|
/external/skia/src/ports/ |
SkOSFile_stdio.cpp | 20 SkFILE* sk_fopen(const char path[], SkFILE_Flags flags) { 35 return (SkFILE*)::fopen(path, perm); 124 bool sk_isdir(const char *path) { 126 if (0 != stat(path, &status)) { 132 bool sk_mkdir(const char* path) { 133 if (sk_isdir(path)) { 136 if (sk_exists(path)) { 138 "sk_mkdir: path '%s' already exists but is not a directory\n", 139 path); 145 retval = _mkdir(path); [all...] |
/frameworks/av/services/audioflinger/tests/ |
Android.mk | 17 $(call include-path-for, audio-utils) \ 39 $(call include-path-for, audio-effects) \ 40 $(call include-path-for, audio-utils) \
|
/frameworks/av/services/audiopolicy/enginedefault/ |
Android.mk | 29 $(call include-path-for, frameworks-av) \ 30 $(call include-path-for, audio-utils) \ 31 $(call include-path-for, bionic) \
|
/frameworks/base/core/java/android/os/ |
StatFs.java | 32 * {@code path}. Upon construction, the stat of the file system will be 36 * @param path path in the desired file system to stat. 38 public StatFs(String path) { 39 mStat = doStat(path); 42 private static StructStatVfs doStat(String path) { 44 return Os.statvfs(path); 46 throw new IllegalArgumentException("Invalid path: " + path, e); 52 * the same as re-constructing the object with the same file system path, [all...] |
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
MeasurementUtils.java | 24 public static long measureDirectory(String path) { 25 return native_measureDirectory(path); 28 private native static long native_measureDirectory(String path);
|
/frameworks/base/services/core/jni/ |
com_android_server_UsbMidiDevice.cpp | 45 char path[100]; local 47 snprintf(path, sizeof(path), "/dev/snd/controlC%d", card); 48 int fd = open(path, O_RDWR); 50 ALOGE("could not open %s", path); 61 ALOGE("SNDRV_CTL_IOCTL_RAWMIDI_INFO failed, errno: %d path: %s", errno, path); 73 char path[100]; local 75 snprintf(path, sizeof(path), "/dev/snd/midiC%dD%d", card, device) [all...] |
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
PicasaSource.java | 29 import com.android.gallery3d.data.Path; 46 public static final Path ALBUM_PATH = Path.fromString("/picasa/all"); 59 public EmptyAlbumSet(Path path, long version) { 60 super(path, version); 75 public MediaObject createMediaObject(Path path) { 76 switch (mMatcher.match(path)) { 78 return new EmptyAlbumSet(path, MediaObject.nextVersionNumber()) [all...] |
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
JarUtils.java | 42 final String path = resUrl.getPath(); local 43 if (!path.startsWith("file:")) { 44 throw new RuntimeException("Unknown jar path: " + path); 46 final String jarPath = path.substring("file:".length(), path.indexOf('!')); 68 final String path = entry.getName(); local 69 final int pos = path.lastIndexOf('/'); 70 final String dirName = (pos >= 0) ? path.substring(0, pos) : ""; 71 final String name = (pos >= 0) ? path.substring(pos + 1) : path [all...] |
/prebuilts/android-emulator/ |
README | 6 --copy-prebuilts=<path> 8 Where <host> is the host name of a Darwin machine, and <path> is the root 9 path of this AOSP repo workspace.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_core.py | 48 path = test.test_support.TESTFN 49 if os.path.isfile(path): 50 os.remove(path) 51 elif os.path.isdir(path): 52 shutil.rmtree(path) 54 def write_setup(self, text, path=test.test_support.TESTFN): 55 f = open(path, "w") 60 return path [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
genericpath.py | 2 Path operations common to more than one OS 13 # Does a path exist? 15 def exists(path): 16 """Test whether a path exists. Returns False for broken symbolic links""" 18 os.stat(path) 25 # for the same path ono systems that support symlinks 26 def isfile(path): 27 """Test whether a path is a regular file""" 29 st = os.stat(path) 35 # Is a path a directory [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
__init__.py | 7 import os.path namespace 15 tests_dir = os.path.join(os.path.dirname(__file__), '..', 'tests')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_core.py | 48 path = test.test_support.TESTFN 49 if os.path.isfile(path): 50 os.remove(path) 51 elif os.path.isdir(path): 52 shutil.rmtree(path) 54 def write_setup(self, text, path=test.test_support.TESTFN): 55 f = open(path, "w") 60 return path [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
genericpath.py | 2 Path operations common to more than one OS 13 # Does a path exist? 15 def exists(path): 16 """Test whether a path exists. Returns False for broken symbolic links""" 18 os.stat(path) 25 # for the same path ono systems that support symlinks 26 def isfile(path): 27 """Test whether a path is a regular file""" 29 st = os.stat(path) 35 # Is a path a directory [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
__init__.py | 7 import os.path namespace 15 tests_dir = os.path.join(os.path.dirname(__file__), '..', 'tests')
|
/system/core/base/ |
file.cpp | 45 bool ReadFileToString(const std::string& path, std::string* content) { 49 TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); 72 static bool CleanUpAfterFailedWrite(const std::string& path) { 75 unlink(path.c_str()); 81 bool WriteStringToFile(const std::string& content, const std::string& path, 84 open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 95 return CleanUpAfterFailedWrite(path); 99 return CleanUpAfterFailedWrite(path); 103 return CleanUpAfterFailedWrite(path); 110 bool WriteStringToFile(const std::string& content, const std::string& path) { [all...] |