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

/external/icu4c/common/
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { function in class:CharString
/external/llvm/lib/MC/
H A DMCAtom.cpp76 void MCAtom::truncate(uint64_t TruncPt) { function in class:MCAtom
/external/webkit/Source/WebCore/fileapi/
H A DFileWriterSync.cpp73 void FileWriterSync::truncate(long long offset, ExceptionCode& ec) function in class:WebCore::FileWriterSync
83 writer()->truncate(offset);
H A DFileWriter.cpp114 void FileWriter::truncate(long long position, ExceptionCode& ec) function in class:WebCore::FileWriter
125 writer()->truncate(position);
H A DFileStreamProxy.cpp208 void FileStreamProxy::truncate(long long position) function in class:WebCore::FileStreamProxy
215 bool success = m_stream->truncate(position);
/external/webkit/Source/WebKit/chromium/src/
H A DAsyncFileWriterChromium.cpp63 void AsyncFileWriterChromium::truncate(long long length) function in class:WebCore::AsyncFileWriterChromium
66 m_writer->truncate(length);
H A DWorkerAsyncFileWriterChromium.cpp77 void WorkerAsyncFileWriterChromium::truncate(long long length) function in class:WebCore::WorkerAsyncFileWriterChromium
/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
H A Dentry_impl.cc164 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) {
1029 truncate = truncate
330 WriteDataImpl(int index, int offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback, bool truncate) argument
814 WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback, bool truncate) argument
1001 InternalWriteData(int index, int offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback, bool truncate) argument
1199 PrepareTarget(int index, int offset, int buf_len, bool truncate) argument
[all...]
/external/webkit/Source/WebCore/platform/
H A DFileStream.cpp142 bool FileStream::truncate(long long) function in class:WebCore::FileStream
/external/junit/src/junit/runner/
H A DBaseTestRunner.java192 public static String truncate(String s) { method in class:BaseTestRunner
/external/qemu/distrib/sdl-1.2.12/src/file/
H A DSDL_rwops.c55 DWORD must_exist, truncate; local
67 /* "w" = writing, truncate existing, file may not exist */
71 /* "w+" = read, write, truncate. file may not exist */
74 truncate = ( SDL_strchr(mode,'w') != NULL ) ? CREATE_ALWAYS : 0;
77 w_right = ( a_mode || SDL_strchr(mode,'+') || truncate ) ? GENERIC_WRITE : 0;
101 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL);
109 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL);
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DWTFString.cpp224 void String::truncate(unsigned position) function in class:WTF::String
/external/icu4c/common/unicode/
H A Dunistr.h1937 * - truncate(0)
1948 * s.truncate(0); // set to an empty string (complete truncation), or
2475 inline UBool truncate(int32_t targetLength);
4212 * without copy-on-write, e.g., via truncate(newLength) or remove(void).
4413 truncate(limit);
4418 UnicodeString::truncate(int32_t targetLength) function in class:UnicodeString
4421 // truncate(0) of a bogus string makes the string empty and non-bogus
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DFileChannelTest.java557 * @tests java.nio.channels.FileChannel#truncate(long)
562 readOnlyFileChannel.truncate(0);
570 writeOnlyFileChannel.truncate(0);
578 readWriteFileChannel.truncate(-1);
586 * @tests java.nio.channels.FileChannel#truncate(long)
591 readOnlyFileChannel.truncate(-1);
598 writeOnlyFileChannel.truncate(-1);
605 readWriteFileChannel.truncate(-1);
613 * @tests java.nio.channels.FileChannel#truncate(long)
618 readOnlyFileChannel.truncate(readOnlyFileChanne
3085 public FileChannel truncate(long arg0) throws IOException { method in class:FileChannelTest.MockFileChannel
[all...]
/external/chromium/net/http/
H A Dhttp_cache_unittest.cc138 net::CompletionCallback* callback, bool truncate) {
141 DCHECK(truncate);
137 WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, net::CompletionCallback* callback, bool truncate) argument
/external/icu4c/test/cintltst/
H A Dcreststn.c2530 static void TestGetFunctionalEquivalentOf(const char *path, const char *resName, const char *keyword, UBool truncate, const char * const testCases[]) { argument
2543 &gotAvail, truncate, &status);
/external/kernel-headers/original/linux/
H A Dfs.h146 #define S_SWAPFILE 256 /* Do not truncate: swapon got its bmaps */
396 unsigned int truncate_count; /* Cover race condition with truncate */
1100 void (*truncate) (struct inode *); member in struct:inode_operations
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...

Completed in 468 milliseconds