/external/skia/tests/ |
PathOpsDPointTest.cpp | 25 const SkDPoint& pt = tests[index]; local 26 SkASSERT(ValidPoint(pt)); 27 SkDPoint p = pt; 28 REPORTER_ASSERT(reporter, p == pt); 29 REPORTER_ASSERT(reporter, !(pt != pt)); 30 SkDVector v = p - pt; 32 REPORTER_ASSERT(reporter, p == pt); 34 REPORTER_ASSERT(reporter, p == pt); 35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt)); [all...] |
/bionic/libc/tzcode/ |
strftime.c | 186 _fmt(const char *format, const struct tm *const t, char * pt, 198 pt = _add((t->tm_wday < 0 || 201 pt, ptlim, modifier); 204 pt = _add((t->tm_wday < 0 || 207 pt, ptlim, modifier); 210 pt = _add((t->tm_mon < 0 || 213 pt, ptlim, modifier); 217 pt = _add((t->tm_mon < 0 || 220 pt, ptlim, modifier); 230 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0 [all...] |
/bionic/libc/upstream-openbsd/lib/libc/time/ |
wcsftime.c | 138 _fmt(const wchar_t *format, const struct tm *t, wchar_t *pt, 143 if (pt == ptlim) 145 *pt++ = *format; 154 pt = _add((t->tm_wday < 0 || 157 pt, ptlim); 160 pt = _add((t->tm_wday < 0 || 163 pt, ptlim); 166 pt = _add((t->tm_mon < 0 || 169 pt, ptlim); 173 pt = _add((t->tm_mon < 0 | [all...] |
/external/skia/src/pathops/ |
SkPathOpsBounds.h | 36 void add(const SkDPoint& pt) { 37 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX); 38 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY); 39 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX); 40 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); 43 bool almostContains(const SkPoint& pt) { [all...] |
SkPathOpsRect.h | 15 void add(const SkDPoint& pt) { 16 fLeft = SkTMin(fLeft, pt.fX); 17 fTop = SkTMin(fTop, pt.fY); 18 fRight = SkTMax(fRight, pt.fX); 19 fBottom = SkTMax(fBottom, pt.fY); 22 bool contains(const SkDPoint& pt) const { 23 return approximately_between(fLeft, pt.fX, fRight) 24 && approximately_between(fTop, pt.fY, fBottom); 38 void set(const SkDPoint& pt) { 39 fLeft = fRight = pt.fX [all...] |
SkPathWriter.h | 18 void deferredLine(const SkPoint& pt); 19 void deferredMove(const SkPoint& pt); 20 void deferredMoveLine(const SkPoint& pt); 32 bool changedSlopes(const SkPoint& pt) const;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pt.c | 91 draw->clip_user) && !draw->pt.test_fse) { 98 if (draw->pt.middle.llvm) { 99 middle = draw->pt.middle.llvm; 102 middle = draw->pt.middle.fetch_emit; 103 else if (opt == PT_SHADE && !draw->pt.no_fse) 104 middle = draw->pt.middle.fetch_shade_emit; 106 middle = draw->pt.middle.general; 109 frontend = draw->pt.frontend; 112 if (draw->pt.prim != prim || draw->pt.opt != opt) [all...] |
draw_pt_fetch.c | 85 assert(draw->pt.nr_vertex_elements + num_extra_inputs >= vs_input_count); 87 nr_inputs = MIN2(vs_input_count, draw->pt.nr_vertex_elements + num_extra_inputs); 97 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) { 99 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; 100 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; 101 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; 102 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; 108 } else if (util_format_is_pure_uint(draw->pt.vertex_element[i].src_format)) { 110 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; 111 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index [all...] |
/docs/source.android.com/src/compatibility/5.1/ |
android-cdd.css | 73 font: 10pt/14pt Roboto, Arial, Helvetica, sans-serif; 80 padding: 40pt 20pt 15pt 50pt; 87 padding: 40pt 5pt 40pt 60pt; [all...] |
/docs/source.android.com/src/compatibility/source/ |
android-cdd.css | 73 font: 10pt/14pt Roboto, Arial, Helvetica, sans-serif; 80 padding: 40pt 20pt 15pt 50pt; 87 padding: 40pt 5pt 40pt 60pt; [all...] |
/external/lldb/test/macosx/debug-info/apple_types/ |
main.c | 20 struct point_tag pt = { 2, 3 }; // This is the first executable statement. local 22 pt.x = argc; 23 pt.y = argc * argc;
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
802.11e.h | 91 #define WLC_CAC_GET_TID(pt) ((((pt).octets[0]) & TS_INFO_TID_MASK) >> TS_INFO_TID_SHIFT) 92 #define WLC_CAC_GET_DIR(pt) ((((pt).octets[0]) & \ 94 #define WLC_CAC_GET_PSB(pt) ((((pt).octets[1]) & TS_INFO_PSB_MASK) >> TS_INFO_PSB_SHIFT) 95 #define WLC_CAC_GET_USER_PRIO(pt) ((((pt).octets[1]) & \ 98 #define WLC_CAC_SET_TID(pt, id) ((((pt).octets[0]) & (~TS_INFO_TID_MASK)) | [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/ui/base/ |
pie_chart.css | 6 font-size: 8pt; 10 font-size: 10pt;
|
sunburst_chart.css | 6 font-size: 8pt; 10 font-size: 10pt;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_texture.h | 84 softpipe_resource(struct pipe_resource *pt) 86 return (struct softpipe_resource *) pt; 90 softpipe_transfer(struct pipe_transfer *pt) 92 return (struct softpipe_transfer *) pt;
|
/external/skia/gm/ |
bigmatrix.cpp | 48 SkPoint pt = {10 * SK_Scalar1, 10 * SK_Scalar1}; local 51 m.mapPoints(&pt, 1); 52 path.addCircle(pt.fX, pt.fY, small); 55 pt.set(30 * SK_Scalar1, 10 * SK_Scalar1); 56 m.mapPoints(&pt, 1); 57 SkRect rect = {pt.fX - small, pt.fY - small, 58 pt.fX + small, pt.fY + small} [all...] |
/external/fonttools/Lib/fontTools/pens/ |
boundsPen.py | 27 def _moveTo(self, pt): 30 self.bounds = updateBounds(bounds, pt) 32 x, y = pt 35 def _lineTo(self, pt): 36 self.bounds = updateBounds(self.bounds, pt) 38 def _curveToOne(self, bcp1, bcp2, pt): 42 bounds = updateBounds(bounds, pt) 45 def _qCurveToOne(self, bcp, pt): 48 bounds = updateBounds(bounds, pt) 64 def _curveToOne(self, bcp1, bcp2, pt) [all...] |
/external/llvm/docs/_static/ |
llvm.css | 17 tr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; } 33 padding-left: 8pt; 38 h1, .doc_title, .title { text-align: left; font-size: 25pt } 40 h2, .doc_section { text-align: center; font-size: 22pt; 41 margin: 20pt 0pt 5pt 0pt; [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_surfaces.c | 34 struct pipe_context *ctx, struct pipe_resource *pt, 40 if(pt->target == PIPE_TEXTURE_3D || pt->target == PIPE_TEXTURE_CUBE) 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); 68 pipe_surface_init(ctx, ps, pt, level, layer, flags); 70 if(pt->target == PIPE_TEXTURE_3D || pt->target == PIPE_TEXTURE_CUBE) 82 struct pipe_resource *pt = ps->texture; local 83 if(pt->target == PIPE_TEXTURE_3D || pt->target == PIPE_TEXTURE_CUBE [all...] |
u_surfaces.h | 48 struct pipe_context *ctx, struct pipe_resource *pt, 55 struct pipe_context *ctx, struct pipe_resource *pt, 59 if(likely((pt->target == PIPE_TEXTURE_2D || pt->target == PIPE_TEXTURE_RECT) && us->u.array)) 70 return util_surfaces_do_get(us, surface_struct_size, ctx, pt, level, layer, flags, res); 74 util_surfaces_peek(struct util_surfaces *us, struct pipe_resource *pt, unsigned level, unsigned layer) 79 if(unlikely(pt->target == PIPE_TEXTURE_3D || pt->target == PIPE_TEXTURE_CUBE)) 99 void util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *));
|
/external/boringssl/src/crypto/aes/ |
internal.h | 66 #define GETU32(pt) \ 67 (((uint32_t)(pt)[0] << 24) ^ ((uint32_t)(pt)[1] << 16) ^ \ 68 ((uint32_t)(pt)[2] << 8) ^ ((uint32_t)(pt)[3]))
|
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 88 if (!screen->is_format_supported(screen, stObj->pt->format, 89 stObj->pt->target, 94 psv = st_create_texture_sampler_view(pipe, stObj->pt); 146 struct pipe_resource *pt = st_get_texobj_resource(texObj); local 151 if (!pt) 156 assert(pt->nr_samples < 2); 169 if (pt->last_level < lastLevel) { 173 struct pipe_resource *oldTex = stObj->pt; 176 stObj->pt = st_texture_create(st, 202 pt = stObj->pt [all...] |
/external/opencv/cv/src/ |
cvsnakes.cpp | 56 // pt - pointer to snake points array 74 CvPoint * pt, 125 if( pt == NULL ) 177 int diffx = pt[i - 1].x - pt[i].x; 178 int diffy = pt[i - 1].y - pt[i].y; 182 ave_d += cvSqrt( (float) ((pt[0].x - pt[n - 1].x) * 183 (pt[0].x - pt[n - 1].x) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_texture.c | 205 struct pipe_resource *pt = &tex->b.b; local 207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) 213 if (pt->width0 >= 240) { 214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); 215 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); 218 } else if (pt->width0 == 64 && pt->height0 == 64) 240 struct pipe_resource *pt = &tex->b.b; local 271 struct pipe_resource *pt = &tex->b.b; local 297 struct pipe_resource *pt = &tex->b.b; local 334 struct pipe_resource *pt = &tex->b.b; local 362 struct pipe_resource *pt = &tex->b.b; local 437 struct pipe_resource *pt = &tex->b.b; local 500 struct pipe_resource *pt = &tex->b.b; local 555 struct pipe_resource *pt = &tex->b.b; local [all...] |
/external/lldb/test/lang/c/struct_types/ |
main.c | 21 struct point_tag pt = { 2, 3, {} }; // This is the first executable statement. local
|