/external/skia/include/private/ |
SkBitmaskEnum.h | 12 namespace skstd { namespace 16 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator|(E l, E r) { 17 using U = skstd::underlying_type_t<E>; 21 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator|=(E& l, E r) { 25 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator&(E l, E r) { 26 using U = skstd::underlying_type_t<E>; 30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) {
|
SkTLogic.h | 9 * become available with C++14 in the type_traits header (in the skstd 23 namespace skstd { namespace 68 template <typename T> using underlying_type_t = typename skstd::underlying_type<T>::type; 79 struct make_index_sequence_combine<skstd::index_sequence<I1...>, skstd::index_sequence<I2...>> 80 : skstd::index_sequence<I1..., (sizeof...(I1)+I2)...> 84 : make_index_sequence_combine<typename skstd::make_index_sequence< N/2>::type, 85 typename skstd::make_index_sequence<N - N/2>::type>{}; 86 template<> struct make_index_sequence<0> : skstd::index_sequence< >{}; 87 template<> struct make_index_sequence<1> : skstd::index_sequence<0>{} [all...] |
SkTFitsIn.h | 56 using type = skstd::conditional_t<a, skstd::conditional_t<b, Both, A>, 57 skstd::conditional_t<b, B, Neither>>; 62 : skstd::bool_constant<std::numeric_limits<A>::digits >= std::numeric_limits<B>::digits> 82 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>; 83 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>; 85 using precondition = skstd::bool_constant< 124 using type = skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, CastCheck>; 137 using type = skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, CastCheck>; 152 using type = skstd::conditional_t<sourceCannotExceedDest::value, LowSideOnlyCheck, CastCheck> [all...] |
/external/skqp/include/private/ |
SkBitmaskEnum.h | 12 namespace skstd { namespace 16 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator|(E l, E r) { 17 using U = skstd::underlying_type_t<E>; 21 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator|=(E& l, E r) { 25 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator&(E l, E r) { 26 using U = skstd::underlying_type_t<E>; 30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) {
|
SkTLogic.h | 9 * become available with C++14 in the type_traits header (in the skstd 23 namespace skstd { namespace 68 template <typename T> using underlying_type_t = typename skstd::underlying_type<T>::type; 79 struct make_index_sequence_combine<skstd::index_sequence<I1...>, skstd::index_sequence<I2...>> 80 : skstd::index_sequence<I1..., (sizeof...(I1)+I2)...> 84 : make_index_sequence_combine<typename skstd::make_index_sequence< N/2>::type, 85 typename skstd::make_index_sequence<N - N/2>::type>{}; 86 template<> struct make_index_sequence<0> : skstd::index_sequence< >{}; 87 template<> struct make_index_sequence<1> : skstd::index_sequence<0>{} [all...] |
SkTFitsIn.h | 56 using type = skstd::conditional_t<a, skstd::conditional_t<b, Both, A>, 57 skstd::conditional_t<b, B, Neither>>; 62 : skstd::bool_constant<std::numeric_limits<A>::digits >= std::numeric_limits<B>::digits> 82 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>; 83 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>; 85 using precondition = skstd::bool_constant< 124 using type = skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, CastCheck>; 137 using type = skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, CastCheck>; 152 using type = skstd::conditional_t<sourceCannotExceedDest::value, LowSideOnlyCheck, CastCheck> [all...] |
/external/skia/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 89 shader = skstd::make_unique<GrCCTriangleShader>(); 92 shader = skstd::make_unique<GrCCTriangleCornerShader>(); 95 shader = skstd::make_unique<GrCCQuadraticHullShader>(); 98 shader = skstd::make_unique<GrCCQuadraticCornerShader>(); 101 shader = skstd::make_unique<GrCCCubicHullShader>(); 104 shader = skstd::make_unique<GrCCCubicCornerShader>();
|
/external/skqp/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 86 shader = skstd::make_unique<GrCCTriangleShader>(); 89 shader = skstd::make_unique<GrCCTriangleCornerShader>(); 92 shader = skstd::make_unique<GrCCQuadraticHullShader>(); 95 shader = skstd::make_unique<GrCCQuadraticCornerShader>(); 98 shader = skstd::make_unique<GrCCCubicHullShader>(); 101 shader = skstd::make_unique<GrCCCubicCornerShader>();
|
/external/skia/src/core/ |
SkExchange.h | 13 namespace skstd { namespace
|
SkMakeUnique.h | 13 namespace skstd { namespace
|
SkAdvancedTypefaceMetrics.h | 79 namespace skstd {
|
SkExecutor.cpp | 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores());
|
/external/skia/tests/ |
VptrTest.cpp | 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21), 37 b = skstd::make_unique<SubclassB>(), 38 c = skstd::make_unique<SubclassA>(22), 39 d = skstd::make_unique<SubclassB>();
|
StreamBufferTest.cpp | 98 { [&data]() { return skstd::make_unique<SkMemoryStream>(data); }, false }, 99 { [&data]() { return skstd::make_unique<NotAssetMemStream>(data); }, false }, 102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, 115 auto halting = skstd::make_unique<HaltingStream>(data, 6);
|
/external/skqp/src/core/ |
SkExchange.h | 13 namespace skstd { namespace
|
SkMakeUnique.h | 13 namespace skstd { namespace
|
SkAdvancedTypefaceMetrics.h | 79 namespace skstd {
|
SkExecutor.cpp | 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores());
|
/external/skqp/tests/ |
VptrTest.cpp | 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21), 37 b = skstd::make_unique<SubclassB>(), 38 c = skstd::make_unique<SubclassA>(22), 39 d = skstd::make_unique<SubclassB>();
|
StreamBufferTest.cpp | 98 { [&data]() { return skstd::make_unique<SkMemoryStream>(data); }, false }, 99 { [&data]() { return skstd::make_unique<NotAssetMemStream>(data); }, false }, 102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, 115 auto halting = skstd::make_unique<HaltingStream>(data, 6);
|
/external/skia/src/svg/ |
SkSVGCanvas.cpp | 18 return skstd::make_unique<SkCanvas>(device.get());
|
/external/skqp/src/svg/ |
SkSVGCanvas.cpp | 18 return skstd::make_unique<SkCanvas>(device.get());
|
/external/skia/tools/gpu/ |
GpuTimer.h | 53 return skstd::exchange(fActiveTimer, kInvalidTimerQuery);
|
/external/skqp/tools/gpu/ |
GpuTimer.h | 53 return skstd::exchange(fActiveTimer, kInvalidTimerQuery);
|
/external/skia/src/ports/ |
SkFontMgr_custom_embedded.cpp | 51 auto stream = skstd::make_unique<SkMemoryStream>(data, size, false); 75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0);
|