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()
145 leftTop.x = ::std::min( c1.p0.x, ::std::min( c1.p1.x, ::std::min( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds()
146 leftTop.y = ::std::min( c1.p0.y, ::std::min( c1.p1.y, ::std::min( c1.p2.y, c1.p3.y ) ) ); in Impl_calcBounds()
147 rightBottom.x = ::std::max( c1.p0.x, ::std::max( c1.p1.x, ::std::max( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds()
148 rightBottom.y = ::std::max( c1.p0.y, ::std::max( c1.p1.y, ::std::max( c1.p2.y, c1.p3.y ) ) ); in Impl_calcBounds()
201 Point2D p1; in Impl_calcSafeParams() local
214 p1 = convHull[0]; in Impl_calcSafeParams()
219 p1 = convHull[i+1]; in Impl_calcSafeParams()
228 if( (tolLessEqual(p0.y, upperYBound) || tolLessEqual(p1.y, upperYBound)) && in Impl_calcSafeParams()
229 (tolGreaterEqual(p0.y, lowerYBound) || tolGreaterEqual(p1.y, lowerYBound)) ) in Impl_calcSafeParams()
[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/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()
157 static_cast< unsigned char >(p1[i]) <= 0xBF) || in resolveLink()
159 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
160 static_cast< unsigned char >(p1[i]) <= 0xBF) || in resolveLink()
[all …]
/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()
157 static_cast< unsigned char >(p1[i]) <= 0xBF) || in resolveLink()
159 static_cast< unsigned char >(p1[i]) >= 0x80 && in resolveLink()
160 static_cast< unsigned char >(p1[i]) <= 0xBF) || in resolveLink()
[all …]
/trunk/main/oox/source/export/
H A Dpreset-definitions-to-shape-types.pl457 my ( $name, $command, $p1, $p2, $p3 ) = @_;
460 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' );
501 insert_formula_params( $name, "sum", $p1, $p2, $p3 );
505 if ( ( $p2 =~ /^(w|h|ss|hd2|wd2|vc)$/ ) && defined( $variables{$p1} ) ) {
507 my $tmp = $p1;
[all …]
/trunk/main/vcl/source/glyphs/
H A Dgcach_rbmp.cxx48 static void ImplRotate8_90( unsigned char* p1, const unsigned char* p2, in ImplRotate8_90() argument
54 *(p1++) = *p2; in ImplRotate8_90()
56 *(p1++) = 0; in ImplRotate8_90()
63 static void ImplRotate8_180( unsigned char* p1, int xmax, int ymax, int nPad ) in ImplRotate8_180() argument
65 unsigned char* p2 = p1 + ymax * (xmax + nPad); in ImplRotate8_180()
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()
[all …]
/trunk/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx868 const sal_Char *p1, *p2; in parseUNIX() local
869 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()
885 else if(*p1 == 'w') in parseUNIX()
887 p1++; in parseUNIX()
903 for (eMode = FOUND_NONE; *p1 && eMode != FOUND_YEAR_TIME; p1 = p2 + 1) in parseUNIX()
[all …]
H A Dftpurl.cxx170 char *p1 = buffer; // determine "username:password@host:port" in parse() local
172 *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()
[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()
117 Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 ) in queryInterface() argument
121 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
149 Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 ) in queryInterface() argument
153 return ::com::sun::star::uno::Any( &p1, rType ); in queryInterface()
[all …]
/trunk/main/vcl/source/gdi/
H A Dpngread.cxx1091 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter() local
1092 const sal_uInt8* p2 = p1; in ImplApplyFilter()
1093 p1 += mnBPP; in ImplApplyFilter()
1097 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1098 while( ++p1 < pScanEnd ); in ImplApplyFilter()
1104 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter() local
1108 while( p1 < pScanEnd ) in ImplApplyFilter()
1110 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1111 ++p1; in ImplApplyFilter()
1118 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter() local
[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()
139 Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 ) in queryDeepInterface() argument
142 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
165 Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 ) in queryDeepInterface() argument
168 return ::com::sun::star::uno::Any( &p1, rType ); in queryDeepInterface()
[all …]
/trunk/main/tools/source/fsys/
H A Durlobj.cxx315 sal_Unicode const * p1 = rThisString.getStr() + m_nBegin; in compare() local
316 sal_Unicode const * end = p1 + len; in compare()
318 while (p1 != end) { in compare()
319 if (*p1 < *p2) { in compare()
321 } else if (*p1 > *p2) { in compare()
324 ++p1; in compare()
766 sal_Unicode const * p1 = pPos; in setAbsURIRef() local
768 && pEnd - p1 >= 2 in setAbsURIRef()
769 && INetMIME::isAlpha(p1[0]) in setAbsURIRef()
770 && p1[1] == ':' in setAbsURIRef()
[all …]
H A Ddirent.cxx1215 const char *p1 = p0 + aName.Len() - 1; in GetExtension() local
1216 while ( p1 >= p0 && *p1 != cSep ) in GetExtension()
1217 p1--; in GetExtension()
1219 if ( p1 >= p0 ) in GetExtension()
1222 aName.Copy( static_cast< xub_StrLen >(p1 - p0 + 1) ), in GetExtension()
1242 const char *p1 = p0 + aName.Len() - 1; in GetBase() local
1243 while ( p1 >= p0 && *p1 != cSep ) in GetBase()
1244 p1--; in GetBase()
1246 if ( p1 >= p0 ) in GetBase()
1249 aName.Copy( 0, static_cast< xub_StrLen >(p1 - p0) ), in GetBase()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdpoev.cxx598 void SdrPolyEditView::ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* p1, const void* p2,… in ImpTransformMarkedPoints() argument
649 (*pTrFunc)(aPos,&aC1,&aC2,p1,p2,p3,p4,p5); in ImpTransformMarkedPoints()
673 static void ImpMove(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* /*p2*/, const v… in ImpMove() argument
675 MovePoint(rPt,*(const Size*)p1); in ImpMove()
676 if (pC1!=NULL) MovePoint(*pC1,*(const Size*)p1); in ImpMove()
677 if (pC2!=NULL) MovePoint(*pC2,*(const Size*)p1); in ImpMove()
695 static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* p2, const voi… in ImpResize() argument
697 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
698 if (pC1!=NULL) ResizePoint(*pC1,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
699 if (pC2!=NULL) ResizePoint(*pC2,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
[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()
872 PutUInt16(nr[i].platformID, p1, 0, 1); in GetRawData_name()
873 PutUInt16(nr[i].encodingID, p1, 2, 1); in GetRawData_name()
874 PutUInt16(nr[i].languageID, p1, 4, 1); in GetRawData_name()
875 PutUInt16(nr[i].nameID, p1, 6, 1); in GetRawData_name()
876 PutUInt16(nr[i].slen, p1, 8, 1); in GetRawData_name()
877 PutUInt16((sal_uInt16)(p2 - (name + 6 + 12 * n)), p1, 10, 1); in GetRawData_name()
881 p1 += 12; in GetRawData_name()
[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()

123456