Searched defs:truncate (Results 1 - 25 of 53) 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/third_party/icu/source/common/
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { function in class:CharString
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/
H A Dbreadcrumbs_controller.js152 this.truncate();
156 * Updates breadcrumbs widths in order to truncate it properly.
158 BreadcrumbsController.prototype.truncate = function() {
226 // Do not truncate separator. Instead let the last crumb be longer.
/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:WebCore::FileWriterSync
80 writer()->truncate(offset);
H A DFileWriter.cpp136 void FileWriter::truncate(long long position, ExceptionState& exceptionState) function in class:WebCore::FileWriter
270 writer()->truncate(m_truncateLength);
/external/icu4c/common/
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { function in class:CharString
/external/llvm/lib/MC/
H A DMCAtom.cpp51 void MCDataAtom::truncate(uint64_t TruncPt) { function in class:MCDataAtom
81 void MCTextAtom::truncate(uint64_t TruncPt) { function in class:MCTextAtom
/external/chromium/net/disk_cache/
H A Dnet_log_parameters.cc27 int index, int offset, int buf_len, bool truncate)
28 : index_(index), offset_(offset), buf_len_(buf_len), truncate_(truncate) {
37 dict->SetBoolean("truncate", truncate_);
26 ReadWriteDataParameters( int index, int offset, int buf_len, bool truncate) argument
H A Ddisk_cache_test_base.cc157 bool truncate) {
159 int rv = entry->WriteData(index, offset, buf, len, &cb, truncate);
155 WriteData(disk_cache::Entry* entry, int index, int offset, net::IOBuffer* buf, int len, bool truncate) argument
H A Din_flight_backend_io.cc138 net::IOBuffer* buf, int buf_len, bool truncate) {
145 truncate_ = truncate;
395 bool truncate,
398 operation->WriteData(entry, index, offset, buf, buf_len, truncate);
137 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate) argument
393 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate, CompletionCallback* callback) argument
H A Dstress_cache.cc139 bool truncate = rand() % 2 ? false : true; local
152 "i: %d iter: %d, size: %d, truncate: %d", i, iteration, size,
153 truncate ? 1 : 0);
154 rv = entries[slot]->WriteData(0, 0, buffer, size, &cb, truncate);
H A Dmem_entry_impl.cc189 int buf_len, net::CompletionCallback* completion_callback, bool truncate) {
194 new ReadWriteDataParameters(index, offset, buf_len, truncate)));
197 int result = InternalWriteData(index, offset, buf, buf_len, truncate);
295 int buf_len, bool truncate) {
320 } else if (truncate) {
188 WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, net::CompletionCallback* completion_callback, bool truncate) argument
294 InternalWriteData(int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate) argument
/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.cc190 bool truncate) {
192 int rv = entry->WriteData(index, offset, buf, len, cb.callback(), truncate);
188 WriteData(disk_cache::Entry* entry, int index, int offset, net::IOBuffer* buf, int len, bool truncate) argument
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);
/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/flash/
H A Dflash_entry_impl.cc88 bool truncate) {
86 WriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
/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/icu4c/tools/toolutil/
H A Ddenseranges.cpp50 void truncate(int32_t newLength) { function in class:__anon19506::LargestGaps
148 gaps.truncate(num-1);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h183 // Called by truncate(), as well as open() when O_TRUNC is passed.
184 int (*truncate)(const char* path, off_t); member in struct:fuse_operations
H A Dkernel_wrap_newlib.cc77 OP(dev_filename, truncate); \
203 int WRAP(truncate)(const char* pathname, off_t length) { function
/external/junit/src/junit/runner/
H A DBaseTestRunner.java192 public static String truncate(String s) { method in class:BaseTestRunner
/external/openssh/openbsd-compat/
H A Dbsd-misc.c119 int truncate(const char *path, off_t length) function

Completed in 1595 milliseconds

123