Home
last modified time | relevance | path

Searched refs:RunType (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/core/
DSkRegionPriv.h20 typedef SkRegion::RunType RunType; typedef
46 static int compute_intervalcount(const SkRegionPriv::RunType runs[]) { in compute_intervalcount()
47 const SkRegionPriv::RunType* curr = runs; in compute_intervalcount()
88 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()
114 SkRegion::RunType* writable_runs() { in writable_runs()
116 return (SkRegion::RunType*)(this + 1); in writable_runs()
119 const SkRegion::RunType* readonly_runs() const { in readonly_runs()
120 return (const SkRegion::RunType*)(this + 1); in readonly_runs()
130 fRunCount * sizeof(RunType)); in ensureWritable()
146 static SkRegion::RunType* SkipEntireScanline(const SkRegion::RunType runs[]) { in SkipEntireScanline()
[all …]
DSkRegion.cpp49 SkRegionPriv::RunType& operator[](int i) { in operator []()
60 memcpy(fMalloc.get(), fStack, fCount * sizeof(SkRegionPriv::RunType)); in resizeToAtLeast()
67 SkRegionPriv::RunType fStack[kRunArrayStackCount];
68 SkAutoTMalloc<SkRegionPriv::RunType> fMalloc;
70 SkRegionPriv::RunType* fPtr; // non-owning pointer
77 static SkRegionPriv::RunType* skip_intervals(const SkRegionPriv::RunType runs[]) { in skip_intervals()
89 return const_cast<SkRegionPriv::RunType*>(runs); in skip_intervals()
92 bool SkRegion::RunsAreARect(const SkRegion::RunType runs[], int count, in RunsAreARect()
272 bool SkRegion::setRuns(RunType runs[], int count) { in setRuns()
285 RunType* stop = runs + count; in setRuns()
[all …]
DSkRegion_path.cpp38 … fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX())); in done()
47 void copyToRgn(SkRegion::RunType runs[]) const;
83 SkRegion::RunType fLastY;
84 SkRegion::RunType fXCount;
86 SkRegion::RunType* firstX() const { return (SkRegion::RunType*)(this + 1); } in firstX()
89 return (Scanline*)((SkRegion::RunType*)(this + 1) + fXCount + 1); in nextScanline()
92 SkRegion::RunType* fStorage;
96 SkRegion::RunType* fCurrXPtr;
97 SkRegion::RunType fTop; // first Y value
151 fStorage = (SkRegion::RunType*)sk_malloc_canfail(fStorageCount, sizeof(SkRegion::RunType)); in init()
[all …]
/external/skqp/src/core/
DSkRegionPriv.h20 typedef SkRegion::RunType RunType; typedef
46 static int compute_intervalcount(const SkRegionPriv::RunType runs[]) { in compute_intervalcount()
47 const SkRegionPriv::RunType* curr = runs; in compute_intervalcount()
88 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()
114 SkRegion::RunType* writable_runs() { in writable_runs()
116 return (SkRegion::RunType*)(this + 1); in writable_runs()
119 const SkRegion::RunType* readonly_runs() const { in readonly_runs()
120 return (const SkRegion::RunType*)(this + 1); in readonly_runs()
130 fRunCount * sizeof(RunType)); in ensureWritable()
146 static SkRegion::RunType* SkipEntireScanline(const SkRegion::RunType runs[]) { in SkipEntireScanline()
[all …]
DSkRegion.cpp49 SkRegionPriv::RunType& operator[](int i) { in operator []()
60 memcpy(fMalloc.get(), fStack, fCount * sizeof(SkRegionPriv::RunType)); in resizeToAtLeast()
67 SkRegionPriv::RunType fStack[kRunArrayStackCount];
68 SkAutoTMalloc<SkRegionPriv::RunType> fMalloc;
70 SkRegionPriv::RunType* fPtr; // non-owning pointer
77 static SkRegionPriv::RunType* skip_intervals(const SkRegionPriv::RunType runs[]) { in skip_intervals()
89 return const_cast<SkRegionPriv::RunType*>(runs); in skip_intervals()
92 bool SkRegion::RunsAreARect(const SkRegion::RunType runs[], int count, in RunsAreARect()
272 bool SkRegion::setRuns(RunType runs[], int count) { in setRuns()
285 RunType* stop = runs + count; in setRuns()
[all …]
DSkRegion_path.cpp38 … fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX())); in done()
47 void copyToRgn(SkRegion::RunType runs[]) const;
83 SkRegion::RunType fLastY;
84 SkRegion::RunType fXCount;
86 SkRegion::RunType* firstX() const { return (SkRegion::RunType*)(this + 1); } in firstX()
89 return (Scanline*)((SkRegion::RunType*)(this + 1) + fXCount + 1); in nextScanline()
92 SkRegion::RunType* fStorage;
96 SkRegion::RunType* fCurrXPtr;
97 SkRegion::RunType fTop; // first Y value
151 fStorage = (SkRegion::RunType*)sk_malloc_canfail(fStorageCount, sizeof(SkRegion::RunType)); in init()
[all …]
/external/skia/include/core/
DSkRegion.h34 typedef int32_t RunType; typedef
523 const SkRegion::RunType* fRuns;
594 const SkRegion::RunType* fRuns;
646 const RunType* getRuns(RunType tmpStorage[], int* intervals) const;
651 bool setRuns(RunType runs[], int count);
658 RunType runs[kRectRegionRuns]);
662 static bool RunsAreARect(const SkRegion::RunType runs[], int count,
/external/skqp/include/core/
DSkRegion.h34 typedef int32_t RunType; typedef
523 const SkRegion::RunType* fRuns;
594 const SkRegion::RunType* fRuns;
646 const RunType* getRuns(RunType tmpStorage[], int* intervals) const;
651 bool setRuns(RunType runs[], int count);
658 RunType runs[kRectRegionRuns]);
662 static bool RunsAreARect(const SkRegion::RunType runs[], int count,
/external/clang/test/Parser/
DDelayedTemplateParsing.cpp70 template <typename RunType>
80 typedef void RunType(); typedef in PR11931::Callback
82 template <typename RunType>
83 Callback(BindState<RunType> bind_state) { in Callback()
84 BindState<RunType>::Run(); in Callback()
/external/libchrome/base/
Dbind_internal.h355 using RunType = void(Args...);
387 using RunType = ExtractCallableRunType<Functor>;
392 static ExtractReturnType<RunType> Invoke(RunFunctor&& functor,
401 using RunType = R(Args...);
416 using RunType = R(Args...);
429 using RunType = R(Args...);
458 using RunType = R(Args...);
479 using RunType = R(Args...);
499 using RunType = R(Receiver*, Args...);
514 using RunType = R(const Receiver*, Args...);
[all …]
Dcallback.h58 using RunType = R(Args...);
74 OnceCallback(RepeatingCallback<RunType> other) in OnceCallback()
77 OnceCallback& operator=(RepeatingCallback<RunType> other) {
106 using RunType = R(Args...);
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java59 private enum RunType { enum in Ldml2JsonConverter
139 private RunType type;
162 this.type = RunType.valueOf(runType); in Ldml2JsonConverter()
430 if (type == RunType.rbnf) { in convertCldrItems()
442 if (type != RunType.supplemental && type != RunType.rbnf) { in convertCldrItems()
447 if (type == RunType.main) { in convertCldrItems()
455 if (type == RunType.main) { in convertCldrItems()
461 if (type == RunType.main) { in convertCldrItems()
464 } else if (type == RunType.rbnf) { in convertCldrItems()
474 if (type != RunType.supplemental && type != RunType.rbnf) { in convertCldrItems()
[all …]
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.h33 enum RunType { enum
74 virtual void OnSingleRunStart(RunType runType) {} in OnSingleRunStart()
99 void OnSingleRunStart(RunType runType) override { in OnSingleRunStart()
160 RunType run_type);
Dbenchmark_tflite_model.h37 void OnSingleRunStart(RunType run_type) override;
Dbenchmark_model.cc116 RunType run_type) { in Run()
Dbenchmark_tflite_model.cc49 void ProfilingListener::OnSingleRunStart(RunType run_type) { in OnSingleRunStart()
/external/libbrillo/brillo/
Dbind_lambda.h32 typedef R(RunType)(Args...); typedef
44 typedef R(RunType)(Args...); typedef
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h1322 enum RunType { RT_Iteration, RT_Aggregate }; enum
1344 RunType run_type; // is this a measurement, or an aggregate?
/external/google-benchmark/include/benchmark/
Dbenchmark.h1322 enum RunType { RT_Iteration, RT_Aggregate }; enum
1344 RunType run_type; // is this a measurement, or an aggregate?