HomeSort by relevance Sort by last modified time
    Searched full:new_file (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_dep_util.py 16 new_file = os.path.join(tmpdir, 'new')
19 # Raise DistutilsFileError if 'new_file' does not exist.
20 self.assertRaises(DistutilsFileError, newer, new_file, old_file)
22 # Return true if 'new_file' exists and is more recently modified than
23 # 'old_file', or if 'new_file' exists and 'old_file' doesn't.
24 self.write_file(new_file)
25 self.assertTrue(newer(new_file, 'I_dont_exist'))
26 self.assertTrue(newer(new_file, old_file))
29 # than 'new_file'.
30 self.assertFalse(newer(old_file, new_file))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_dep_util.py 16 new_file = os.path.join(tmpdir, 'new')
19 # Raise DistutilsFileError if 'new_file' does not exist.
20 self.assertRaises(DistutilsFileError, newer, new_file, old_file)
22 # Return true if 'new_file' exists and is more recently modified than
23 # 'old_file', or if 'new_file' exists and 'old_file' doesn't.
24 self.write_file(new_file)
25 self.assertTrue(newer(new_file, 'I_dont_exist'))
26 self.assertTrue(newer(new_file, old_file))
29 # than 'new_file'.
30 self.assertFalse(newer(old_file, new_file))
    [all...]
  /external/autotest/server/site_tests/platform_CompromisedStatefulPartition/
platform_CompromisedStatefulPartition.py 52 for new_file in self.FILES_LIST:
53 if not host.path_exists(new_file):
56 'statefull partition' % new_file)
  /bootable/recovery/tests/component/
applypatch_test.cpp 81 new_file = from_testdata_base("new.file");
91 new_sha1 = sha1sum(new_file);
97 stat(&new_file[0], &st);
102 static std::string new_file; member in class:ApplyPatchTest
116 std::string ApplyPatchTest::new_file; member in class:ApplyPatchTest
298 ASSERT_TRUE(file_cmp(old_file, new_file));
309 ASSERT_TRUE(file_cmp(old_file, new_file));
325 ASSERT_TRUE(file_cmp(output_loc, new_file));
335 ASSERT_TRUE(file_cmp(output_loc, new_file));
352 ASSERT_TRUE(file_cmp(output_loc, new_file));
    [all...]
  /external/bsdiff/
bspatch.cc 239 std::unique_ptr<FileInterface> new_file = local
241 if (!new_file)
248 new_file.reset(new ExtentsFile(std::move(new_file), parsed_new_extents));
255 new_file.reset(new MemoryFile(std::move(new_file), newsize));
284 if (!ReadBZ2AndWriteAll(new_file, dpfbz2, -i, new_buf.data(),
311 if (!WriteAll(new_file, new_buf.data(), read_bytes))
323 if (!ReadBZ2AndWriteAll(new_file, dpfbz2, oldpos - oldsize,
333 if (!ReadBZ2AndWriteAll(new_file, epfbz2, ctrl[1], new_buf.data()
    [all...]
  /external/toybox/tests/
mv.test 11 testing "Move old_file to new_file" "mv file file1 && [ ! -e file -a -f file1 ] &&
36 testing "Move a empty file to new_file" "mv file1 file2 &&
46 testing "Move file new_file (random file)" "mv file1 file2 &&
66 testing "Move file new_file (unreadable)" "mv file1 file2 &&
91 testing "Move -f file new_file (exist)" "mv -f file1 file2 &&
96 testing "Move -n file new_file (exist)" "mv -n file1 file2 &&
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
AbstractFileSystemTestCase.groovy 40 protected String NEW_FILE = null
53 assert !fileSystem.exists(NEW_FILE)
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
103 fileSystem.add(new FileEntry(NEW_FILE))
104 assert fileSystem.exists(NEW_FILE), "After createFile"
108 fileSystem.add(new FileEntry(NEW_FILE))
219 fileSystem.add(new FileEntry(NEW_FILE))
220 assert fileSystem.delete(NEW_FILE)
221 assert !fileSystem.exists(NEW_FILE)
239 final FROM_FILE = NEW_FILE + "2
    [all...]
AbstractFakeFileSystemTestCase.groovy 40 def fileEntry = new FileEntry(NEW_FILE)
81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)]
84 assert fileSystem.exists(NEW_FILE)
124 def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner',
127 def entry = fileSystem.getEntry(NEW_FILE)
129 assert entry.path == NEW_FILE
UnixFakeFileSystemTest.groovy 32 NEW_FILE = "/NewFile.txt"
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/docmaker/
utils.py 60 new_file = open( filename, "w" )
61 sys.stdout = new_file
63 return ( new_file, old_stdout )
  /external/chromium-trace/catapult/tracing/docs/
embedding-trace-viewer.md 8 with open('my_trace.html', 'w') as new_file:
9 trace2html.WriteHTMLForTracesToFile(['my_trace.json'], new_file)
  /external/chromium-trace/catapult/telemetry/telemetry/util/
image_util_unittest.py 50 new_file = image_util.FromPngFile(temp_file)
51 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True))
66 new_file = image_util.FromPngFile(temp_file)
67 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True))
  /external/elfutils/libdw/
