Home
last modified time | relevance | path

Searched refs:inv (Results 1 – 25 of 82) sorted by relevance

1234

/external/skia/src/core/
DSkBitmapShaderTemplate.h58 const SkMatrix& inv = this->getUnitInverse(); in shadeSpan() local
61 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
75 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
117 invProc(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
124 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
127 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
128 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
202 const SkMatrix& inv = this->getUnitInverse(); in shadeSpan16() local
205 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan16() local
219 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
[all …]
DSkBitmapShader16BilerpTemplate.h27 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
40 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
84 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
91 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
94 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
95 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
136 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan16() local
149 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
192 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
199 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan16()
[all …]
DARGB32_Clamp_Bilinear_BitmapShader.h71 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
82 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
120 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
128 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
131 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
132 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
DSkMatrix.cpp820 bool SkMatrix::invert(SkMatrix* inv) const { in invert()
829 if (inv) { in invert()
831 if (inv == this) { in invert()
832 inv = &tmp; in invert()
834 inv->setTypeMask(kUnknown_Mask); in invert()
838inv->fMat[kMScaleX] = SkScalarMulShift(SkPerspMul(fMat[kMScaleY], fMat[kMPersp2]) - SkPerspMul(fMa… in invert()
839inv->fMat[kMSkewX] = SkScalarMulShift(SkPerspMul(fMat[kMTransX], fMat[kMPersp1]) - SkPerspMul(fMa… in invert()
840inv->fMat[kMTransX] = SkScalarMulShift(SkScalarMul(fMat[kMSkewX], fMat[kMTransY]) - SkScalarMul(fM… in invert()
842inv->fMat[kMSkewY] = SkScalarMulShift(SkPerspMul(fMat[kMTransY], fMat[kMPersp0]) - SkPerspMul(fMa… in invert()
843inv->fMat[kMScaleY] = SkScalarMulShift(SkPerspMul(fMat[kMScaleX], fMat[kMPersp2]) - SkPerspMul(fMa… in invert()
[all …]
/external/valgrind/main/exp-sgcheck/
Dsg_main.c900 Invar* inv, Addr ea ) in gen_delta_str() argument
908 switch (inv->tag) { in gen_delta_str()
913 block = inv->Inv.Stack0.addr; in gen_delta_str()
914 szB = inv->Inv.Stack0.szB; in gen_delta_str()
917 block = inv->Inv.StackN.nd->addr; in gen_delta_str()
918 szB = inv->Inv.StackN.nd->szB; in gen_delta_str()
921 block = inv->Inv.Global.nd->addr; in gen_delta_str()
922 szB = inv->Inv.Global.nd->szB; in gen_delta_str()
945 static void show_Invar( HChar* buf, Word nBuf, Invar* inv, Word depth ) in show_Invar() argument
950 switch (inv->tag) { in show_Invar()
[all …]
/external/iptables/extensions/
Dlibip6t_ah.c57 const char *inv = invert ? "!" : ""; in print_spis() local
61 printf("%s:%s%u", name, inv, min); in print_spis()
63 printf("%ss:%s%u:%u", name, inv, min, max); in print_spis()
70 const char *inv = invert ? "!" : ""; in print_len() local
73 printf("%s:%s%u", name, inv, len); in print_len()
Dlibxt_esp.c39 const char *inv = invert ? "!" : ""; in print_spis() local
43 printf(" %s:%s%u", name, inv, min); in print_spis()
45 printf(" %ss:%s%u:%u", name, inv, min, max); in print_spis()
Dlibipt_ah.c39 const char *inv = invert ? "!" : ""; in print_spis() local
44 printf(":%s", inv); in print_spis()
47 printf("s:%s", inv); in print_spis()
Dlibip6t_frag.c73 const char *inv = invert ? "!" : ""; in print_ids() local
78 printf(":%s%u", inv, min); in print_ids()
80 printf("s:%s%u:%u", inv, min, max); in print_ids()
Dlibxt_udp.c89 const char *inv = invert ? "!" : ""; in print_ports() local
94 printf(":%s", inv); in print_ports()
97 printf("s:%s", inv); in print_ports()
Dlibip6t_mh.c159 const char *inv = invert ? "!" : ""; in print_types() local
164 printf("%s", inv); in print_types()
167 printf("%s", inv); in print_types()
Dlibip6t_rt.c153 const char *inv = invert ? "!" : ""; in print_nums() local
158 printf(":%s", inv); in print_nums()
161 printf("s:%s", inv); in print_nums()
Dlibxt_dccp.c155 const char *inv = invert ? "!" : ""; in print_ports() local
160 printf(":%s", inv); in print_ports()
163 printf("s:%s", inv); in print_ports()
Dlibxt_tcp.c237 const char *inv = invert ? "!" : ""; in print_ports() local
242 printf(":%s", inv); in print_ports()
245 printf("s:%s", inv); in print_ports()
/external/valgrind/main/drd/tests/
Domp_matinv.c232 elem_t* const inv = new_matrix(n, n); in invert_matrix() local
239 copy_matrix(tmp, n, 2*n, 0, n, n, 2*n, inv, n, n, 0, n, 0, n); in invert_matrix()
241 return inv; in invert_matrix()
292 elem_t *a, *inv, *prod; in main() local
327 inv = invert_matrix(a, matrix_size); in main()
329 inv, matrix_size, matrix_size); in main()
342 delete_matrix(inv); in main()
Dmatinv.c268 elem_t* const inv = new_matrix(n, n); in invert_matrix() local
275 copy_matrix(tmp, n, 2*n, 0, n, n, 2*n, inv, n, n, 0, n, 0, n); in invert_matrix()
277 return inv; in invert_matrix()
316 elem_t *a, *inv, *prod; in main() local
347 inv = invert_matrix(a, matrix_size); in main()
349 inv, matrix_size, matrix_size); in main()
362 delete_matrix(inv); in main()
/external/skia/samplecode/
DSampleSkLayer.cpp19 SkMatrix44 inv; in test_inv() local
20 if (mat.invert(&inv)) { in test_inv()
21 inv.dump(); in test_inv()
27 a.setConcat(mat, inv); in test_inv()
28 b.setConcat(inv, mat); in test_inv()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java246 float inv = 1f / dirDotNorm; in intersects() local
247 float t = diffDotNorm * inv; in intersects()
257 float w1 = dirDotDiffxEdge2 * inv; in intersects()
258 float w2 = dirDotEdge1xDiff * inv; in intersects()
324 float inv = 1f / dirDotNorm; in intersects() local
325 float t = diffDotNorm * inv; in intersects()
/external/llvm/test/CodeGen/X86/
D2008-05-22-FoldUnalignedLoad.ll6 %inv = call <4 x float> @llvm.x86.sse.rcp.ps(<4 x float> %tmp2)
7 store <4 x float> %inv, <4 x float>* %x, align 1
/external/srec/srec/clib/
Dmatrix_i.c44 int invert_matrix(covdata **mat, covdata **inv, int dim) in invert_matrix() argument
54 ASSERT(inv); in invert_matrix()
73 inv[ii][jj] = col[ii]; in invert_matrix()
89 sum += mat[ii][kk] * inv[kk][jj]; in invert_matrix()
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java393 BigInteger a = zero, mod, inv; in test_modInverseLjava_math_BigInteger() local
399 inv = a.modInverse(mod); in test_modInverseLjava_math_BigInteger()
401 + " equals " + inv, one.equals(a.multiply(inv).mod( in test_modInverseLjava_math_BigInteger()
404 + " inv mod " + mod + " equals " + inv, inv in test_modInverseLjava_math_BigInteger()
407 + mod + " equals " + inv, inv in test_modInverseLjava_math_BigInteger()
420 inv = a.modInverse(mod); in test_modInverseLjava_math_BigInteger()
422 + " equals " + inv, one.equals(a.multiply(inv).mod( in test_modInverseLjava_math_BigInteger()
425 + " inv mod " + mod + " equals " + inv, inv in test_modInverseLjava_math_BigInteger()
428 + mod + " equals " + inv, inv in test_modInverseLjava_math_BigInteger()
/external/opencv/cxcore/src/
Dcxdxt.cpp440 int inv = flags & CV_DXT_INVERSE; in icvDFT_64fc() local
449 return !inv ? in icvDFT_64fc()
460 if( !inv ) in icvDFT_64fc()
531 if( inv ) in icvDFT_64fc()
825 if( inv ) in icvDFT_64fc()
836 else if( inv ) in icvDFT_64fc()
863 int inv = flags & CV_DXT_INVERSE; in icvDFT_32fc() local
872 return !inv ? in icvDFT_32fc()
881 if( !inv ) in icvDFT_32fc()
955 if( inv ) in icvDFT_32fc()
[all …]
/external/clang/test/Analysis/
Darray-struct.c157 void inv(struct s1 *);
163 inv(&t); in f17()
/external/valgrind/main/VEX/priv/
Dguest_arm_helpers.c475 UInt nf, zf, vf, cf, inv; in armg_calculate_condition() local
482 inv = cond & 1; in armg_calculate_condition()
488 return inv ^ zf; in armg_calculate_condition()
493 return inv ^ cf; in armg_calculate_condition()
498 return inv ^ nf; in armg_calculate_condition()
503 return inv ^ vf; in armg_calculate_condition()
509 return inv ^ (cf & ~zf); in armg_calculate_condition()
515 return inv ^ (1 & ~(nf ^ vf)); in armg_calculate_condition()
522 return inv ^ (1 & ~(zf | (nf ^ vf))); in armg_calculate_condition()
/external/llvm/test/Feature/
Dmemorymarkers.ll27 %inv = call {}* @llvm.invariant.start(i64 8, i8* %y)
32 call void @llvm.invariant.end({}* %inv, i64 8, i8* %y)

1234