/external/freetype/src/base/ |
D | fttrigon.c | 100 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm() argument 106 x = vec->x; in ft_trig_prenorm() 107 y = vec->y; in ft_trig_prenorm() 143 vec->x = x << shift; in ft_trig_prenorm() 144 vec->y = y << shift; in ft_trig_prenorm() 149 vec->x = x >> shift; in ft_trig_prenorm() 150 vec->y = y >> shift; in ft_trig_prenorm() 163 vec->x = x << shift; in ft_trig_prenorm() 164 vec->y = y << shift; in ft_trig_prenorm() 174 vec->x = x >> shift; in ft_trig_prenorm() [all …]
|
D | ftoutln.c | 152 FT_Vector vec; in FT_Outline_Decompose() local 155 vec.x = SCALED( point->x ); in FT_Outline_Decompose() 156 vec.y = SCALED( point->y ); in FT_Outline_Decompose() 159 vec.x / 64.0, vec.y / 64.0 )); in FT_Outline_Decompose() 160 error = func_interface->line_to( &vec, user ); in FT_Outline_Decompose() 173 FT_Vector vec; in FT_Outline_Decompose() local 181 vec.x = SCALED( point->x ); in FT_Outline_Decompose() 182 vec.y = SCALED( point->y ); in FT_Outline_Decompose() 188 vec.x / 64.0, vec.y / 64.0, in FT_Outline_Decompose() 190 error = func_interface->conic_to( &v_control, &vec, user ); in FT_Outline_Decompose() [all …]
|
D | ftbbox.c | 579 FT_Vector* vec; in FT_EXPORT_DEF() local 601 vec = outline->points; in FT_EXPORT_DEF() 602 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF() 603 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y; in FT_EXPORT_DEF() 604 vec++; in FT_EXPORT_DEF() 608 FT_Pos x = vec->x; in FT_EXPORT_DEF() 609 FT_Pos y = vec->y; in FT_EXPORT_DEF() 629 vec++; in FT_EXPORT_DEF()
|
D | ftstroke.c | 375 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_lineto() local 379 vec[0] = *to; in ft_stroke_border_lineto() 403 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_conicto() local 406 vec[0] = *control; in ft_stroke_border_conicto() 407 vec[1] = *to; in ft_stroke_border_conicto() 433 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_cubicto() local 437 vec[0] = *control1; in ft_stroke_border_cubicto() 438 vec[1] = *control2; in ft_stroke_border_cubicto() 439 vec[2] = *to; in ft_stroke_border_cubicto() 1762 FT_Vector vec; in FT_Stroker_ParseOutline() local [all …]
|
/external/quake/quake/src/QW/client/ |
D | cl_cam.c | 57 static void vectoangles(vec3_t vec, vec3_t ang) in vectoangles() argument 62 if (vec[1] == 0 && vec[0] == 0) in vectoangles() 65 if (vec[2] > 0) in vectoangles() 72 yaw = (int) (atan2(vec[1], vec[0]) * 180 / M_PI); in vectoangles() 76 forward = sqrt (vec[0]*vec[0] + vec[1]*vec[1]); in vectoangles() 77 pitch = (int) (atan2(vec[2], forward) * 180 / M_PI); in vectoangles() 151 static float Cam_TryFlyby(player_state_t *self, player_state_t *player, vec3_t vec, qboolean checkv… in Cam_TryFlyby() argument 157 vectoangles(vec, v); in Cam_TryFlyby() 160 VectorNormalize(vec); in Cam_TryFlyby() 161 VectorMA(player->origin, 800, vec, v); in Cam_TryFlyby() [all …]
|
/external/astl/tests/ |
D | test_vector.cpp | 366 vector<CtorDtorCounter> vec; in testResize() local 368 vec.resize(10); in testResize() 373 vec.resize(200); in testResize() 378 vec.resize(199); in testResize() 385 vec.resize(0); in testResize() 533 vector<int> vec; in testEraseElt() local 534 for (int i = 0; i < 20; ++i) vec.push_back(i); in testEraseElt() 537 pos = vec.erase(vec.begin() + 2); // removes '2' in testEraseElt() 540 pos = vec.erase(vec.begin() + 18); // removes '19' now @ pos 18 in testEraseElt() 541 EXPECT_TRUE(pos == vec.end()); // returns end() in testEraseElt() [all …]
|
/external/srec/srec/clib/ |
D | imeld_tr.c | 46 imeldata vec[MAX_DIMEN]; in linear_transform_frame() local 54 vec[ii] = 0; in linear_transform_frame() 56 vec[ii] += prep->matrix[ii][jj] * fram[jj]; in linear_transform_frame() 58 vec[ii] = (imeldata) SHIFT_DOWN((int)vec[ii], in linear_transform_frame() 66 fram[ii] = RANGE(vec[ii] + prep->offset[ii], 0, 255); in linear_transform_frame() 69 fram[ii] = RANGE(vec[ii], 0, 255); in linear_transform_frame() 74 fram[ii] = vec[ii]; in linear_transform_frame() 85 imeldata vec[MAX_DIMEN]; in inverse_transform_frame() local 96 vec[ii]= 0; in inverse_transform_frame() 98 vec[ii] += prep->invmat[ii][jj] * fram[jj]; in inverse_transform_frame() [all …]
|
/external/icu4c/i18n/ |
D | fphdlimp.cpp | 72 : iter(posIter), vec(NULL), status(_status) { in FieldPositionIteratorHandler() 74 vec = new UVector32(status); in FieldPositionIteratorHandler() 81 iter->setData(vec, status); in ~FieldPositionIteratorHandler() 84 vec = NULL; in ~FieldPositionIteratorHandler() 90 int32_t size = vec->size(); in addAttribute() 91 vec->addElement(id, status); in addAttribute() 92 vec->addElement(start, status); in addAttribute() 93 vec->addElement(limit, status); in addAttribute() 95 vec->setSize(size); in addAttribute() 103 int32_t i = vec->size(); in shiftLast() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | tst_badblocks.c | 68 static errcode_t create_test_list(blk_t *vec, badblocks_list *ret) in create_test_list() argument 79 for (i=0; vec[i]; i++) { in create_test_list() 80 retval = ext2fs_badblocks_list_add(bb, vec[i]); in create_test_list() 121 static void validate_test_seq(badblocks_list bb, blk_t *vec) in validate_test_seq() argument 125 for (i = 0; vec[i]; i += 2) { in validate_test_seq() 126 match = ext2fs_badblocks_list_test(bb, vec[i]); in validate_test_seq() 127 if (match == vec[i+1]) in validate_test_seq() 133 printf("\tblock %u is %s --- %s\n", vec[i], in validate_test_seq() 139 static void do_test_seq(badblocks_list bb, blk_t *vec) in do_test_seq() argument 143 for (i = 0; vec[i]; i += 2) { in do_test_seq() [all …]
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 237 FT_Vector* vec; in ft_smooth_render_generic() local 241 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic() 242 vec->x *= 3; in ft_smooth_render_generic() 245 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic() 246 vec->y *= 3; in ft_smooth_render_generic() 256 FT_Vector* vec; in ft_smooth_render_generic() local 260 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic() 261 vec->x /= 3; in ft_smooth_render_generic() 264 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic() 265 vec->y /= 3; in ft_smooth_render_generic()
|
D | ftgrays.c | 419 FT_Vector* vec = outline->points; in gray_compute_cbox() local 420 FT_Vector* limit = vec + outline->n_points; in gray_compute_cbox() 430 ras.min_ex = ras.max_ex = vec->x; in gray_compute_cbox() 431 ras.min_ey = ras.max_ey = vec->y; in gray_compute_cbox() 433 vec++; in gray_compute_cbox() 435 for ( ; vec < limit; vec++ ) in gray_compute_cbox() 437 TPos x = vec->x; in gray_compute_cbox() 438 TPos y = vec->y; in gray_compute_cbox() 1553 FT_Vector vec; in FT_Outline_Decompose() local 1556 vec.x = SCALED( point->x ); in FT_Outline_Decompose() [all …]
|
/external/svox/pico/lib/ |
D | picokdt.c | 2377 const picoos_uint8 *vec, in picokdt_dtPAMconstructInVec() argument 2386 vec[0], vec[1], vec[2], vec[3], vec[4], in picokdt_dtPAMconstructInVec() 2387 vec[5], vec[6], vec[7], vec[8], vec[9])); in picokdt_dtPAMconstructInVec() 2389 vec[10], vec[11], vec[12], vec[13], vec[14], in picokdt_dtPAMconstructInVec() 2390 vec[15], vec[16], vec[17], vec[18], vec[19])); in picokdt_dtPAMconstructInVec() 2392 vec[20], vec[21], vec[22], vec[23], vec[24], in picokdt_dtPAMconstructInVec() 2393 vec[25], vec[26], vec[27], vec[28], vec[29])); in picokdt_dtPAMconstructInVec() 2395 vec[30], vec[31], vec[32], vec[33], vec[34], in picokdt_dtPAMconstructInVec() 2396 vec[35], vec[36], vec[37], vec[38], vec[39])); in picokdt_dtPAMconstructInVec() 2398 vec[40], vec[41], vec[42], vec[43], vec[44], in picokdt_dtPAMconstructInVec() [all …]
|
/external/bzip2/ |
D | huffman.c | 158 Int32 n, vec, i; in BZ2_hbAssignCodes() local 160 vec = 0; in BZ2_hbAssignCodes() 163 if (length[i] == n) { code[i] = vec; vec++; }; in BZ2_hbAssignCodes() 164 vec <<= 1; in BZ2_hbAssignCodes() 178 Int32 pp, i, j, vec; in BZ2_hbCreateDecodeTables() local 191 vec = 0; in BZ2_hbCreateDecodeTables() 194 vec += (base[i+1] - base[i]); in BZ2_hbCreateDecodeTables() 195 limit[i] = vec-1; in BZ2_hbCreateDecodeTables() 196 vec <<= 1; in BZ2_hbCreateDecodeTables()
|
/external/chromium/net/tools/flip_server/ |
D | split.cc | 17 std::vector<base::StringPiece>* vec, in SplitStringPieceToVector() argument 19 vec->clear(); in SplitStringPieceToVector() 29 vec->push_back(base::StringPiece(s, e - s)); in SplitStringPieceToVector() 38 vec->push_back(base::StringPiece(s, e - s)); in SplitStringPieceToVector() 54 vec->push_back(base::StringPiece(s, e - s)); in SplitStringPieceToVector() 63 vec->push_back(base::StringPiece(s, e - s)); in SplitStringPieceToVector()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
D | IssuingDistributionPoint.java | 92 ASN1EncodableVector vec = new ASN1EncodableVector(); in IssuingDistributionPoint() local 95 vec.add(new DERTaggedObject(true, 0, distributionPoint)); in IssuingDistributionPoint() 100 vec.add(new DERTaggedObject(false, 1, DERBoolean.TRUE)); in IssuingDistributionPoint() 106 vec.add(new DERTaggedObject(false, 2, DERBoolean.TRUE)); in IssuingDistributionPoint() 111 vec.add(new DERTaggedObject(false, 3, onlySomeReasons)); in IssuingDistributionPoint() 116 vec.add(new DERTaggedObject(false, 4, DERBoolean.TRUE)); in IssuingDistributionPoint() 122 vec.add(new DERTaggedObject(false, 5, DERBoolean.TRUE)); in IssuingDistributionPoint() 126 seq = new DERSequence(vec); in IssuingDistributionPoint()
|
D | NameConstraints.java | 64 ASN1EncodableVector vec = new ASN1EncodableVector(); in createSequence() local 68 vec.add((GeneralSubtree)e.nextElement()); in createSequence() 71 return new DERSequence(vec); in createSequence()
|
/external/freetype/include/freetype/ |
D | fttrigon.h | 244 FT_Vector_Unit( FT_Vector* vec, 266 FT_Vector_Rotate( FT_Vector* vec, 288 FT_Vector_Length( FT_Vector* vec ); 312 FT_Vector_Polarize( FT_Vector* vec, 338 FT_Vector_From_Polar( FT_Vector* vec,
|
/external/kernel-headers/original/linux/sunrpc/ |
D | svc.h | 175 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check() local 176 return cp >= (char*)vec->iov_base in xdr_argsize_check() 177 && cp <= (char*)vec->iov_base + vec->iov_len; in xdr_argsize_check() 183 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check() local 186 vec->iov_len = cp - (char*)vec->iov_base; in xdr_ressize_check() 188 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check()
|
/external/qemu/distrib/zlib-1.2.3/ |
D | crc32.c | 69 unsigned long vec)); 342 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() argument 344 unsigned long vec; 349 while (vec) { 350 if (vec & 1) 352 vec >>= 1;
|
/external/chromium/third_party/zlib/ |
D | crc32.c | 69 unsigned long vec)); 342 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() argument 344 unsigned long vec; 349 while (vec) { 350 if (vec & 1) 352 vec >>= 1;
|
/external/qemu/target-arm/ |
D | neon_helper.c | 1303 neon_s8 vec; in HELPER() local 1304 NEON_UNPACK(neon_s8, vec, x); in HELPER() 1305 DO_QABS8(vec.v1); in HELPER() 1306 DO_QABS8(vec.v2); in HELPER() 1307 DO_QABS8(vec.v3); in HELPER() 1308 DO_QABS8(vec.v4); in HELPER() 1309 NEON_PACK(neon_s8, x, vec); in HELPER() 1323 neon_s8 vec; in HELPER() local 1324 NEON_UNPACK(neon_s8, vec, x); in HELPER() 1325 DO_QNEG8(vec.v1); in HELPER() [all …]
|
/external/quake/quake/src/WinQuake/ |
D | dos_v2.cpp | 109 int dos_int86(int vec) in dos_int86() argument 113 rc = _go32_dpmi_simulate_int(vec, (_go32_dpmi_registers *) ®s); in dos_int86() 117 int dos_int386(int vec, regs_t *inregs, regs_t *outregs) in dos_int386() argument 122 rc = _go32_dpmi_simulate_int(vec, (_go32_dpmi_registers *) outregs); in dos_int386()
|
/external/zlib/ |
D | crc32.c | 69 unsigned long vec)); 344 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() argument 346 unsigned long vec; 351 while (vec) { 352 if (vec & 1) 354 vec >>= 1;
|
/external/zlib/examples/ |
D | enough.c | 111 char *vec; /* allocated bit vector */ member 186 free(done[n].vec); in cleanup() 272 if (offset < length && (done[index].vec[offset] & bit) != 0) in beenhere() 284 vector = realloc(done[index].vec, length); in beenhere() 306 done[index].vec = vector; in beenhere() 310 done[index].vec[offset] |= bit; in beenhere()
|
/external/skia/src/utils/ |
D | SkCullPoints.cpp | 50 SkIPoint vec; in sect_test() local 53 vec.set(x1 - x0, y1 - y0); in sect_test() 54 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() 56 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) in sect_test()
|