Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/external/skia/include/core/
DSkWriter32.h58 *(int32_t*)this->reserve(sizeof(value)) = value; in writeInt()
62 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8()
66 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16()
70 *(int32_t*)this->reserve(sizeof(value)) = value; in write32()
74 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar()
78 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint()
82 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect()
99 memcpy(this->reserve(size), values, size); in write()
122 uint32_t* reserve(size_t size); // size MUST be multiple of 4
DSkTDArray.h135 void setReserve(size_t reserve) { in setReserve() argument
136 if (reserve > fReserve) { in setReserve()
137 SkASSERT(reserve > fCount); in setReserve()
139 this->growBy(reserve - fCount); in setReserve()
/external/tinyxml/
Dtinystr.cpp41 void TiXmlString::reserve (size_type cap) in reserve() function in TiXmlString
77 reserve (newsize + capacity()); in append()
88 tmp.reserve(a.length() + b.length()); in operator +()
98 tmp.reserve(a.length() + b_len); in operator +()
108 tmp.reserve(a_len + b.length()); in operator +()
/external/e2fsprogs/lib/ext2fs/
Dbmove.c27 ext2fs_block_bitmap reserve; member
51 if (ext2fs_test_block_bitmap(pb->reserve, block)) { in process_block()
59 } while (ext2fs_test_block_bitmap(pb->reserve, block) || in process_block()
91 ext2fs_block_bitmap reserve, in ext2fs_move_blocks() argument
106 pb.reserve = reserve; in ext2fs_move_blocks()
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
Dtst_qscriptvalue_generated_istype.cpp172 expectedValue.reserve(134); in isValid_data()
207 expectedValue.reserve(8); in isBool_data()
242 expectedValue.reserve(8); in isBoolean_data()
325 expectedValue.reserve(56); in isNumber_data()
361 expectedValue.reserve(9); in isFunction_data()
393 expectedValue.reserve(5); in isNull_data()
455 expectedValue.reserve(35); in isString_data()
488 expectedValue.reserve(6); in isUndefined_data()
542 expectedValue.reserve(24); in isObject_data()
574 expectedValue.reserve(5); in isArray_data()
[all …]
Dtst_qscriptvalue_generated_totype.cpp241 expectedValue.reserve(135); in toString_data()
419 expectedValue.reserve(135); in toNumber_data()
660 expectedValue.reserve(135); in toBool_data()
892 expectedValue.reserve(135); in toBoolean_data()
1070 expectedValue.reserve(135); in toInteger_data()
1307 expectedValue.reserve(135); in toInt32_data()
1539 expectedValue.reserve(135); in toUInt32_data()
1771 expectedValue.reserve(135); in toUInt16_data()
Dtst_qscriptvalue_generated_comparison.cpp1148 equals.reserve(1111); in equals_data()
1686 equals.reserve(491); in strictlyEquals_data()
1781 equals.reserve(34); in instanceOf_data()
/external/chromium/base/
Dutf_string_conversion_utils.cc116 output->reserve(src_len); in PrepareForUTF8Output()
119 output->reserve(src_len * 3); in PrepareForUTF8Output()
136 output->reserve(src_len); in PrepareForUTF16Or32Output()
140 output->reserve(src_len / 2); in PrepareForUTF16Or32Output()
/external/genext2fs/
Dmkbootimg_ext2.sh98 reserve=10
99 [ $extra -lt $reserve ] && extra=$reserve
/external/astl/tests/
Dtest_string.cpp167 str03.reserve(i + 20); in testConstructorRepeatChar()
253 str01.reserve(5); in testReserve()
255 str01.reserve(0); in testReserve()
262 str02.reserve(10); in testReserve()
267 str02.reserve(6); // no effect in testReserve()
278 str03.reserve(); in testReserve()
282 str03.reserve(10); in testReserve()
287 str03.reserve(); in testReserve()
292 str03.reserve(10); in testReserve()
295 str03.reserve(); // shrink to fit. in testReserve()
[all …]
Dtest_vector.cpp184 EXPECT_TRUE(vec1.reserve(200)); in testReserve()
188 EXPECT_TRUE(vec1.reserve()); in testReserve()
196 EXPECT_TRUE(vec2.reserve()); in testReserve()
199 vec2.reserve(200); in testReserve()
201 vec2.reserve(); in testReserve()
204 vec2.reserve(); in testReserve()
211 vec3.reserve(); in testReserve()
232 vec4.reserve(1000); in testReserve()
234 vec4.reserve(50); // reserving less than length is a nop. in testReserve()
240 EXPECT_TRUE(!vec5.reserve(vec5.max_size() + 1)); in testReserve()
[all …]
/external/stlport/test/eh/
Dtest_vector.cpp47 c.reserve( c.size() + insCnt ); in prepare_insert_n()
58 v.reserve( fAmount ); in operator ()()
70 vec.reserve( vec.size() + d ); in prepare_insert_range()
83 testVector.reserve(vectorSize*4); in test_vector()
Dtest_bit_vector.cpp58 v.reserve( fAmount ); in operator ()()
85 testVector.reserve(BitVectorSize); in test_bit_vector()
/external/llvm/include/llvm/Support/
DTypeBuilder.h258 params.reserve(1); in get()
269 params.reserve(2); in get()
281 params.reserve(3); in get()
296 params.reserve(4); in get()
312 params.reserve(5); in get()
334 params.reserve(1); in get()
344 params.reserve(2); in get()
356 params.reserve(3); in get()
371 params.reserve(4); in get()
387 params.reserve(5); in get()
/external/chromium/chrome/browser/importer/
Dexternal_process_importer_client.cc145 history_rows_.reserve(total_history_rows_count); in OnHistoryImportStart()
179 bookmarks_.reserve(total_bookmarks_count); in OnBookmarksImportStart()
203 favicons_.reserve(total_favicons_count); in OnFaviconsImportStart()
232 template_url_vec.reserve(template_urls.size()); in OnKeywordsImportReady()
/external/skia/src/core/
DSkFlattenable.cpp16 matrix.flatten(writer->reserve(size)); in SkWriteMatrix()
28 rgn.flatten(writer->reserve(size)); in SkWriteRegion()
205 (void)this->reserve(sizeof(uint32_t)); in writeFlattenable()
217 *(void**)this->reserve(sizeof(void*)) = proc; in writeFunctionPtr()
DSkWriter32.cpp63 uint32_t* SkWriter32::reserve(size_t size) { in reserve() function in SkWriter32
131 char* dst = (char*)this->reserve(alignedSize); in writePad()
228 uint8_t* ptr = (uint8_t*)this->reserve(alignedLen); in writeString()
/external/llvm/include/llvm/ADT/
DIndexedMap.h58 void reserve(typename StorageT::size_type s) { in reserve() function
59 storage_.reserve(s); in reserve()
/external/chromium/googleurl/src/
Dgurl.cc56 canonical->reserve(input_spec.size() + 32); in InitCanonical()
186 result.spec_.reserve(spec_.size() + 32); in ResolveWithCharsetConverter()
214 result.spec_.reserve(spec_.size() + 32); in ResolveWithCharsetConverter()
241 result.spec_.reserve(spec_.size() + 32); in ReplaceComponents()
263 result.spec_.reserve(spec_.size() + 32); in ReplaceComponents()
/external/chromium/chrome/common/net/
Dx509_certificate_model.cc18 input16.reserve(input.length()); in ProcessIDN()
62 ret.reserve(std::max(kMin, data_length * 3 - 1)); in ProcessRawBytesWithSeparators()
/external/llvm/lib/Target/PTX/
DPTXMachineFunctionInfo.h35 reg_arg.reserve(8); in PTXMachineFunctionInfo()
36 reg_local_var.reserve(32); in PTXMachineFunctionInfo()
/external/chromium/third_party/libjingle/source/talk/base/
Dhttpbase.cc626 size_t offset, reserve; in flush_data() local
631 reserve = offset + 2; in flush_data()
634 reserve = offset; in flush_data()
637 if (reserve >= sizeof(buffer_)) { in flush_data()
643 sizeof(buffer_) - reserve, in flush_data()
646 ASSERT(reserve + read <= sizeof(buffer_)); in flush_data()
658 len_ = reserve + read; in flush_data()
/external/chromium/base/memory/
Dscoped_vector.h57 void reserve(size_t capacity) { v.reserve(capacity); } in reserve() function
/external/clang/include/clang/AST/
DASTVector.h64 reserve(C, N); in Begin()
165 void reserve(ASTContext &C, unsigned N) { in reserve() function
245 reserve(C, static_cast<unsigned>(this->size() + NumToInsert)); in insert()
294 reserve(C, static_cast<unsigned>(this->size() + NumToInsert)); in insert()
/external/chromium/chrome/browser/password_manager/
Dnative_backend_kwallet_x.cc165 kept_forms.reserve(all_forms.size()); in RemoveLogin()
223 kept_forms.reserve(all_forms.size()); in RemoveLoginsCreatedBetween()
329 forms->reserve(forms->size() + all_forms.size()); in GetLoginsList()
349 forms->reserve(forms->size() + all_forms.size()); in GetLoginsList()
514 forms->reserve(forms->size() + count); in DeserializeValue()

12345678910>>...14