/external/chromium/net/disk_cache/ |
disk_cache.h | 188 // If truncate is true, this call will truncate the stored data at the end of 192 bool truncate) = 0; 242 // entries. |truncate| is not part of this interface because a sparse entry
|
disk_cache_test_base.h | 104 net::IOBuffer* buf, int len, bool truncate);
|
/external/chromium_org/content/child/fileapi/ |
webfilewriter_base.cc | 26 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 could have failed for other reasons [all...] |
/external/chromium_org/net/disk_cache/flash/ |
flash_entry_impl.h | 63 bool truncate) OVERRIDE;
|
/external/chromium_org/third_party/icu/source/common/ |
charstr.h | 73 CharString &truncate(int32_t newLength);
|
/external/chromium_org/third_party/icu/source/i18n/ |
funcrepl.cpp | 97 rule.truncate(0);
|
uni2name.cpp | 100 str.truncate(OPEN_DELIM_LEN);
|
transreg.cpp | 307 nextSpec.truncate(i); 314 nextSpec.truncate(0); 738 result.truncate(0); 755 result.truncate(0); // invalid source 767 result.truncate(0); // invalid index 791 result.truncate(0); // invalid source 796 result.truncate(0); // invalid target 801 result.truncate(0); // invalid index [all...] |
/external/icu4c/common/ |
charstr.h | 73 CharString &truncate(int32_t newLength);
|
/external/icu4c/i18n/ |
funcrepl.cpp | 100 rule.truncate(0);
|
uni2name.cpp | 101 str.truncate(OPEN_DELIM_LEN);
|
esctrn.cpp | 147 buf.truncate(0); 155 buf.truncate(0); 159 buf.truncate(prefixLen);
|
transreg.cpp | 309 nextSpec.truncate(i); 316 nextSpec.truncate(0); 740 result.truncate(0); 757 result.truncate(0); // invalid source 769 result.truncate(0); // invalid index 793 result.truncate(0); // invalid source 798 result.truncate(0); // invalid target 803 result.truncate(0); // invalid index [all...] |
/external/llvm/utils/ |
sort_includes.py | 75 f.truncate()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
FileHandle.h | 49 Truncate = 0x10, 91 // truncate - truncate the file up to the pSize. 92 bool truncate(size_t pSize);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { 50 if (truncate) { 125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time 126 String[] actual = getFormattedDates(out, outCal, truncate); [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
FileChannel.java | 563 public abstract FileChannel truncate(long size) throws IOException; method in class:FileChannel [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_entry_impl.h | 90 bool truncate) OVERRIDE; 189 bool truncate); 287 // |truncate| is set to true, the target buffer will be truncated at |offset| 291 bool truncate);
|
simple_entry_impl.cc | 385 bool truncate) { 392 truncate)); 420 return SetStream0Data(buf, offset, buf_len, truncate); 460 truncate, 622 operation->truncate()); [all...] |
/external/chromium_org/net/disk_cache/ |
stress_cache.cc | 158 bool truncate = (rand() % 2 == 0); local 172 "i: %d iter: %d, size: %d, truncate: %d ", i, iteration, 173 size, truncate ? 1 : 0); 175 truncate);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_largefile.py | 106 print('try truncate') 110 if not hasattr(f, 'truncate'): 111 raise unittest.SkipTest("open().truncate() not available on this system") 115 # Cut it back via seek + truncate with no argument. 118 f.truncate() 122 # Ensure that truncate(smaller than true size) shrinks 126 f.truncate(newsize) 131 # XXX truncate(larger than true size) is ill-defined 134 f.truncate(1) 190 if hasattr(f, 'truncate') [all...] |
test_StringIO.py | 64 f.truncate() 66 f.truncate(5) 70 self.assertRaises(IOError, f.truncate, -1)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_largefile.py | 106 print('try truncate') 110 if not hasattr(f, 'truncate'): 111 raise unittest.SkipTest("open().truncate() not available on this system") 115 # Cut it back via seek + truncate with no argument. 118 f.truncate() 122 # Ensure that truncate(smaller than true size) shrinks 126 f.truncate(newsize) 131 # XXX truncate(larger than true size) is ill-defined 134 f.truncate(1) 190 if hasattr(f, 'truncate') [all...] |
/external/chromium_org/net/disk_cache/v3/ |
entry_impl_v3.cc | 52 void Truncate(int offset); 107 void EntryImpl::UserBuffer::Truncate(int offset) { 110 DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_; 556 const CompletionCallback& callback, bool truncate) { 558 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); 570 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, 577 bool truncate) { 581 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); 585 truncate); 849 bool truncate) { [all...] |
/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 55 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); 137 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL); 164 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL);
|