Searched refs:Resize (Results 1 - 25 of 77) sorted by relevance

1234

/external/libbrillo/brillo/streams/
H A Dmemory_containers.cc64 if (GetSize() < new_size && !Resize(new_size, error))
84 bool ContiguousReadOnlyBufferBase::Resize(size_t /* new_size */, function in class:brillo::data_container::ContiguousReadOnlyBufferBase
106 bool StringPtr::Resize(size_t new_size, ErrorPtr* /* error */) { function in class:brillo::data_container::StringPtr
H A Dmemory_containers_unittest.cc29 MOCK_METHOD2(Resize, bool(size_t, ErrorPtr*));
144 EXPECT_CALL(container_, Resize(130, _)).WillOnce(Return(true));
159 EXPECT_CALL(container_, Resize(160, _)).WillOnce(Return(true));
178 EXPECT_CALL(container_, Resize(160, _))
199 EXPECT_CALL(container_, Resize(160, _)).WillOnce(Return(true));
H A Dmemory_containers.h54 virtual bool Resize(size_t new_size, ErrorPtr* error) = 0;
114 bool Resize(size_t new_size, ErrorPtr* error) override;
158 bool Resize(size_t new_size, ErrorPtr* /* error */) override {
245 bool Resize(size_t new_size, ErrorPtr* error) override;
/external/libmojo/mojo/public/cpp/bindings/
H A Darray_traits_wtf_vector.h39 static bool Resize(WTF::Vector<U>& input, size_t size) { function in struct:mojo::ArrayTraits
H A Darray_traits_carray.h50 static bool Resize(CArray<T>& input, size_t size) { function in struct:mojo::ArrayTraits
/external/tensorflow/tensorflow/core/lib/random/
H A Dweighted_picker.h85 // Resize the weighted picker so that it has "N" elements.
92 // It is efficient to use repeated calls to Resize(num_elements() + 1)
94 void Resize(int N);
H A Dweighted_picker_test.cc66 picker.Resize(10);
75 picker.Resize(10);
83 picker.Resize(5);
85 picker.Resize(2);
87 picker.Resize(1);
H A Dweighted_picker.cc156 Resize(N);
178 Resize(num_elements() + 1);
182 void WeightedPicker::Resize(int new_size) { function in class:tensorflow::random::WeightedPicker
/external/webrtc/webrtc/test/linux/
H A Dglx_renderer.h36 void Resize(size_t width, size_t height);
H A Dglx_renderer.cc89 Resize(width_, height_);
119 void GlxRenderer::Resize(size_t width, size_t height) { function in class:webrtc::test::GlxRenderer
150 Resize(static_cast<size_t>(frame.width()),
/external/webrtc/webrtc/test/win/
H A Dd3d_renderer.h39 void Resize(size_t width, size_t height);
H A Dd3d_renderer.cc127 Resize(width_, height_);
162 void D3dRenderer::Resize(size_t width, size_t height) { function in class:webrtc::test::D3dRenderer
198 Resize(static_cast<size_t>(frame.width()),
/external/webrtc/webrtc/modules/audio_processing/beamformer/
H A Dmatrix.h72 Resize();
94 Resize(num_rows, num_columns);
101 Resize(1, num_rows);
109 void Resize(size_t num_rows, size_t num_columns) { function in class:webrtc::Matrix
113 Resize();
136 Resize(num_columns_, num_rows_);
277 Resize(num_rows_, rhs.num_columns_);
303 // Resize the matrix. If an increase in capacity is required, the current
305 void Resize() { function in class:webrtc::Matrix
/external/gemmlowp/test/
H A Dbenchmark_all_sizes.cc64 Matrix(int rows, int cols) : Map(nullptr, 0, 0, 0) { Resize(rows, cols); }
69 Resize(other.rows_, other.cols_);
79 void Resize(int rows, int cols) { function in class:gemmlowp::Matrix
118 lhs.Resize(rows, depth);
119 rhs.Resize(depth, cols);
120 result.Resize(rows, cols);
170 lhs.Resize(rows, depth);
171 rhs.Resize(depth, cols);
172 result.Resize(rows, cols);
H A Dtest.h62 Matrix(int rows, int cols) : Map(nullptr, 0, 0, 0) { Resize(rows, cols); }
67 Resize(other.rows_, other.cols_);
77 void Resize(int rows, int cols) { function in class:gemmlowp::Matrix
/external/v8/src/compiler/
H A Dnode-cache.cc32 bool NodeCache<Key, Hash, Pred>::Resize(Zone* zone) { function in class:v8::internal::compiler::NodeCache
91 if (!Resize(zone)) break; // Don't grow past the maximum size.
H A Dnode-cache.h58 bool Resize(Zone* zone);
/external/v8/src/
H A Didentity-map.cc47 Resize(capacity_ / kResizeFactor);
79 Resize(capacity_ * kResizeFactor);
95 Resize(capacity_ / kResizeFactor);
255 void IdentityMapBase::Resize(int new_capacity) { function in class:v8::internal::IdentityMapBase
257 // Resize the internal storage and reinsert all the key/value pairs.
/external/libchrome/base/
H A Dpickle.cc261 Resize(kPayloadUnit);
272 Resize(kPayloadUnit);
300 Resize(other.header_->payload_size);
323 Resize(other.header_->payload_size);
363 Resize(capacity_after_header_ * 2 + new_size);
379 void Pickle::Resize(size_t new_capacity) { function in class:base::Pickle
464 Resize(std::max(new_capacity, new_size));
/external/icu/icu4c/source/i18n/
H A Dcollationkeys.h46 if (appended_ < capacity_ || Resize(1, appended_)) {
73 virtual UBool Resize(int32_t appendCapacity, int32_t length) = 0;
/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dlsh_projection.cc74 TfLiteStatus Resize(TfLiteContext* context, TfLiteNode* node) { function in namespace:tflite::ops::builtin::lsh_projection
197 static TfLiteRegistration r = {nullptr, nullptr, lsh_projection::Resize,
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_clock.h57 void Resize(ClockCache *c, uptr nclk);
/external/webrtc/webrtc/base/
H A Dbytebuffer.h76 // Resize the buffer to the specified |size|. This invalidates any remembered
78 void Resize(size_t size);
99 // calls to Shift or Resize in the interim will invalidate the position.
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Darray_serialization.h152 if (!Traits::Resize(*output, input->size()))
210 if (!Traits::Resize(*output, input->size()))
260 if (!Traits::Resize(*output, input->size()))
335 if (!Traits::Resize(*output, input->size()))
400 if (!Traits::Resize(*output, input->size()))
490 if (!Traits::Resize(*output, input->size()))
/external/tensorflow/tensorflow/core/lib/gtl/
H A Dflatset.h83 void reserve(size_t N) { rep_.Resize(std::max(N, size())); }
84 void rehash(size_t N) { rep_.Resize(std::max(N, size())); }
85 void resize(size_t N) { rep_.Resize(std::max(N, size())); }

Completed in 2137 milliseconds

1234