/external/skia/include/core/ |
D | SkWriter32.h | 53 *(int32_t*)this->reserve(sizeof(value)) = value; in writeInt() 57 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8() 61 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16() 65 *(int32_t*)this->reserve(sizeof(value)) = value; in write32() 69 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar() 73 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint() 77 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect() 94 memcpy(this->reserve(size), values, size); in write() 117 uint32_t* reserve(size_t size); // size MUST be multiple of 4
|
D | SkTDArray.h | 138 void setReserve(size_t reserve) { in setReserve() argument 139 if (reserve > fReserve) { in setReserve() 140 SkASSERT(reserve > fCount); in setReserve() 142 this->growBy(reserve - fCount); in setReserve()
|
/external/tinyxml/ |
D | tinystr.cpp | 41 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/ |
D | bmove.c | 27 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/ |
D | tst_qscriptvalue_generated_istype.cpp | 172 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 …]
|
D | tst_qscriptvalue_generated_totype.cpp | 241 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()
|
D | tst_qscriptvalue_generated_comparison.cpp | 1148 equals.reserve(1111); in equals_data() 1686 equals.reserve(491); in strictlyEquals_data() 1781 equals.reserve(34); in instanceOf_data()
|
/external/chromium/base/ |
D | utf_string_conversion_utils.cc | 116 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/ |
D | mkbootimg_ext2.sh | 98 reserve=10 99 [ $extra -lt $reserve ] && extra=$reserve
|
/external/astl/tests/ |
D | test_string.cpp | 167 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 …]
|
D | test_vector.cpp | 184 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/ |
D | test_vector.cpp | 47 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()
|
D | test_bit_vector.cpp | 58 v.reserve( fAmount ); in operator ()() 85 testVector.reserve(BitVectorSize); in test_bit_vector()
|
/external/aac/libSBRdec/src/ |
D | sbr_dec.cpp | 327 int i, slot, reserve; in sbr_dec() local 401 reserve = fixMax(0,CntLeadingZeros(maxVal)-1) ; in sbr_dec() 402 reserve = fixMin(reserve,DFRACT_BITS-1-hSbrDec->sbrScaleFactor.lb_scale); in sbr_dec() 411 reserve); in sbr_dec() 413 hSbrDec->sbrScaleFactor.lb_scale += reserve; in sbr_dec() 548 …sdiff = hSbrDec->sbrScaleFactor.lb_scale - reserve; /* Scaling difference … in sbr_dec() 884 int source_scale, target_scale, delta_scale, target_lsb, target_usb, reserve; in resetSbrDec() local 980 reserve = CntLeadingZeros(maxVal)-1; in resetSbrDec() 981 reserve = fixMin(reserve,DFRACT_BITS-1-source_scale); in resetSbrDec() 989 reserve); in resetSbrDec() [all …]
|
/external/chromium/chrome/browser/importer/ |
D | external_process_importer_client.cc | 145 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/llvm/include/llvm/ADT/ |
D | IndexedMap.h | 58 void reserve(typename StorageT::size_type s) { in reserve() function 59 storage_.reserve(s); in reserve()
|
/external/chromium/googleurl/src/ |
D | gurl.cc | 56 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/ |
D | x509_certificate_model.cc | 18 input16.reserve(input.length()); in ProcessIDN() 62 ret.reserve(std::max(kMin, data_length * 3 - 1)); in ProcessRawBytesWithSeparators()
|
/external/skia/src/core/ |
D | SkFlattenable.cpp | 23 matrix.flatten(writer->reserve(size)); in SkWriteMatrix() 35 rgn.flatten(writer->reserve(size)); in SkWriteRegion() 331 (void)this->reserve(sizeof(uint32_t)); in writeFlattenable() 342 *(void**)this->reserve(sizeof(void*)) = proc; in writeFunctionPtr()
|
D | SkWriter32.cpp | 70 uint32_t* SkWriter32::reserve(size_t size) { in reserve() function in SkWriter32 138 char* dst = (char*)this->reserve(alignedSize); in writePad() 235 char* ptr = (char*)this->reserve(alignedLen); in writeString()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | httpbase.cc | 626 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/ |
D | scoped_vector.h | 57 void reserve(size_t capacity) { v.reserve(capacity); } in reserve() function
|
/external/clang/include/clang/AST/ |
D | ASTVector.h | 64 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/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
D | FaceInfoVec.java | 50 public void reserve(int i) { in reserve() method in FaceInfoVec
|
/external/chromium/chrome/browser/password_manager/ |
D | native_backend_kwallet_x.cc | 165 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()
|