Searched defs:pt (Results 51 - 75 of 221) sorted by relevance

123456789

/external/skia/src/core/
H A DSkBitmapProcState_shaderproc.h36 SkPoint pt; local
38 SkIntToScalar(y) + SK_ScalarHalf, &pt);
39 SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1);
51 fx = SkScalarToFixed(pt.fX) - (oneX >> 1);
H A DSkPathMeasure.cpp67 static bool cheap_dist_exceeds_limit(const SkPoint& pt, argument
69 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY));
/external/skia/src/effects/
H A DSk1DPathEffect.cpp95 SkPoint pt; local
97 pt.set(sx, sy);
101 matrix.mapPoints(&dst[i], &pt, 1);
/external/skia/src/pathops/
H A DSkIntersections.cpp34 int SkIntersections::insert(double one, double two, const SkDPoint& pt) { argument
56 fPt[index] = pt;
61 if (pt.roughlyEqual(fPt[index])) {
84 fPt[index] = pt;
102 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { argument
103 int index = insertSwap(one, two, pt);
H A DSkOpEdgeBuilder.cpp62 static void force_small_to_zero(SkPoint* pt) { argument
63 if (SkScalarAbs(pt->fX) < FLT_EPSILON_ORDERABLE_ERR) {
64 pt->fX = 0;
66 if (SkScalarAbs(pt->fY) < FLT_EPSILON_ORDERABLE_ERR) {
67 pt->fY = 0;
H A DSkPathWriter.cpp75 void SkPathWriter::deferredLine(const SkPoint& pt) { argument
76 if (pt == fDefer[1]) {
79 if (changedSlopes(pt)) {
83 fDefer[1] = pt;
86 void SkPathWriter::deferredMove(const SkPoint& pt) { argument
90 fDefer[0] = fDefer[1] = pt;
93 void SkPathWriter::deferredMoveLine(const SkPoint& pt) { argument
95 deferredMove(pt);
97 deferredLine(pt);
162 bool SkPathWriter::changedSlopes(const SkPoint& pt) cons
[all...]
/external/skia/tests/
H A DPointTest.cpp88 SkPoint pt = { bigFloat, bigFloat }; local
90 SkScalar length = pt.length();
95 SkDebugf("length(%g, %g) == %g\n", pt.fX, pt.fY, length);
100 REPORTER_ASSERT(reporter, pt.setLength(SK_Scalar1));
102 // now that pt is normalized, we check its length
103 length = pt.length();
110 SkPoint pt = { 1.0e-37f, 1.0e-37f }; local
113 REPORTER_ASSERT(reporter, 0 == SkPoint::Normalize(&pt));
114 REPORTER_ASSERT(reporter, pt
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-internal-dec.c76 u8 pt[16])
141 PUTU32(pt , s0);
143 PUTU32(pt + 4, s1);
145 PUTU32(pt + 8, s2);
147 PUTU32(pt + 12, s3);
75 rijndaelDecrypt(const u32 rk[ ], int Nr, const u8 ct[16], u8 pt[16]) argument
/external/wpa_supplicant_8/src/crypto/
H A Daes-internal-dec.c76 u8 pt[16])
141 PUTU32(pt , s0);
143 PUTU32(pt + 4, s1);
145 PUTU32(pt + 8, s2);
147 PUTU32(pt + 12, s3);
75 rijndaelDecrypt(const u32 rk[ ], int Nr, const u8 ct[16], u8 pt[16]) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-internal-dec.c76 u8 pt[16])
141 PUTU32(pt , s0);
143 PUTU32(pt + 4, s1);
145 PUTU32(pt + 8, s2);
147 PUTU32(pt + 12, s3);
75 rijndaelDecrypt(const u32 rk[ ], int Nr, const u8 ct[16], u8 pt[16]) argument
/external/boringssl/src/crypto/x509/
H A Dx509_trs.c110 X509_TRUST *pt; local
124 pt = X509_TRUST_get0(idx);
125 return pt->check_trust(pt, x, flags);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cc44 void DestroyPhysicalThread(DDPhysicalThread *pt) override;
77 void DD::DestroyPhysicalThread(DDPhysicalThread *pt) { argument
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cc35 DDCallback::pt = thr->dd_pt; member in class:__tsan::Callback::DDCallback
/external/eigen/Eigen/src/PardisoSupport/
H A DPardisoSupport.h46 static Index run( _MKL_DSS_HANDLE_t pt, Index maxfct, Index mnum, Index type, Index phase, Index n, void *a, argument
50 ::pardiso(pt, &maxfct, &mnum, &type, &phase, &n, a, ia, ja, perm, &nrhs, iparm, &msglvl, b, x, &error);
58 static Index run( _MKL_DSS_HANDLE_t pt, Index maxfct, Index mnum, Index type, Index phase, Index n, void *a, argument
62 ::pardiso_64(pt, &maxfct, &mnum, &type, &phase, &n, a, ia, ja, perm, &nrhs, iparm, &msglvl, b, x, &error);
/external/eigen/unsupported/test/
H A DBVH.cpp109 VectorType pt = VectorType::Random(); local
110 BallPointStuff<Dim> i1(pt), i2(pt);
128 VectorType pt = VectorType::Random(); local
129 BallPointStuff<Dim> i1(pt), i2(pt);
/external/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.cpp111 POINT pt; local
130 pt.x = (int) (pointSize * dpiX / 72);
131 pt.y = (int) (pointSize * dpiY / 72);
133 DPtoLP(hdc, &pt, 1);
135 pt.x = pt.y = pointSize;
138 lf.lfHeight = - pt.y;
196 POINT pt; local
218 pt.x = (int) (pointSize * fDeviceScaleX);
219 pt
[all...]
/external/libdrm/exynos/
H A Dexynos_fimg2d.c265 union g2d_point_val pt; local
283 pt.val = 0;
284 pt.data.x = x;
285 pt.data.y = y;
286 g2d_add_cmd(ctx, DST_LEFT_TOP_REG, pt.val);
288 pt.val = 0;
289 pt.data.x = x + w;
290 pt.data.y = y + h;
292 g2d_add_cmd(ctx, DST_RIGHT_BOTTOM_REG, pt.val);
327 union g2d_point_val pt; local
429 union g2d_point_val pt; local
539 union g2d_point_val pt; local
[all...]
/external/libdrm/tests/
H A Ddristat.c145 char *pt; local
147 for (pt = cmd; *pt; pt++) if (!isprint(*pt)) *pt = ' ';
H A Ddrmstat.c111 char *pt; local
171 count = strtoul(optarg, &pt, 0);
172 size = strtoul(pt+1, &pt, 0);
173 secs = strtoul(pt+1, NULL, 0);
200 count = strtoul(optarg, &pt, 0);
201 size = strtoul(pt+1, NULL, 0);
254 offset = strtoul(optarg, &pt, 0);
255 size = strtoul(pt+1, NULL, 0);
269 offset = strtoul(optarg, &pt,
[all...]
/external/libnfc-nci/src/nfc/nci/
H A Dnci_hmsgs.c144 UINT8 num = 0, ulen, len, *pt; local
158 pt = p_param_tlvs;
162 pt++;
164 ulen = *pt++;
165 pt += ulen;
533 UINT8 num = 0, ulen, len, *pt; local
547 pt = p_param_tlvs;
551 pt++;
553 ulen = *pt++;
554 pt
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dtokenize.c111 int pt; /* near block/prev token context index */ local
126 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l);
132 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt];
135 ++x->coef_counts [1] [0] [pt] [DCT_EOB_TOKEN];
147 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt];
149 ++x->coef_counts [1] [0] [pt] [token];
150 pt = vp8_prev_token_class[token];
164 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt];
166 t->skip_eob_node = ((pt == 0));
168 ++x->coef_counts [1] [band] [pt] [toke
202 int pt; /* near block/prev token context index */ local
430 int type, band, pt, t; local
503 int pt; /* near block/prev token context index */ local
528 int pt; /* near block/prev token context index */ local
553 int pt; /* near block/prev token context index */ local
[all...]
/external/lzma/CPP/Common/
H A DMyCom.h51 T* pt = _p; local
53 return pt;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_tile.c49 struct pipe_transfer *pt,
56 dst_stride = util_format_get_stride(pt->resource->format, w);
58 if (u_clip_tile(x, y, &w, &h, &pt->box))
61 src = pipe->transfer_map(pipe, pt);
66 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y);
68 pipe->transfer_unmap(pipe, pt);
77 struct pipe_transfer *pt,
82 enum pipe_format format = pt->resource->format;
87 if (u_clip_tile(x, y, &w, &h, &pt
48 pipe_get_tile_raw(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, void *dst, int dst_stride) argument
76 pipe_put_tile_raw(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const void *src, int src_stride) argument
445 pipe_get_tile_rgba(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, float *p) argument
455 pipe_get_tile_rgba_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, float *p) argument
486 pipe_put_tile_rgba(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const float *p) argument
496 pipe_put_tile_rgba_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const float *p) argument
547 pipe_put_tile_i_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const int *p) argument
575 pipe_put_tile_ui_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const unsigned int *p) argument
606 pipe_get_tile_z(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, uint *z) argument
735 pipe_put_tile_z(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const uint *zSrc) argument
870 pipe_get_tile_ui_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, unsigned int *p) argument
901 pipe_get_tile_i_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, int *p) argument
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_surface.c216 struct pipe_resource *pt = &tex->b.b; local
220 assert(util_format_get_blockwidth(pt->format) == 1);
221 assert(util_format_get_blockheight(pt->format) == 1);
225 util_format_get_blocksize(pt->format),
244 struct pipe_resource *pt = &tex->b.b; local
249 assert(util_format_get_blockwidth(pt->format) == 1);
250 assert(util_format_get_blockheight(pt->format) == 1);
264 util_format_get_blocksize(pt->format),
280 struct pipe_resource *pt,
286 if (pt
279 i915_create_surface(struct pipe_context *ctx, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_miptree.c37 layer_offset(struct pipe_resource *pt, unsigned level, unsigned layer) argument
39 struct nv30_miptree *mt = nv30_miptree(pt);
42 if (pt->target == PIPE_TEXTURE_CUBE)
50 struct pipe_resource *pt,
53 struct nv30_miptree *mt = nv30_miptree(pt);
65 nv30_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) argument
67 struct nv30_miptree *mt = nv30_miptree(pt);
88 define_rect(struct pipe_resource *pt, unsigned level, unsigned z, argument
92 struct nv30_miptree *mt = nv30_miptree(pt);
95 rect->w = u_minify(pt
49 nv30_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_resource *pt, struct winsys_handle *handle) argument
162 nv30_miptree_transfer_new(struct pipe_context *pipe, struct pipe_resource *pt, unsigned level, unsigned usage, const struct pipe_box *box) argument
275 struct pipe_resource *pt = &mt->base.base; local
396 nv30_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *tmpl) argument
[all...]

Completed in 587 milliseconds

123456789