/external/libbrillo/brillo/streams/ |
D | memory_containers_unittest.cc | 63 MockContiguousBuffer container_; member in brillo::MemoryContainerTest 69 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F() 70 EXPECT_CALL(container_, GetReadOnlyBuffer(10, _)) in TEST_F() 72 EXPECT_CALL(container_, in TEST_F() 77 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 10, &read, &error)); in TEST_F() 85 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F() 86 EXPECT_CALL(container_, GetReadOnlyBuffer(80, _)) in TEST_F() 88 EXPECT_CALL(container_, in TEST_F() 92 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 80, &read, nullptr)); in TEST_F() 97 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F() [all …]
|
D | memory_stream.cc | 19 : container_{std::move(container)}, stream_position_{stream_position} {} in MemoryStream() 85 bool MemoryStream::IsOpen() const { return container_ != nullptr; } in IsOpen() 89 return IsOpen() && !container_->IsReadOnly(); in CanWrite() 96 return IsOpen() ? container_->GetSize() : 0; in GetSize() 102 return container_->Resize(size, error); in SetSizeBlocking() 148 if (!container_->Read(buffer, size_to_read, stream_position_, &read, error)) in ReadNonBlocking() 163 if (!container_->Write(buffer, size_to_write, stream_position_, size_written, in WriteNonBlocking() 177 container_.reset(); in CloseBlocking() 182 return container_ || stream_utils::ErrorStreamClosed(FROM_HERE, error); in CheckContainer()
|
D | memory_stream.h | 202 std::unique_ptr<data_container::DataContainerInterface> container_; variable
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
D | topk_v2.cc | 86 container_.reserve(std::min(k, row_size) + 1); in TopContainer() 91 container_.clear(); in start_collecting() 95 if (container_.size() <= k_) { in push() 96 container_.push_back(a); in push() 97 if (container_.size() == k_ + 1) { in push() 98 std::make_heap(container_.begin(), container_.end(), comparator); in push() 99 std::pop_heap(container_.begin(), container_.end(), comparator); in push() 101 } else if (comparator(a, container_.front())) { in push() 102 container_.back() = a; in push() 103 std::push_heap(container_.begin(), container_.end(), comparator); in push() [all …]
|
/external/sfntly/cpp/src/sfntly/port/ |
D | java_iterator.h | 43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator() 46 return static_cast<ContainerBase*>(container_); in container_base() 59 Container* container() { return container_; } in container() 62 Container* container_; // Dumb pointer is used to avoid circular ref-counting 70 explicit RefIterator(Container* container) : container_(container) {} in RefIterator() 73 return static_cast<ContainerBase*>(container_); in container_base() 86 Container* container() { return container_; } in container() 89 Container* container_; // Dumb pointer is used to avoid circular ref-counting
|
/external/libchrome/base/containers/ |
D | stack_container.h | 147 StackContainer() : allocator_(&stack_data_), container_(allocator_) { in StackContainer() 150 container_.reserve(stack_capacity); in StackContainer() 159 ContainerType& container() { return container_; } in container() 160 const ContainerType& container() const { return container_; } in container() 165 ContainerType* operator->() { return &container_; } 166 const ContainerType* operator->() const { return &container_; } 179 ContainerType container_; variable
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
D | libcontainer_target_unittest.cc | 81 container_ = container_new("containerUT", rootfs.value().c_str()); in SetUp() 82 ASSERT_NE(nullptr, container_); in SetUp() 86 container_destroy(container_); in TearDown() 87 container_ = nullptr; in TearDown() 94 return container_; in container() 102 struct container* container_ = nullptr; member in libcontainer::LibcontainerTargetTest
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | stl_util.h | 180 STLElementDeleter<T>(T* container) : container_(container) {} in container_() function 181 ~STLElementDeleter<T>() { STLDeleteElements(container_); } 184 T* container_; 192 STLValueDeleter<T>(T* container) : container_(container) {} in container_() function 193 ~STLValueDeleter<T>() { STLDeleteValues(container_); } 196 T* container_;
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_handle.h | 42 const string& container() const { return container_; } in container() 43 void set_container(const string& container) { container_ = container; } in set_container() 71 string container_; variable
|
D | resource_mgr.h | 280 const string& container() const { return container_; } in container() 291 string container_; variable 340 string container_; 509 OP_REQUIRES_OK(context, context->GetAttr("container", &container_)); in ResourceHandleOp() 518 MakeResourceHandle<T>(ctx, container_, name_); in Compute()
|
D | resource_mgr.cc | 256 container_ = attr_container; in Init() 258 container_ = rmgr_->default_container(); in Init()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | batch_kernels.cc | 506 OP_REQUIRES_OK(c, c->GetAttr("container", &container_)); in BatchKernel() 537 container_, shared_name_, &br, creator), in ComputeAsync() 571 string container_; member in tensorflow::BatchKernel 780 OP_REQUIRES_OK(c, c->GetAttr("container", &container_)); in UnbatchKernel() 799 container_, shared_name_, &ubr, creator), in ComputeAsync() 810 string container_; member in tensorflow::UnbatchKernel 967 OP_REQUIRES_OK(c, c->GetAttr("container", &container_)); in UnbatchGradKernel() 985 container_, shared_name_, &ubr, creator), in ComputeAsync() 996 string container_; member in tensorflow::UnbatchGradKernel
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-param-util.h | 272 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 276 return new Iterator(this, container_.begin()); in Begin() 279 return new Iterator(this, container_.end()); in End() 345 const ContainerType container_; variable
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
D | gtest-param-util.h | 272 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 276 return new Iterator(this, container_.begin()); in Begin() 279 return new Iterator(this, container_.end()); in End() 345 const ContainerType container_; variable
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-param-util.h | 271 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 275 return new Iterator(this, container_.begin()); in Begin() 278 return new Iterator(this, container_.end()); in End() 344 const ContainerType container_; variable
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-param-util.h | 272 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 276 return new Iterator(this, container_.begin()); in Begin() 279 return new Iterator(this, container_.end()); in End() 345 const ContainerType container_; variable
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
D | gtest-param-util.h | 272 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 276 return new Iterator(this, container_.begin()); in Begin() 279 return new Iterator(this, container_.end()); in End() 345 const ContainerType container_; variable
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-param-util.h | 272 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 276 return new Iterator(this, container_.begin()); in Begin() 279 return new Iterator(this, container_.end()); in End() 345 const ContainerType container_; variable
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-param-util.h | 296 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 300 return new Iterator(this, container_.begin()); in Begin() 303 return new Iterator(this, container_.end()); in End() 369 const ContainerType container_; variable
|
/external/googletest/googletest/include/gtest/internal/ |
D | gtest-param-util.h | 296 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 300 return new Iterator(this, container_.begin()); in Begin() 303 return new Iterator(this, container_.end()); in End() 369 const ContainerType container_; variable
|
/external/v8/testing/gtest/include/gtest/internal/ |
D | gtest-param-util.h | 296 : container_(begin, end) {} in ValuesInIteratorRangeGenerator() 300 return new Iterator(this, container_.begin()); in Begin() 303 return new Iterator(this, container_.end()); in End() 369 const ContainerType container_; variable
|
/external/tensorflow/tensorflow/contrib/data/kernels/ |
D | prefetching_kernels.cc | 247 OP_REQUIRES_OK(ctx, ctx->GetAttr("container", &container_)); in FunctionBufferResourceHandleOp() 294 string container_; member in tensorflow::FunctionBufferResourceHandleOp
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | STL.h | 1849 Container *container_,const ChannelType channel_) in channelMaskImages() argument 1854 container_->clear(); in channelMaskImages() 1859 container_->push_back(channel_mask); in channelMaskImages() 1932 Container *container_) in restoreChannelMaskImages() argument 1937 channel_mask=container_->begin(); in restoreChannelMaskImages() 2089 void coderInfoList( Container *container_, 2107 container_->clear(); 2142 container_->push_back( coderInfo );
|
/external/v8/src/ |
D | deoptimizer.h | 88 : kind_(kind), container_(container) {} in TranslatedValue() 110 TranslatedState* container_; // This is only needed for materialization of variable
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_sender.cc | 125 container_(container) {} in RtcpContext() 137 PacketContainer* const container_; member in webrtc::RTCPSender::RtcpContext
|