/external/webkit/WebCore/platform/win/ |
FileSystemWin.cpp | 45 static bool statFile(String path, struct _stat64& st) 47 ASSERT_ARG(path, !path.isNull()); 48 return !_wstat64(path.charactersWithNullTermination(), &st) && (st.st_mode & _S_IFMT) == _S_IFREG; 51 bool getFileSize(const String& path, long long& result) 54 if (!statFile(path, sb)) 60 bool getFileModificationTime(const String& path, time_t& result) 63 if (!statFile(path, st)) 69 bool fileExists(const String& path) 72 return statFile(path, st) [all...] |
/external/webkit/WebKitTools/Scripts/ |
run-chromium-webkit-tests | 34 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), 36 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))))
|
/sdk/ddms/app/ |
README | 7 Because the build path cannot contain relative path that are not inside the project directory,
|
/sdk/ddms/libs/ddmuilib/ |
README | 7 Because the build path cannot contain relative path that are not inside the project directory,
|
/sdk/sdkmanager/libs/sdkuilib/ |
README | 7 Because the build path cannot contain relative path that are not inside the project directory,
|
/sdk/sdkstats/ |
README | 7 Because the build path cannot contain relative path that are not inside the project directory,
|
/sdk/traceview/ |
README | 7 Because the build path cannot contain relative path that are not inside the project directory,
|
/bionic/libc/kernel/tools/ |
kernel.py | 7 import sys, cpp, re, os.path, string, time namespace 29 # for path in <your list of files>: 30 # scanner.parseFile(path) 39 # corresponding to a non-bracketed path name, e.g.: 86 hdr_dir = os.path.realpath(os.path.dirname(from_file)) 87 hdr_dir = hdr_dir.replace("%s/" % os.path.realpath(kernel_root), 103 def parseFile(self, path, arch=None, kernel_root=None): 105 if not os.path.exists(path) [all...] |
/development/testrunner/ |
coverage.py | 40 # path to EMMA host jar, relative to Android build root 41 _EMMA_JAR = os.path.join("external", "emma", "lib", "emma.jar") 43 # root path of generated coverage report files, relative to Android build root 44 _COVERAGE_REPORT_PATH = os.path.join("out", "emma") 46 _CORE_TARGET_PATH = os.path.join("development", "testrunner", 48 # vendor glob file path patterns to tests, relative to android 50 _VENDOR_TARGET_PATH = os.path.join("vendor", "*", "tests", "testinfo", 53 # path to root of target build intermediates 54 _TARGET_INTERMEDIATES_BASE_PATH = os.path.join("out", "target", "common", 59 self._output_root_path = os.path.join(self._root_path [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebNSFileManagerExtras.m | 41 - (BOOL)_webkit_removeFileOnlyAtPath:(NSString *)path 44 BOOL result = unlink([path fileSystemRepresentation]) == 0; 47 if ((statfs([path fileSystemRepresentation], &buf) == 0) && !(buf.f_flags & MNT_DOVOLFS)) { 48 NSString *lastPathComponent = [path lastPathComponent]; 50 NSString *resourcePath = [[path stringByDeletingLastPathComponent] stringByAppendingString:[@"._" stringByAppendingString:lastPathComponent]]; 60 - (void)_webkit_backgroundRemoveFileAtPath:(NSString *)path 70 moveToSubpath = [path stringByDeletingLastPathComponent]; 76 if ([manager moveItemAtPath:path toPath:moveToPath error:NULL]) 80 - (void)_webkit_backgroundRemoveLeftoverFiles:(NSString *)path 88 leftoverSubpath = [path stringByDeletingLastPathComponent] [all...] |
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
CertPathTrustManagerParameters.java | 23 * Certification path parameters to provide to certification path 34 * certification path parameters. 37 * the certification path parameters. 44 * Returns a copy of the certification path parameters. 46 * @return a copy of the certification path parameters.
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTest.java | 41 * Retrieves host file system path that contains test app files 42 * @return {@link String} containing path, or <code>null</code> 47 * Sets host file system path that contains test app files 48 * @param path absolute file system path to test data files 50 public void setTestAppPath(String path);
|
/external/icu4c/common/ |
ures_cnv.c | 34 char *path = pathBuffer; local 40 path = NULL; 52 u_UCharsToChars(myPath, path, length+1); /* length+1 to include the NUL */ 57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); 63 /* not NUL-terminated - path too long */ 75 return ures_open(path, localeID, status);
|
/external/skia/src/animator/ |
SkTextToPath.cpp | 29 SK_MEMBER(path, Path), 37 SkTextToPath::SkTextToPath() : paint(NULL), path(NULL), text(NULL) { 41 path->draw(maker); 46 if (paint == NULL || path == NULL || text == NULL) { 54 text->y, &path->getPath());
|
/external/webkit/WebCore/platform/posix/ |
FileSystemPOSIX.cpp | 46 bool fileExists(const String& path) 48 if (path.isNull()) 51 CString fsRep = fileSystemRepresentation(path); 62 bool deleteFile(const String& path) 64 CString fsRep = fileSystemRepresentation(path); 69 // unlink(...) returns 0 on successful deletion of the path and non-zero in any other case (including invalid permissions or non-existent file) 73 bool deleteEmptyDirectory(const String& path) 75 CString fsRep = fileSystemRepresentation(path); 80 // rmdir(...) returns 0 on successful deletion of the path and non-zero in any other case (including invalid permissions or non-existent file) 84 bool getFileSize(const String& path, long long& result [all...] |
/frameworks/base/media/java/android/media/ |
IMediaScannerService.aidl | 28 * @param path the path to the file to be scanned. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 39 * @param path the path to the file to be scanned. 43 void scanFile(String path, String mimeType);
|
/system/vold/ |
Process.h | 22 static void killProcessesWithOpenFiles(const char *path, int action); 24 static int checkSymLink(int pid, const char *path, const char *name); 25 static int checkFileMaps(int pid, const char *path); 26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 31 static int readSymLink(const char *path, char *link, size_t max); 32 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
|
/external/bluetooth/bluez/test/ |
test-device | 19 print " remove <address|path>" 42 print "Need address or object path parameter" 45 path = adapter.FindDevice(sys.argv[2]) variable 47 path = sys.argv[2] variable 48 adapter.RemoveDevice(path) 55 path = adapter.FindDevice(sys.argv[2]) variable 56 device = dbus.Interface(bus.get_object("org.bluez", path), 75 path = adapter.FindDevice(sys.argv[2]) variable 76 device = dbus.Interface(bus.get_object("org.bluez", path), 86 path = adapter.FindDevice(sys.argv[2] variable 97 path = adapter.FindDevice(sys.argv[2]) variable 111 path = adapter.FindDevice(sys.argv[2]) variable [all...] |
/external/srec/portable/include/ |
PANSIFileSystemImpl.h | 61 PORTABLE_API ESR_ReturnCode PANSIFileSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 76 PORTABLE_API ESR_ReturnCode PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path); 81 PORTABLE_API ESR_ReturnCode PANSIFileSystemChdirImpl(PFileSystem* self, const LCHAR* path); 89 * Given a virtual-path, convert it to a real-path. 92 * @param path Virtual-path 93 * @param len [out] Size of path argument. If the return code is ESR_BUFFER_OVERFLOW, 96 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetRealPathImpl(PFileSystem* self, LCHAR* path, size_t* len); 99 * Given a real-path, convert it to a virtual-path [all...] |
PFileSystemImpl.h | 45 * [file path, PFileSystem*] mapping. 72 * Associates a base path with the file system. 74 * For example, if "/dev/cdrom" is specified, then any file under that path 77 * @param basePath Base path for files associated with this filesystem 78 * @return ESR_INVALID_ARGUMENT if self or virtualPath or realPath is null or realPath is not a valid path; 84 * Deassociates the file-system from a base path. 87 * @param basePath Base path for files associated with this filesystem 93 * Given a path, returns the associated file-system and relative path. 95 * @param path Path to look u [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
Clock.java | 25 import android.graphics.Path; 58 * Adds a line to the given Path. The line extends from 62 * @param path the Path to draw to 70 private static void drawLine(Path path, 87 path.moveTo(p0x - ox, p0y - oy); 88 path.lineTo(p1x - ox, p1y - oy); 89 path.lineTo(p1x + ox, p1y + oy); 90 path.lineTo(p0x + ox, p0y + oy) [all...] |
/external/clearsilver/util/ |
rcfs.c | 35 NEOERR * rcfs_meta_load (const char *path, HDF **meta) 41 snprintf (fpath, sizeof(fpath), "%s,log", path); 55 static NEOERR * _meta_save (const char *path, HDF *meta) 61 snprintf (ftmp, sizeof(ftmp), "%s,log.tmp", path); 62 snprintf (fpath, sizeof(fpath), "%s,log", path); 75 NEOERR * rcfs_meta_save (const char *path, HDF *meta) 81 err = rcfs_lock (path, &lock); 85 err = rcfs_meta_load (path, &m); 89 err = _meta_save (path, m); 97 NEOERR * rcfs_load (const char *path, int version, char **data [all...] |
/external/qemu/hw/ |
goldfish_trace.c | 30 static char path[CLIENT_PAGE_SIZE]; variable 106 case TRACE_DEV_REG_EXECVE_EXEPATH: // init exec, path of EXE 107 vstrcpy(value, path, CLIENT_PAGE_SIZE); 109 trace_init_exec(vstart, vend, eoff, path); 112 vstart, vend, eoff, path); 117 if (path[0] == '\0') { 118 // vstrcpy may fail to copy path. In this case lets do it 120 memcheck_get_guest_kernel_string(path, value, CLIENT_PAGE_SIZE); 122 memcheck_mmap_exepath(vstart, vend, eoff, path); 125 path[0] = 0 [all...] |
/cts/tools/utils/ |
buildCts.py | 30 return [x for x in os.listdir(root) if os.path.isdir(os.path.join(root, x))] 37 makefile_path: Path to the make file. 64 print 'docletPath: Class path where the DescriptionGenerator doclet can be found.' 72 self.test_repository = os.path.join(self.out_dir, 'repository/testcases') 73 self.plan_repository = os.path.join(self.out_dir, 'repository/plans') 92 # subclasses of TestCase as well as the JUnit framework itself on the source path. 103 source_path = [os.path.join(self.android_root, x) for x in source_path] 110 sources.extend([os.path.join(folder, name) for name in names if name.endswith('.java')]) 112 os.path.walk(os.path.join(self.android_root, source_root), AddFile, sources [all...] |
/external/srec/portable/src/UNIX/ |
PFileWrapUNIX_OS_Specific.c | 31 ESR_ReturnCode pf_make_dir ( const LCHAR* path ) 35 passert(path!=NULL); 37 if ( mkdir ( path, S_IRWXU|S_IRWXG|S_IRWXO ) == 0) 64 ESR_ReturnCode pf_get_cwd ( LCHAR* path, size_t *len ) 68 if ( path != NULL ) 70 if ( getcwd ( path, *len ) != NULL) 104 ESR_ReturnCode pf_change_dir ( const LCHAR* path ) 108 passert ( path != NULL ); 109 passert ( *path != '\0' ); 111 if ( chdir ( path ) == 0 [all...] |