dwarf_getsrclines.c 326 #define NEW_FILE() ({ \
344 struct filelist *new_file = NEW_FILE (); local
367 new_file->info.name = fname;
370 new_file->info.name = libdw_alloc (dbg, char, 1,
373 char *cp = new_file->info.name;
385 assert (strlen (new_file->info.name)
392 get_uleb128 (new_file->info.mtime, linep, lineendp);
397 get_uleb128 (new_file->info.length, linep, lineendp);
545 struct filelist *new_file = NEW_FILE () local
    [all...]
  /external/compiler-rt/lib/profile/
GCDAProfiling.c 75 static int new_file = 0; variable
105 if (!new_file) return;
142 if (new_file)
153 if (new_file)
254 new_file = 0;
259 new_file = 1;
288 if (new_file) {
294 new_file = 1;
472 if (new_file) {
  /system/ca-certificates/google/
extract_from_pem.py 43 with open(file_path, 'w') as new_file:
44 new_file.write(content)
  /external/webrtc/tools/sslroots/
generate_sslroots.py 74 new_file = open(new_file_name, 'w')
76 new_file.write(out_line)
77 new_file.close()
  /external/skia/tools/
parse_llvm_coverage.py 44 new_file = _fix_filename(filename)
47 if f.endswith(new_file):
53 % (new_file, '\n\t'.join(matched)))
  /system/update_engine/payload_generator/
delta_diff_utils.cc 210 for (const FilesystemInterface::File& new_file : new_files) {
216 new_file.extents, new_visited_blocks);
222 LOG(INFO) << "Encoding file " << new_file.name << " ("
234 old_files_map[new_file.name], old_visited_blocks);
242 new_file.name, // operation name
697 const string& new_file,
708 cmd.push_back(new_file);
delta_diff_utils.h 110 const std::string& new_file,
  /external/v8/tools/gcmole/
gcmole.lua 133 local new_file = line:match "^______________ (.*)$"
143 elseif new_file then
144 filename = new_file
  /system/bt/btif/src/
btif_config.c 88 NEW_FILE,
166 btif_config_source = NEW_FILE;
551 case NEW_FILE:
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem.py 36 >>> new_file = filesystem.CreateFile(pathname)
932 parent_directory, new_file = self.SplitPath(file_path)
941 file_object = FakeFile(new_file, st_mode, contents)
    [all...]
  /external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_filesystem.py 36 >>> new_file = filesystem.CreateFile(pathname)
950 parent_directory, new_file = self.SplitPath(file_path)
959 file_object = FakeFile(new_file, st_mode, contents)
    [all...]
  /external/toybox/toys/pending/
syslogd.c 291 char new_file[i]; local
294 sprintf(new_file, "%s.%d", tf->filename, i);
297 rename(old_file, new_file);
299 rename(tf->filename, new_file);
  /external/e2fsprogs/e2fsck/
profile.c 306 prf_file_t new_file, *last; local
327 retval = profile_open_file(cp, &new_file);
332 *last = new_file;
333 last = &new_file->next;
339 retval = profile_open_file(*fs, &new_file);
346 *last = new_file;
347 last = &new_file->next;
    [all...]

Completed in 1081 milliseconds

1 2 3 4 5