Home
last modified time | relevance | path

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

12345678910>>...49

/external/skia/src/core/
DSkWriter32.h56 uint32_t* reserve(size_t size) { in reserve() function
99 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8()
103 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16()
107 *(int32_t*)this->reserve(sizeof(value)) = value; in write32()
111 *(void**)this->reserve(sizeof(value)) = value; in writePtr()
115 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar()
119 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint()
123 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3()
127 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect()
131 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect()
[all …]
DSkMultiPictureDraw.cpp44 SkMultiPictureDraw::SkMultiPictureDraw(int reserve) { in SkMultiPictureDraw() argument
45 if (reserve > 0) { in SkMultiPictureDraw()
46 fGPUDrawData.setReserve(reserve); in SkMultiPictureDraw()
47 fThreadSafeDrawData.setReserve(reserve); in SkMultiPictureDraw()
/external/skqp/src/core/
DSkWriter32.h56 uint32_t* reserve(size_t size) { in reserve() function
99 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8()
103 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16()
107 *(int32_t*)this->reserve(sizeof(value)) = value; in write32()
111 *(void**)this->reserve(sizeof(value)) = value; in writePtr()
115 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar()
119 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint()
123 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3()
127 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect()
131 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect()
[all …]
DSkMultiPictureDraw.cpp44 SkMultiPictureDraw::SkMultiPictureDraw(int reserve) { in SkMultiPictureDraw() argument
45 if (reserve > 0) { in SkMultiPictureDraw()
46 fGPUDrawData.setReserve(reserve); in SkMultiPictureDraw()
47 fThreadSafeDrawData.setReserve(reserve); in SkMultiPictureDraw()
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
Dreserve.pass.cpp24 v.reserve(10); in main()
31 v.reserve(50); in main()
34 v.reserve(150); in main()
43 v.reserve(50); in main()
46 v.reserve(150); in main()
54 v.reserve(10); in main()
61 v.reserve(50); in main()
64 v.reserve(150); in main()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dexamples_iterable.cc30 dense_float_column_values_.reserve(dense_float_feature_columns.size()); in ExamplesIterable()
37 sparse_float_column_iterables_.reserve(sparse_float_feature_columns.size()); in ExamplesIterable()
38 sparse_float_column_values_.reserve(sparse_float_feature_columns.size()); in ExamplesIterable()
39 sparse_float_dimensions_.reserve(sparse_float_feature_columns.size()); in ExamplesIterable()
50 sparse_int_column_iterables_.reserve(sparse_int_feature_columns.size()); in ExamplesIterable()
51 sparse_int_column_values_.reserve(sparse_int_feature_columns.size()); in ExamplesIterable()
64 sparse_float_column_iterators_.reserve( in Iterator()
69 sparse_int_column_iterators_.reserve( in Iterator()
/external/libunwind/src/mi/
Dmempool.c127 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument
139 if (!reserve) in mempool_init()
141 reserve = pg_size / obj_size / 4; in mempool_init()
142 if (!reserve) in mempool_init()
143 reserve = 16; in mempool_init()
147 pool->reserve = reserve; in mempool_init()
148 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init()
161 if (pool->num_free <= pool->reserve) in mempool_alloc()
/external/libcxx/test/std/containers/sequences/vector.bool/
Dreserve.pass.cpp24 v.reserve(10); in main()
30 v.reserve(50); in main()
33 v.reserve(150); in main()
40 v.reserve(10); in main()
46 v.reserve(50); in main()
49 v.reserve(150); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dreserve.pass.cpp39 c.reserve(n); in reserve_invariant()
66 c.reserve(3); in main()
70 c.reserve(3); in main()
73 c.reserve(31); in main()
94 c.reserve(3); in main()
98 c.reserve(3); in main()
101 c.reserve(31); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dreserve.pass.cpp39 c.reserve(n); in reserve_invariant()
66 c.reserve(3); in main()
70 c.reserve(3); in main()
73 c.reserve(31); in main()
94 c.reserve(3); in main()
98 c.reserve(3); in main()
101 c.reserve(31); in main()
/external/libcxx/test/std/containers/unord/unord.map/
Dreserve.pass.cpp40 c.reserve(n); in reserve_invariant()
67 c.reserve(3); in main()
71 c.reserve(3); in main()
74 c.reserve(31); in main()
95 c.reserve(3); in main()
99 c.reserve(3); in main()
102 c.reserve(31); in main()
/external/libcxx/test/libcxx/containers/sequences/vector/
Dasan_throw.pass.cpp60 v.reserve(2); in test_push_back()
76 v.reserve(2); in test_emplace_back()
92 v.reserve(4); in test_insert_range()
110 v.reserve(3); in test_insert()
127 v.reserve(3); in test_emplace()
144 v.reserve(4); in test_insert_range2()
163 v.reserve(10); in test_insert_n()
181 v.reserve(100); in test_insert_n2()
197 v.reserve(3); in test_resize()
211 v.reserve(3); in test_resize_param()
/external/libcxx/test/std/containers/unord/unord.multimap/
Dreserve.pass.cpp42 c.reserve(n); in reserve_invariant()
69 c.reserve(3); in main()
73 c.reserve(3); in main()
76 c.reserve(31); in main()
97 c.reserve(3); in main()
101 c.reserve(3); in main()
104 c.reserve(31); in main()
/external/nos/test/system-test-harness/src/
Dnugget_core_tests.cc42 input_buffer.reserve(0x4000); in SetUpTestCase()
43 output_buffer.reserve(0x4000); in SetUpTestCase()
93 buffer.reserve(1000); // Much more than needed in TEST_F()
112 get.reserve(1); in TEST_F()
127 get.reserve(1); in TEST_F()
144 get.reserve(1); in TEST_F()
159 get.reserve(1); in TEST_F()
174 get.reserve(1); in TEST_F()
188 get.reserve(1); in TEST_F()
/external/dtc/
DTODO3 - Generate mem reserve map
4 * linux,reserve-map property
5 * generating reserve entry for device tree itself
6 * generating reserve entries from tce, rtas etc. properties
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.cpp37 void TiXmlString::reserve (size_type cap) in reserve() function in TiXmlString
73 reserve (newsize + capacity()); in append()
84 tmp.reserve(a.length() + b.length()); in operator +()
94 tmp.reserve(a.length() + b_len); in operator +()
104 tmp.reserve(a_len + b.length()); in operator +()
/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.c32 ext2fs_block_bitmap reserve; member
56 if (ext2fs_test_block_bitmap2(pb->reserve, block)) { in process_block()
64 } while (ext2fs_test_block_bitmap2(pb->reserve, block) || in process_block()
98 ext2fs_block_bitmap reserve, in ext2fs_move_blocks() argument
113 pb.reserve = reserve; in ext2fs_move_blocks()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay_i.h155 u8 reserve; member
229 u8 reserve; member
291 u8 reserve:1; member
297 u8 reserve:1; member
340 u8 reserve:4; member
346 u8 reserve:4; member
384 u8 reserve; member
407 u8 reserve; member
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Demplace_extra.pass.cpp26 v.reserve(3); in main()
35 v.reserve(4); in main()
44 v.reserve(3); in main()
53 v.reserve(4); in main()
/external/nos/test/system-test-harness/tools/
Dnugget_tools.cc67 buffer.reserve(sizeof(uint32_t)); in CyclesSinceBoot()
104 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in RebootNugget()
125 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in RebootNugget()
159 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in WaitForSleep()
174 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in WaitForSleep()
207 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in WipeUserData()
225 buffer.reserve(sizeof(struct nugget_app_low_power_stats)); in WipeUserData()
/external/tensorflow/tensorflow/core/framework/
Dtensor_slice.cc29 starts_.reserve(proto.extent_size()); in TensorSlice()
30 lengths_.reserve(proto.extent_size()); in TensorSlice()
39 starts_.reserve(extents.size()); in TensorSlice()
40 lengths_.reserve(extents.size()); in TensorSlice()
49 slice->starts_.reserve(items.size()); in Parse()
50 slice->lengths_.reserve(items.size()); in Parse()
94 starts_.reserve(dim); in SetFullSlice()
95 lengths_.reserve(dim); in SetFullSlice()
/external/ImageMagick/coders/
Dcin.c90 reserve[20]; member
108 reserve[36]; member
135 reserve[740]; member
143 reserve; member
174 reserve[28]; member
197 reserve[40]; member
480 offset+=ReadBlob(image,sizeof(cin.file.reserve),(unsigned char *) in ReadCINImage()
481 cin.file.reserve); in ReadCINImage()
514 cin.image.channel[i].reserve=(unsigned char) ReadBlobByte(image); in ReadCINImage()
565 offset+=ReadBlob(image,sizeof(cin.image.reserve),(unsigned char *) in ReadCINImage()
[all …]
/external/libchrome/base/strings/
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/clang/include/clang/AST/
DASTUnresolvedSet.h74 void reserve(ASTContext &C, unsigned N) { in reserve() function
75 Decls.reserve(C, N); in reserve()
100 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve() function

12345678910>>...49