HomeSort by relevance Sort by last modified time
    Searched defs:path (Results 451 - 475 of 5507) sorted by null

<<11121314151617181920>>

  /prebuilts/go/linux-x86/src/path/
path.go 5 // Package path implements utility routines for manipulating slash-separated
8 // The path package should only be used for paths separated by forward
11 // operating system paths, use the path/filepath package.
12 package path package
18 // A lazybuf is a lazily constructed path buffer.
55 // Clean returns the shortest path name equivalent to path
60 // 2. Eliminate each . path name element (the current directory).
61 // 3. Eliminate each inner .. path name element (the parent directory)
63 // 4. Eliminate .. elements that begin a rooted path
    [all...]
  /prebuilts/misc/common/robolectric/3.1.1/lib/
wagon-file-1.0-beta-6.jar 
  /prebuilts/ndk/r16/sources/third_party/googletest/googletest/test/
gtest-options_test.cc 62 // Turns the given relative path into an absolute path.
92 GTEST_FLAG(output) = "xml:path" GTEST_PATH_SEP_;
95 FilePath(std::string("path") + GTEST_PATH_SEP_ +
166 GTEST_FLAG(output) = "xml:path" GTEST_PATH_SEP_;
170 FilePath(std::string("path") + GTEST_PATH_SEP_ +
195 const std::string path = "c:\\tmp\\"; local
197 const std::string path = "/tmp/";
200 GTEST_FLAG(output) = "xml:" + path;
202 path + GetCurrentExecutableName().string() + ".xml"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
import.h 24 PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path); variable
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
import.h 24 PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path); variable
  /prebuilts/tools/common/m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/
wagon-file-1.0-beta-6.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
SaveImageAction.java 50 String path = fd.open(); local
51 if (path == null) {
55 File f = new File(path);
  /system/core/base/
file_test.cpp 40 ASSERT_TRUE(android::base::WriteStringToFile("abc", tf.path))
43 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &s))
52 ASSERT_EQ(0, unlink(link.path));
53 ASSERT_EQ(0, symlink(target.path, link.path));
54 ASSERT_FALSE(android::base::WriteStringToFile("foo", link.path, false));
56 ASSERT_TRUE(android::base::WriteStringToFile("foo", link.path, true));
59 ASSERT_FALSE(android::base::ReadFileToString(link.path, &s));
61 ASSERT_TRUE(android::base::ReadFileToString(link.path, &s, true));
72 ASSERT_TRUE(android::base::WriteStringToFile("abc", tf.path, 0660
170 std::string path = dir_name + "\/..\/" + base_dir_name + "\/" + basename; local
177 std::string path = std::string(td.path) + "\/.."; local
185 std::string path = std::string(td.path) + "\/foo.noent"; local
195 std::string path = android::base::GetExecutableDirectory(); local
197 ASSERT_NE(android::base::GetExecutablePath(), path); local
    [all...]
  /system/core/base/include/android-base/
test_utils.h 36 char path[1024]; member in class:TemporaryFile
49 char path[1024]; member in class:TemporaryDir
  /system/core/init/
uevent.h 27 std::string path; member in struct:android::init::Uevent
util_test.cpp 44 EXPECT_TRUE(WriteFile(tf.path, s)) << strerror(errno);
45 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0620, AT_SYMLINK_NOFOLLOW)) << strerror(errno);
46 auto file_contents = ReadFile(tf.path);
55 EXPECT_TRUE(WriteFile(tf.path, s)) << strerror(errno);
56 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0602, AT_SYMLINK_NOFOLLOW)) << strerror(errno);
57 auto file_contents = ReadFile(tf.path);
89 EXPECT_TRUE(WriteFile(tf.path, contents)) << strerror(errno);
91 auto read_back_contents = ReadFile(tf.path);
100 std::string path = android::base::StringPrintf("%s/does-not-exist", test_dir.path); local
149 std::string path = android::base::StringPrintf("%s\/three\/directories\/deep", test_dir.path); local
161 std::string path = android::base::StringPrintf("%s\/three\/\/\/\/directories\/deep\/\/", test_dir.path); local
    [all...]
  /system/core/libprocinfo/
process.cpp 35 char path[PATH_MAX]; local
36 snprintf(path, sizeof(path), "/proc/%d", tid);
38 unique_fd dirfd(open(path, O_DIRECTORY | O_RDONLY));
40 PLOG(ERROR) << "failed to open " << path;
  /system/core/libutils/tests/
Singleton_test.cpp 32 std::string path = android::base::GetExecutableDirectory(); local
35 std::string lib = android::base::StringPrintf("%s/libutils_tests_singleton1.so", path.c_str());
41 lib = android::base::StringPrintf("%s/libutils_tests_singleton2.so", path.c_str());
  /system/extras/boot_control_copy/
