Searched defs:truncate (Results 26 - 50 of 53) sorted by relevance

123

/external/chromium_org/net/disk_cache/
H A Din_flight_backend_io.cc167 net::IOBuffer* buf, int buf_len, bool truncate) {
174 truncate_ = truncate;
454 bool truncate,
457 operation->WriteData(entry, index, offset, buf, buf_len, truncate);
166 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate) argument
452 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate, const net::CompletionCallback& callback) argument
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
H A Dtracing_cache_backend.cc27 bool truncate) OVERRIDE;
47 bool truncate; member in struct:disk_cache::EntryProxy::RwOpExtra
100 extra.truncate = false;
113 bool truncate) {
119 extra.truncate = truncate;
123 truncate);
111 WriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
H A Dentry_impl.cc165 DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_;
333 bool truncate) {
337 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate));
341 truncate);
833 const CompletionCallback& callback, bool truncate) {
835 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate);
847 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate,
1058 bool truncate) {
1087 truncate = truncate
331 WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
832 WriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
1055 InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
1270 PrepareTarget(int index, int offset, int buf_len, bool truncate) argument
[all...]
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_synchronous_entry.h111 bool truncate; member in struct:disk_cache::SimpleSynchronousEntry::EntryOperationData
H A Dsimple_entry_impl.cc385 bool truncate) {
392 truncate));
420 return SetStream0Data(buf, offset, buf_len, truncate);
460 truncate,
622 operation->truncate());
888 bool truncate) {
896 truncate));
918 int ret_value = SetStream0Data(buf, offset, buf_len, truncate);
929 if (truncate ? (offset == data_size) : (offset <= data_size)) {
948 if (truncate) {
380 WriteData(int stream_index, int offset, net::IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
883 WriteDataInternal(int stream_index, int offset, net::IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
1465 SetStream0Data(net::IOBuffer* buf, int offset, int buf_len, bool truncate) argument
[all...]
H A Dsimple_synchronous_entry.cc216 truncate(truncate_p),
330 bool truncate = in_entry_op.truncate; local
384 if (!truncate && (buf_len > 0 || !extending_by_write)) {
673 DLOG(INFO) << "Could not truncate stream 0 file.";
1250 DLOG(WARNING) << "Could not truncate sparse file";
/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/qemu/distrib/sdl-1.2.15/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);
137 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL);
164 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL);
/external/chromium_org/net/disk_cache/v3/
H A Dentry_impl_v3.cc110 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) {
878 truncate = truncate
555 WriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
575 WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
846 InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, const CompletionCallback& callback, bool truncate) argument
1084 PrepareTarget(int index, int offset, int buf_len, bool truncate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DWTFString.cpp298 void String::truncate(unsigned position) function in class:WTF::String
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-open-type-private.hh465 inline void truncate (void *head) function in struct:OT::hb_serialize_context_t
/external/chromium_org/third_party/icu/source/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);
4213 * without copy-on-write, e.g., via truncate(newLength) or remove(void).
4415 truncate(limit);
4420 UnicodeString::truncate(int32_t targetLength) function in class:UnicodeString
4423 // truncate(0) of a bogus string makes the string empty and non-bogus
/external/harfbuzz_ng/src/
H A Dhb-open-type-private.hh465 inline void truncate (void *head) function in struct:OT::hb_serialize_context_t
/external/icu4c/common/unicode/
H A Dunistr.h2003 * - truncate(0)
2014 * s.truncate(0); // set to an empty string (complete truncation), or
2539 inline UBool truncate(int32_t targetLength);
4295 * without copy-on-write, e.g., via truncate(newLength) or remove(void).
4486 truncate(limit);
4491 UnicodeString::truncate(int32_t targetLength) function in class:UnicodeString
4494 // truncate(0) of a bogus string makes the string empty and non-bogus
/external/chromium/net/disk_cache/
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/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/chromium_org/chrome/browser/resources/file_manager/common/js/
H A Dutil.js565 var truncate = function(writer) {
568 writer.truncate(0);
576 entry.createWriter(truncate, onError);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_proxy.cc632 int KernelProxy::truncate(const char* path, off_t len) { function in class:nacl_io::KernelProxy
/external/chromium_org/ui/gfx/
H A Dtext_elider.cc939 const bool truncate = !current_line_.empty(); local
943 if (truncate) {
/external/icu4c/test/cintltst/
H A Dcreststn.c2535 static void TestGetFunctionalEquivalentOf(const char *path, const char *resName, const char *keyword, UBool truncate, const char * const testCases[]) { argument
2548 &gotAvail, truncate, &status);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcreststn.c2524 static void TestGetFunctionalEquivalentOf(const char *path, const char *resName, const char *keyword, UBool truncate, const char * const testCases[]) { argument
2537 &gotAvail, truncate, &status);
/external/robolectric/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
/external/kernel-headers/original/linux/
H A Dfs.h243 #define S_SWAPFILE 256 /* Do not truncate: swapon got its bmaps */
1657 void (*truncate) (struct inode *); member in struct:inode_operations
/external/dexmaker/lib/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ...

Completed in 866 milliseconds

123