Searched defs:truncate (Results 1 - 25 of 54) sorted by relevance

123

/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/content/child/fileapi/
H A Dwebfilewriter_base.cc26 void WebFileWriterBase::truncate(long long length) { function in class:content::WebFileWriterBase
42 // When we cancel a write/truncate, we always get back the result of the write
45 // success [of the write/truncate, in a DidWrite(XXX, true)/DidSucceed() call]
95 // Write never gets a DidSucceed call, so this is either a cancel or truncate
99 // A truncate succeeded, with no complications.
106 // This is the success call of the truncate, which we'll eat, even though
108 // so the truncate will eventually return an error.
124 // A write or truncate failed.
129 // This is the failure of a write or truncate; the next message should be
131 // the write/truncate coul
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DFileWriterSync.cpp71 void FileWriterSync::truncate(long long offset, ExceptionState& exceptionState) function in class:blink::FileWriterSync
80 writer()->truncate(offset);
H A DFileWriter.cpp142 void FileWriter::truncate(long long position, ExceptionState& exceptionState) function in class:blink::FileWriter
270 writer()->truncate(m_truncateLength);
/external/chromium_org/third_party/icu/source/common/
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { function in class:CharString
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/
H A Dbreadcrumbs_controller.js157 this.truncate();
161 * Updates breadcrumbs widths in order to truncate it properly.
163 BreadcrumbsController.prototype.truncate = function() {
231 // Do not truncate separator. Instead let the last crumb be longer.
/external/icu/icu4c/source/common/
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { function in class:CharString
/external/llvm/lib/MC/MCAnalysis/
H A DMCAtom.cpp54 void MCDataAtom::truncate(uint64_t TruncPt) { function in class:MCDataAtom
84 void MCTextAtom::truncate(uint64_t TruncPt) { function in class:MCTextAtom
/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 Ddisk_cache_test_base.cc204 bool truncate) {
206 int rv = entry->WriteData(index, offset, buf, len, cb.callback(), truncate);
202 WriteData(disk_cache::Entry* entry, int index, int offset, net::IOBuffer* buf, int len, bool truncate) argument
/external/smack/src/org/xbill/DNS/
H A DAddress.java376 * @param maskLength The number of bits to truncate the address to.
379 truncate(InetAddress address, int maskLength) method in class:Address
/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,
H A Dsimple_synchronous_entry.h111 bool truncate; member in struct:disk_cache::SimpleSynchronousEntry::EntryOperationData
/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/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h115 // Called by truncate(), as well as open() when O_TRUNC is passed.
116 int (*truncate)(const char* path, off_t); member in struct:fuse_operations
/external/chromium_org/net/disk_cache/blockfile/
H A Dstress_cache.cc158 bool truncate = (rand() % 2 == 0); local
172 "i: %d iter: %d, size: %d, truncate: %d ", i, iteration,
173 size, truncate ? 1 : 0);
175 truncate);
H A Din_flight_backend_io.cc165 net::IOBuffer* buf, int buf_len, bool truncate) {
172 truncate_ = truncate;
445 bool truncate,
448 operation->WriteData(entry, index, offset, buf, buf_len, truncate);
164 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate) argument
443 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate, const net::CompletionCallback& callback) argument
/external/junit/src/junit/runner/
H A DBaseTestRunner.java192 public static String truncate(String s) { method in class:BaseTestRunner
/external/chromium_org/net/disk_cache/memory/
H A Dmem_entry_impl.cc205 const CompletionCallback& callback, bool truncate) {
209 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate));
212 int result = InternalWriteData(index, offset, buf, buf_len, truncate);
306 int buf_len, bool truncate) {
331 } else if (truncate) {
204 WriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
305 InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, bool truncate) argument
/external/chromium_org/net/http/
H A Dmock_http_cache.cc111 const net::CompletionCallback& callback, bool truncate) {
114 DCHECK(truncate);
109 WriteData( int index, int offset, net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback, bool truncate) argument
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dunistr.h2001 * - truncate(0)
2012 * s.truncate(0); // set to an empty string (complete truncation), or
2537 inline UBool truncate(int32_t targetLength);
4440 truncate(limit);
4445 UnicodeString::truncate(int32_t targetLength) function in class:UnicodeString
4448 // truncate(0) of a bogus string makes the string empty and non-bogus
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialutil.py214 def truncate(self, n=None): member in class:FileLike
/external/chromium_org/ui/gfx/
H A Dtext_elider.cc612 const bool truncate = !current_line_.empty(); local
616 if (truncate) {

Completed in 3326 milliseconds

123