Searched refs:mapped_file (Results 1 - 10 of 10) sorted by relevance

/external/chromium/base/test/
H A Dtest_file_util_mac.cc20 file_util::MemoryMappedFile mapped_file; local
21 if (!mapped_file.Initialize(file)) {
26 if (msync(const_cast<uint8*>(mapped_file.data()), mapped_file.length(),
/external/chromium_org/base/test/
H A Dtest_file_util_mac.cc35 base::MemoryMappedFile mapped_file; local
36 if (!mapped_file.Initialize(file)) {
41 if (msync(const_cast<uint8*>(mapped_file.data()), mapped_file.length(),
/external/chromium/base/i18n/
H A Dicu_util.cc110 static file_util::MemoryMappedFile mapped_file;
111 if (!mapped_file.IsValid()) {
119 if (!mapped_file.Initialize(data_path)) {
125 udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err);
/external/chromium_org/base/i18n/
H A Dicu_util.cc114 CR_DEFINE_STATIC_LOCAL(base::MemoryMappedFile, mapped_file, ());
115 if (!mapped_file.IsValid()) {
123 if (!mapped_file.Initialize(data_path)) {
129 udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err);
/external/chromium_org/chrome/browser/policy/
H A Dpreg_parser_win.cc215 base::MemoryMappedFile mapped_file; local
216 if (!mapped_file.Initialize(file_path) || !mapped_file.IsValid()) {
222 if (mapped_file.length() > kMaxPRegFileSize) {
224 << mapped_file.length();
231 if (mapped_file.length() < kHeaderSize ||
232 memcmp(kPRegFileHeader, mapped_file.data(), kHeaderSize) != 0) {
241 const uint8* cursor = mapped_file.data() + kHeaderSize;
242 const uint8* end = mapped_file.data() + mapped_file
[all...]
/external/chromium/base/
H A Dshared_memory_win.cc163 HANDLE mapped_file = mapped_file_; local
168 // DUPLICATE_CLOSE_SOURCE causes DuplicateHandle to close mapped_file.
175 *new_handle = mapped_file;
179 if (!DuplicateHandle(GetCurrentProcess(), mapped_file, process,
H A Dfile_util_win.cc1040 FilePath mapped_file; local
1041 if (!NormalizeToNativeFilePath(path, &mapped_file))
1047 return DevicePathToDriveLetterPath(mapped_file, real_path);
/external/chromium_org/base/memory/
H A Dshared_memory_win.cc195 HANDLE mapped_file = mapped_file_; local
200 // DUPLICATE_CLOSE_SOURCE causes DuplicateHandle to close mapped_file.
207 *new_handle = mapped_file;
211 if (!DuplicateHandle(GetCurrentProcess(), mapped_file, process,
/external/chromium_org/base/
H A Dfile_util_win.cc558 FilePath mapped_file; local
559 if (!NormalizeToNativeFilePath(path, &mapped_file))
565 return DevicePathToDriveLetterPath(mapped_file, real_path);
/external/chromium_org/chrome/installer/util/
H A Dmove_tree_work_item_unittest.cc415 base::MemoryMappedFile mapped_file; local
416 EXPECT_TRUE(mapped_file.Initialize(orig_to_file));

Completed in 373 milliseconds