/external/chromium/googleurl/ |
H A D | PRESUBMIT.py | 20 def ReadFile(path): 21 """Given a path, returns the full contents of the file. 25 fo = open(path, 'rb') 58 path = f.LocalPath() 59 root, ext = input_api.os_path.splitext(path) 66 if item.match(path): 74 contents = ReadFile(path) 76 cr_files.append(path) 86 (path, line_num))) 91 (path, line_nu [all...] |
/external/libcap-ng/libcap-ng-0.7/ |
H A D | py-compile | 69 leading directory path to the FILES that you don't want to include in the 70 byte compiled file. Specify --basedir for any additional path information you 106 pathtrans="path = file" 108 pathtrans="path = os.path.join('$basedir', file)" 114 filetrans="filepath = path" 116 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" 128 if not os.path.exists(filepath) or not (len(filepath) >= 3 133 py_compile.compile(filepath, filepath + 'c', path) [all...] |
/external/webkit/Source/WebCore/platform/ |
H A D | AsyncFileSystem.h | 71 // Opens a new file system. The create parameter specifies whether or not to create the path if it does not already exists. 84 // Deletes a file or directory at a given path. 88 virtual void remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 90 // Recursively deletes a directory at a given path. 93 virtual void removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 95 // Retrieves the metadata information of the file or directory at a given path. 98 virtual void readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 100 // Creates a file at a given path. If exclusive flag is true, it fails if the path already exists. 103 virtual void createFile(const String& path, boo [all...] |
H A D | Cookie.h | 39 const String& path, double expires, bool httpOnly, bool secure, 44 , path(path) 55 String path; member in struct:WebCore::Cookie 65 return StringHash::hash(key.name) + StringHash::hash(key.domain) + StringHash::hash(key.path) + key.secure; 70 return a.name == b.name && a.domain == b.domain && a.path == b.path && a.secure == b.secure; 38 Cookie(const String& name, const String& value, const String& domain, const String& path, double expires, bool httpOnly, bool secure, bool session) argument
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
H A D | XMPPathParser.java | 77 * @param path 84 public static XMPPath expandXPath(String schemaNS, String path) throws XMPException argument 86 if (schemaNS == null || path == null) 93 pos.path = path; 100 while (pos.stepEnd < path.length()) 104 skipPathDelimiter(path, pos); 110 if (path.charAt(pos.stepBegin) != '[') 139 verifyQualName(pos.path.substring(pos.nameStart, pos.nameEnd)); 157 verifyQualName(pos.path 172 skipPathDelimiter(String path, PathPosition pos) argument 527 public String path = null; field in class:PathPosition [all...] |
/external/srec/portable/src/ |
H A D | PFileSystem.c | 37 * [file path, PFileSystem*] mapping. 46 PORTABLE_API ESR_ReturnCode PFileSystemCanonicalSlashes(LCHAR* path) argument 50 if (path == NULL) 57 lstrtrim(path); 58 CHKLOG(rc, lstrreplace(path, L('\\'), L('/'))); 64 ESR_ReturnCode PFileSystemLinearToPathTokens(const LCHAR* path, LCHAR*** tokenArray, size_t* count) argument 74 if (path == NULL || tokenArray == NULL || count == NULL) 80 LSTRCPY(linear, path); 156 ESR_ReturnCode PFileSystemIsAbsolutePath(const LCHAR* path, ESR_BOOL* isAbsolute) argument 167 LSTRCPY(canonical, path); 177 PFileSystemGetAbsolutePath(LCHAR* path, size_t* len) argument 273 PFileSystemGetFS(const LCHAR* path, PFileSystem** fileSystem, LCHAR* relativePath) argument 355 PFileSystemMkdir(const LCHAR* path) argument 379 PFileSystemGetcwd(LCHAR* path, size_t* len) argument 404 PFileSystemChdir(const LCHAR* path) argument 442 PFileSystemGetParentDirectory(LCHAR* path, size_t* len) argument 539 PFileSystemIsDirectoryPath(const LCHAR* path, ESR_BOOL* isDirectory) argument [all...] |
/external/llvm/lib/Support/ |
H A D | IntervalMap.cpp | 20 assert(!path.empty() && "Can't replace missing root"); 21 path.front() = Entry(Root, Size, Offsets.first); 22 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second)); 32 while (l && path[l].offset == 0) 36 if (path[l].offset == 0) 40 NodeRef NR = path[l].subtree(path[l].offset - 1); 55 while (path[l].offset == 0) { 60 // end() may have created a height=0 path [all...] |
/external/webkit/Tools/Scripts/ |
H A D | test-webkitpy | 117 dir_to_clean: The path to the directory to clean. 126 paths_not_to_log = [os.path.abspath(path) for path in paths_not_to_log] 131 file_path = os.path.join(dir_path, file_name) 132 if os.path.abspath(file_path) not in paths_not_to_log: 141 webkitpy_dir = os.path.join(os.path.dirname(__file__), "webkitpy") 146 test_path = os.path.join(webkitpy_dir, "python24", 157 if not os.path [all...] |
H A D | update-sources-list.py | 32 scriptDir = os.path.abspath(sys.path[0]) 33 wkroot = os.path.abspath(os.path.join(scriptDir, "../..")) 43 filepath = os.path.join(wkroot, "Source", "WebCore", "WebCoreSources.bkl") 44 assert(os.path.exists(filepath)) 85 outfile = os.path.join(wkroot, "Source", "WebCore", "sources.inc")
|
/external/webkit/Tools/wx/build/ |
H A D | build_utils.py | 59 excludes.append(os.path.basename(afile)) 71 relpath = os.path.join(adir, feature) 72 featuredir = os.path.join(root, relpath) 73 if os.path.exists(featuredir) and not relpath in outdirs: 87 filename = os.path.basename(obj.path) 88 destfile = os.path.join(destdir, filename) 101 if not os.path.exists(destfile) or os.path.getsize(destfile) != size: 115 wklibs_dir = os.path [all...] |
/external/llvm/tools/lto/ |
H A D | lto.cpp | 38 bool lto_module_is_object_file(const char* path) { argument 39 return LTOModule::isBitcodeFile(path); 44 bool lto_module_is_object_file_for_target(const char* path, argument 46 return LTOModule::isBitcodeFileForTarget(path, target_triplet_prefix); 66 lto_module_t lto_module_create(const char* path) { argument 67 return LTOModule::makeLTOModule(path, sLastErrorString); 72 lto_module_t lto_module_create_from_fd(int fd, const char *path, size_t size) { argument 73 return LTOModule::makeLTOModule(fd, path, size, sLastErrorString); 78 lto_module_t lto_module_create_from_fd_at_offset(int fd, const char *path, argument 82 return LTOModule::makeLTOModule(fd, path, file_siz 167 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char *path) argument 189 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char *path) argument [all...] |
/external/smali/util/src/test/java/org/jf/util/ |
H A D | PathUtilTest.java | 45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 47 Assert.assertEquals(path, relativePath.getPath()); 58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 60 /*the "internal" version of the method in PathUtil doesn't handle the case when the "leaf" of the base path 63 Assert.assertEquals(path, "."); 73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 75 Assert.assertEquals(path, "."); 85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 87 Assert.assertEquals(path, "."); 97 String path [all...] |
/external/qemu/android/ |
H A D | main-emulator.c | 28 #include <android/utils/path.h> 71 static char* quotePath(const char* path); 167 D("Quoted emulator binary path: %s\n", emulatorPath); 225 char path[PATH_MAX], *pathEnd=path+sizeof(path), *p; local 243 p = bufprint(path, pathEnd, "%s/%s%s%s", progDir, emulator64Prefix, avdArch, exeExt); 247 if (path_exists(path)) { 249 return strdup(path); 254 p = bufprint(path, pathEn 296 probePathForFile(const char* path, const char* filename) argument 374 const char* path = getenv("PATH"); local 385 const char* path = getenv("LD_LIBRARY_PATH"); local 397 quotePath(const char* path) argument [all...] |
/external/llvm/utils/lit/lit/ |
H A D | Util.py | 23 def mkdir_p(path): 24 """mkdir_p(path) - Make the "path" directory, if it does not exist; this 28 if not path or os.path.exists(path): 31 parent = os.path.dirname(path) 32 if parent != path: 36 os.mkdir(path) [all...] |
/external/chromium/chrome/browser/chromeos/ |
H A D | metrics_cros_settings_provider.cc | 22 void MetricsCrosSettingsProvider::DoSet(const std::string& path, argument 24 DCHECK(path == kStatsReportingPref); 28 CrosSettings::Get()->FireObservers(path.c_str()); 32 bool MetricsCrosSettingsProvider::Get(const std::string& path, argument 34 DCHECK(path == kStatsReportingPref); 79 bool MetricsCrosSettingsProvider::HandlesSetting(const std::string& path) { argument 80 return ::StartsWithASCII(path, kStatsReportingPref, true);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | unixfilesystem.h | 44 // does not already exist at the given path, otherwise fails. 88 virtual bool GetTemporaryFolder(Pathname &path, bool create, 91 virtual bool GetFileSize(const Pathname& path, size_t* size); 92 virtual bool GetFileTime(const Pathname& path, FileTimeType which, 95 // Returns the path to the running application. 96 virtual bool GetAppPathname(Pathname* path); 98 virtual bool GetAppDataFolder(Pathname* path, bool per_user); 101 virtual bool GetAppTempFolder(Pathname* path); 103 virtual bool GetDiskFreeSpace(const Pathname& path, int64 *freebytes); 105 // Returns the absolute path o [all...] |
/external/skia/src/gpu/ |
H A D | GrPathRenderer.h | 25 * calls on GrPathRenderer to draw a path will look like this: 27 * pr->setPath(target, path, fill, aa, translate); // sets the path to draw 28 * pr->drawPath(...); // draw the path 31 * pr->clearPath(); // finished with the path 37 * This is called to install custom path renderers in every GrContext at 41 * path renderer, second is second most preferred, etc. 43 * @param context the context that will use the path renderer 44 * @param flags flags indicating how path renderers will be used 45 * @param prChain the chain to add path renderer 75 requiresStencilPass(const SkPath& path, GrPathFill fill, const GrDrawTarget* target) const argument 96 drawPath(const SkPath& path, GrPathFill fill, const GrVec* translate, GrDrawTarget* target, GrDrawState::StageMask stageMask, bool antiAlias) argument 119 drawPathToStencil(const SkPath& path, GrPathFill fill, GrDrawTarget* target) argument [all...] |
/external/webkit/Source/WebCore/WebCore.gyp/scripts/ |
H A D | rule_bison.py | 36 # INPUT_FILE is a path to either CSSGrammar.y or XPathGrammar.y. 41 import os.path namespace 50 inputName = os.path.basename(inputFile) 54 (inputRoot, inputExt) = os.path.splitext(inputName) 59 os.path.join(outputDir, inputRoot + '.cpp.h'), 60 os.path.join(outputDir, inputRoot + '.hpp'), 70 outputCpp = os.path.join(outputDir, inputRoot + '.cpp') 95 outputH = os.path.join(outputDir, inputRoot + '.h')
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/ |
H A D | __init__.py | 51 thirdparty_dir = os.path.dirname(__file__) 52 autoinstalled_dir = os.path.join(thirdparty_dir, "autoinstalled") 60 # the search path needs to include ClientForm. We put ClientForm in 61 # its own directory so that we can include it in the search path without 63 clientform_dir = os.path.join(autoinstalled_dir, "clientform") 69 # The remaining packages do not need to be in the search path, so we create 70 # a new AutoInstaller instance that does not append to the search path. 83 irc_dir = os.path.join(autoinstalled_dir, "irc") 88 pywebsocket_dir = os.path.join(autoinstalled_dir, "pywebsocket") 93 readme_path = os.path [all...] |
/external/skia/gm/ |
H A D | degeneratesegments.cpp | 34 // do not want the moveTo that is added at the beginning of a path to 35 // appear in the appended path. 36 static SkPoint AddMove(SkPath& path, SkPoint& startPt) { argument 38 path.moveTo(moveToPt); 42 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) { argument 44 path.moveTo(moveToPt); 45 path.close(); 49 static SkPoint AddDegenLine(SkPath& path, SkPoint& startPt) { argument 50 path.lineTo(startPt); 54 static SkPoint AddMoveDegenLine(SkPath& path, SkPoin argument 61 AddMoveDegenLineClose(SkPath& path, SkPoint& startPt) argument 69 AddDegenQuad(SkPath& path, SkPoint& startPt) argument 74 AddMoveDegenQuad(SkPath& path, SkPoint& startPt) argument 81 AddMoveDegenQuadClose(SkPath& path, SkPoint& startPt) argument 89 AddDegenCubic(SkPath& path, SkPoint& startPt) argument 94 AddMoveDegenCubic(SkPath& path, SkPoint& startPt) argument 101 AddMoveDegenCubicClose(SkPath& path, SkPoint& startPt) argument 109 AddClose(SkPath& path, SkPoint& startPt) argument 114 AddLine(SkPath& path, SkPoint& startPt) argument 120 AddMoveLine(SkPath& path, SkPoint& startPt) argument 128 AddMoveLineClose(SkPath& path, SkPoint& startPt) argument 137 AddQuad(SkPath& path, SkPoint& startPt) argument 144 AddMoveQuad(SkPath& path, SkPoint& startPt) argument 153 AddMoveQuadClose(SkPath& path, SkPoint& startPt) argument 163 AddCubic(SkPath& path, SkPoint& startPt) argument 171 AddMoveCubic(SkPath& path, SkPoint& startPt) argument 181 AddMoveCubicClose(SkPath& path, SkPoint& startPt) argument 192 drawPath(SkPath& path, SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument 323 SkPath path; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
H A D | devtools_ui.cc | 21 std::string PathWithoutParams(const std::string& path) { argument 22 return GURL(std::string("chrome-devtools://devtools/") + path) 23 .path().substr(1); 32 virtual void StartDataRequest(const std::string& path, 35 virtual std::string GetMimeType(const std::string& path) const; 47 void DevToolsDataSource::StartDataRequest(const std::string& path, argument 50 std::string filename = PathWithoutParams(path); 69 std::string DevToolsDataSource::GetMimeType(const std::string& path) const { 70 std::string filename = PathWithoutParams(path);
|
/external/dbus/dbus/ |
H A D | dbus-transport-unix.c | 43 * path. This creates a client-side of a transport. 48 * @param path the path to the domain socket. 54 _dbus_transport_new_for_domain_socket (const char *path, argument 75 !_dbus_string_append (&address, "unix:path=")) || 76 !_dbus_string_append (&address, path)) 82 fd = _dbus_connect_unix_socket (path, abstract, error); 90 path); 130 const char *path = dbus_address_entry_get_value (entry, "path"); local [all...] |
/external/dhcpcd/ |
H A D | platform-linux.c | 109 check_proc_int(const char *path) argument 114 fp = fopen(path, "r"); 130 char path[256]; local 135 snprintf(path, sizeof(path), "%s/%s/accept_ra", prefix, ifname); 136 r = check_proc_int(path); 144 snprintf(path, sizeof(path), "%s/%s/forwarding", 146 if (check_proc_int(path) != 0) {
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
H A D | Data.java | 71 * Returns the full path to this node via its parent links. 154 Data getChild(String path); argument 160 Data createChild(String path); argument 165 void removeTree(String path); argument 194 * @param toPath destination path for the deep copy. 209 * Retrieves the value at the specified path in this HDF node's subtree. 211 String getValue(String path, String defaultValue); argument 214 * Retrieves the integer value at the specified path in this HDF node's subtree. If the value does 217 int getIntValue(String path, int defaultValue); argument 220 * Retrieves the value at the specified path i 223 getValue(String path) argument 229 getIntValue(String path) argument 235 getBooleanValue(String path) argument 240 setValue(String path, String value) argument [all...] |
/external/v8/test/benchmarks/ |
H A D | testcfg.py | 31 from os.path import join, split 43 def __init__(self, path, context, mode): 44 super(BenchmarkTestCase, self).__init__(context, split(path), mode) 45 self.root = path 87 def ListTests(self, current_path, path, mode, variant_flags): 88 path = self.context.workspace 89 path = join(path, 'benchmarks') 90 test = BenchmarkTestCase(path, self.context, mode)
|