Home
last modified time | relevance | path

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

1234567

/third_party/libwebsockets/lib/drivers/spi/bitbang/
Dlws-bb-spi.c53 uint8_t u, inv = !!(ctx->bb_ops.bus_mode & LWSSPIMODE_CPOL); in lws_bb_spi_write() local
61 ctx->gpio->set(ctx->clk, inv); in lws_bb_spi_write()
63 ctx->gpio->set(ctx->clk, !inv); in lws_bb_spi_write()
64 ctx->gpio->set(ctx->clk, inv); in lws_bb_spi_write()
66 ctx->gpio->set(ctx->clk, !inv); in lws_bb_spi_write()
71 ctx->gpio->set(ctx->clk, 0 ^ inv); in lws_bb_spi_write()
78 uint8_t inv = !!(ctx->bb_ops.bus_mode & LWSSPIMODE_CPOL); in lws_bb_spi_read() local
84 ctx->gpio->set(ctx->clk, inv); in lws_bb_spi_read()
87 ctx->gpio->set(ctx->clk, !inv); in lws_bb_spi_read()
92 ctx->gpio->set(ctx->clk, 0 ^ inv); in lws_bb_spi_read()
/third_party/ffmpeg/libavutil/
Dtx.c49 const int inv = s->inv; in ff_tx_gen_compound_mapping() local
71 if (inv) { in ff_tx_gen_compound_mapping()
96 const int m = s->m, inv = s->inv; in ff_tx_gen_ptwo_revtab() local
103 int k = -split_radix_permutation(i, m, inv) & (m - 1); in ff_tx_gen_ptwo_revtab()
161 int inv, int len, const void *scale, uint64_t flags) in av_tx_init() argument
171 if ((err = ff_tx_init_mdct_fft_float(s, tx, type, inv, len, scale, flags))) in av_tx_init()
176 if ((err = ff_tx_init_mdct_fft_double(s, tx, type, inv, len, scale, flags))) in av_tx_init()
181 if ((err = ff_tx_init_mdct_fft_int32(s, tx, type, inv, len, scale, flags))) in av_tx_init()
Dtx_priv.h111 int inv; /* Is inverse */ member
147 enum AVTXType type, int inv, int len,
150 enum AVTXType type, int inv, int len,
153 enum AVTXType type, int inv, int len,
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.data1097 X509 CRT ASN1 (inv Certificate, bad tag)
1100 X509 CRT ASN1 (inv Certificate, no length)
1103 X509 CRT ASN1 (inv Certificate, bad length encoding)
1106 X509 CRT ASN1 (inv Certificate, length data incomplete)
1109 X509 CRT ASN1 (inv Certificate, length out of bounds)
1112 X509 CRT ASN1 (inv TBS, invalid tag)
1115 X509 CRT ASN1 (inv TBS, length missing)
1118 X509 CRT ASN1 (inv TBS, invalid length encoding)
1121 X509 CRT ASN1 (inv TBS, length data incomplete)
1124 X509 CRT ASN1 (inv TBS, length out of bounds)
[all …]
/third_party/glslang/Test/
Dspv.1.4.OpEntryPoint.frag3 layout(location = 0) in vec4 inv;
23 functionv = inv;
24 globalv = inv;
25 outv = functionv + inv + globalv + uniformv.v * pushv.a * bufferv.f;
26 outv += functionv + inv + globalv + uniformv.v * pushv.a * bufferv.f;
Dspv.matrix2.frag41 mat2 inv = inverse(um2);
42 FragColor *= vec4(inv[0][0], inv[1][0], inv[0][1], inv[1][1]);
Dmatrix2.frag41 mat2 inv = inverse(um2);
42 FragColor *= vec4(inv[0][0], inv[1][0], inv[0][1], inv[1][1]);
/third_party/python/Tools/scripts/
Dpdeps.py44 inv = inverse(table)
45 printresults(inv)
123 inv = {}
125 if key not in inv:
126 inv[key] = []
128 store(inv, item, key)
129 return inv
/third_party/skia/src/core/
DSkMipmapAccessor.cpp29 SkMipmapAccessor::SkMipmapAccessor(const SkImage_Base* image, const SkMatrix& inv, in SkMipmapAccessor() argument
45 if (!inv.decomposeScale(&scale, nullptr)) { in SkMipmapAccessor()
56 auto post_scale = [image, inv](const SkPixmap& pm) { in SkMipmapAccessor()
58 SkIntToScalar(pm.height()) / image->height()) * inv; in SkMipmapAccessor()
102 const SkMatrix& inv, SkMipmapMode mipmap) { in Make() argument
103 auto* access = alloc->make<SkMipmapAccessor>(as_IB(image), inv, mipmap); in Make()
DSkMarkerStack.cpp13 SkM44 inv; in setMarker() local
14 SkAssertResult(mx.invert(&inv)); in setMarker()
24 it->fMatrixInverse = inv; in setMarker()
29 fStack.push_back({boundary, mx, inv, id}); in setMarker()
/third_party/glslang/Test/baseResults/
Dspv.1.4.OpEntryPoint.frag.out14 Name 11 "inv"
26 Decorate 11(inv) Location 0
45 11(inv): 10(ptr) Variable Input
67 12: 7(fvec4) Load 11(inv)
69 15: 7(fvec4) Load 11(inv)
72 19: 7(fvec4) Load 11(inv)
88 48: 7(fvec4) Load 11(inv)
Dspv.matrix2.frag.out22 Name 156 "inv"
99 156(inv): 155(ptr) Variable Function
230 Store 156(inv) 160
231 164: 163(ptr) AccessChain 156(inv) 162 55
233 167: 163(ptr) AccessChain 156(inv) 166 55
235 170: 163(ptr) AccessChain 156(inv) 162 169
237 172: 163(ptr) AccessChain 156(inv) 166 169
Dspv.debugInfo.frag.out35 layout(location = 0) in vec4 inv;
40 vec4 r = s.a * inv;
81 Name 24 "inv"
91 Decorate 24(inv) Location 0
113 24(inv): 23(ptr) Variable Input
249 25: 11(fvec4) Load 24(inv)
Dspv.debugInfo.1.1.frag.out26 layout(location = 0) in vec4 inv;
31 vec4 r = s.a * inv;
72 Name 24 "inv"
93 Decorate 24(inv) Location 0
115 24(inv): 23(ptr) Variable Input
251 25: 11(fvec4) Load 24(inv)
/third_party/skia/src/opts/
DSkXfermode_opts.h35 XFERMODE(SrcOut) { return s.approxMulDiv255(d.alphas().inv()); } in XFERMODE()
36 XFERMODE(SrcOver) { return s + d.approxMulDiv255(s.alphas().inv()); } in XFERMODE()
42 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE()
45 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE()
54 return s + d.approxMulDiv255(s.inv()); in XFERMODE()
64 return (bw * aa + d * aa.inv()).div255(); in xfer_aa()
/third_party/skia/third_party/externals/harfbuzz/util/
Dansi-print.hh354 bool inv = false; in block_best() local
356 case 1: c = "▟"; inv = true; break; in block_best()
357 case 2: c = "▙"; inv = true; break; in block_best()
358 case 4: c = "▖"; inv = false; break; in block_best()
359 case 8: c = "▗"; inv = false; break; in block_best()
360 case 9: c = "▚"; inv = false; break; in block_best()
361 case 6: c = "▞"; inv = false; break; in block_best()
362 case 7: c = "▜"; inv = true; break; in block_best()
363 case 11: c = "▜"; inv = true; break; in block_best()
364 case 13: c = "▙"; inv = true; break; in block_best()
[all …]
/third_party/python/Lib/test/
Dtest_pow.py130 inv = pow(a, -1, m)
131 self.assertEqual(inv, inv % m)
132 self.assertEqual((inv * a - 1) % m, 0)
135 self.assertEqual(pow(a, -2, m), pow(inv, 2, m))
136 self.assertEqual(pow(a, -3, m), pow(inv, 3, m))
137 self.assertEqual(pow(a, -1001, m), pow(inv, 1001, m))
/third_party/musl/src/regex/
Dfnmatch.c110 int inv = 0; in match_bracket() local
113 inv = 1; in match_bracket()
117 if (k==']') return !inv; in match_bracket()
120 if (k=='-') return !inv; in match_bracket()
132 return !inv; in match_bracket()
147 return !inv; in match_bracket()
158 if (wc==k || wc==kfold) return !inv; in match_bracket()
160 return inv; in match_bracket()
/third_party/skia/src/shaders/gradients/
DSkLinearGradient.cpp17 SkScalar inv = mag ? SkScalarInvert(mag) : 0; in pts_to_unit_matrix() local
19 vec.scale(inv); in pts_to_unit_matrix()
23 matrix.postScale(inv, inv); in pts_to_unit_matrix()
DSkRadialGradient.cpp16 SkScalar inv = SkScalarInvert(radius); in rad_to_unit_matrix() local
20 matrix.postScale(inv, inv); in rad_to_unit_matrix()
/third_party/rust/crates/clap/tests/builder/
Darg_aliases.rs147 let inv = a.clone().try_get_matches_from(vec!["", "--invisible"]); in multiple_aliases_of_flag() localVariable
148 assert!(inv.is_ok(), "{}", inv.unwrap_err()); in multiple_aliases_of_flag()
149 let inv = inv.unwrap(); in multiple_aliases_of_flag() localVariable
160 assert!(*inv.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
/third_party/ffmpeg/libavcodec/
Dvc1_pred.h40 static av_always_inline int scale_mv(int value, int bfrac, int inv, int qs) in scale_mv() argument
45 if (inv) in scale_mv()
51 if (inv) in scale_mv()
/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c30 static int inv = -1; variable
45 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF, "epfd is an invalid fd"},
47 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF, "fd is an invalid fd"},
/third_party/FreeBSD/lib/msun/src/
Ds_tanhl.c89 long double inv, r; in divl() local
97 inv = 1 / (d + e); in divl()
99 r = (a + b) * inv; in divl()
107 r = r + (a - d * r + b - e * r) * inv; in divl()
/third_party/skia/third_party/skcms/
Dskcms.cc1840 skcms_TransferFunction inv = {0,0,0,0,0,0,0}; in skcms_TransferFunction_invert() local
1850 inv.d = d_l; // TODO(mtklein): better in practice to choose d_r? in skcms_TransferFunction_invert()
1853 if (inv.d > 0) { in skcms_TransferFunction_invert()
1858 inv.c = 1.0f/src->c; in skcms_TransferFunction_invert()
1859 inv.f = -src->f/src->c; in skcms_TransferFunction_invert()
1875 inv.g = 1.0f / src->g; in skcms_TransferFunction_invert()
1876 inv.a = k; in skcms_TransferFunction_invert()
1877 inv.b = -k * src->e; in skcms_TransferFunction_invert()
1878 inv.e = -src->b / src->a; in skcms_TransferFunction_invert()
1885 if (inv.a < 0) { in skcms_TransferFunction_invert()
[all …]

1234567