/third_party/glib/tests/gobject/ |
D | gvalue-test.c | 39 GValue xform = G_VALUE_INIT; in test_enum_transformation() local 47 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation() 48 g_value_init (&xform, G_TYPE_CHAR); in test_enum_transformation() 49 g_value_transform (&orig, &xform); in test_enum_transformation() 50 g_assert (g_value_get_char (&xform) == 1); in test_enum_transformation() 51 g_assert (g_value_get_schar (&xform) == 1); in test_enum_transformation() 53 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation() 54 g_value_init (&xform, G_TYPE_UCHAR); in test_enum_transformation() 55 g_value_transform (&orig, &xform); in test_enum_transformation() 56 g_assert (g_value_get_uchar (&xform) == 1); in test_enum_transformation() [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | tjexampletest.in | 106 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 108 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+… 109 …runme cmp $OUTDIR/${basename}_${samp}_${xform}.jpg $OUTDIR/${basename}_${samp}_${xform}_jpegtran.j… 110 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 111 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 112 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… 113 rm $OUTDIR/${basename}_${samp}_${xform}.bmp 116 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 117 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 118 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… [all …]
|
D | tjexample.c | 165 tjtransform xform; in main() local 176 memset(&xform, 0, sizeof(tjtransform)); in main() 215 xform.options |= TJXOPT_GRAY; in main() 217 xform.op = TJXOP_HFLIP; in main() 219 xform.op = TJXOP_VFLIP; in main() 221 xform.op = TJXOP_TRANSPOSE; in main() 223 xform.op = TJXOP_TRANSVERSE; in main() 225 xform.op = TJXOP_ROT90; in main() 227 xform.op = TJXOP_ROT180; in main() 229 xform.op = TJXOP_ROT270; in main() [all …]
|
D | tjexampletest.java.in | 108 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 110 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+… 111 …runme cmp $OUTDIR/${basename}_${samp}_${xform}.jpg $OUTDIR/${basename}_${samp}_${xform}_jpegtran.j… 112 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 113 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 114 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… 115 rm $OUTDIR/${basename}_${samp}_${xform}.bmp 118 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 119 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 120 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… [all …]
|
D | tjbenchtest.in | 193 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 195 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 196 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 198 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 203 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 209 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 210 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 212 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 217 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 225 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do [all …]
|
D | tjbenchtest.java.in | 167 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 169 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 170 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 173 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 178 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 179 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 182 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 189 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 191 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 194 runme cmp -i 54:54 $i $OUTDIR/${basename}_GRAY_${xform}_jpegtran.bmp [all …]
|
/third_party/libjpeg-turbo/ |
D | tjexampletest.in | 106 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 108 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+… 109 …runme cmp $OUTDIR/${basename}_${samp}_${xform}.jpg $OUTDIR/${basename}_${samp}_${xform}_jpegtran.j… 110 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 111 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 112 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… 113 rm $OUTDIR/${basename}_${samp}_${xform}.bmp 116 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 117 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 118 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… [all …]
|
D | tjexample.c | 165 tjtransform xform; in main() local 176 memset(&xform, 0, sizeof(tjtransform)); in main() 215 xform.options |= TJXOPT_GRAY; in main() 217 xform.op = TJXOP_HFLIP; in main() 219 xform.op = TJXOP_VFLIP; in main() 221 xform.op = TJXOP_TRANSPOSE; in main() 223 xform.op = TJXOP_TRANSVERSE; in main() 225 xform.op = TJXOP_ROT90; in main() 227 xform.op = TJXOP_ROT180; in main() 229 xform.op = TJXOP_ROT270; in main() [all …]
|
D | tjexampletest.java.in | 108 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 110 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+… 111 …runme cmp $OUTDIR/${basename}_${samp}_${xform}.jpg $OUTDIR/${basename}_${samp}_${xform}_jpegtran.j… 112 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 113 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 114 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… 115 rm $OUTDIR/${basename}_${samp}_${xform}.bmp 118 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 119 …$OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+… 120 …runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_j… [all …]
|
D | tjbenchtest.in | 193 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 195 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 196 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 198 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 203 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 209 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 210 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 212 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 217 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 225 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do [all …]
|
D | tjbenchtest.java.in | 167 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 169 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 170 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 173 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 178 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 179 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 182 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 189 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 191 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 194 runme cmp -i 54:54 $i $OUTDIR/${basename}_GRAY_${xform}_jpegtran.bmp [all …]
|
/third_party/boost/libs/multi_array/example/ |
D | for_each.hpp | 25 Array A, Functor& xform) { in for_each() argument 26 for_each(type_dispatch,A.begin(),A.end(),xform); in for_each() 30 void for_each (const boost::type<Element>&,Element& Val, Functor& xform) { in for_each() argument 31 Val = xform(Val); in for_each() 37 Functor& xform) { in for_each() argument 39 for_each(type_dispatch,*begin,xform); in for_each() 46 void for_each (Array& A, Functor xform) { in for_each() argument 48 for_each(boost::type<typename Array::element>(),A.begin(),A.end(),xform); in for_each()
|
/third_party/boost/libs/fusion/test/sequence/ |
D | transform_view.cpp | 79 xform_type xform(sequence, sq); in main() local 81 std::cout << xform << std::endl; in main() 82 BOOST_TEST((xform == make_vector(25, 36, 49, 64))); in main() 85 first_type first_it(boost::fusion::begin(xform)); in main() 93 BOOST_TEST((*boost::fusion::advance_c<3>(boost::fusion::begin(xform)) == 64)); in main() 94 BOOST_TEST((boost::fusion::at_c<2>(xform) == 49)); in main() 105 xform_type xform(sequence1, sequence2, f); in main() local 107 std::cout << xform << std::endl; in main() 108 BOOST_TEST((xform == make_vector(15, 17, 19, 21))); in main() 109 BOOST_TEST((boost::fusion::at_c<2>(xform) == 19)); in main()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJExample.java | 158 TJTransform xform = new TJTransform(); in main() local 215 xform.options |= TJTransform.OPT_GRAY; in main() 217 xform.op = TJTransform.OP_HFLIP; in main() 219 xform.op = TJTransform.OP_VFLIP; in main() 221 xform.op = TJTransform.OP_TRANSPOSE; in main() 223 xform.op = TJTransform.OP_TRANSVERSE; in main() 225 xform.op = TJTransform.OP_ROT90; in main() 227 xform.op = TJTransform.OP_ROT180; in main() 229 xform.op = TJTransform.OP_ROT270; in main() 231 xform.cf = new TJExample(); in main() [all …]
|
/third_party/libjpeg-turbo/java/ |
D | TJExample.java | 158 TJTransform xform = new TJTransform(); in main() local 215 xform.options |= TJTransform.OPT_GRAY; in main() 217 xform.op = TJTransform.OP_HFLIP; in main() 219 xform.op = TJTransform.OP_VFLIP; in main() 221 xform.op = TJTransform.OP_TRANSPOSE; in main() 223 xform.op = TJTransform.OP_TRANSVERSE; in main() 225 xform.op = TJTransform.OP_ROT90; in main() 227 xform.op = TJTransform.OP_ROT180; in main() 229 xform.op = TJTransform.OP_ROT270; in main() 231 xform.cf = new TJExample(); in main() [all …]
|
/third_party/flutter/skia/gm/ |
D | drawatlas.cpp | 89 void apply(SkRSXform* xform) const { in onDraw() 91 xform->fSCos = fScale * SkScalarCos(rad); in onDraw() 92 xform->fSSin = fScale * SkScalarSin(rad); in onDraw() 93 xform->fTx = fTx; in onDraw() 94 xform->fTy = fTy; in onDraw() 104 SkRSXform xform[N]; in onDraw() local 109 rec[i].apply(&xform[i]); in onDraw() 118 canvas->drawAtlas(atlas.get(), xform, tex, N, nullptr, &paint); in onDraw() 120 canvas->drawAtlas(atlas.get(), xform, tex, colors, N, SkBlendMode::kSrcIn, nullptr, &paint); in onDraw() 138 SkRSXform* xform = (SkRSXform*)storage.get(); local [all …]
|
D | skbug_8664.cpp | 40 for (const auto& xform : xforms) { variable 42 canvas->translate(xform.fTx, xform.fTy); 43 canvas->scale(xform.fSx, xform.fSy);
|
/third_party/skia/gm/ |
D | drawatlas.cpp | 89 void apply(SkRSXform* xform) const { in onDraw() 91 xform->fSCos = fScale * SkScalarCos(rad); in onDraw() 92 xform->fSSin = fScale * SkScalarSin(rad); in onDraw() 93 xform->fTx = fTx; in onDraw() 94 xform->fTy = fTy; in onDraw() 104 SkRSXform xform[N]; in onDraw() local 109 rec[i].apply(&xform[i]); in onDraw() 118 canvas->drawAtlas(atlas.get(), xform, tex, nullptr, N, SkBlendMode::kDst, in onDraw() 121 canvas->drawAtlas(atlas.get(), xform, tex, colors, N, SkBlendMode::kSrcIn, in onDraw() 140 SkRSXform* xform = (SkRSXform*)storage.get(); local [all …]
|
D | skbug_8664.cpp | 40 for (const auto& xform : xforms) { variable 42 canvas->translate(xform.fTx, xform.fTy); 43 canvas->scale(xform.fSx, xform.fSy);
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | tjbenchtest.in | 193 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 195 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 196 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 198 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 203 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 209 …$BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_… 210 …runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime … 212 …runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtra… 217 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 225 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do [all …]
|
D | tjbenchtest.java.in | 167 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 169 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 170 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 173 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 178 …-rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_$… 179 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 182 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 189 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 191 …runme "$JAVA" $JAVAARGS TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtim… 194 runme cmp -i 54:54 $i $OUTDIR/${basename}_GRAY_${xform}_jpegtran.bmp [all …]
|
/third_party/skia/src/core/ |
D | SkGlyphRun.cpp | 75 SkMatrix xform = SkMatrix().setRSXform( in sourceBounds() local 77 xform.preScale(strikeToSourceScale, strikeToSourceScale); in sourceBounds() 78 bounds.join(xform.mapRect(glyph->rect())); in sourceBounds() 99 const SkRSXform xform{pos.x(), pos.y(), scaleRotate.x(), scaleRotate.y()}; in sourceBounds() local 100 bounds.join(SkMatrix().setRSXform(xform).mapRect(fontBounds)); in sourceBounds() 161 for (auto [xform, pos, sr] : SkMakeZip(buffer.xforms(), in makeBlob() 164 xform = SkRSXform::Make(sr.x(), sr.y(), pos.x(), pos.y()); in makeBlob() 249 for (const SkRSXform& xform : SkMakeSpan(it.xforms(), runSize)) { in blobToGlyphRunList() local 250 *positionCursor++ = {xform.fTx, xform.fTy}; in blobToGlyphRunList() 251 *scaledRotationsCursor++ = {xform.fSCos, xform.fSSin}; in blobToGlyphRunList() [all …]
|
/third_party/boost/libs/yap/test/ |
D | supplied_transforms.cpp | 20 auto xform = yap::replacements(6,9); in test_main() local 21 auto expr_out = yap::transform(expr_in,xform); in test_main() 39 auto xform = yap::evaluation(7,10); in test_main() local 40 auto result = yap::transform(expr_in,xform); in test_main()
|
/third_party/flutter/skia/src/gpu/ |
D | GrColorSpaceXform.cpp | 148 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make() local 150 if (!xform) { in Make() 155 std::move(xform))); in Make() 165 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make() local 167 if (!xform) { in Make() 172 std::move(xform))); in Make()
|
/third_party/pixman/test/ |
D | filter-reduction-test.c | 21 test_scale (const pixman_transform_t *xform, uint32_t crc) in test_scale() argument 36 pixman_image_set_transform (src, xform); in test_scale() 88 pixman_transform_t xform = { in main() local 94 crc = test_scale (&xform, crc); in main()
|