Home
last modified time | relevance | path

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

1234

/external/skia/src/core/
DSkBitmapShaderTemplate.h66 const SkMatrix& inv = this->getUnitInverse(); in shadeSpan() local
69 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
83 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
125 invProc(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
132 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
135 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
136 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
210 const SkMatrix& inv = this->getUnitInverse(); in shadeSpan16() local
213 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan16() local
227 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
[all …]
DSkBitmapShader16BilerpTemplate.h35 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
48 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
92 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
99 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
102 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
103 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
144 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan16() local
157 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
200 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16()
207 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan16()
[all …]
DARGB32_Clamp_Bilinear_BitmapShader.h64 const SkMatrix& inv = this->getTotalInverse(); in shadeSpan() local
75 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
113 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan()
121 (void)inv.fixedStepInX(SkIntToScalar(y), &dx, &dy); in shadeSpan()
124 dx = SkScalarToFixed(inv.getScaleX()); in shadeSpan()
125 dy = SkScalarToFixed(inv.getSkewY()); in shadeSpan()
DSkMatrix.cpp781 bool SkMatrix::invert(SkMatrix* inv) const { in invert()
790 if (inv) { in invert()
792 if (inv == this) in invert()
793 inv = &tmp; in invert()
797inv->fMat[kMScaleX] = SkScalarMulShift(SkPerspMul(fMat[kMScaleY], fMat[kMPersp2]) - SkPerspMul(fMa… in invert()
798inv->fMat[kMSkewX] = SkScalarMulShift(SkPerspMul(fMat[kMTransX], fMat[kMPersp1]) - SkPerspMul(fMa… in invert()
799inv->fMat[kMTransX] = SkScalarMulShift(SkScalarMul(fMat[kMSkewX], fMat[kMTransY]) - SkScalarMul(fM… in invert()
801inv->fMat[kMSkewY] = SkScalarMulShift(SkPerspMul(fMat[kMTransY], fMat[kMPersp0]) - SkPerspMul(fMa… in invert()
802inv->fMat[kMScaleY] = SkScalarMulShift(SkPerspMul(fMat[kMScaleX], fMat[kMPersp2]) - SkPerspMul(fMa… in invert()
803inv->fMat[kMTransY] = SkScalarMulShift(SkScalarMul(fMat[kMTransX], fMat[kMSkewY]) - SkScalarMul(fM… in invert()
[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/exp-ptrcheck/
Dsg_main.c895 static void show_Invar( HChar* buf, Word nBuf, Invar* inv, Word depth ) in show_Invar() argument
900 switch (inv->tag) { in show_Invar()
907 str, inv->Inv.Stack0.descr->name ); in show_Invar()
912 str, inv->Inv.StackN.nd->descr->name, in show_Invar()
913 depth - inv->Inv.StackN.nd->depth ); in show_Invar()
918 str, inv->Inv.Global.nd->descr->name, in show_Invar()
919 inv->Inv.Global.nd->descr->soname ); in show_Invar()
950 Invar inv; member
972 pp_Invar(&qc->elems[i].inv); in QCache__pp()
1193 static void preen_global_Invar ( Invar* inv, Addr a, SizeT len ) in preen_global_Invar() argument
[all …]
/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.c270 elem_t* const inv = new_matrix(n, n); in invert_matrix() local
277 copy_matrix(tmp, n, 2*n, 0, n, n, 2*n, inv, n, n, 0, n, 0, n); in invert_matrix()
279 return inv; in invert_matrix()
318 elem_t *a, *inv, *prod; in main() local
348 inv = invert_matrix(a, matrix_size); in main()
350 inv, matrix_size, matrix_size); in main()
363 delete_matrix(inv); in main()
/external/mesa3d/test/
Dm_matrix.c306 if (m->inv) { in _math_matrix_print()
308 print_matrix_floats(m->inv); in _math_matrix_print()
309 matmul4(prod, m->m, m->inv); in _math_matrix_print()
364 GLfloat *out = mat->inv; in invert_matrix_general()
492 GLfloat *out = mat->inv; in invert_matrix_3d_general()
564 GLfloat *out = mat->inv; in invert_matrix_3d()
643 memcpy( mat->inv, Identity, sizeof(Identity) ); in invert_matrix_identity()
660 GLfloat *out = mat->inv; in invert_matrix_3d_no_rot()
693 GLfloat *out = mat->inv; in invert_matrix_2d_no_rot()
715 GLfloat *out = mat->inv;
[all …]
/external/skia/samplecode/
DSampleSkLayer.cpp12 SkMatrix44 inv; in test_inv() local
13 if (mat.invert(&inv)) { in test_inv()
14 inv.dump(); in test_inv()
20 a.setConcat(mat, inv); in test_inv()
21 b.setConcat(inv, mat); in test_inv()
/external/valgrind/main/VEX/priv/
Dguest_arm_helpers.c230 UInt nf, zf, vf, cf, nzcv, inv; in armg_calculate_condition() local
237 inv = cond & 1; in armg_calculate_condition()
244 return 1 & (inv ^ zf); in armg_calculate_condition()
249 return 1 & (inv ^ cf); in armg_calculate_condition()
254 return 1 & (inv ^ nf); in armg_calculate_condition()
259 return 1 & (inv ^ vf); in armg_calculate_condition()
265 return 1 & (inv ^ (cf & ~zf)); in armg_calculate_condition()
271 return 1 & (inv ^ ~(nf ^ vf)); in armg_calculate_condition()
278 return 1 & (inv ^ ~(zf | (nf ^ vf))); in armg_calculate_condition()
/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.c159 void inv(struct s1 *);
165 inv(&t); in f17()
/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