/external/astl/include/ |
vector | 87 // able to reserve the memory in a single call before copying the 113 bool reserve(size_type new_size = 0); 149 // memory has been preallocated (e.g using reserve). 154 // the internal buffer: you need to call reserve() to recover it. 179 // lead to some realloc) as necessary. See 'reserve'. 275 bool vector<_T>::reserve(size_type new_size) 325 if (0 == new_capacity || !reserve(new_capacity)) return; 418 if (new_size > mCapacity && !reserve(new_size)) {
|
/external/chromium/base/ |
utf_offset_string_conversions.cc | 172 output->reserve(src_len); 186 output->reserve(src_len);
|
utf_string_conversions.cc | 101 output->reserve(src_len); 115 output->reserve(src_len);
|
/external/chromium/chrome/browser/extensions/ |
extension_toolbar_model.cc | 202 toolitems_.reserve(sorted.size() + unsorted.size()); 227 ids.reserve(toolitems_.size());
|
/external/chromium/net/base/ |
escape.cc | 51 escaped.reserve(text.length() * 3); 115 // reserve the input size to make sure we have enough buffer and don't have 118 result.reserve(escaped_text.length()); 332 result.reserve(input.size()); // optimize for no escaping
|
/external/clang/include/clang/Analysis/Support/ |
BumpVector.h | 59 reserve(C, N); 178 void reserve(BumpVectorContext &C, unsigned N) { function in class:clang::BumpVector
|
/external/llvm/lib/CodeGen/ |
MachineRegisterInfo.cpp | 22 VRegInfo.reserve(256); 23 RegAllocHints.reserve(256);
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 70 Elts.reserve(MD->getNumOperands()); 126 Ops.reserve(NumOperands);
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 146 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 151 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
|
/frameworks/av/drm/libdrmframework/ |
DrmManagerClient.cpp | 80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { 81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve);
|
/frameworks/av/drm/libdrmframework/include/ |
IDrmManagerService.h | 119 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
DrmEngineBase.h | 62 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 254 * If the reserve parameter is true the rights is reserved until the same 255 * application calls this api again with the reserve parameter set to false. 260 * @param[in] reserve True if the rights should be reserved. 265 int action, bool reserve) = 0;
|
/external/chromium/chrome/browser/password_manager/ |
native_backend_kwallet_x.cc | 165 kept_forms.reserve(all_forms.size()); 223 kept_forms.reserve(all_forms.size()); 329 forms->reserve(forms->size() + all_forms.size()); 349 forms->reserve(forms->size() + all_forms.size()); 514 forms->reserve(forms->size() + count);
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
vec.h | 63 be more efficient to use the reserve operation before adding the 66 increase if there are too few spare slots. If you want reserve a 191 VEC(T,A) *VEC_T_A_alloc(int reserve); 193 Allocate a new vector with space for RESERVE objects. If RESERVE 208 size_t VEC_T_embedded_size(int reserve); 209 void VEC_T_embedded_init(VEC(T) *v, int reserve); 226 int VEC_T_space (VEC(T) *v,int reserve) 228 If V has space for RESERVE additional entries, return nonzero. You 237 /* Reserve space [all...] |
/external/stlport/test/unit/ |
string_test.cpp | 52 CPPUNIT_TEST(reserve); 112 void reserve(); 193 void StringTest::reserve() function in class:StringTest 198 s.reserve(s.max_size() + 1); 460 * so we reserve a big enough string to be sure to test this 463 str.reserve(100); 1029 //Use reserve to avoid reallocation and really test auto-referencing problems: 1030 result.reserve(64); 1049 //Use reserve to avoid reallocation and really test auto-referencing problems: 1050 result.reserve(64) [all...] |
vector_test.cpp | 301 v.reserve(5000); 308 va.reserve(1); 309 va.reserve(2);
|
/ndk/tests/device/test-gnustl-full/unit/ |
string_test.cpp | 52 CPPUNIT_TEST(reserve); 112 void reserve(); 193 void StringTest::reserve() function in class:StringTest 198 s.reserve(s.max_size() + 1); 460 * so we reserve a big enough string to be sure to test this 463 str.reserve(100); 1029 //Use reserve to avoid reallocation and really test auto-referencing problems: 1030 result.reserve(64); 1049 //Use reserve to avoid reallocation and really test auto-referencing problems: 1050 result.reserve(64) [all...] |
/ndk/tests/device/test-stlport/unit/ |
string_test.cpp | 52 CPPUNIT_TEST(reserve); 112 void reserve(); 193 void StringTest::reserve() function in class:StringTest 198 s.reserve(s.max_size() + 1); 460 * so we reserve a big enough string to be sure to test this 463 str.reserve(100); 1029 //Use reserve to avoid reallocation and really test auto-referencing problems: 1030 result.reserve(64); 1049 //Use reserve to avoid reallocation and really test auto-referencing problems: 1050 result.reserve(64) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
OutputFinisher.java | 456 * The instruction will need to be expanded, so reserve 459 int reserve = insn.getMinimumRegisterRequirement(); local 460 if (reserve > newReservedCount) { 461 newReservedCount = reserve; 518 * <p>This method may also reserve a number of low-numbered
|
/dalvik/dx/src/com/android/dx/dex/code/ |
OutputFinisher.java | 465 * expanded opcode and reserve registers for it. 469 int reserve = insn.getMinimumRegisterRequirement(compatRegs); local 470 if (reserve > newReservedCount) { 471 newReservedCount = reserve; 538 * <p>This method may also reserve a number of low-numbered
|
/external/chromium/crypto/ |
rsa_private_key.cc | 83 output->reserve(content.size()); 109 output->reserve(content.size()); 126 output->reserve(content.size());
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
OutputFinisher.java | 465 * expanded opcode and reserve registers for it. 469 int reserve = insn.getMinimumRegisterRequirement(compatRegs); local 470 if (reserve > newReservedCount) { 471 newReservedCount = reserve; 538 * <p>This method may also reserve a number of low-numbered
|
/external/libpcap/missing/ |
snprintf.c | 73 int (*reserve)(struct state *, size_t); member in struct:state 583 state.reserve = as_reserve; 622 state.reserve = sn_reserve;
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 709 OS.reserve(OS.size() + 128); 725 OS.reserve(OS.capacity() * 2); 745 OS.reserve(OS.capacity() * 2);
|
/external/tcpdump/missing/ |
snprintf.c | 73 int (*reserve)(struct state *, size_t); member in struct:state 583 state.reserve = as_reserve; 622 state.reserve = sn_reserve;
|