Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/external/yaffs2/yaffs2/
Dyaffs_packedtags2.c46 static void yaffs_DumpPackedTags2(const yaffs_PackedTags2 * pt) in yaffs_DumpPackedTags2() argument
50 pt->t.objectId, pt->t.chunkId, pt->t.byteCount, in yaffs_DumpPackedTags2()
51 pt->t.sequenceNumber)); in yaffs_DumpPackedTags2()
66 void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t) in yaffs_PackTags2() argument
68 pt->t.chunkId = t->chunkId; in yaffs_PackTags2()
69 pt->t.sequenceNumber = t->sequenceNumber; in yaffs_PackTags2()
70 pt->t.byteCount = t->byteCount; in yaffs_PackTags2()
71 pt->t.objectId = t->objectId; in yaffs_PackTags2()
76 pt->t.chunkId = EXTRA_HEADER_INFO_FLAG in yaffs_PackTags2()
79 pt->t.chunkId |= EXTRA_SHRINK_FLAG; in yaffs_PackTags2()
[all …]
Dyaffs_packedtags1.c4 void yaffs_PackTags1(yaffs_PackedTags1 * pt, const yaffs_ExtendedTags * t) in yaffs_PackTags1() argument
6 pt->chunkId = t->chunkId; in yaffs_PackTags1()
7 pt->serialNumber = t->serialNumber; in yaffs_PackTags1()
8 pt->byteCount = t->byteCount; in yaffs_PackTags1()
9 pt->objectId = t->objectId; in yaffs_PackTags1()
10 pt->ecc = 0; in yaffs_PackTags1()
11 pt->deleted = (t->chunkDeleted) ? 0 : 1; in yaffs_PackTags1()
12 pt->unusedStuff = 0; in yaffs_PackTags1()
13 pt->shouldBeFF = 0xFFFFFFFF; in yaffs_PackTags1()
17 void yaffs_UnpackTags1(yaffs_ExtendedTags * t, const yaffs_PackedTags1 * pt) in yaffs_UnpackTags1() argument
[all …]
/external/quake/quake/src/QW/gas2masm/
Dgas2masm.c106 char *pt; in emitanoperand() local
109 pt = tokens[tnum]; in emitanoperand()
111 if (pt[0] == '%') in emitanoperand()
116 if (!strcmpi (pt, reglist[i].text)) in emitanoperand()
123 fprintf (stderr, "Error: bad register %s\n", pt); in emitanoperand()
126 else if (pt[0] == '$') in emitanoperand()
129 if (pt[1] == '(') in emitanoperand()
131 if ((pt[2] > '9') || (pt[2] < '0')) in emitanoperand()
138 while ((pt[i] != ')') || (parencount > 1)) in emitanoperand()
140 if (!pt[i]) in emitanoperand()
[all …]
/external/quake/quake/src/WinQuake/gas2masm/
Dgas2masm.c106 char *pt; in emitanoperand() local
109 pt = tokens[tnum]; in emitanoperand()
111 if (pt[0] == '%') in emitanoperand()
116 if (!strcmpi (pt, reglist[i].text)) in emitanoperand()
123 fprintf (stderr, "Error: bad register %s\n", pt); in emitanoperand()
126 else if (pt[0] == '$') in emitanoperand()
129 if (pt[1] == '(') in emitanoperand()
131 if ((pt[2] > '9') || (pt[2] < '0')) in emitanoperand()
138 while ((pt[i] != ')') || (parencount > 1)) in emitanoperand()
140 if (!pt[i]) in emitanoperand()
[all …]
/external/opencv/cv/src/
Dcvsnakes.cpp74 CvPoint * pt, in icvSnake8uC1R() argument
125 if( pt == NULL ) in icvSnake8uC1R()
177 int diffx = pt[i - 1].x - pt[i].x; in icvSnake8uC1R()
178 int diffy = pt[i - 1].y - pt[i].y; in icvSnake8uC1R()
182 ave_d += cvSqrt( (float) ((pt[0].x - pt[n - 1].x) * in icvSnake8uC1R()
183 (pt[0].x - pt[n - 1].x) + in icvSnake8uC1R()
184 (pt[0].y - pt[n - 1].y) * (pt[0].y - pt[n - 1].y))); in icvSnake8uC1R()
204 int left = MIN( pt[i].x, win.width >> 1 ); in icvSnake8uC1R()
205 int right = MIN( roi.width - 1 - pt[i].x, win.width >> 1 ); in icvSnake8uC1R()
206 int upper = MIN( pt[i].y, win.height >> 1 ); in icvSnake8uC1R()
[all …]
Dcvsubdivision2d.cpp91 memset( edge->pt, 0, sizeof( edge->pt )); in cvSubdiv2DMakeEdge()
109 cvSubdiv2DAddPoint( CvSubdiv2D * subdiv, CvPoint2D32f pt, int is_virtual ) in cvSubdiv2DAddPoint() argument
117 subdiv_point->pt = pt; in cvSubdiv2DAddPoint()
155 quadedge->pt[edge & 3] = org_pt; in cvSubdiv2DSetEdgePoints()
156 quadedge->pt[(edge + 2) & 3] = dst_pt; in cvSubdiv2DSetEdgePoints()
240 icvIsRightOf( CvPoint2D32f& pt, CvSubdiv2DEdge edge ) in icvIsRightOf() argument
244 cw_area.f = (float)cvTriangleArea( pt, dst->pt, org->pt ); in icvIsRightOf()
251 cvSubdiv2DLocate( CvSubdiv2D * subdiv, CvPoint2D32f pt, in cvSubdiv2DLocate() argument
280 if( pt.x < subdiv->topleft.x || pt.y < subdiv->topleft.y || in cvSubdiv2DLocate()
281 pt.x >= subdiv->bottomright.x || pt.y >= subdiv->bottomright.y ) in cvSubdiv2DLocate()
[all …]
Dcvgeometry.cpp87 cvBoxPoints( CvBox2D box, CvPoint2D32f pt[4] ) in cvBoxPoints()
97 if( !pt ) in cvBoxPoints()
100 pt[0].x = box.center.x - a*box.size.height - b*box.size.width; in cvBoxPoints()
101 pt[0].y = box.center.y + b*box.size.height - a*box.size.width; in cvBoxPoints()
102 pt[1].x = box.center.x + a*box.size.height - b*box.size.width; in cvBoxPoints()
103 pt[1].y = box.center.y - b*box.size.height - a*box.size.width; in cvBoxPoints()
104 pt[2].x = 2*box.center.x - pt[0].x; in cvBoxPoints()
105 pt[2].y = 2*box.center.y - pt[0].y; in cvBoxPoints()
106 pt[3].x = 2*box.center.x - pt[1].x; in cvBoxPoints()
107 pt[3].y = 2*box.center.y - pt[1].y; in cvBoxPoints()
[all …]
Dcvcalibinit.cpp101 CvPoint2D32f pt; // Coordinates of the corner member
347 pt1 = quads[i].corners[k]->pt; in cvFindChessboardCorners()
348 pt2 = quads[i].corners[(k+1)%4]->pt; in cvFindChessboardCorners()
403 pt1 = quads[i].corners[k]->pt; in cvFindChessboardCorners()
404 pt2 = quads[i].corners[(k+1)%4]->pt; in cvFindChessboardCorners()
435 out_corners[i] = corner_group[i]->pt; in cvFindChessboardCorners()
807 CvPoint2D32f pt = quad->corners[i]->pt; in icvAddOuterQuad() local
809 float dx = pt.x - quad->corners[j]->pt.x; in icvAddOuterQuad()
810 float dy = pt.y - quad->corners[j]->pt.y; in icvAddOuterQuad()
814 pt = quad->corners[k]->pt; in icvAddOuterQuad()
[all …]
Dcvdominants.cpp45 CvPoint pt; member
106 CV_READ_CHAIN_POINT( ptInf[i].pt, reader ); in icvFindDominantPointsIPAN()
117 CV_READ_SEQ_ELEM( ptInf[i].pt, reader ); in icvFindDominantPointsIPAN()
158 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); in icvFindDominantPointsIPAN()
159 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); in icvFindDominantPointsIPAN()
182 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); in icvFindDominantPointsIPAN()
183 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); in icvFindDominantPointsIPAN()
207 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); in icvFindDominantPointsIPAN()
208 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); in icvFindDominantPointsIPAN()
236 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); in icvFindDominantPointsIPAN()
[all …]
Dcvapprox.cpp49 CvPoint pt; member
78 CvPoint pt = chain->origin; in icvApproximateChainTC89() local
97 CV_WRITE_SEQ_ELEM( pt, writer ); in icvApproximateChainTC89()
125 CV_READ_CHAIN_POINT( pt, reader ); in icvApproximateChainTC89()
134 CV_WRITE_SEQ_ELEM( pt, writer ); in icvApproximateChainTC89()
142 array[i].pt = pt; in icvApproximateChainTC89()
166 pt0 = array[i].pt; in icvApproximateChainTC89()
183 dx = array[i2].pt.x - array[i1].pt.x; in icvApproximateChainTC89()
184 dy = array[i2].pt.y - array[i1].pt.y; in icvApproximateChainTC89()
190 dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; in icvApproximateChainTC89()
[all …]
Dcvcontours.cpp71 reader->pt = chain->origin; in cvStartReadChainPoints()
89 CvPoint pt = { 0, 0 }; in cvReadChainPoint() local
98 pt = reader->pt; in cvReadChainPoint()
114 reader->pt.x = pt.x + icvCodeDeltas[code].x; in cvReadChainPoint()
115 reader->pt.y = pt.y + icvCodeDeltas[code].y; in cvReadChainPoint()
120 return pt; in cvReadChainPoint()
160 CvPoint pt; /* current scanner position */ member
240 scanner->pt.x = scanner->pt.y = 1; in cvStartFindContours()
532 CvPoint pt, in icvFetchContour() argument
553 ((CvChain *) contour)->origin = pt; in icvFetchContour()
[all …]
/external/stlport/src/
Dnum_put_float.cpp216 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf) in _Stl_ecvtR() argument
217 { return ecvtbuf(x, n, pt, sign, buf); } in _Stl_ecvtR()
218 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf) in _Stl_fcvtR() argument
219 { return fcvtbuf(x, n, pt, sign, buf); } in _Stl_fcvtR()
224 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf) in _Stl_ecvtR() argument
225 { return ecvtbuf(x, n, pt, sign, buf); } in _Stl_ecvtR()
226 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf) in _Stl_fcvtR() argument
227 { return fcvtbuf(x, n, pt, sign, buf); } in _Stl_fcvtR()
231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR()
[all …]
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_cipher.h345 int (*ecb_encrypt)(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
352 int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
377 …int (*accel_ecb_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetr…
386 …int (*accel_ecb_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetr…
396 …int (*accel_cbc_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne…
406 …int (*accel_cbc_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigne…
417 …int (*accel_ctr_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne…
428 …int (*accel_lrw_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne…
439 …int (*accel_lrw_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigne…
462 unsigned char *pt, unsigned long ptlen,
[all …]
/external/dropbear/libtomcrypt/src/ciphers/
Dskipjack.c144 static int _skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _skipjack_ecb_encrypt() argument
146 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _skipjack_ecb_encrypt()
152 LTC_ARGCHK(pt != NULL); in _skipjack_ecb_encrypt()
157 w1 = ((unsigned)pt[0]<<8)|pt[1]; in _skipjack_ecb_encrypt()
158 w2 = ((unsigned)pt[2]<<8)|pt[3]; in _skipjack_ecb_encrypt()
159 w3 = ((unsigned)pt[4]<<8)|pt[5]; in _skipjack_ecb_encrypt()
160 w4 = ((unsigned)pt[6]<<8)|pt[7]; in _skipjack_ecb_encrypt()
192 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in skipjack_ecb_encrypt() argument
194 int err = _skipjack_ecb_encrypt(pt, ct, skey); in skipjack_ecb_encrypt()
208 static int _skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _skipjack_ecb_decrypt() argument
[all …]
Drc2.c131 static int _rc2_ecb_encrypt( const unsigned char *pt, in _rc2_ecb_encrypt() argument
135 int rc2_ecb_encrypt( const unsigned char *pt, in _rc2_ecb_encrypt()
143 LTC_ARGCHK(pt != NULL); in _rc2_ecb_encrypt()
149 x76 = ((unsigned)pt[7] << 8) + (unsigned)pt[6]; in _rc2_ecb_encrypt()
150 x54 = ((unsigned)pt[5] << 8) + (unsigned)pt[4]; in _rc2_ecb_encrypt()
151 x32 = ((unsigned)pt[3] << 8) + (unsigned)pt[2]; in _rc2_ecb_encrypt()
152 x10 = ((unsigned)pt[1] << 8) + (unsigned)pt[0]; in _rc2_ecb_encrypt()
188 int rc2_ecb_encrypt( const unsigned char *pt, in rc2_ecb_encrypt() argument
192 int err = _rc2_ecb_encrypt(pt, ct, skey); in rc2_ecb_encrypt()
210 unsigned char *pt, in _rc2_ecb_decrypt() argument
[all …]
Drc6.c123 static int _rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc6_ecb_encrypt() argument
125 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc6_ecb_encrypt()
132 LTC_ARGCHK(pt != NULL); in _rc6_ecb_encrypt()
134 LOAD32L(a,&pt[0]);LOAD32L(b,&pt[4]);LOAD32L(c,&pt[8]);LOAD32L(d,&pt[12]); in _rc6_ecb_encrypt()
162 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in rc6_ecb_encrypt() argument
164 int err = _rc6_ecb_encrypt(pt, ct, skey); in rc6_ecb_encrypt()
177 static int _rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc6_ecb_decrypt() argument
179 int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc6_ecb_decrypt()
186 LTC_ARGCHK(pt != NULL); in _rc6_ecb_decrypt()
212 STORE32L(a,&pt[0]);STORE32L(b,&pt[4]);STORE32L(c,&pt[8]);STORE32L(d,&pt[12]); in _rc6_ecb_decrypt()
[all …]
Dnoekeon.c113 static int _noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt() argument
115 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt()
122 LTC_ARGCHK(pt != NULL); in _noekeon_ecb_encrypt()
125 LOAD32H(a,&pt[0]); LOAD32H(b,&pt[4]); in _noekeon_ecb_encrypt()
126 LOAD32H(c,&pt[8]); LOAD32H(d,&pt[12]); in _noekeon_ecb_encrypt()
151 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in noekeon_ecb_encrypt() argument
153 int err = _noekeon_ecb_encrypt(pt, ct, skey); in noekeon_ecb_encrypt()
167 static int _noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt() argument
169 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt()
176 LTC_ARGCHK(pt != NULL); in _noekeon_ecb_decrypt()
[all …]
/external/llvm/docs/
Dllvm.css17 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; }
44 text-align: left; font-size: 12pt;
45 padding: 4pt 4pt 4pt 4pt;
50 border-bottom: 1px solid #999999; font-size: 12pt;
53 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
54 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_syswm.cc49 BPoint pt; in BE_GrabInput() local
52 pt.x = x; in BE_GrabInput()
53 pt.y = y; in BE_GrabInput()
55 SDL_Win->ConvertToScreen(&pt); in BE_GrabInput()
57 set_mouse_position((int)pt.x, (int)pt.y); in BE_GrabInput()
65 BPoint pt; in BE_GrabInput() local
66 pt.x = (SDL_VideoSurface->w/2); in BE_GrabInput()
67 pt.y = (SDL_VideoSurface->h/2); in BE_GrabInput()
69 SDL_Win->ConvertToScreen(&pt); in BE_GrabInput()
71 set_mouse_position((int)pt.x, (int)pt.y); in BE_GrabInput()
/external/libvpx/vp8/encoder/
Dtokenize.c107 int pt; /* near block/prev token context index */ in tokenize2nd_order_b() local
113 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l); in tokenize2nd_order_b()
133 t->context_tree = cpi->common.fc.coef_probs [type] [band] [pt]; in tokenize2nd_order_b()
135 t->skip_eob_node = pt == 0 && ((band > 0 && type > 0) || (band > 1 && type == 0)); in tokenize2nd_order_b()
137 ++cpi->coef_counts [type] [band] [pt] [x]; in tokenize2nd_order_b()
139 while (pt = vp8_prev_token_class[x], ++t, c < eob && ++c < 16); in tokenize2nd_order_b()
142 pt = (c != !type); /* 0 <-> all coeff data is zero */ in tokenize2nd_order_b()
143 *a = *l = pt; in tokenize2nd_order_b()
158 int pt; /* near block/prev token context index */ in tokenize1st_order_b() local
164 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l); in tokenize1st_order_b()
[all …]
/external/opencv/cvaux/src/
Dcvsubdiv2.cpp131 CvSubdiv2DPoint *pt = cvSubdiv2DEdgeOrg( t ); in draw_subdiv_facet() local
133 if( !pt ) in draw_subdiv_facet()
135 assert( fabs( pt->pt.x ) < 10000 && fabs( pt->pt.y ) < 10000 ); in draw_subdiv_facet()
136 buf[i] = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y )); in draw_subdiv_facet()
142 CvSubdiv2DPoint *pt = cvSubdiv2DEdgeDst( cvSubdiv2DRotateEdge( edge, 1 )); in draw_subdiv_facet() local
143 CvPoint ip = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y )); in draw_subdiv_facet()
/external/llvm/docs/CommandGuide/
Dmanpage.css7 blockquote { margin: 10pt; }
15 color: #ff6600; font-size: 10pt;
19 color: #ffffff; font-size: 10pt;
31 color: #336699; font-size: 11pt;
35 color: #336699; font-size: 12pt;
39 color: #000000; font-size: 9pt;
46 color: #336699; font-size: 18pt;
71 font-size: 10pt;
75 color: #000000; font-size: 9pt; font-style: italic;
82 .meerkatDescription { font-family: sans-serif; font-size: 10pt; color: black }
[all …]
/external/clang/docs/tools/
Dmanpage.css7 blockquote { margin: 10pt; }
15 color: #ff6600; font-size: 10pt;
19 color: #ffffff; font-size: 10pt;
31 color: #336699; font-size: 11pt;
35 color: #336699; font-size: 12pt;
39 color: #000000; font-size: 9pt;
46 color: #336699; font-size: 18pt;
71 font-size: 10pt;
75 color: #000000; font-size: 9pt; font-style: italic;
82 .meerkatDescription { font-family: sans-serif; font-size: 10pt; color: black }
[all …]
/external/llvm/docs/CommandGuide/html/
Dmanpage.css7 blockquote { margin: 10pt; }
15 color: #ff6600; font-size: 10pt;
19 color: #ffffff; font-size: 10pt;
31 color: #336699; font-size: 11pt;
35 color: #336699; font-size: 12pt;
39 color: #000000; font-size: 9pt;
46 color: #336699; font-size: 18pt;
71 font-size: 10pt;
75 color: #000000; font-size: 9pt; font-style: italic;
82 .meerkatDescription { font-family: sans-serif; font-size: 10pt; color: black }
[all …]
/external/openssh/openbsd-compat/
Dgetcwd.c52 getcwd(char *pt, size_t size) in getcwd() argument
72 if (pt) { in getcwd()
78 ept = pt + size; in getcwd()
80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd()
82 ept = pt + ptsize; in getcwd()
124 memmove(pt, bpt, ept - bpt); in getcwd()
126 return (pt); in getcwd()
190 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd()
199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd()
201 bpt = npt + (bpt - pt); in getcwd()
[all …]

12345678910>>...24