/external/junit/src/junit/swingui/ |
TestTreeModel.java | 48 * Finds the path to a test. Returns the index of the test in its 51 public int findTest(Test target, Test node, Vector path) { 58 int index= findTest(target, t, path); 60 path.insertElementAt(node, 0); 61 if (path.size() == 1) 71 public void fireNodeChanged(TreePath path, int index) { 73 Object[] changedChildren= {getChild(path.getLastPathComponent(), index)}; 74 TreeModelEvent event= new TreeModelEvent(this, path, indices, changedChildren); 142 public void valueForPathChanged(TreePath path, Object newValue) {
|
/external/oprofile/daemon/ |
opd_stats.c | 28 static void print_if(char const * fmt, char const * path, char const * filename, int force) 30 int value = opd_read_fs_int(path, filename, 0); 70 char path[256]; local 73 snprintf(path, 256, "/dev/oprofile/stats/%s", dirent->d_name); 77 path, "sample_lost_overflow", 1); 79 path, "sample_lost_task_exit", 0); 81 path, "sample_received", 1); 83 path, "backtrace_aborted", 0); 85 path, "sample_invalid_eip", 0);
|
/external/webkit/WebCore/platform/sql/ |
SQLiteFileSystem.cpp | 52 String path = fileName; local 53 return sqlite3_open16(path.charactersWithNullTermination(), database); 82 String SQLiteFileSystem::appendDatabaseFileNameToPath(const String& path, const String& fileName) 84 return pathByAppendingComponent(path, fileName); 87 bool SQLiteFileSystem::ensureDatabaseDirectoryExists(const String& path) 89 if (path.isEmpty()) 91 return makeAllDirectories(path); 107 bool SQLiteFileSystem::deleteEmptyDatabaseDirectory(const String& path) 109 return deleteEmptyDirectory(path);
|
SQLiteFileSystem.h | 66 // Creates an absolute file path given a directory and a file name. 68 // path - The directory. 70 static String appendDatabaseFileNameToPath(const String& path, const String& fileName); 73 // on the given path. 75 // path - The directory. 76 static bool ensureDatabaseDirectoryExists(const String& path); 80 // given path exist by creating the missing ones, and does not check if the file 94 // path - The directory. 95 static bool deleteEmptyDatabaseDirectory(const String& path);
|
/external/webkit/WebKitTools/wx/build/ |
wxpresets.py | 52 versionText = open(os.path.join(wx_root, "include", "wx", "version.h"), "r").read() 60 if not os.path.exists(wx_root): 65 includes = [os.path.join(wx_root, 'include')] 70 libdir = os.path.join(wx_root, 'lib') 78 libdir = os.path.join(libdir, Options.options.wx_compiler_prefix + '_dll') 80 libdir = os.path.join(libdir, Options.options.wx_compiler_prefix + '_lib') 94 configdir = os.path.join(libdir, 'msw' + ext) 97 cfg_file = os.path.join(configdir, 'build.cfg') 98 if os.path.exists(cfg_file):
|
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 71 void scanFile(const char *path) { 72 sp<FileSource> file = new FileSource(path); 77 printf("FAIL %s\n", path); 79 printf("SUCCESS %s\n", path); 112 void scan(const char *path) { 114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) { 115 scanFile(path); 119 DIR *dir = opendir(path); 134 strcpy(newPath, path);
|
/external/icu4c/stubdata/ |
icu_dat_generator.py | 37 import os.path namespace 62 command_list = [os.path.join(GetIcuPrebuiltDir(), tool)] 75 return os.path.join(os.environ.get("ANDROID_EABI_TOOLCHAIN"), "..", "..", 81 source_dat = os.path.join(ANDROID_ROOT, "external", "icu4c", "stubdata", 83 dest_dat = os.path.join(ANDROID_ROOT, "external", "icu4c", "stubdata", 91 dat_list_file_path = os.path.join(icu_dat_path, ICUDATA + "-" + dat_name + 93 if not os.path.isfile(dat_list_file_path): 116 locale_index = open(os.path.join(TMP_DAT_PATH, res_index), "w") 118 brkitr_index = open(os.path.join(TMP_DAT_PATH, "brkitr", res_index), "w") 120 coll_index = open(os.path.join(TMP_DAT_PATH, "coll", res_index), "w" [all...] |
/system/core/adb/ |
file_sync_service.c | 56 static int do_stat(int s, const char *path) 63 if(lstat(path, &st)) { 76 static int do_list(int s, const char *path) 87 len = strlen(path); 88 memcpy(tmp, path, len); 94 d = opendir(path); 151 static int handle_send_file(int s, char *path, mode_t mode, char *buffer) 157 fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL, mode); 159 mkdirs(path); 160 fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL, mode) [all...] |
/bionic/libc/unistd/ |
exec.c | 139 char *bp, *cur, *path, buf[MAXPATHLEN]; local 149 /* If it's an absolute or relative path name, it's easy. */ 152 cur = path = NULL; 157 /* Get the path we're searching. */ 158 if (!(path = getenv("PATH"))) 159 path = _PATH_DEFPATH; 160 len = strlen(path) + 1; 166 strlcpy(cur, path, len); 167 path = cur [all...] |
/bootable/recovery/applypatch/ |
freecache.c | 29 char path[FILENAME_MAX]; local 30 strcpy(path, "/proc/"); 31 strcat(path, de->d_name); 32 strcat(path, "/fd/"); 36 fdd = opendir(path); 38 printf("error opening %s: %s\n", path, strerror(errno)); 44 strcpy(fd_path, path); 81 char path[FILENAME_MAX]; local 97 strcpy(path, dirs[i]); 98 strcat(path, "/"); [all...] |
/external/skia/src/utils/ |
SkOSFile.cpp | 45 SkOSFile::Iter::Iter(const char path[], const char suffix[]) : fHandle(0), fPath16(nil) 47 this->reset(path, suffix); 57 void SkOSFile::Iter::reset(const char path[], const char suffix[]) 64 if (path == nil) 65 path = ""; 68 fPath16 = concat_to_16(path, suffix); 117 if (fPath16 == nil || *fPath16 == 0) // check for no path 131 const UInt8 * path, 141 SkOSFile::Iter::Iter(const char path[], const char suffix[]) : fDIR(0) 143 this->reset(path, suffix) [all...] |
/frameworks/base/docs/html/guide/topics/manifest/ |
grant-uri-permission-element.jd | 6 <dd><pre class="stx"><grant-uri-permission android:<a href="#path">path</a>="<i>string</i>" 7 android:<a href="#path">pathPattern</a>="<i>string</i>" 8 android:<a href="#path">pathPrefix</a>="<i>string</i>" /></pre></dd> 15 can be granted for. Data subsets are indicated by the path part of a 28 Each one can specify only one path (only one of the three possible attributes). 39 <dt><a name="path"></a>{@code android:path} 42 <dd>A path identifying the data subset or subsets that permission can be 43 granted for. The {@code path} attribute specifies a complete path; [all...] |
/external/webkit/WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/ |
project.pbxproj | 175 141BF233096A44CF00E0753C /* TestNetscapePlugIn.plugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestNetscapePlugIn.plugin; sourceTree = BUILT_PRODUCTS_DIR; }; 176 141BF447096A45C800E0753C /* PluginObject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PluginObject.h; sourceTree = "<group>"; }; 177 141BF448096A45C800E0753C /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 178 14770FE00A22ADF7009342EE /* GCController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GCController.h; sourceTree = "<group>"; }; 179 1A8F024C0BB9B056008CFA34 /* TestObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestObject.h; sourceTree = "<group>"; }; 180 1AC6C77F0D07589B00CD3161 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; }; 181 1AC6C7800D07589B00CD3161 /* PluginObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PluginObject.cpp; sourceTree = "<group>"; }; 182 1AC6C7810D07589B00CD3161 /* TestObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestObject.cpp; sourceTree = "<group>"; }; 183 23BCB88F0EA57623003C6289 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; }; 184 32A70AAB03705E1F00C91783 /* DumpRenderTreePrefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DumpRenderTreePrefix.h; sourceTree = "<group>"; } [all...] |
/external/webkit/WebCore/wml/ |
WMLPageState.cpp | 142 bool WMLPageState::processAccessControlData(const String& domain, const String& path) 153 // Spec: The path attribute defaults to the value "/" 154 m_accessPath = path.isEmpty() ? "/" : path; 160 // Spec: To simplify the development of applications that may not know the absolute path to the 161 // current deck, the path attribute accepts relative URIs. The user agent converts the relative 162 // path to an absolute path and then performs prefix matching against the PATH attribute. 165 String currentPath = currentURL.path(); [all...] |
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 51 public void scanCompleted(String path, Uri uri) { 54 client.onScanCompleted(path, uri); 67 * @param path the path to the file that has been scanned. 71 public void onScanCompleted(String path, Uri uri); 89 * @param path the path to the file that has been scanned. 93 public void onScanCompleted(String path, Uri uri); 157 * @param path the path to the file to be scanned [all...] |
/external/v8/tools/v8.xcodeproj/ |
project.pbxproj | 285 22A76C900FF259E600FDC694 /* log-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "log-inl.h"; sourceTree = "<group>"; }; 286 58242A1E0FA1F14D00BD6F59 /* json-delay.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "json-delay.js"; sourceTree = "<group>"; }; 287 58950D4E0F55514900F3E8BA /* jump-target-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "jump-target-arm.cc"; path = "arm/jump-target-arm.cc"; sourceTree = "<group>"; }; 288 58950D4F0F55514900F3E8BA /* jump-target-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "jump-target-ia32.cc"; path = "ia32/jump-target-ia32.cc"; sourceTree = "<group>"; }; 289 58950D500F55514900F3E8BA /* jump-target.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "jump-target.cc"; sourceTree = "<group>"; }; 290 58950D510F55514900F3E8BA /* jump-target.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "jump-target.h"; sourceTree = "<group>"; }; 291 58950D520F55514900F3E8BA /* register-allocator-arm.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "register-allocator-arm.cc"; path = "arm/register-allocator-arm.cc"; sourceTree = "<group>"; }; 292 58950D530F55514900F3E8BA /* register-allocator-ia32.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "register-allocator-ia32.cc"; path = "ia32/register-allocator-ia32.cc"; sourceTree = "<group>"; }; 293 58950D540F55514900F3E8BA /* register-allocator.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "register-allocator.cc"; sourceTree = "<group>"; }; 294 58950D550F55514900F3E8BA /* register-allocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "register-allocator.h"; sourceTree = "<group>"; } [all...] |
/external/webkit/WebKitTools/Scripts/ |
svn-create-patch | 95 for my $path (keys %paths) { 96 generateFileList($path, %diffFiles); 103 for my $path (sort patchpathcmp values %diffFiles) { 104 generateDiff($path, $prefix); 196 my $file = File::Spec->catdir($prefix, $fileData->{path}); 228 my $path; 231 $path = substr($line, 8); 234 $path = substr($line, 7); 236 next if -d $path; 239 $diffFiles->{$path}->{path} = $path [all...] |
/external/oprofile/libutil/ |
op_file.h | 49 * create_path - create a path 50 * @param path the path to create 52 * create directory for each dir components in path 53 * the last path component is not considered as a directory 58 int create_path(char const * path);
|
/external/webkit/WebCore/svg/graphics/ |
SVGResourceClipper.h | 31 #include "Path.h" 38 Path path; member in struct:WebCore::ClipData 45 void addPath(const Path& pathData, WindRule windRule, bool bboxUnits) 49 clipData.path = pathData; 73 void addClipData(const Path&, WindRule, bool bboxUnits);
|
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
apache_http_server.py | 47 output_dir: the absolute path to the layout test result directory 61 self._runtime_path = os.path.join("/tmp", "WebKit") 67 self._pid_file = os.path.join(self._runtime_path, 'httpd.pid') 102 os.path.join(cygbin, 'bash.exe'), 104 'PATH=%s %s' % (self._get_cygwin_path(cygbin), " ".join(cmd)), 119 """Returns a platform appropriate path.""" 120 path = os.path.join(*parts) 122 return self._get_cygwin_path(path) 123 return path [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
IMountService.h | 44 virtual int shareVolume(String16 path, String16 method) = 0; 45 virtual int unshareVolume(String16 path, String16 method) = 0; 46 virtual bool getVolumeShared(String16 path, String16 method) = 0; 47 virtual int mountVolume(String16 path) = 0; 48 virtual int unmountVolume(String16 path) = 0; 49 virtual int formatVolume(String16 path) = 0;
|
/ndk/ |
ndk-build | 18 # command-line inside an application project path. 25 # Assuming that the Android NDK root path is in your PATH. However, 33 # Ensure we get the full path of this script's directory 34 # this is needed if the caller uses the -C <path> GNU Make 38 # ./ndk-build -C <project-path>
|
/packages/apps/Email/src/org/apache/commons/io/ |
FileCleaningTracker.java | 97 * @param path the full path to the file to be tracked, not null
99 * @throws NullPointerException if the path is null
101 public void track(String path, Object marker) {
102 track(path, marker, (FileDeleteStrategy) null);
110 * @param path the full path to the file to be tracked, not null
113 * @throws NullPointerException if the path is null
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
116 if (path == null) { 227 private final String path; field in class:FileCleaningTracker.Tracker [all...] |
/development/ide/xcode/svg.xcodeproj/ |
project.pbxproj | 80 0028437609DDC02F002E9CB0 /* SkSVGCircle.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGCircle.cpp; sourceTree = "<group>"; }; 81 0028437709DDC02F002E9CB0 /* SkSVGCircle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGCircle.h; sourceTree = "<group>"; }; 82 0028437809DDC02F002E9CB0 /* SkSVGClipPath.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGClipPath.cpp; sourceTree = "<group>"; }; 83 0028437909DDC02F002E9CB0 /* SkSVGClipPath.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGClipPath.h; sourceTree = "<group>"; }; 84 0028437A09DDC02F002E9CB0 /* SkSVGDefs.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGDefs.cpp; sourceTree = "<group>"; }; 85 0028437B09DDC02F002E9CB0 /* SkSVGDefs.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGDefs.h; sourceTree = "<group>"; }; 86 0028437C09DDC02F002E9CB0 /* SkSVGElements.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGElements.cpp; sourceTree = "<group>"; }; 87 0028437D09DDC02F002E9CB0 /* SkSVGElements.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGElements.h; sourceTree = "<group>"; }; 88 0028437E09DDC02F002E9CB0 /* SkSVGEllipse.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGEllipse.cpp; sourceTree = "<group>"; }; 89 0028437F09DDC02F002E9CB0 /* SkSVGEllipse.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGEllipse.h; sourceTree = "<group>"; } [all...] |
/external/skia/xcode/svg.xcodeproj/ |
project.pbxproj | 80 0028437609DDC02F002E9CB0 /* SkSVGCircle.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGCircle.cpp; sourceTree = "<group>"; }; 81 0028437709DDC02F002E9CB0 /* SkSVGCircle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGCircle.h; sourceTree = "<group>"; }; 82 0028437809DDC02F002E9CB0 /* SkSVGClipPath.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGClipPath.cpp; sourceTree = "<group>"; }; 83 0028437909DDC02F002E9CB0 /* SkSVGClipPath.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGClipPath.h; sourceTree = "<group>"; }; 84 0028437A09DDC02F002E9CB0 /* SkSVGDefs.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGDefs.cpp; sourceTree = "<group>"; }; 85 0028437B09DDC02F002E9CB0 /* SkSVGDefs.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGDefs.h; sourceTree = "<group>"; }; 86 0028437C09DDC02F002E9CB0 /* SkSVGElements.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGElements.cpp; sourceTree = "<group>"; }; 87 0028437D09DDC02F002E9CB0 /* SkSVGElements.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGElements.h; sourceTree = "<group>"; }; 88 0028437E09DDC02F002E9CB0 /* SkSVGEllipse.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGEllipse.cpp; sourceTree = "<group>"; }; 89 0028437F09DDC02F002E9CB0 /* SkSVGEllipse.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGEllipse.h; sourceTree = "<group>"; } [all...] |