/external/skqp/include/private/ |
D | SkTLogic.h | 23 namespace skstd { 66 template <typename T> using underlying_type_t = typename skstd::underlying_type<T>::type; 77 struct make_index_sequence_combine<skstd::index_sequence<I1...>, skstd::index_sequence<I2...>> 78 : skstd::index_sequence<I1..., (sizeof...(I1)+I2)...> 82 : make_index_sequence_combine<typename skstd::make_index_sequence< N/2>::type, 83 typename skstd::make_index_sequence<N - N/2>::type>{}; 84 template<> struct make_index_sequence<0> : skstd::index_sequence< >{}; 85 template<> struct make_index_sequence<1> : skstd::index_sequence<0>{}; 97 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>; 102 using type = skstd::conditional_t<std::is_volatile<S>::value, skstd::add_volatile_t<D>, D>; [all …]
|
D | SkBitmaskEnum.h | 12 namespace skstd { 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) { in SK_WHEN() 26 using U = skstd::underlying_type_t<E>; in SK_WHEN() 30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) { in SK_WHEN()
|
D | SkTemplates.h | 439 constexpr auto SkMakeArrayFromIndexSequence(C c, skstd::index_sequence<Is...>) 440 -> std::array<skstd::result_of_t<C(std::size_t)>, sizeof...(Is)> { 445 -> std::array<skstd::result_of_t<C(std::size_t)>, N> { 446 return SkMakeArrayFromIndexSequence(c, skstd::make_index_sequence<N>{});
|
/external/skia/include/private/ |
D | SkTLogic.h | 23 namespace skstd { 55 struct make_index_sequence_combine<skstd::index_sequence<I1...>, skstd::index_sequence<I2...>> 56 : skstd::index_sequence<I1..., (sizeof...(I1)+I2)...> 60 : make_index_sequence_combine<typename skstd::make_index_sequence< N/2>::type, 61 typename skstd::make_index_sequence<N - N/2>::type>{}; 62 template<> struct make_index_sequence<0> : skstd::index_sequence< >{}; 63 template<> struct make_index_sequence<1> : skstd::index_sequence<0>{}; 75 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>; 80 using type = skstd::conditional_t<std::is_volatile<S>::value, skstd::add_volatile_t<D>, D>; 92 template <typename D, typename S> using same_const = copy_const<skstd::remove_const_t<D>, S>; [all …]
|
D | SkBitmaskEnum.h | 12 namespace skstd { 16 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator|(E l, E r) { 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) { in SK_WHEN() 30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) { in SK_WHEN()
|
D | SkTemplates.h | 439 constexpr auto SkMakeArrayFromIndexSequence(C c, skstd::index_sequence<Is...>) 440 -> std::array<skstd::result_of_t<C(std::size_t)>, sizeof...(Is)> { 445 -> std::array<skstd::result_of_t<C(std::size_t)>, N> { 446 return SkMakeArrayFromIndexSequence(c, skstd::make_index_sequence<N>{});
|
/external/skqp/tests/ |
D | VptrTest.cpp | 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21), in DEF_TEST() 37 b = skstd::make_unique<SubclassB>(), in DEF_TEST() 38 c = skstd::make_unique<SubclassA>(22), in DEF_TEST() 39 d = skstd::make_unique<SubclassB>(); in DEF_TEST()
|
D | StreamBufferTest.cpp | 98 { [&data]() { return skstd::make_unique<SkMemoryStream>(data); }, false }, in DEF_TEST() 99 { [&data]() { return skstd::make_unique<NotAssetMemStream>(data); }, false }, in DEF_TEST() 102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, in DEF_TEST() 115 auto halting = skstd::make_unique<HaltingStream>(data, 6); in DEF_TEST()
|
/external/skia/tests/ |
D | VptrTest.cpp | 36 std::unique_ptr<Base> a = skstd::make_unique<SubclassA>(21), in DEF_TEST() 37 b = skstd::make_unique<SubclassB>(), in DEF_TEST() 38 c = skstd::make_unique<SubclassA>(22), in DEF_TEST() 39 d = skstd::make_unique<SubclassB>(); in DEF_TEST()
|
D | StreamBufferTest.cpp | 98 { [&data]() { return skstd::make_unique<SkMemoryStream>(data); }, false }, in DEF_TEST() 99 { [&data]() { return skstd::make_unique<NotAssetMemStream>(data); }, false }, in DEF_TEST() 102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, in DEF_TEST() 115 auto halting = skstd::make_unique<HaltingStream>(data, 6); in DEF_TEST()
|
/external/skia/src/utils/mac/ |
D | SkUniqueCFRef.h | 21 std::unique_ptr<skstd::remove_pointer_t<CFRef>, 22 SkFunctionWrapper<void, skstd::remove_pointer_t<CFTypeRef>, CFRelease>>;
|
/external/skqp/src/utils/mac/ |
D | SkUniqueCFRef.h | 21 std::unique_ptr<skstd::remove_pointer_t<CFRef>, 22 SkFunctionWrapper<void, skstd::remove_pointer_t<CFTypeRef>, CFRelease>>;
|
/external/skia/src/svg/ |
D | SkSVGCanvas.cpp | 17 auto svgDevice = SkSVGDevice::Make(size, skstd::make_unique<SkXMLStreamWriter>(writer)); in Make() 19 return svgDevice ? skstd::make_unique<SkCanvas>(svgDevice) in Make()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCCoverageProcessor.cpp | 209 shader = skstd::make_unique<TriangleShader>(); in createGLSLInstance() 212 shader = skstd::make_unique<GrCCQuadraticShader>(); in createGLSLInstance() 215 shader = skstd::make_unique<GrCCCubicShader>(); in createGLSLInstance() 218 shader = skstd::make_unique<GrCCConicShader>(); in createGLSLInstance()
|
D | GrCCAtlas.cpp | 77 fTopNode = skstd::make_unique<Node>(nullptr, 0, 0, fWidth, fHeight); in GrCCAtlas() 137 fTopNode = skstd::make_unique<Node>(std::move(fTopNode), 0, top, fWidth, fHeight); in internalPlaceRect() 141 fTopNode = skstd::make_unique<Node>(std::move(fTopNode), left, 0, fWidth, fHeight); in internalPlaceRect()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCCoverageProcessor.cpp | 206 shader = skstd::make_unique<TriangleShader>(); in createGLSLInstance() 209 shader = skstd::make_unique<GrCCQuadraticShader>(); in createGLSLInstance() 212 shader = skstd::make_unique<GrCCCubicShader>(); in createGLSLInstance() 215 shader = skstd::make_unique<GrCCConicShader>(); in createGLSLInstance()
|
D | GrCCAtlas.cpp | 76 fTopNode = skstd::make_unique<Node>(nullptr, 0, 0, fWidth, fHeight); in GrCCAtlas() 136 fTopNode = skstd::make_unique<Node>(std::move(fTopNode), 0, top, fWidth, fHeight); in internalPlaceRect() 140 fTopNode = skstd::make_unique<Node>(std::move(fTopNode), left, 0, fWidth, fHeight); in internalPlaceRect()
|
/external/skqp/src/ports/ |
D | SkFontMgr_FontConfigInterface.cpp | 38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData() 42 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 252 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex() 282 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), in onMakeFromStreamArgs()
|
D | SkFontMgr_custom_embedded.cpp | 51 auto stream = skstd::make_unique<SkMemoryStream>(data, size, false); in load_embedded_font() 75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0); in load_embedded_font()
|
D | SkFontMgr_android.cpp | 81 return data ? skstd::make_unique<SkMemoryStream>(std::move(data)) : nullptr; in makeStream() 98 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData() 152 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData() 466 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex() 488 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
|
/external/skia/src/ports/ |
D | SkFontMgr_FontConfigInterface.cpp | 38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData() 42 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 251 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex() 281 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), in onMakeFromStreamArgs()
|
D | SkFontMgr_custom_embedded.cpp | 51 auto stream = skstd::make_unique<SkMemoryStream>(data, size, false); in load_embedded_font() 75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0); in load_embedded_font()
|
D | SkFontMgr_android.cpp | 81 return data ? skstd::make_unique<SkMemoryStream>(std::move(data)) : nullptr; in makeStream() 98 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData() 152 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData() 466 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex() 488 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
|
/external/skia/src/core/ |
D | SkExecutor.cpp | 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeFIFOThreadPool() 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeLIFOThreadPool()
|
/external/skqp/src/core/ |
D | SkExecutor.cpp | 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeFIFOThreadPool() 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeLIFOThreadPool()
|