Lines Matching defs:source

4  * Use of this source code is governed by a BSD-style license that can be
103 auto source = SkMakeZip(glyphIDs, positions);
105 rejects.setSource(source);
106 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) {
107 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i]));
108 REPORTER_ASSERT(reporter, pos == std::get<1>(source[i]));
115 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) {
116 // This will index 1 and 2 from the original source.
118 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j]));
119 REPORTER_ASSERT(reporter, pos == std::get<1>(source[j]));
126 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) {
127 // This will index 1 from the original source.
129 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j]));
130 REPORTER_ASSERT(reporter, pos == std::get<1>(source[j]));
134 rejects.setSource(source);
135 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) {
136 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i]));
137 REPORTER_ASSERT(reporter, pos == std::get<1>(source[i]));
145 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) {
146 // This will index 1 and 2 from the original source.
148 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j]));
149 REPORTER_ASSERT(reporter, pos == std::get<1>(source[j]));
158 auto source = SkMakeZip(glyphIDs, positions);
163 drawable.startSource(source);
175 drawable.startBitmapDevice(source, {100, 100}, matrix, rounding);
187 drawable.startSource(source);