Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 139) sorted by relevance

123456

/trunk/main/basegfx/source/workbench/
H A Dbezierclip.cxx123 const double dP2( calcLineDistance(line.a, line.b, line.c, c.p1.x, c.p1.y ) ); in Impl_calcFatLine()
201 Point2D p1; in Impl_calcSafeParams() local
387 …part1.p1.x = (1.0 - t)*part1.p0.x + t*input.p1.x; part1.p1.y = (1.0 - t)*part1.p0.y + t*input.p… in Impl_deCasteljauAt()
426 << c1.p1.y << "," in printCurvesWithSafeRange()
434 << c2.p1.y << "," in printCurvesWithSafeRange()
499 << c1.p1.y << "," in printResultWithFinalCurves()
518 << c1.p1.y << "," in printResultWithFinalCurves()
760 res.p1.x = c.p1.x - fRes[1]*(c.p1.y - c.p0.y) - 2*fRes[0]*(c.p2.y - c.p1.y); in Impl_calcFocus()
765 res.p1.y = c.p1.y + 2*fRes[0]*(c.p2.x - c.p1.x) + fRes[1]*(c.p1.x - c.p0.x); in Impl_calcFocus()
1608 poly[1] = c.p1; in main()
[all …]
H A Dconvexhull.cxx36 template <class PointType> double theta( const PointType& p1, const PointType& p2 ) in theta() argument
41 dx = p2.x - p1.x; ax = absval( dx ); in theta()
42 dy = p2.y - p1.y; ay = absval( dy ); in theta()
60 bool operator() ( const PointType& p1, const PointType& p2 ) in operator ()() argument
63 return theta(maRefPoint, p1) < theta(maRefPoint, p2); in operator ()()
76 … typename PointType::value_type ccw( const PointType& p0, const PointType& p1, const PointType& p2… in ccw() argument
80 typename PointType::value_type theta1( thetaCmp(p1) ); in ccw()
94 dx1 = p1.x - p0.x; dy1 = p1.y - p0.y; in ccw()
/trunk/main/tools/source/misc/
H A Dpathutils.cxx117 char p1[MAX_PATH]; in resolveLink() local
119 BOOL ok = ReadFile(h, p1, MAX_PATH, &n, NULL); in resolveLink()
128 unsigned char c = static_cast< unsigned char >(p1[i++]); in resolveLink()
149 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
150 static_cast< unsigned char >(p1[i]) <= 0xBF) in resolveLink()
153 (static_cast< unsigned char >(p1[i++]) & 0x3F); in resolveLink()
156 static_cast< unsigned char >(p1[i]) >= 0xA0 && in resolveLink()
159 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
162 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
169 (static_cast< unsigned char >(p1[i + 1]) & 0x3F); in resolveLink()
[all …]
/trunk/main/cli_ure/source/native/
H A Dpath.cxx117 char p1[MAX_PATH]; in resolveLink() local
119 BOOL ok = ReadFile(h, p1, MAX_PATH, &n, NULL); in resolveLink()
128 unsigned char c = static_cast< unsigned char >(p1[i++]); in resolveLink()
149 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
150 static_cast< unsigned char >(p1[i]) <= 0xBF) in resolveLink()
153 (static_cast< unsigned char >(p1[i++]) & 0x3F); in resolveLink()
156 static_cast< unsigned char >(p1[i]) >= 0xA0 && in resolveLink()
159 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
162 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
169 (static_cast< unsigned char >(p1[i + 1]) & 0x3F); in resolveLink()
[all …]
/trunk/main/oox/source/export/
H A Dpreset-definitions-to-shape-types.pl460 if ( $p1 ne "" ) {
461 $result .= " " . command_value( $p1 );
483 my $p1 = "", $p2 = "", $p3 = "";
485 $p1 = $1;
498 if ( $p1 eq "100000" ) {
499 $p1 = value( 'w' );
507 my $tmp = $p1;
508 $p1 = $p2;
519 $p1 = 1;
548 my $val = value( $p1 );
[all …]
/trunk/main/vcl/source/glyphs/
H A Dgcach_rbmp.cxx54 *(p1++) = *p2; in ImplRotate8_90()
56 *(p1++) = 0; in ImplRotate8_90()
72 *p2 = *p1; in ImplRotate8_180()
73 *(p1++) = cTmp; in ImplRotate8_180()
75 p1 += nPad; in ImplRotate8_180()
80 while( p1 < p2 ) in ImplRotate8_180()
83 *p2 = *p1; in ImplRotate8_180()
84 *(p1++) = cTmp; in ImplRotate8_180()
114 *(p1++) = (unsigned char)nTemp; in ImplRotate1_90()
118 *(p1++) = 0; in ImplRotate1_90()
[all …]
/trunk/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx869 p1 = p2 = pBuffer; in parseUNIX()
871 if (!((*p1 == '-') || (*p1 == 'd') || (*p1 == 'l'))) in parseUNIX()
875 if (*p1 == 'd') in parseUNIX()
878 if (*p1 == 'l') in parseUNIX()
882 while (*p1 && !ascii_isWhitespace(*p1)) { in parseUNIX()
883 if(*p1 == 'r') in parseUNIX()
887 p1++; in parseUNIX()
905 while (*p1 && ascii_isWhitespace(*p1)) in parseUNIX()
906 ++p1; in parseUNIX()
907 p2 = p1; in parseUNIX()
[all …]
H A Dftpurl.cxx172 *p1++ = ch; in parse()
173 *p1 = 0; in parse()
210 p1 = buffer; in parse()
212 *p1++ = ch; in parse()
213 *p1 = 0; in parse()
472 char *p1, *p2; in list() local
473 p1 = p2 = fwd; in list()
492 FTPDirectoryParser::parseDOS(aDirEntry,p1); in list()
495 FTPDirectoryParser::parseUNIX(aDirEntry,p1); in list()
498 FTPDirectoryParser::parseVMS(aDirEntry,p1); in list()
[all …]
/trunk/main/cppuhelper/inc/cppuhelper/
H A Dqueryinterface.hxx45 Interface1 * p1 ) in queryInterface() argument
49 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
65 Interface1 * p1, Interface2 * p2 ) in queryInterface() argument
69 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
89 Interface1 * p1, Interface2 * p2, Interface3 * p3 ) in queryInterface() argument
93 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
121 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
153 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
191 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
233 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
[all …]
/trunk/main/vcl/source/gdi/
H A Dpngread.cxx1095 p1 += mnBPP; in ImplApplyFilter()
1099 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1110 while( p1 < pScanEnd ) in ImplApplyFilter()
1112 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1113 ++p1; in ImplApplyFilter()
1126 *p1 = static_cast<sal_uInt8>( *p1 + (*p2 >> 1) ); in ImplApplyFilter()
1129 while( p1 < pScanEnd ) in ImplApplyFilter()
1132 ++p1; in ImplApplyFilter()
1146 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1171 *p1 = static_cast<sal_uInt8>( *p1 + na ); in ImplApplyFilter()
[all …]
/trunk/main/unotools/inc/unotools/
H A Dquerydeep.hxx79 Interface1 * p1 ) in queryDeepInterface() argument
82 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
96 Interface1 * p1, Interface2 * p2 ) in queryDeepInterface() argument
99 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
116 Interface1 * p1, Interface2 * p2, Interface3 * p3 ) in queryDeepInterface() argument
119 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
142 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
168 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
199 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
233 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
[all …]
/trunk/main/tools/source/fsys/
H A Durlobj.cxx324 ++p1; in compare()
771 && (pEnd - p1 == 2 || p1[2] == '/' || p1[2] == '\\')) in setAbsURIRef()
777 else if (pEnd - p1 >= 2 && p1[0] == '/' && p1[1] == '/') in setAbsURIRef()
779 p1 += 2; in setAbsURIRef()
781 && (p1 == pEnd || *p1 == '/')) in setAbsURIRef()
784 else if (p1 != pEnd && *p1 == '/') in setAbsURIRef()
795 p1 += 2; in setAbsURIRef()
797 p1, pEnd - p1, '\\'); in setAbsURIRef()
1204 while (p1 < pPos && *p1 != '@') in setAbsURIRef()
1205 ++p1; in setAbsURIRef()
[all …]
H A Ddirent.cxx1216 while ( p1 >= p0 && *p1 != cSep ) in GetExtension()
1217 p1--; in GetExtension()
1219 if ( p1 >= p0 ) in GetExtension()
1243 while ( p1 >= p0 && *p1 != cSep ) in GetBase()
1244 p1--; in GetBase()
1676 while ( p1 >= p0 && *p1 != cSep ) in SetExtension()
1677 p1--; in SetExtension()
1710 while ( p1 >= p0 && *p1 != cSep ) in CutExtension()
1711 p1--; in CutExtension()
1984 while ( p1 >= p0 && *p1 != cSep ) in SetBase()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdpoev.cxx651 (*pTrFunc)(aPos,&aC1,&aC2,p1,p2,p3,p4,p5); in ImpTransformMarkedPoints()
677 MovePoint(rPt,*(const Size*)p1); in ImpMove()
678 if (pC1!=NULL) MovePoint(*pC1,*(const Size*)p1); in ImpMove()
679 if (pC2!=NULL) MovePoint(*pC2,*(const Size*)p1); in ImpMove()
697 static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* p2, const voi… in ImpResize() argument
699 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
700 if (pC1!=NULL) ResizePoint(*pC1,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
701 if (pC2!=NULL) ResizePoint(*pC2,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
721 RotatePoint(rPt,*(const Point*)p1,*(const double*)p3,*(const double*)p4); in ImpRotate()
722 if (pC1!=NULL) RotatePoint(*pC1,*(const Point*)p1,*(const double*)p3,*(const double*)p4); in ImpRotate()
[all …]
H A Dsvdglev.cxx54 void SdrGlueEditView::ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, sal_Bool bConst, const void* p1, c… in ImpDoMarkedGluePoints() argument
82 (*pDoFunc)(rGP,pObj,p1,p2,p3,p4,p5); in ImpDoMarkedGluePoints()
318 void SdrGlueEditView::ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1, const void*… in ImpTransformMarkedGluePoints() argument
339 (*pTrFunc)(aPos,p1,p2,p3,p4,p5); in ImpTransformMarkedGluePoints()
352 static void ImpMove(Point& rPt, const void* p1, const void* /*p2*/, const void* /*p3*/, const void*… in ImpMove() argument
354 rPt.X()+=((const Size*)p1)->Width(); in ImpMove()
355 rPt.Y()+=((const Size*)p1)->Height(); in ImpMove()
371 static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*… in ImpResize() argument
373 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
389 static void ImpRotate(Point& rPt, const void* p1, const void* /*p2*/, const void* p3, const void* p… in ImpRotate() argument
[all …]
/trunk/main/vcl/source/fontsubset/
H A Dttcr.cxx832 sal_uInt8 *p1, *p2; in GetRawData_name() local
868 p1 = name + 6; in GetRawData_name()
869 p2 = p1 + 12 * n; in GetRawData_name()
876 PutUInt16(nr[i].slen, p1, 8, 1); in GetRawData_name()
881 p1 += 12; in GetRawData_name()
1389 sal_uInt8 *p1, *p2; in ProcessTables() local
1452 p1 = glyfPtr; in ProcessTables()
1502 p1 += gd->nbytes; in ProcessTables()
1569 p1 = hmtxPtr; in ProcessTables()
1575 p1 += 4; in ProcessTables()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/
H A D_XArrayFormulaRange.java157 int p1 = 0, p2 = 0 ; in equalIgnoreSpaces() local
160 while (p1 < s1.length() && p2 < s2.length()) { in equalIgnoreSpaces()
161 while (s1.charAt(p1) == ' ') p1 ++ ; in equalIgnoreSpaces()
163 if (s1.charAt(p1) != s2.charAt(p2)) return false ; in equalIgnoreSpaces()
164 p1 ++ ; in equalIgnoreSpaces()
168 return p1 == s1.length() && p2 == s2.length() ; in equalIgnoreSpaces()
H A D_XDocumentAuditing.java161 Point p1 = pos; in _refreshArrows() local
164 boolean res = (p0.X == p1.X && p0.Y == p1.Y); in _refreshArrows()
175 res = (p1.X != p2.X || p1.Y != p2.Y); in _refreshArrows()
/trunk/main/odk/examples/DevelopersGuide/UCB/
H A DMyInputStream.java122 public synchronized int readBytes(byte[][] p0, int p1) in readBytes() argument
130 if ( p1 > bigbuffer.length - read ) in readBytes()
133 available = p1; in readBytes()
135 p0[0] = new byte[p1]; in readBytes()
155 public synchronized int readSomeBytes(byte[][] p0, int p1) in readSomeBytes() argument
160 return readBytes( p0,p1 ); in readSomeBytes()
/trunk/main/sc/source/core/tool/
H A Dtoken.cxx580 ScToken *p1 = static_cast<ScToken*>(&rTok1); in ExtendRangeReference() local
613 aRef.Ref1 = aRef.Ref2 = p1->GetSingleRef(); in ExtendRangeReference()
617 xRes = new ScExternalDoubleRefToken( p1->GetIndex(), p1->GetString(), aRef); in ExtendRangeReference()
627 xRes = (bReuseDoubleRef && p1->GetRef() == 1 ? p1 : static_cast<ScToken*>(p1->Clone())); in ExtendRangeReference()
636 pRefList = p1->GetRefList(); in ExtendRangeReference()
650 ScToken* pt[2] = { p1, p2 }; in ExtendRangeReference()
1037 const sal_Unicode* p1 = maName.GetBuffer(); in operator ==() local
1041 if (p1[j] != p2[j]) in operator ==()
1585 FormulaToken *p1, *p2, *p3; // ref, ocRange, ref in MergeRangeReference() local
1589 ((p1 = PeekPrev(nIdx)) != 0)) in MergeRangeReference()
[all …]
H A Dprnsave.cxx72 inline sal_Bool PtrEqual( const ScRange* p1, const ScRange* p2 ) in PtrEqual() argument
74 return ( !p1 && !p2 ) || ( p1 && p2 && *p1 == *p2 ); in PtrEqual()
/trunk/main/odk/examples/java/Spreadsheet/
H A DCalcAddins.java176 public String getProgrammaticCategoryName(String p1) { in getProgrammaticCategoryName() argument
180 public String getDisplayCategoryName(String p1) { in getDisplayCategoryName() argument
230 public String getProgrammaticFuntionName(String p1) { in getProgrammaticFuntionName() argument
239 public void setLocale(Locale p1) { in setLocale() argument
240 aFuncLoc = p1; in setLocale()
/trunk/main/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/
H A DConnectionAwareClient.java61 Panel p1 = new Panel(); in ConnectionAwareClient() local
68 p1.add( _btnWriter ); in ConnectionAwareClient()
69 p1.add( _btnCalc ); in ConnectionAwareClient()
70 p1.add( _txtLabel ); in ConnectionAwareClient()
82 add( p1 ); in ConnectionAwareClient()
/trunk/main/sot/source/sdstor/
H A Dstg.cxx762 BaseStorage* p1 = OpenStorage( rElem, INTERNAL_MODE ); in CopyTo() local
770 p2->SetClassId( p1->GetClassId() ); in CopyTo()
771 p1->CopyTo( p2 ); in CopyTo()
772 SetError( p1->GetError() ); in CopyTo()
784 delete p1; in CopyTo()
791 BaseStorageStream* p1 = OpenStream( rElem, INTERNAL_MODE ); in CopyTo() local
799 p1->CopyTo( p2 ); in CopyTo()
800 SetError( p1->GetError() ); in CopyTo()
812 delete p1; in CopyTo()
/trunk/main/canvas/source/tools/
H A Dsurface.cxx179 const ::basegfx::B2DPoint& p1(aTransform * ::basegfx::B2DPoint(0.0,maSize.getY())); in draw() local
203 vertex.x=static_cast<float>(p1.getX()); vertex.y=static_cast<float>(p1.getY()); in draw()
305 const ::basegfx::B2DPoint& p1(aTransform * ::basegfx::B2DPoint(0.0, aSize.getY())); in drawRectangularArea() local
329 vertex.x=static_cast<float>(p1.getX()); vertex.y=static_cast<float>(p1.getY()); in drawRectangularArea()

Completed in 237 milliseconds

123456