Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dtruncate_unittest.cc58 Truncate truncate(NULL, in TEST_F() local
63 truncate.SetDispatchEventImplForTesting( in TEST_F()
67 EXPECT_TRUE(truncate.Execute(kRequestId)); in TEST_F()
92 Truncate truncate(NULL, in TEST_F() local
97 truncate.SetDispatchEventImplForTesting( in TEST_F()
101 EXPECT_FALSE(truncate.Execute(kRequestId)); in TEST_F()
115 Truncate truncate(NULL, in TEST_F() local
120 truncate.SetDispatchEventImplForTesting( in TEST_F()
124 EXPECT_FALSE(truncate.Execute(kRequestId)); in TEST_F()
131 Truncate truncate(NULL, in TEST_F() local
[all …]
/external/chromium_org/net/disk_cache/
Dnet_log_parameters.cc30 bool truncate, in NetLogReadWriteDataCallback() argument
36 if (truncate) in NetLogReadWriteDataCallback()
37 dict->SetBoolean("truncate", truncate); in NetLogReadWriteDataCallback()
105 bool truncate) { in CreateNetLogReadWriteDataCallback() argument
107 index, offset, buf_len, truncate); in CreateNetLogReadWriteDataCallback()
/external/chromium_org/net/disk_cache/simple/
Dsimple_entry_operation.cc149 bool truncate, in WriteOperation() argument
163 truncate, in WriteOperation()
249 const bool truncate = false; in DoomOperation() local
263 truncate, in DoomOperation()
298 int other_op_end = (other_op.type() == TYPE_WRITE && other_op.truncate()) in ConflictsWith()
321 bool truncate, in SimpleEntryOperation() argument
335 truncate_(truncate), in SimpleEntryOperation()
Dsimple_entry_operation.h66 bool truncate,
108 bool truncate() const { return truncate_; } in truncate() function
124 bool truncate,
Dsimple_entry_impl.cc394 bool truncate) { in WriteData() argument
401 truncate)); in WriteData()
429 return SetStream0Data(buf, offset, buf_len, truncate); in WriteData()
469 truncate, in WriteData()
624 operation->truncate()); in RunNextOperationIfNeeded()
891 bool truncate) { in WriteDataInternal() argument
899 truncate)); in WriteDataInternal()
921 int ret_value = SetStream0Data(buf, offset, buf_len, truncate); in WriteDataInternal()
932 if (truncate ? (offset == data_size) : (offset <= data_size)) { in WriteDataInternal()
951 if (truncate) { in WriteDataInternal()
[all …]
/external/e2fsprogs/resize/
Dtest-resize12 truncate -s 8T $FS
17 truncate -s 20T $FS
23 truncate -s 21T $FS
/external/chromium_org/third_party/sqlite/src/test/
Djrnlmode.test32 set temp_truncate truncate
94 PRAGMA journal_mode = truncate;
96 } {truncate}
103 } [list truncate truncate [temp_journal_mode truncate]]
191 } [list truncate [temp_journal_mode truncate] memory memory memory]
292 # This will attempt to truncate the database file. Check that this
465 PRAGMA journal_mode = truncate;
471 } {truncate truncate}
533 do_execsql_test jrnlmode-8.7 { PRAGMA journal_mode=TRUNCATE } {truncate}
540 do_execsql_test jrnlmode-8.14 { PRAGMA journal_mode=TRUNCATE } {truncate}
[all …]
Dwal6.test29 set all_journal_modes {delete persist truncate memory off}
50 if {$jmode=="persist" || $jmode=="truncate"} {
72 if {$jmode=="persist" || $jmode=="truncate"} {
/external/chromium_org/content/child/fileapi/
Dwebfilewriter_base_unittest.cc220 writer()->truncate(kBasicFileTruncate_Offset); in TEST_F()
262 writer()->truncate(kErrorFileTruncate_Offset); in TEST_F()
356 writer()->truncate(kCancelFileTruncate_Offset); in TEST_F()
376 writer()->truncate(kCancelFailedTruncate_Offset); in TEST_F()
403 writer()->truncate(kBasicFileTruncate_Offset); in TEST_F()
414 writer()->truncate(kErrorFileTruncate_Offset); in TEST_F()
/external/icu/icu4c/source/common/
Dlocdispnames.cpp59 result.truncate(0); in getDisplayLanguage()
71 result.truncate(0); in getDisplayLanguage()
99 result.truncate(0); in getDisplayScript()
111 result.truncate(0); in getDisplayScript()
139 result.truncate(0); in getDisplayCountry()
151 result.truncate(0); in getDisplayCountry()
179 result.truncate(0); in getDisplayVariant()
191 result.truncate(0); in getDisplayVariant()
219 result.truncate(0); in getDisplayName()
231 result.truncate(0); in getDisplayName()
/external/chromium_org/third_party/icu/source/common/
Dlocdispnames.cpp59 result.truncate(0); in getDisplayLanguage()
71 result.truncate(0); in getDisplayLanguage()
99 result.truncate(0); in getDisplayScript()
111 result.truncate(0); in getDisplayScript()
139 result.truncate(0); in getDisplayCountry()
151 result.truncate(0); in getDisplayCountry()
179 result.truncate(0); in getDisplayVariant()
191 result.truncate(0); in getDisplayVariant()
219 result.truncate(0); in getDisplayName()
231 result.truncate(0); in getDisplayName()
/external/chromium_org/net/disk_cache/blockfile/
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);
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);
Dentry_impl_v3.cc567 const CompletionCallback& callback, bool truncate) { in WriteData() argument
569 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); in WriteData()
581 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, in WriteData()
588 bool truncate) { in WriteDataImpl() argument
592 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); in WriteDataImpl()
596 truncate); in WriteDataImpl()
860 bool truncate) { in InternalWriteData() argument
889 truncate = truncate && entry_size > offset + buf_len; in InternalWriteData()
891 if (!PrepareTarget(index, offset, buf_len, truncate)) in InternalWriteData()
895 if (extending || truncate) in InternalWriteData()
[all …]
Dentry_impl.cc336 bool truncate) { in WriteDataImpl() argument
340 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); in WriteDataImpl()
344 truncate); in WriteDataImpl()
836 const CompletionCallback& callback, bool truncate) { in WriteData() argument
838 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); in WriteData()
850 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, in WriteData()
1062 bool truncate) { in InternalWriteData() argument
1091 truncate = truncate && entry_size > offset + buf_len; in InternalWriteData()
1093 if (!PrepareTarget(index, offset, buf_len, truncate)) in InternalWriteData()
1097 if (extending || truncate) in InternalWriteData()
[all …]
Dstress_cache.cc158 bool truncate = (rand() % 2 == 0); in StressTheCache() local
173 size, truncate ? 1 : 0); in StressTheCache()
175 truncate); in StressTheCache()
/external/chromium_org/content/test/data/fileapi/
Dquota_test.js19 fileWriter.truncate(2500 * 1024);
39 fileWriter.truncate(10000 * 1024);
/external/llvm/include/llvm/MC/MCAnalysis/
DMCAtom.h59 virtual void truncate(uint64_t TruncPt) = 0;
149 void truncate(uint64_t TruncPt) override;
183 void truncate(uint64_t TruncPt) override;
/external/chromium_org/third_party/icu/source/i18n/
Desctrn.cpp147 buf.truncate(0); in handleTransliterate()
155 buf.truncate(0); in handleTransliterate()
159 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp309 nextSpec.truncate(i); in setupNext()
316 nextSpec.truncate(0); in setupNext()
740 result.truncate(0); in getAvailableSource()
757 result.truncate(0); // invalid source in getAvailableTarget()
769 result.truncate(0); // invalid index in getAvailableTarget()
793 result.truncate(0); // invalid source in getAvailableVariant()
798 result.truncate(0); // invalid target in getAvailableVariant()
803 result.truncate(0); // invalid index in getAvailableVariant()
1071 utag.truncate(0); in findInBundle()
1091 s.truncate(0); in findInBundle()
/external/icu/icu4c/source/i18n/
Desctrn.cpp147 buf.truncate(0); in handleTransliterate()
155 buf.truncate(0); in handleTransliterate()
159 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp309 nextSpec.truncate(i); in setupNext()
316 nextSpec.truncate(0); in setupNext()
740 result.truncate(0); in getAvailableSource()
757 result.truncate(0); // invalid source in getAvailableTarget()
769 result.truncate(0); // invalid index in getAvailableTarget()
793 result.truncate(0); // invalid source in getAvailableVariant()
798 result.truncate(0); // invalid target in getAvailableVariant()
803 result.truncate(0); // invalid index in getAvailableVariant()
1071 utag.truncate(0); in findInBundle()
1091 s.truncate(0); in findInBundle()
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DFileWriterSync.cpp71 void FileWriterSync::truncate(long long offset, ExceptionState& exceptionState) in truncate() function in blink::FileWriterSync
80 writer()->truncate(offset); in truncate()
/external/smack/src/org/xbill/DNS/
DClientSubnetOption.java78 this.address = Address.truncate(address, sourceNetmask); in ClientSubnetOption()
151 InetAddress tmp = Address.truncate(address, sourceNetmask); in optionFromWire()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp50 void truncate(int32_t newLength) { in truncate() function in __anon152eccaa0111::LargestGaps
148 gaps.truncate(num-1); in uprv_makeDenseRanges()

12345678910>>...16