HomeSort by relevance Sort by last modified time
    Searched full:path (Results 1001 - 1025 of 17547) sorted by null

<<41424344454647484950>>

  /developers/samples/android/common/src/java/com/example/android/common/assetprovider/
AssetProvider.java 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME
66 String path = uri.getPath(); local
69 if (!fileExists(path)) {
83 // /res/assets/{uri.path} will be returned.
92 String path = uri.getPath(); local
94 return mAssets.openFd(path);
103 * @param path Fully qualified path to file.
106 private boolean fileExists(String path) {
109 mAssets.openFd(path).close()
    [all...]
  /development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
AssetProvider.java 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME
66 String path = uri.getPath(); local
69 if (!fileExists(path)) {
83 // /res/assets/{uri.path} will be returned.
92 String path = uri.getPath(); local
94 return mAssets.openFd(path);
103 * @param path Fully qualified path to file.
106 private boolean fileExists(String path) {
109 mAssets.openFd(path).close()
    [all...]
  /development/testrunner/
android_manifest.py 40 """Retrieve file system path to this manifest file's directory."""
55 """Parse AndroidManifest.xml at the specified path.
58 app_path: path to folder containing AndroidManifest.xml
60 IOError: AndroidManifest.xml cannot be found at given path, or cannot be
64 self._manifest_path = os.path.join(app_path, self.FILENAME)
112 def CreateAndroidManifest(path):
116 path: the directory for the manifest file
121 manifest_path = os.path.join(path, AndroidManifest.FILENAME)
122 if os.path.isfile(manifest_path)
    [all...]
coverage_targets.xml 26 [<src path=""/>] (0..*)
32 build_path - path to build directory for this module, relative to android
44 <src path="core/java" />
45 <src path="graphics/java" />
46 <src path="im/java" />
47 <src path="location/java" />
48 <src path="media/java" />
49 <src path="opengl/java" />
50 <src path="sax/java" />
51 <src path="telephony/java" /
    [all...]
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
UnixStream.cpp 30 * have a limit on the maximum path size, so use a value that is
51 make_unix_path(char *path, size_t pathlen, int port_number)
84 snprintf(path, pathlen, "%s/qemu-gles-%d", tmp, port_number);
91 char path[PATH_MAX]; local
93 if (make_unix_path(path, sizeof(path), port) < 0) {
97 m_sock = socket_local_server(path, ANDROID_SOCKET_NAMESPACE_FILESYSTEM, SOCK_STREAM);
128 char path[PATH_MAX]; local
130 if (make_unix_path(path, sizeof(path), port) < 0
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
testbase.py 15 def unlink(path):
17 os.unlink(path)
30 testbasedir = os.path.join(
31 os.path.realpath(tempfile.gettempdir()),
67 baseDir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', '..'))
68 libDir = os.path.join(baseDir, 'lib')
70 jar = os.path.join(libDir, 'ST-4.0.1.jar')
71 if not os.path.isfile(jar)
    [all...]
  /external/deqp/framework/delibs/decpp/
deFilePath.hpp 23 * \brief Filesystem path class.
48 static const std::string separator; /*!< Path separator. */
51 FilePath (const std::string& path);
52 FilePath (const char* path);
67 static FilePath normalize (const FilePath& path);
85 void createDirectory (const char* path);
86 void createDirectoryAndParents (const char* path);
92 inline FilePath::FilePath (const std::string& path)
93 : m_path(path)
97 inline FilePath::FilePath (const char* path)
    [all...]
  /external/deqp/scripts/src_util/
common.py 59 ext = os.path.splitext(filePath)[1]
86 scriptDir = os.path.dirname(os.path.abspath(__file__))
87 projectDir = os.path.normpath(os.path.join(scriptDir, "../.."))
98 return os.path.normpath(os.path.join(getProjectPath(), projectRelativePath))
104 return [getAbsolutePathPathFromProjectRelativePath(path) for path in relativePaths]
109 return [getAbsolutePathPathFromProjectRelativePath(path) for path in relativePaths
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
runant.py 32 - the "java" executable/script is on the command path
34 import os, os.path, string, sys namespace
45 ANT_HOME = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
48 ANT_LIB = os.path.join(ANT_HOME, 'lib')
54 if not os.path.exists(os.environ['JAVA_HOME']):
57 JAVACMD = os.path.join(os.environ['JAVA_HOME'], 'bin', 'java')
65 launcher_jar = os.path.join(ANT_LIB, 'ant-launcher.jar')
66 if not os.path.exists(launcher_jar)
    [all...]
  /external/llvm/lib/Fuzzer/
FuzzerIO.cpp 30 Unit FileToVector(const std::string &Path) {
31 std::ifstream T(Path);
36 std::string FileToString(const std::string &Path) {
37 std::ifstream T(Path);
42 void CopyFileToErr(const std::string &Path) {
43 std::ifstream T(Path);
48 void WriteToFile(const Unit &U, const std::string &Path) {
49 std::ofstream OF(Path);
53 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V) {
54 for (auto &X : ListFilesInDir(Path))
    [all...]
  /frameworks/av/drm/libdrmframework/include/
DrmManager.h 73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
75 DrmMetadata* getMetadata(int uniqueId, const String8* path);
77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
88 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
90 int checkRightsStatus(int uniqueId, const String8& path, int action);
98 int uniqueId, const String8& path, int action, const ActionDescription& description);
100 status_t removeRights(int uniqueId, const String8& path);
136 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType);
140 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path);
    [all...]
  /frameworks/base/core/java/android/content/
ContentUris.java 29 * <code>content://<em>authority</em>/<em>path</em>/<em>id</em></code>
49 * <em>path</em>
53 * some subset of the provider's data. Most providers use the path part to identify
54 * individual tables. Individual segments in the path are often called
56 * segment in a path is often called a &quot;twig&quot;
63 * preceding path part. Most providers recognize content URIs that contain an id part
73 * Converts the last path segment to a long.
81 * @return the long conversion of the last segment or -1 if the path is
90 * Appends the given ID to the end of the path.
102 * Appends the given ID to the end of the path
    [all...]
  /system/vold/
TrimTask.cpp 106 static void notifyResult(const std::string& path, int64_t bytes, int64_t delta) {
107 std::string res(path
117 for (auto path : mPaths) {
118 LOG(DEBUG) << "Starting trim of " << path;
120 int fd = open(path.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
122 PLOG(WARNING) << "Failed to open " << path;
132 PLOG(WARNING) << "Trim failed on " << path;
133 notifyResult(path, -1, -1);
136 LOG(INFO) << "Trimmed " << range.len << " bytes on " << path
138 notifyResult(path, range.len, delta)
    [all...]
  /external/libvncserver/libvncserver/tightvnc-filetransfer/
handlefiletransferrequest.c 55 int SetFtpRoot(char* path);
98 SetFtpRoot(char* path)
105 if((path == NULL) || (strlen(path) == 0) || (strlen(path) > (PATH_MAX - 1))) {
111 if(stat(path, &stat_buf) < 0) {
113 __FILE__, __FUNCTION__, path);
118 rfbLog("File [%s]: Method [%s]: path specified is not a directory\n",
123 if((dir = opendir(path)) == NULL) {
135 if(path[strlen(path)-1] == '/')
254 char path[PATH_MAX]; \/* PATH_MAX has the value 4096 and is defined in limits.h *\/ local
341 char path[PATH_MAX]; \/* PATH_MAX has the value 4096 and is defined in limits.h *\/ local
410 char *path = NULL; local
614 char path[PATH_MAX]; \/* PATH_MAX has the value 4096 and is defined in limits.h *\/ local
677 char *path = NULL; local
    [all...]
  /external/lzma/CPP/Windows/
FileDir.cpp 43 bool MyGetWindowsDirectory(CSysString &path)
45 UINT needLength = ::GetWindowsDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1);
46 path.ReleaseBuffer();
50 bool MyGetSystemDirectory(CSysString &path)
52 UINT needLength = ::GetSystemDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1);
53 path.ReleaseBuffer();
60 bool MyGetWindowsDirectory(UString &path)
64 UINT needLength = ::GetWindowsDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1);
65 path.ReleaseBuffer();
71 path = GetUnicodePath(sysPath);
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
FileEntry.java 38 * Construct a new instance without setting its path
44 * Construct a new instance with the specified value for its path
46 * @param path - the value for path
48 public FileEntry(String path) {
49 super(path);
53 * Construct a new instance with the specified path and file contents
55 * @param path - the value for path
58 public FileEntry(String path, String contents) {
    [all...]
  /external/skia/
make.py 28 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
34 def cd(path):
35 print '> cd %s' % path
36 if not os.path.isdir(path):
37 print 'directory %s does not exist' % path
39 os.chdir(path)
41 def rmtree(path):
42 print '> rmtree %s' % path
    [all...]
  /external/skia/samplecode/
SampleHairline.cpp 101 SkPath path; local
102 path.moveTo(pts[0]);
104 path.lineTo(pts[j]);
106 canvas->drawPath(path, paint);
124 SkPath path; local
125 path.moveTo(pts[0]);
127 path.quadTo(pts[j], ave(pts[j], pts[j+1]));
129 path.quadTo(pts[N - 2], pts[N - 1]);
131 canvas->drawPath(path, paint);
135 static void add_cubic(SkPath* path, const SkPoint& mid, const SkPoint& end)
148 SkPath path; local
    [all...]
  /external/skia/src/gpu/
GrStencilAndCoverPathRenderer.cpp 59 const SkPath& path,
64 !antiAlias && // doesn't do per-path AA, relies on the target having MSAA
80 SkAutoTUnref<GrPath> path(
82 if (NULL == path || !path->isEqualTo(skPath, stroke)) {
83 path.reset(gpu->pathRendering()->createPath(skPath, stroke));
84 ctx->resourceProvider()->assignUniqueKeyToResource(key, path);
86 return path.detach();
92 const SkPath& path,
94 SkASSERT(!path.isInverseFillType())
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/dbus/
dbus_new_helpers.c 378 const char *path; local
382 /* get method, interface and path the message is addressed to */
384 path = dbus_message_get_path(message);
386 if (!method || !path || !msg_interface)
390 msg_interface, method, path,
445 os_free(obj_dsc->path);
460 * @dbus_path: DBus path to interface object
481 obj_desc->path = os_strdup(dbus_path);
522 * @path: DBus path to objec
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldURITest.java 47 "file:///foo/bar", // empty authority, non empty path
49 "mai/lto:hey?joe#man", "http://host/a%20path#frag",
50 // path with an escaped octet for space char
52 // path with escaped octet for unicode char, not USASCII
54 // path with unicode char, not USASCII equivalent to
65 "http:///a path#frag", // space char in path, not in escaped
67 "http://host/a[path#frag", // an illegal char, not in escaped
70 "http://host/a%path#frag", // invalid escape sequence in path
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PhotoFallbackEffect.java 25 import com.android.gallery3d.data.Path;
39 public Path path; field in class:PhotoFallbackEffect.Entry
44 public Entry(Path path, Rect source, RawTexture texture) {
45 this.path = path;
53 public int getItemIndex(Path path);
68 public void addEntry(Path path, Rect rect, RawTexture texture)
    [all...]
  /external/deqp/android/scripts/
build.py 49 return os.path.normpath(os.path.join(buildRoot, "native", buildName))
52 return os.path.join(getNativeBuildDir(buildRoot, nativeLib, buildType), "assets")
55 deqpDir = os.path.normpath(os.path.join(common.ANDROID_DIR, ".."))
57 libsDir = os.path.join(libTargetDir, nativeLib.abiVersion)
58 srcLibFile = os.path.join(buildDir, common.NATIVE_LIB_NAME)
59 dstLibFile = os.path.join(libsDir, common.NATIVE_LIB_NAME)
62 if not os.path.exists(buildDir):
80 if not os.path.exists(libsDir)
    [all...]
  /external/google-breakpad/src/tools/mac/crash_report/crash_report.xcodeproj/
project.pbxproj 77 08FB7796FE84155DC02AAC07 /* crash_report.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = crash_report.mm; sourceTree = "<group>"; };
78 08FB779EFE84155DC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
79 162F64FC161C5ECB00CD68D5 /* arch_utilities.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = arch_utilities.cc; path = ../../../common/mac/arch_utilities.cc; sourceTree = "<group>"; };
80 162F64FD161C5ECB00CD68D5 /* arch_utilities.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = arch_utilities.h; path = ../../../common/mac/arch_utilities.h; sourceTree = "<group>"; };
81 4D2C721A126F9ACC00B43EAF /* source_line_resolver_base.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = source_line_resolver_base.cc; path = ../../../processor/source_line_resolver_base.cc; sourceTree = SOURCE_ROOT; };
82 4D2C721E126F9ADE00B43EAF /* exploitability.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = exploitability.cc; path = ../../../processor/exploitability.cc; sourceTree = SOURCE_ROOT; };
83 4D2C7222126F9AF900B43EAF /* exploitability_win.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = exploitability_win.cc; path = ../../../processor/exploitability_win.cc; sourceTree = SOURCE_ROOT; };
84 4D2C7226126F9B0F00B43EAF /* disassembler_x86.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = disassembler_x86.cc; path = ../../../processor/disassembler_x86.cc; sourceTree = SOURCE_ROOT; };
85 4D2C722A126F9B5A00B43EAF /* x86_disasm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = x86_disasm.c; path = ../../../third_party/libdisasm/x86_disasm.c; sourceTree = SOURCE_ROOT; };
86 4D2C722C126F9B6E00B43EAF /* x86_misc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = x86_misc.c; path = ../../../third_party/libdisasm/x86_misc.c; sourceTree = SOURCE_ROOT; }
    [all...]
  /external/libxml2/result/
svg3.sax 9 SAX.startElement(path, d='M77.696 284.285C77.696 284.285 77.797 286.179 76.973 286.16C76.149 286.141 59.695 238.066 39.167 240.309C39.167 240.309 56.95 232.956 77.696 284.285z')
10 SAX.endElement(path)
19 SAX.startElement(path, d='M81.226 281.262C81.226 281.262 80.677 283.078 79.908 282.779C79.14 282.481 80.023 231.675 59.957 226.801C59.957 226.801 79.18 225.937 81.226 281.262z')
20 SAX.endElement(path)
29 SAX.startElement(path, d='M108.716 323.59C108.716 323.59 110.352 324.55 109.882 325.227C109.411 325.904 60.237 313.102 50.782 331.459C50.782 331.459 54.461 312.572 108.716 323.59z')
30 SAX.endElement(path)
39 SAX.startElement(path, d='M105.907 333.801C105.907 333.801 107.763 334.197 107.529 334.988C107.296 335.779 56.593 339.121 53.403 359.522C53.403 359.522 50.945 340.437 105.907 333.801z')
40 SAX.endElement(path)
49 SAX.startElement(path, d='M101.696 328.276C101.696 328.276 103.474 328.939 103.128 329.687C102.782 330.435 52.134 326.346 46.002 346.064C46.002 346.064 46.354 326.825 101.696 328.276z')
50 SAX.endElement(path)
    [all...]

Completed in 1081 milliseconds

<<41424344454647484950>>