Searched refs:truncate (Results 1 - 25 of 270) sorted by relevance

1234567891011

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dtruncate.c12 int truncate(const char* pathname, off_t length) { function
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
H A Dtruncate_unittest.cc5 #include "chrome/browser/chromeos/file_system_provider/operations/truncate.h"
58 Truncate truncate(NULL,
63 truncate.SetDispatchEventImplForTesting(
67 EXPECT_TRUE(truncate.Execute(kRequestId));
92 Truncate truncate(NULL,
97 truncate.SetDispatchEventImplForTesting(
101 EXPECT_FALSE(truncate.Execute(kRequestId));
115 Truncate truncate(NULL,
120 truncate.SetDispatchEventImplForTesting(
124 EXPECT_FALSE(truncate
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DFileWriterSync.idl38 [RaisesException] void truncate(long long size);
H A DFileWriterSync.h57 void truncate(long long length, ExceptionState&);
H A DFileWriter.idl46 [RaisesException] void truncate(long long size);
H A DFileWriterSync.cpp71 void FileWriterSync::truncate(long long offset, ExceptionState& exceptionState) function in class:blink::FileWriterSync
80 writer()->truncate(offset);
/external/e2fsprogs/resize/
H A Dtest-resize12 truncate -s 8T $FS
17 truncate -s 20T $FS
23 truncate -s 21T $FS
/external/chromium_org/third_party/WebKit/Source/platform/clipboard/
H A DClipboardUtilitiesPosix.cpp57 name.truncate(maxFilenameLength - extension.length() - 1);
H A DClipboardUtilitiesWin.cpp70 name.truncate(maxFilenameLength - extension.length() - 1);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebFileWriter.h46 // Only one write or one truncate operation can be in progress at a time.
50 virtual void truncate(long long length) = 0;
52 // Cancel will attempt to abort a running write or truncate. However, it may not be possible to cancel an in-progress action, or the call may have come in too late. Partial writes are possible.
53 // Do not call cancel when there is no write or truncate in progress.
/external/chromium_org/net/disk_cache/
H A Dnet_log_parameters.cc30 bool truncate,
36 if (truncate)
37 dict->SetBoolean("truncate", truncate);
105 bool truncate) {
107 index, offset, buf_len, truncate);
26 NetLogReadWriteDataCallback( int index, int offset, int buf_len, bool truncate, net::NetLog::LogLevel ) argument
101 CreateNetLogReadWriteDataCallback( int index, int offset, int buf_len, bool truncate) argument
H A Dnet_log_parameters.h27 // read or write of an Entry. For reads, |truncate| must be false.
32 bool truncate);
35 // read or write completes. For reads, |truncate| must be false.
/external/chromium_org/content/test/data/fileapi/
H A Dquota_test.js19 fileWriter.truncate(2500 * 1024);
21 }, function(e) { fail('Open for 2nd truncate:' + fileErrorToString(e)); } );
36 fail('Unexpectedly succeeded to truncate. It should fail by quota.');
39 fileWriter.truncate(10000 * 1024);
41 }, function(e) { fail('Open for 1st truncate:' + fileErrorToString(e)); } );
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_entry_operation.cc149 bool truncate,
163 truncate,
249 const bool truncate = false; local
263 truncate,
298 int other_op_end = (other_op.type() == TYPE_WRITE && other_op.truncate())
321 bool truncate,
335 truncate_(truncate),
143 WriteOperation( SimpleEntryImpl* entry, int index, int offset, int length, net::IOBuffer* buf, bool truncate, bool optimistic, const CompletionCallback& callback) argument
310 SimpleEntryOperation(SimpleEntryImpl* entry, net::IOBuffer* buf, const CompletionCallback& callback, Entry** out_entry, int offset, int64 sparse_offset, int length, int64* out_start, EntryOperationType type, bool have_index, int index, bool truncate, bool optimistic, bool alone_in_queue) argument
H A Dsimple_entry_operation.h66 bool truncate,
108 bool truncate() const { return truncate_; } function in class:disk_cache::SimpleEntryOperation
124 bool truncate,
/external/chromium_org/third_party/libvpx/source/libvpx/tools/
H A Dwrap-commit-msg.py63 fileobj.truncate(0)
/external/libvpx/libvpx/tools/
H A Dwrap-commit-msg.py63 fileobj.truncate(0)
/external/chromium_org/net/disk_cache/blockfile/
H A Dentry_impl_v3.h90 bool truncate) OVERRIDE;
114 const CompletionCallback& callback, bool truncate);
137 bool PrepareTarget(int index, int offset, int buf_len, bool truncate);
H A Dentry_impl.h48 const CompletionCallback& callback, bool truncate);
160 bool truncate) OVERRIDE;
184 const CompletionCallback& callback, bool truncate);
209 bool PrepareTarget(int index, int offset, int buf_len, bool truncate);
/external/llvm/include/llvm/MC/MCAnalysis/
H A DMCAtom.h59 virtual void truncate(uint64_t TruncPt) = 0;
146 /// \name Atom type specific split/truncate logic.
149 void truncate(uint64_t TruncPt) override;
180 /// \name Atom type specific split/truncate logic.
183 void truncate(uint64_t TruncPt) override;
/external/chromium_org/content/child/fileapi/
H A Dwebfilewriter_base_unittest.cc79 DidSucceed(); // truncate completion
83 DidFail(base::File::FILE_ERROR_NOT_FOUND); // truncate completion
220 writer()->truncate(kBasicFileTruncate_Offset);
262 writer()->truncate(kErrorFileTruncate_Offset);
356 writer()->truncate(kCancelFileTruncate_Offset);
376 writer()->truncate(kCancelFailedTruncate_Offset);
403 writer()->truncate(kBasicFileTruncate_Offset);
414 writer()->truncate(kErrorFileTruncate_Offset);
H A Dwebfilewriter_base.h27 virtual void truncate(long long length);
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Ddenseranges.cpp50 void truncate(int32_t newLength) { function in class:__anon12408::LargestGaps
148 gaps.truncate(num-1);
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.cpp50 void truncate(int32_t newLength) { function in class:__anon22220::LargestGaps
148 gaps.truncate(num-1);
/external/smack/src/org/xbill/DNS/
H A DClientSubnetOption.java78 this.address = Address.truncate(address, sourceNetmask);
151 InetAddress tmp = Address.truncate(address, sourceNetmask);

Completed in 6409 milliseconds

1234567891011