Home
last modified time | relevance | path

Searched refs:new_filename (Results 1 – 14 of 14) sorted by relevance

/external/bsdiff/
Dbspatch_unittest.cc27 const char* new_filename = new_file_.c_str(); in TEST_F() local
29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F()
30 EXPECT_EQ(0, unlink(new_filename)); in TEST_F()
31 EXPECT_EQ(0, symlink(old_filename, new_filename)); in TEST_F()
32 EXPECT_TRUE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F()
Dbspatch.cc114 const char* new_filename, in IsOverlapping() argument
118 if (stat(new_filename, &new_stat) == -1) { in IsOverlapping()
121 PLOG(ERROR) << "Error stat the new file: " << new_filename; in IsOverlapping()
149 const char* new_filename, in bspatch() argument
168 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch()
177 const char* new_filename, in bspatch() argument
202 File::FOpen(new_filename, O_CREAT | O_WRONLY); in bspatch()
204 PLOG(ERROR) << "Error opening the new file: " << new_filename; in bspatch()
217 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
Dbsdiff_main.cc60 const char* new_filename, in GenerateBsdiffFromFiles() argument
70 uint8_t* new_buf = static_cast<uint8_t*>(MapFile(new_filename, &newsize)); in GenerateBsdiffFromFiles()
/external/bsdiff/include/bsdiff/
Dbspatch.h21 const char* new_filename,
28 const char* new_filename,
52 const char* new_filename,
/external/compiler-rt/lib/profile/
DGCDAProfiling.c172 char *new_filename; in mangle_filename() local
205 new_filename = malloc(prefix_len + 1 + filename_len + 1); in mangle_filename()
206 memcpy(new_filename, prefix, prefix_len); in mangle_filename()
209 new_filename[prefix_len++] = '/'; in mangle_filename()
210 memcpy(new_filename + prefix_len, fname, filename_len + 1); in mangle_filename()
212 return new_filename; in mangle_filename()
/external/perf_data_converter/src/quipper/
Dhuge_page_deducer.cc40 void SetMmapFilename(PerfEvent* event, const string& new_filename, in SetMmapFilename() argument
44 event->header().size() + GetUint64AlignedStringLength(new_filename) - in SetMmapFilename()
47 event->mutable_mmap_event()->set_filename(new_filename); in SetMmapFilename()
Dperf_parser_test.cc131 string new_filename = old_filename + ".local"; in CheckFilenameAndBuildIDMethods() local
132 filenames[j] = new_filename; in CheckFilenameAndBuildIDMethods()
133 build_id_localizer[build_id] = new_filename; in CheckFilenameAndBuildIDMethods()
134 expected_map[new_filename] = build_id; in CheckFilenameAndBuildIDMethods()
161 string new_filename = old_filename + ".local2"; in CheckFilenameAndBuildIDMethods() local
162 filenames[j] = new_filename; in CheckFilenameAndBuildIDMethods()
163 filename_localizer[old_filename] = new_filename; in CheckFilenameAndBuildIDMethods()
167 expected_map[new_filename] = build_id; in CheckFilenameAndBuildIDMethods()
Dperf_reader.cc450 const string& new_filename = find_result->second; in Localize() local
451 filename_map[build_id.filename()] = new_filename; in Localize()
2000 const string& new_filename = it->second; in LocalizeMMapFilenames() local
2002 size_t new_len = GetUint64AlignedStringLength(new_filename); in LocalizeMMapFilenames()
2005 event.mutable_mmap_event()->set_filename(new_filename); in LocalizeMMapFilenames()
/external/python/cpython2/Lib/
Dmodulefinder.py589 new_filename = original_filename = os.path.normpath(co.co_filename)
592 new_filename = r + original_filename[len(f):]
596 if new_filename != original_filename:
598 % (original_filename,new_filename,))
611 co.co_varnames, new_filename, co.co_name,
/external/python/cpython3/Lib/
Dmodulefinder.py542 new_filename = original_filename = os.path.normpath(co.co_filename)
545 new_filename = r + original_filename[len(f):]
549 if new_filename != original_filename:
551 % (original_filename,new_filename,))
565 co.co_varnames, new_filename, co.co_name,
/external/googletest/googletest/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/googletest/googlemock/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/google-breakpad/src/testing/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename