Home
last modified time | relevance | path

Searched refs:Reserve (Results 1 - 25 of 30) sorted by relevance

12

/third_party/node/deps/v8/src/parsing/
H A Dpreparse-data.cc146 void PreparseDataBuilder::ByteData::Reserve(size_t bytes) { in Reserve() function in v8::internal::PreparseDataBuilder::ByteData
323 // Reserve Uint32 for scope_data_start debug info. in SaveScopeAllocationData()
324 byte_data_.Reserve(kUint32Size); in SaveScopeAllocationData()
327 byte_data_.Reserve(children_.size() * kSkippableFunctionMaxDataSize); in SaveScopeAllocationData()
345 byte_data_.Reserve(kUint32Size * 3); in SaveScopeAllocationData()
361 byte_data_.Reserve(kUint8Size); in SaveDataForScope()
377 byte_data_.Reserve(kUint8Size); in SaveDataForScope()
397 byte_data_.Reserve(kUint32Size + (name->length() + 1) * kUint8Size); in SaveDataForVariable()
409 byte_data_.Reserve(kUint8Size); in SaveDataForVariable()
H A Dpreparse-data.h148 void Reserve(size_t bytes);
/third_party/lzma/CPP/Common/
H A DMyVector.h79 void Reserve(unsigned newCapacity) in Reserve() function in CRecordVector
91 Reserve(newSize); in ChangeSize_KeepData()
207 Reserve(newSize); in operator +=()
464 // void Reserve(unsigned newCapacity) { _v.Reserve(newCapacity); }
481 _v.Reserve(size); in operator =()
495 _v.Reserve(size + addSize); in operator +=()
/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.cc93 void RepeatedPtrFieldBase::Reserve(int new_size) { in Reserve() function in google::protobuf::internal::RepeatedPtrFieldBase
113 Reserve(total_size_ + 1); in AddWeak()
H A Drepeated_field.h219 // Reserve space to expand the field to at least the given size. If the
221 void Reserve(int new_size);
455 repeated_field_->Reserve(index_ + 1); in Add()
651 void Reserve(int new_size);
772 // Reserve() and MergeFrom() to reduce code size. |extend_amount| must be > 0.
965 // Reserve space to expand the field to at least the given size. This only
968 void Reserve(int new_size);
1196 Reserve(other.size()); in RepeatedField()
1295 Reserve(new_size); in Resize()
1343 Reserve(total_size in Add()
1561 void RepeatedField<Element>::Reserve(int new_size) { Reserve() function in google::protobuf::RepeatedField
2398 inline void RepeatedPtrField<Element>::Reserve(int new_size) { Reserve() function in google::protobuf::RepeatedPtrField
[all...]
H A Drepeated_field_unittest.cc229 // Reserve more than double the previous space in the field and expect the in TEST()
232 field.Reserve(20); in TEST()
238 // Reserve less than double the previous space in the field and expect the in TEST()
241 field.Reserve(20); in TEST()
243 field.Reserve(capacity * 1.5); in TEST()
249 // Reserve less than the previous space in the field and expect the in TEST()
252 field.Reserve(20); in TEST()
254 field.Reserve(10); in TEST()
280 field.Reserve(-1); in TEST()
326 // Reserve in TEST()
[all...]
H A Dparse_context.cc203 // Reserve the string up to a static safe size. If strings are bigger than in ReadStringFallback()
215 // Reserve the string up to a static safe size. If strings are bigger than in AppendStringFallback()
257 out->Reserve(old_entries + num); in ReadPackedFixed()
273 out->Reserve(old_entries + num); in ReadPackedFixed()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp300 Error parseNumbers(uint64_t *Reserve, uint64_t *Commit) { in parseNumbers() argument
301 if (Error Err = readAsInt(Reserve)) in parseNumbers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonVLIWPacketizer.h144 bool tryAllocateResourcesForConstExt(bool Reserve);
H A DHexagonVLIWPacketizer.cpp274 // Reserve resources for a constant extender. Trigger an assertion if the
287 bool HexagonPacketizerList::tryAllocateResourcesForConstExt(bool Reserve) { in tryAllocateResourcesForConstExt() argument
290 if (Reserve && Avail) in tryAllocateResourcesForConstExt()
/third_party/node/deps/v8/src/baseline/
H A Dbaseline-compiler.h46 void Reserve(size_t size) { bytes_.reserve(size); } in Reserve() function in v8::internal::baseline::BytecodeOffsetTableBuilder
/third_party/node/deps/v8/src/interpreter/
H A Dconstant-array-builder.cc31 void ConstantArrayBuilder::ConstantArraySlice::Reserve() { in Reserve() function in v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice
336 idx_slice_[i]->Reserve(); in CreateReservedEntry()
H A Dconstant-array-builder.h203 void Reserve();
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktVideoBaseDecodeUtils.hpp123 void Reserve() in Reserve() function in vkt::video::DpbSlot
223 m_dpb[slot].Reserve(); in AllocateSlot()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dflat_hash_map_test.cc285 TEST(FlatHashMap, Reserve) { in TEST()
H A Dinlined_vector.h723 void reserve(size_type n) { storage_.Reserve(n); } in reserve()
H A Dinlined_vector_exception_safety_test.cc460 TYPED_TEST(TwoSizeTest, Reserve) { in TYPED_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dinlined_vector.h416 void Reserve(size_type requested_capacity);
826 auto Storage<T, N, A>::Reserve(size_type requested_capacity) -> void {
/third_party/gn/src/base/
H A Dvalues.h606 void Reserve(size_t n);
H A Dvalues.cc1096 void ListValue::Reserve(size_t n) {
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DvktVideoBaseDecodeUtils.hpp311 void Reserve ();
H A DvktVideoBaseDecodeUtils.cpp403 void DpbSlot::Reserve (void) in Reserve() function in vkt::video::DpbSlot
481 m_dpb[slot].Reserve(); in AllocateSlot()
/third_party/skia/third_party/externals/imgui/
H A Dimgui_tables.cpp576 span_allocator.Reserve(0, columns_count * sizeof(ImGuiTableColumn)); in TableBeginInitMemory()
577 span_allocator.Reserve(1, columns_count * sizeof(ImGuiTableColumnIdx)); in TableBeginInitMemory()
578 span_allocator.Reserve(2, columns_count * sizeof(ImGuiTableCellData), 4); in TableBeginInitMemory()
H A Dimgui_internal.h588 // - Usage: call Reserve() N times, allocate GetArenaSizeInBytes() worth, pass it to SetArenaBasePtr(), call GetSpan() N times to retrieve the aligned ranges.
599 inline void Reserve(int n, size_t sz, int a=4) { IM_ASSERT(n == CurrIdx && n < CHUNKS); CurrOff = IM_MEMALIGN(CurrOff, a); Offsets[n] = CurrOff; Sizes[n] = (int)sz; CurrIdx++; CurrOff += (int)sz; }
631 void Reserve(int capacity) { Buf.reserve(capacity); Map.Data.reserve(capacity); }
/third_party/mesa3d/src/imgui/
H A Dimgui_internal.h282 void Reserve(int capacity) { Data.reserve(capacity); Map.Data.reserve(capacity); } in Reserve() function

Completed in 48 milliseconds

12