/external/chromium/net/base/ |
file_stream.h | 120 // WARNING: one may not truncate a file beyond its current length on any 122 int64 Truncate(int64 bytes);
|
file_stream_posix.cc | 425 int64 FileStream::Truncate(int64 bytes) { 434 // Seek to the position to truncate from. 439 // And truncate the file.
|
file_stream_win.cc | 334 int64 FileStream::Truncate(int64 bytes) { 343 // Seek to the position to truncate from. 348 // And truncate the file.
|
file_stream_unittest.cc | 868 TEST_F(FileStreamTest, Truncate) { 878 // Truncate the file. 879 ASSERT_EQ(4, write_stream.Truncate(4));
|
/external/chromium/chrome/browser/sync/sessions/ |
ordered_commit_set.h | 80 void Truncate(size_t max_size);
|
ordered_commit_set_unittest.cc | 50 // PASSIVE has one element removed. Finally, truncate to 1 so only UI is 96 commit_set1.Truncate(cut_to_size); 114 commit_set.Truncate(4);
|
ordered_commit_set.cc | 41 void OrderedCommitSet::Truncate(size_t max_size) {
|
/external/chromium/base/ |
file_util_proxy.h | 189 static bool Truncate( 198 static bool Truncate(
|
file_util_proxy.cc | 890 bool FileUtilProxy::Truncate( 900 bool FileUtilProxy::Truncate(
|
/frameworks/compile/mclinker/include/mcld/Support/ |
FileHandle.h | 50 Truncate = 0x10, 92 // truncate - truncate the file up to the pSize. 93 bool truncate(size_t pSize);
|
/frameworks/compile/mclinker/lib/Support/ |
FileHandle.cpp | 75 if (FileHandle::Truncate == (pMode & FileHandle::Truncate)) 162 bool FileHandle::truncate(size_t pSize) function in class:FileHandle
|
/external/chromium/webkit/glue/ |
webfileutilities_impl.cc | 139 return file_stream.Truncate(offset) >= 0;
|
/external/webkit/Source/WebCore/platform/qt/ |
FileSystemQt.cpp | 139 platformMode = (QIODevice::WriteOnly | QIODevice::Truncate);
|
/external/chromium/chrome/browser/sessions/ |
session_backend_unittest.cc | 178 TEST_F(SessionBackendTest, Truncate) {
|
session_backend.cc | 354 // File is already open, truncate it. We truncate instead of closing and 359 if (current_session_file_->Truncate(header_size) != header_size)
|
/external/chromium/chrome/browser/sync/engine/ |
get_commit_ids_command.cc | 150 // items. If so, truncate the set down to the allowed size. 151 ordered_commit_set_->Truncate(requested_commit_batch_size_);
|
/external/protobuf/src/google/protobuf/ |
repeated_field_unittest.cc | 245 TEST(RepeatedField, Truncate) { 254 field.Truncate(3); 263 field.Truncate(field.size()); 265 EXPECT_DEBUG_DEATH(field.Truncate(field.size() + 1), "new_size");
|
repeated_field.h | 99 void Truncate(int new_size); 590 inline void RepeatedField<Element>::Truncate(int new_size) { [all...] |
/external/v8/src/ |
mksnapshot.cc | 243 output_->Truncate(output_length_);
|
utils.h | 396 void Truncate(int length) {
|
v8natives.js | 121 // Truncate number. [all...] |
/frameworks/compile/mclinker/lib/Core/ |
Linker.cpp | 230 FileHandle::ReadWrite | FileHandle::Truncate | FileHandle::Create,
|
/external/chromium/net/disk_cache/ |
entry_impl.cc | 106 void Truncate(int offset); 161 void EntryImpl::UserBuffer::Truncate(int offset) { 164 DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_; 332 bool truncate) { 337 new ReadWriteDataParameters(index, offset, buf_len, truncate))); 341 truncate); 815 CompletionCallback* callback, bool truncate) { 817 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); 827 truncate, callback); 1003 bool truncate) { [all...] |
/external/v8/tools/ |
test.py | 258 def Truncate(self, str, length): 275 status = self.Truncate(status, 78) [all...] |
/frameworks/compile/mclinker/tools/llvm-mcld/ |
llvm-mcld.cpp | 915 mcld::FileHandle::Truncate, [all...] |