Home
last modified time | relevance | path

Searched refs:Affinity (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dthread.h52 struct Affinity { struct
75 Affinity&& affinity,
83 Affinity&& affinity,
87 MARL_EXPORT virtual Affinity get(uint32_t threadId,
91 MARL_EXPORT Affinity(Allocator*);
93 MARL_EXPORT Affinity(Affinity&&);
95 MARL_EXPORT Affinity(const Affinity&, Allocator* allocator);
98 MARL_EXPORT static Affinity all(Allocator* allocator = Allocator::Default);
100 MARL_EXPORT Affinity(std::initializer_list<Core>, Allocator* allocator);
110 MARL_EXPORT Affinity& add(const Affinity&);
[all …]
Dscheduler.h67 std::shared_ptr<Thread::Affinity::Policy> affinityPolicy;
91 const std::shared_ptr<Thread::Affinity::Policy>&);
540 const std::shared_ptr<Thread::Affinity::Policy>& policy) { in setWorkerThreadAffinityPolicy()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp118 Thread::Affinity::Affinity(Allocator* allocator) : cores(allocator) {} in Affinity() function in marl::Thread::Affinity
119 Thread::Affinity::Affinity(Affinity&& other) : cores(std::move(other.cores)) {} in Affinity() function in marl::Thread::Affinity
120 Thread::Affinity::Affinity(const Affinity& other, Allocator* allocator) in Affinity() function in marl::Thread::Affinity
123 Thread::Affinity::Affinity(std::initializer_list<Core> list, in Affinity() function in marl::Thread::Affinity
132 Thread::Affinity Thread::Affinity::all( in all()
134 Thread::Affinity affinity(allocator); in all()
182 std::shared_ptr<Thread::Affinity::Policy> Thread::Affinity::Policy::anyOf( in anyOf()
183 Affinity&& affinity, in anyOf()
185 struct Policy : public Thread::Affinity::Policy { in anyOf()
186 Affinity affinity; in anyOf()
[all …]
Dthread_test.cpp30 auto affinity = marl::Thread::Affinity( in TEST_F()
42 auto affinity = marl::Thread::Affinity( in TEST_F()
52 .add(marl::Thread::Affinity( in TEST_F()
58 .add(marl::Thread::Affinity({core(35)}, allocator)); in TEST_F()
71 auto affinity = marl::Thread::Affinity( in TEST_F()
81 .remove(marl::Thread::Affinity( in TEST_F()
87 .remove(marl::Thread::Affinity({core(40)}, allocator)); in TEST_F()
95 auto affinity = marl::Thread::Affinity::all(allocator); in TEST_F()
96 if (marl::Thread::Affinity::supported) { in TEST_F()
104 auto all = marl::Thread::Affinity( in TEST_F()
[all …]
Dscheduler_bench.cpp54 marl::Thread::Affinity::Policy::oneOf(marl::Thread::Affinity::all())); in BENCHMARK_DEFINE_F()
Dscheduler.cpp75 cfg.workerThread.affinityPolicy = marl::Thread::Affinity::Policy::anyOf( in setConfigDefaults()
76 marl::Thread::Affinity::all(cfg.allocator), cfg.allocator); in setConfigDefaults()
/third_party/flutter/skia/modules/skparagraph/include/
DDartTypes.h11 enum Affinity { kUpstream, kDownstream }; enum
63 Affinity affinity;
65 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph.h31 enum Affinity { UPSTREAM, DOWNSTREAM }; enum
72 const Affinity affinity;
74 PositionWithAffinity(size_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/skia/modules/skparagraph/include/
DDartTypes.h15 enum Affinity { kUpstream, kDownstream }; enum
67 Affinity affinity;
70 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp20 enum_<para::Affinity>("Affinity") in EMSCRIPTEN_BINDINGS()
21 .value("Upstream", para::Affinity::kUpstream) in EMSCRIPTEN_BINDINGS()
22 .value("Downstream", para::Affinity::kDownstream); in EMSCRIPTEN_BINDINGS()
Dexterns.js780 Affinity: { property
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h331 PointerAffinity Affinity = PointerAffinity::None; member
464 PointerAffinity Affinity = PointerAffinity::None; member
548 PointerAffinity Affinity = PointerAffinity::None; member
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_skia.cc97 skia_pos.position, static_cast<Affinity>(skia_pos.affinity)); in GetGlyphPositionAtCoordinate()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts491 readonly Affinity: AffinityEnumValues; property
937 affinity: Affinity;
3818 export type Affinity = EmbindEnumEntity; alias
3832 Upstream: Affinity;
3833 Downstream: Affinity;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp197 else if (Affinity == PointerAffinity::Pointer) in output()
502 switch (Affinity) { in outputPre()
DMicrosoftDemangle.cpp2013 std::tie(Pointer->Quals, Pointer->Affinity) = in demanglePointerType()
2031 std::tie(Pointer->Quals, Pointer->Affinity) = in demangleMemberPointerType()
2033 assert(Pointer->Affinity == PointerAffinity::Pointer); in demangleMemberPointerType()
2250 TPRN->Affinity = PointerAffinity::Pointer; in demangleTemplateParameterList()
2257 TPRN->Affinity = PointerAffinity::Reference; in demangleTemplateParameterList()
/third_party/boost/boost/process/detail/windows/
Djob_workaround.hpp154 ::boost::winapi::ULONG_PTR_ Affinity;
/third_party/skia/modules/canvaskit/tests/
Dparagraph.spec.js607 affinity: CanvasKit.Affinity.Upstream
612 affinity: CanvasKit.Affinity.Downstream
617 affinity: CanvasKit.Affinity.Upstream
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2191 f1Pos.position, f1Pos.affinity == Affinity::kUpstream ? "up" : "down", in onDrawContent()
2192 f2Pos.position, f2Pos.affinity == Affinity::kUpstream ? "up" : "down", in onDrawContent()
2193 iPos.position, iPos.affinity == Affinity::kUpstream ? "up" : "down"); in onDrawContent()
3417 … SkDebugf("res1: %d %s\n", res1.position, res1.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent()
3418 … SkDebugf("res2: %d %s\n", res2.position, res2.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent()
3419 … SkDebugf("res3: %d %s\n", res3.position, res3.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent()
3525 …ositionAtCoordinate(20,2)=%d %s\n", result.position, result.affinity == Affinity::kDownstream ? "D… in onDrawContent()
3595 auto p = pos.position + (pos.affinity == Affinity::kDownstream ? 1 : 0); in onDrawContent()
3599 pos.affinity == Affinity::kDownstream ? "D" : "U", in onDrawContent()
/third_party/skia/modules/skparagraph/src/
DParagraphImpl.cpp756 return {0, Affinity::kDownstream}; in getGlyphPositionAtCoordinate()
778 return {0, Affinity::kDownstream}; in getGlyphPositionAtCoordinate()
DTextLine.cpp1164 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp5144 REPORTER_ASSERT(reporter, pos.affinity == Affinity::kDownstream && pos.position == 4); in UNIX_ONLY_TEST()
6165 REPORTER_ASSERT(reporter, res1.position == 1 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6169 REPORTER_ASSERT(reporter, res2.position == 2 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST()
6173 REPORTER_ASSERT(reporter, res3.position == 3 && res3.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST()
6197 REPORTER_ASSERT(reporter, res1.position == 4 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6213 REPORTER_ASSERT(reporter, res2.position == 0 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST()
6243 REPORTER_ASSERT(reporter, res1.position == 4 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6245 REPORTER_ASSERT(reporter, res2.position == 5 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST()
6247 REPORTER_ASSERT(reporter, res3.position == 10 && res3.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6283 …rter, res.affinity == (res.position == SkToInt(str.size()) ? Affinity::kUpstream : Affinity::kDown… in UNIX_ONLY_TEST()
[all …]
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp716 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate()
/third_party/openGLES/extensions/NV/
DWGL_NV_gpu_affinity.txt139 GPU Affinity
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DWGL_NV_gpu_affinity.txt139 GPU Affinity

12