bootinfo.cpp 52 char *path; local
83 path = strdup(record->blk_device);
93 path = static_cast<char *>(calloc(trimmed_len + name_len + 1, 1));
94 strncpy(path, record->blk_device, trimmed_len);
95 strncpy(path + trimmed_len, name, name_len);
99 fd = open(path, flags);
100 free(path);
  /system/extras/perfprofd/dropbox/
dropbox.cc 49 char path[PATH_MAX]; local
50 snprintf(path, sizeof(path), "%s/dropboxtmp-XXXXXX", temp_dir.c_str());
51 tmp_fd.reset(mkstemp(path));
54 path,
58 if (unlink(path) != 0) {
  /system/extras/verity/
generate_verity_key.c 38 char *path = NULL; local
41 if (asprintf(&path, "%s.pub", private_key_path) < 0)
47 bfile = BIO_new_file(path, "w");
57 free(path);
166 printf("Usage: generate_verity_key <path-to-key> | -convert <path-to-x509-pem> <path-to-key>\n");
  /system/update_engine/
boot_control_recovery.cc 131 base::FilePath path = misc_device.DirName().Append(partition_name + suffix); local
132 if (!base::PathExists(path)) {
133 LOG(ERROR) << "Device file " << path.value() << " does not exist.";
137 *device = path.value();
  /system/vold/
FileDeviceUtils.cpp 42 // Given a file path, look for the corresponding block device in /proc/mount
43 std::string BlockDeviceForPath(const std::string &path)
56 path.size() > l &&
57 path[l] == '/' &&
58 path.compare(0, l, mnt->mnt_dir) == 0) {
64 LOG(ERROR) <<"Didn't find a mountpoint to match path " << path;
67 LOG(DEBUG) << "For path " << path << " block device is " << result;
71 std::unique_ptr<struct fiemap> PathFiemap(const std::string &path, uint32_t extent_count
91 << " in " << path; local
    [all...]
  /system/vold/model/
ObbVolume.cpp 104 auto path = StringPrintf("/mnt/obb/%s", getId().c_str()); local
105 setPath(path);
107 if (fs_prepare_dir(path.c_str(), 0700, AID_ROOT, AID_ROOT)) {
111 if (android::vold::vfat::Mount(mMountPath, path,
120 auto path = getPath(); local
122 KillProcessesUsingPath(path);
123 ForceUnmount(path);
124 rmdir(path.c_str());
  /test/vti/test_serving/gae/webapp/src/handlers/
base.py 147 def path(self): member in class:BaseHandler
148 """Returns the path of the current URL."""
196 os.path.join(os.path.dirname(__file__), "../../static"),
  /tools/tradefederation/core/src/com/android/tradefed/util/
GCSFileDownloader.java 22 import java.nio.file.Path;
44 Path path = Paths.get(filename); local
45 String contents = bucket.pullContents(path);
  /frameworks/support/compat/src/main/java/androidx/core/graphics/
PathParser.java 21 import android.graphics.Path;
70 * @param pathData The string representing a path, the same as "d" string in svg file.
71 * @return the generated Path object.
73 public static Path createPathFromPathData(String pathData) {
74 Path path = new Path(); local
78 PathDataNode.nodesToPath(nodes, path);
82 return path;
88 * @param pathData The string representing a path, the same as "d" string in svg file
    [all...]
  /frameworks/layoutlib/bridge/src/android/util/
PathParser_Delegate.java 106 assert pathString.length() == stringLength : "Inconsistent path string length.";
125 "Cannot interpolate path data with different lengths (from " + length + " to " +
169 * @param pathData The string representing a path, the same as "d" string in svg file.
211 * @param nodesFrom The source path represented in an array of PathDataNode
212 * @param nodesTo The target path represented in an array of PathDataNode
237 * @param target The target path represented in an array of PathDataNode
238 * @param source The source path represented in an array of PathDataNode
254 // Note that 'e' or 'E' are not valid path commands, but could be
413 * Convert an array of PathDataNode to Path. Reset the passed path as needed befor
    [all...]
  /frameworks/base/core/java/android/view/
DisplayCutout.java 28 import android.graphics.Path;
81 private static final Pair<Path, DisplayCutout> NULL_PAIR = new Pair<>(null, null);
93 private static Pair<Path, DisplayCutout> sCachedCutout = NULL_PAIR;
328 Path path = new Path(); local
329 path.reset();
330 path.moveTo(left, top);
331 path.lineTo(left, bottom);
332 path.lineTo(right, bottom)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 85 Path path = new Path(); local
86 path.moveTo(50, 0);
87 path.lineTo(0, 50);
88 path.lineTo(50, 100);
89 path.lineTo(100, 50);
90 path.close();
101 mDrawables[5] = new ShapeDrawable(new PathShape(path, 100, 100));

Completed in 803 milliseconds

<<11121314151617181920>>