Home
last modified time | relevance | path

Searched refs:BlockingType (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/threading/
Dscoped_blocking_call_unittest.cc22 MOCK_METHOD1(BlockingStarted, void(BlockingType));
49 EXPECT_CALL(observer_, BlockingStarted(BlockingType::MAY_BLOCK)); in TEST_F()
50 ScopedBlockingCall scoped_blocking_call(BlockingType::MAY_BLOCK); in TEST_F()
56 EXPECT_CALL(observer_, BlockingStarted(BlockingType::WILL_BLOCK)); in TEST_F()
57 ScopedBlockingCall scoped_blocking_call(BlockingType::WILL_BLOCK); in TEST_F()
63 EXPECT_CALL(observer_, BlockingStarted(BlockingType::MAY_BLOCK)); in TEST_F()
64 ScopedBlockingCall scoped_blocking_call_a(BlockingType::MAY_BLOCK); in TEST_F()
69 ScopedBlockingCall scoped_blocking_call_b(BlockingType::WILL_BLOCK); in TEST_F()
77 EXPECT_CALL(observer_, BlockingStarted(BlockingType::WILL_BLOCK)); in TEST_F()
78 ScopedBlockingCall scoped_blocking_call_a(BlockingType::WILL_BLOCK); in TEST_F()
[all …]
Dscoped_blocking_call.h15 enum class BlockingType { enum
77 ScopedBlockingCall(BlockingType blocking_type);
103 virtual void BlockingStarted(BlockingType blocking_type) = 0;
Dscoped_blocking_call.cc23 ScopedBlockingCall::ScopedBlockingCall(BlockingType blocking_type) in ScopedBlockingCall()
26 is_will_block_(blocking_type == BlockingType::WILL_BLOCK || in ScopedBlockingCall()
34 } else if (blocking_type == BlockingType::WILL_BLOCK && in ScopedBlockingCall()
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl_unittest.cc951 NestedBlockingType(BlockingType first_in, in NestedBlockingType()
953 BlockingType behaves_as_in) in NestedBlockingType()
956 BlockingType first;
958 BlockingType behaves_as;
967 ? std::make_unique<ScopedBlockingCall>(BlockingType::WILL_BLOCK) in NestedScopedBlockingCall()
971 BlockingType::MAY_BLOCK) in NestedScopedBlockingCall()
991 std::string str = param_info.param.first == BlockingType::MAY_BLOCK in ParamInfoToString()
1079 if (GetParam().behaves_as == BlockingType::MAY_BLOCK) in TEST_P()
1144 if (GetParam().behaves_as == BlockingType::MAY_BLOCK) in TEST_P()
1161 if (GetParam().behaves_as == BlockingType::MAY_BLOCK) in TEST_P()
[all …]
Dscheduler_worker_pool_impl.cc85 void BlockingStarted(BlockingType blocking_type) override;
644 BlockingType blocking_type) { in BlockingStarted()
652 case BlockingType::MAY_BLOCK: in BlockingStarted()
655 case BlockingType::WILL_BLOCK: in BlockingStarted()
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc67 ScopedBlockingCall scoped_blocking_call(BlockingType::MAY_BLOCK); in Wait()
80 ScopedBlockingCall scoped_blocking_call(BlockingType::MAY_BLOCK); in TimedWait()
Dwaitable_event_posix.cc166 ScopedBlockingCall scoped_blocking_call(BlockingType::MAY_BLOCK); in TimedWaitUntil()
242 ScopedBlockingCall scoped_blocking_call(BlockingType::MAY_BLOCK); in WaitMany()
/external/eigen/Eigen/src/Core/products/
DGeneralMatrixMatrix.h207 …r, typename Index, typename Gemm, typename Lhs, typename Rhs, typename Dest, typename BlockingType>
210 …gemm_functor(const Lhs& lhs, const Rhs& rhs, Dest& dest, const Scalar& actualAlpha, BlockingType& …
239 BlockingType& m_blocking;
470 … Dest::MaxRowsAtCompileTime,Dest::MaxColsAtCompileTime,MaxDepthAtCompileTime> BlockingType;
479 ActualLhsTypeCleaned, ActualRhsTypeCleaned, Dest, BlockingType> GemmFunctor;
481 BlockingType blocking(dst.rows(), dst.cols(), lhs.cols(), 1, true);
DSelfadjointProduct.h104 …ompileTime, MatrixType::MaxColsAtCompileTime, _ActualOtherType::MaxColsAtCompileTime> BlockingType;
106 BlockingType blocking(size, size, depth, 1, false);
DGeneralMatrixMatrixTriangular.h282 …olsAtCompileTime, MatrixType::MaxColsAtCompileTime, _ActualRhs::MaxColsAtCompileTime> BlockingType;
284 BlockingType blocking(size, size, depth, 1, false);
DTriangularMatrixMatrix.h412 … Lhs::MaxRowsAtCompileTime, Rhs::MaxColsAtCompileTime, Lhs::MaxColsAtCompileTime,4> BlockingType;
420 BlockingType blocking(stripedRows, stripedCols, stripedDepth, 1, false);
DSelfadjointMatrixMatrix.h497 … Lhs::MaxRowsAtCompileTime, Rhs::MaxColsAtCompileTime, Lhs::MaxColsAtCompileTime,1> BlockingType;
499 BlockingType blocking(lhs.rows(), rhs.cols(), lhs.cols(), 1, false);
/external/eigen/Eigen/src/Core/
DSolveTriangular.h96 … Rhs::MaxRowsAtCompileTime, Rhs::MaxColsAtCompileTime, Lhs::MaxRowsAtCompileTime,4> BlockingType;
98 BlockingType blocking(rhs.rows(), rhs.cols(), size, 1, false);
/external/libchrome/crypto/
Dnss_util.cc342 base::BlockingType::WILL_BLOCK); in InitializeTPMTokenInThreadPool()