HomeSort by relevance Sort by last modified time
    Searched refs:new_path (Results 26 - 50 of 74) sorted by null

12 3

  /external/autotest/site_utils/lxc/
container.py 196 def clone(cls, src, new_name=None, new_path=None, snapshot=False,
204 @param new_path: LXC path for the cloned container (optional; if not
214 if new_path is None:
215 new_path = src.container_path
219 tempfile.mkdtemp(dir=new_path, prefix='container.'))
223 container_folder = os.path.join(new_path, new_name)
228 container = Container.create_from_existing_dir(new_path,
245 new_container = cls(new_path, new_name, {}, src, snapshot)
container_unittest.py 139 new_path=self.test_dir,
154 new_path=self.test_dir,
159 new_path=self.test_dir,
167 new_path=self.test_dir,
177 new_path=self.test_dir,
337 new_path=self.test_dir,
utils.py 65 def clone(lxc_path, src_name, new_path, dst_name, snapshot):
70 @param new_path: The LXC path of the destination container.
82 newpath = new_path,
base_image_unittest.py 54 new_path=test_dir,
78 new_path=test_dir,
168 new_path=test_dir,
  /external/curl/lib/
cookie.c 226 char *new_path = strdup(cookie_path); local
227 if(!new_path)
231 len = strlen(new_path);
232 if(new_path[0] == '\"') {
233 memmove((void *)new_path, (const void *)(new_path + 1), len);
236 if(len && (new_path[len - 1] == '\"')) {
237 new_path[len - 1] = 0x0;
242 if(new_path[0] != '/') {
244 free(new_path);
    [all...]
  /external/libchrome/base/files/
file_path.cc 311 FilePath new_path(path_);
312 new_path.StripTrailingSeparatorsInternal();
318 StringType::size_type letter = FindDriveLetter(new_path.path_);
321 new_path.path_.find_last_of(kSeparators, StringType::npos,
325 new_path.path_.resize(letter + 1);
328 new_path.path_.resize(letter + 2);
330 IsSeparator(new_path.path_[letter + 1])) {
333 new_path.path_.resize(letter + 3);
336 new_path.path_.resize(last_separator);
339 new_path.StripTrailingSeparatorsInternal()
    [all...]
  /external/webrtc/webrtc/base/
fileutils.cc 157 const Pathname &new_path) {
161 new_dir.SetFolder(new_path.pathname());
176 dest.SetFolder(new_path.pathname());
fileutils_mock.h 177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) {
181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) {
185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) {
  /external/ipsec-tools/src/racoon/
remoteconf.c 638 vchar_t *new_path; local
650 if ((new_path = vmalloc(len)) == NULL) {
656 new_path->v[0] = '\0';
657 (void)strlcat(new_path->v, script_dir, len);
658 (void)strlcat(new_path->v, "/", len);
659 (void)strlcat(new_path->v, path->v, len);
662 path = new_path;
  /external/opencv/otherlibs/highgui/
loadsave.cpp 129 char* new_path = new char[new_size];
133 memcpy( new_path, m_path, m_len );
137 m_path = new_path;
  /external/python/cpython3/Lib/test/test_importlib/import_/
test_path.py 98 new_path = sys.path[:]
99 new_path.insert(0, None)
109 path=new_path,
  /external/google-breakpad/src/client/linux/minidump_writer/
linux_dumper.cc 453 char new_path[NAME_MAX]; local
456 if (!SafeReadLink(exe_link, new_path))
458 if (my_strcmp(path, new_path) != 0)
465 sys_stat(new_path, &new_path_stat) == 0 &&
  /external/mesa3d/src/util/
disk_cache.c 120 char *new_path; local
126 new_path = ralloc_asprintf(ctx, "%s/%s", path, name);
128 if (mkdir_if_needed(new_path) == 0)
129 return new_path;
  /external/v8/src/base/debug/
stack_trace_win.cc 84 std::wstring new_path(std::wstring(symbols_path.get()) + L";" +
86 if (!SymSetSearchPathW(GetCurrentProcess(), new_path.c_str())) {
  /external/swiftshader/third_party/subzero/pydir/
szbuild.py 11 def NewerThanOrNotThere(old_path, new_path):
12 """Returns whether old_path is newer than new_path.
16 if not (os.path.exists(old_path) and os.path.exists(new_path)):
18 return os.path.getmtime(old_path) > os.path.getmtime(new_path)
  /test/vts/runners/host/
utils.py 225 new_path = os.path.join(base_path, file_full_path)
226 if os.path.isfile(new_path):
228 file_full_path = new_path
  /frameworks/native/cmds/installd/
otapreopt.cpp 830 std::string new_path = StringPrintf("%s/oat/%s/%s.odex.%s", local
835 if (new_path.length() >= PKG_PATH_MAX) {
836 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; local
839 strcpy(path, new_path.c_str());
    [all...]
  /system/extras/simpleperf/scripts/
app_profiler.py 300 def _is_lib_better(self, new_path, old_path):
301 """ Return true if new_path is more likely to be used on device. """
305 result1 = 'armeabi-v7a/' in new_path
310 result1 = arch_dir in new_path
314 result1 = 'obj/' in new_path
  /system/update_engine/
p2p_manager.cc 628 FilePath new_path = path.RemoveExtension(); local
629 LOG_ASSERT(new_path.MatchesExtension(kP2PExtension));
630 if (rename(path.value().c_str(), new_path.value().c_str()) != 0) {
632 << " to " << new_path.value();
  /external/selinux/python/sepolicy/sepolicy/
manpage.py 194 self.new_path = self.old_path + self.os_version + "/"
209 if not os.path.isdir(self.new_path):
210 os.mkdir(self.new_path)
215 convert_manpage_to_html((self.new_path + d.rsplit("_selinux", 1)[0] + ".html"), self.old_path + d)
220 convert_manpage_to_html((self.new_path + r.rsplit("_selinux", 1)[0] + ".html"), self.old_path + r)
269 html = self.new_path + self.os_version + ".html"
    [all...]
  /external/ltp/lib/
tst_test.c 867 char *new_path; local
872 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir);
874 SAFE_ASPRINTF(&new_path, "::%s", start_dir);
876 SAFE_SETENV("PATH", new_path, 1);
877 free(new_path);
  /external/python/cpython3/Lib/
os.py 403 new_path = join(top, dirname)
408 if followlinks or not islink(new_path):
409 yield from walk(new_path, topdown, onerror, followlinks)
412 for new_path in walk_dirs:
413 yield from walk(new_path, topdown, onerror, followlinks)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
os.py 306 new_path = join(top, name)
307 if followlinks or not islink(new_path):
308 for x in walk(new_path, topdown, onerror, followlinks):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
os.py 321 new_path = join(top, name)
322 if followlinks or not islink(new_path):
323 for x in walk(new_path, topdown, onerror, followlinks):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
os.py 292 new_path = join(top, name)
293 if followlinks or not islink(new_path):
294 for x in walk(new_path, topdown, onerror, followlinks):

Completed in 1086 milliseconds

12 3