/aoo41x/main/basegfx/source/workbench/ |
H A D | bezierclip.cxx | 124 const double dP3( calcLineDistance(line.a, line.b, line.c, c.p2.x, c.p2.y ) ); in Impl_calcFatLine() 391 …part2.p2.x = (1.0 - t)*input.p2.x + t*input.p3.x; part2.p2.y = (1.0 - t)*input.p2.y + t*input.… in Impl_deCasteljauAt() 427 << c1.p2.y << "," in printCurvesWithSafeRange() 435 << c2.p2.y << "," in printCurvesWithSafeRange() 500 << c1.p2.y << "," in printResultWithFinalCurves() 519 << c1.p2.y << "," in printResultWithFinalCurves() 531 << c1.p2.y << "," in printResultWithFinalCurves() 761 res.p2.x = c.p2.x - 2*fRes[1]*(c.p2.y - c.p1.y) - fRes[0]*(c.p3.y - c.p2.y); in Impl_calcFocus() 766 res.p2.y = c.p2.y + fRes[0]*(c.p3.x - c.p2.x) + 2*fRes[1]*(c.p2.x - c.p1.x); in Impl_calcFocus() 1609 poly[2] = c.p2; in main() [all …]
|
H A D | convexhull.cxx | 36 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 …value_type ccw( const PointType& p0, const PointType& p1, const PointType& p2, CmpFunctor& thetaCm… in ccw() argument 81 typename PointType::value_type theta2( thetaCmp(p2) ); in ccw() 95 dx2 = p2.x - p0.x; dy2 = p2.y - p0.y; in ccw()
|
/aoo41x/main/oox/source/export/ |
H A D | preset-definitions-to-shape-types.pl | 462 if ( $p2 ne "" ) { 483 my $p1 = "", $p2 = "", $p3 = ""; 488 $p2 = $1; 508 $p1 = $p2; 509 $p2 = $tmp; 536 $p2 = sprintf( "%.0f", ( $p2 / 10 ) ); 541 $p2 = sprintf( "%.0f", ( $p2 / 8 ) ); 579 if ( $p2 =~ /^[0-9-]+$/ && ( ( $p2 % 60000 ) == 0 ) ) { 580 $p2 /= 60000; 583 $p2 = insert_formula_params( "", "prod", "1", $p2, "60000" ); [all …]
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | gcach_rbmp.cxx | 54 *(p1++) = *p2; in ImplRotate8_90() 68 p2 -= nPad; in ImplRotate8_180() 72 *p2 = *p1; in ImplRotate8_180() 79 p2 -= nPad; in ImplRotate8_180() 80 while( p1 < p2 ) in ImplRotate8_180() 82 unsigned char cTmp = *(--p2); in ImplRotate8_180() 83 *p2 = *p1; in ImplRotate8_180() 108 p2 = p20; in ImplRotate1_90() 123 p2 -= nDeltaShift; in ImplRotate1_90() 134 --p2; in ImplRotate1_180() [all …]
|
/aoo41x/main/cppuhelper/inc/cppuhelper/ |
H A D | queryinterface.hxx | 65 Interface1 * p1, Interface2 * p2 ) in queryInterface() argument 71 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 89 Interface1 * p1, Interface2 * p2, Interface3 * p3 ) in queryInterface() argument 95 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 123 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 155 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 193 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 235 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 281 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() 331 return ::com::sun::star::uno::Any( &p2, rType ); in queryInterface() [all …]
|
/aoo41x/main/unotools/inc/unotools/ |
H A D | querydeep.hxx | 96 Interface1 * p1, Interface2 * p2 ) in queryDeepInterface() argument 101 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 116 Interface1 * p1, Interface2 * p2, Interface3 * p3 ) in queryDeepInterface() argument 121 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 144 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 170 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 201 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 235 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 272 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() 312 return ::com::sun::star::uno::Any( &p2, rType ); in queryDeepInterface() [all …]
|
/aoo41x/main/tools/source/misc/ |
H A D | pathutils.cxx | 124 WCHAR p2[MAX_PATH]; in resolveLink() local 139 p2[n2] = L'\0'; in resolveLink() 147 p2[n2++] = c; in resolveLink() 152 p2[n2++] = ((c & 0x1F) << 6) | in resolveLink() 167 p2[n2++] = ((c & 0x0F) << 12) | in resolveLink() 191 p2[n2++] = static_cast< WCHAR >(((u - 0x10000) >> 10) | 0xD800); in resolveLink() 192 p2[n2++] = static_cast< WCHAR >( in resolveLink() 202 if (colon || p2[0] == L'\\') { in resolveLink() 209 return buildPath(path, path, end, p2, n2); in resolveLink()
|
/aoo41x/main/cli_ure/source/native/ |
H A D | path.cxx | 124 WCHAR p2[MAX_PATH]; in resolveLink() local 139 p2[n2] = L'\0'; in resolveLink() 147 p2[n2++] = c; in resolveLink() 152 p2[n2++] = ((c & 0x1F) << 6) | in resolveLink() 167 p2[n2++] = ((c & 0x0F) << 12) | in resolveLink() 191 p2[n2++] = static_cast< WCHAR >(((u - 0x10000) >> 10) | 0xD800); in resolveLink() 192 p2[n2++] = static_cast< WCHAR >( in resolveLink() 202 if (colon || p2[0] == L'\\') { in resolveLink() 209 return buildPath(path, path, end, p2, n2); in resolveLink()
|
/aoo41x/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 868 const sal_Char *p1, *p2; in parseUNIX() local 869 p1 = p2 = pBuffer; in parseUNIX() 907 p2 = p1; in parseUNIX() 908 while (*p2 && !ascii_isWhitespace(*p2)) in parseUNIX() 909 ++p2; in parseUNIX() 914 if (parseUNIX_isSizeField (p1, p2, rEntry.m_nSize)) in parseUNIX() 919 if (parseUNIX_isMonthField (p1, p2, rEntry.m_aDate)) in parseUNIX() 926 if (parseUNIX_isDayField (p1, p2, rEntry.m_aDate)) in parseUNIX() 929 pDayEnd = p2; in parseUNIX() 939 if (parseUNIX_isYearTimeField (p1, p2, rEntry.m_aDate)) in parseUNIX() [all …]
|
H A D | ftpurl.cxx | 166 const char* p2 = aIdent.getStr(); in parse() local 167 p2 += 6; in parse() 171 while((ch = *p2++) != '/' && ch) in parse() 211 while((ch = *p2++) != '/' && ch) in parse() 472 char *p1, *p2; in list() local 473 p1 = p2 = fwd; in list() 482 while(p2-fwd < int(len) && *p2 != '\n') ++p2; in list() 483 if(p2-fwd == int(len)) break; in list() 485 *p2 = 0; in list() 530 p1 = p2 + 1; in list()
|
/aoo41x/main/qadevOOo/tests/java/ifc/sheet/ |
H A D | _XArrayFormulaRange.java | 157 int p1 = 0, p2 = 0 ; in equalIgnoreSpaces() local 160 while (p1 < s1.length() && p2 < s2.length()) { in equalIgnoreSpaces() 162 while (s2.charAt(p2) == ' ') p2 ++ ; in equalIgnoreSpaces() 163 if (s1.charAt(p1) != s2.charAt(p2)) return false ; in equalIgnoreSpaces() 165 p2 ++ ; in equalIgnoreSpaces() 168 return p1 == s1.length() && p2 == s2.length() ; in equalIgnoreSpaces()
|
/aoo41x/main/sot/source/sdstor/ |
H A D | stg.cxx | 765 if ( p2 ) in CopyTo() 767 sal_uLong nTmpErr = p2->GetError(); in CopyTo() 771 p1->CopyTo( p2 ); in CopyTo() 774 nTmpErr = p2->GetError(); in CopyTo() 776 p2->Commit(); in CopyTo() 785 delete p2; in CopyTo() 794 if ( p2 ) in CopyTo() 799 p1->CopyTo( p2 ); in CopyTo() 802 nTmpErr = p2->GetError(); in CopyTo() 804 p2->Commit(); in CopyTo() [all …]
|
/aoo41x/main/basic/source/runtime/ |
H A D | step0.cxx | 57 SbxVariable* p2 = GetTOS(); in StepArith() local 69 && ( p2->GetType() == SbxOBJECT || p2->GetType() == SbxVARIANT ) in StepArith() 81 p2 = new SbxVariable( *pDflt ); in StepArith() 82 p2->SetFlag( SBX_READWRITE ); in StepArith() 87 p2->ResetFlag( SBX_FIXED ); in StepArith() 88 p2->Compute( eOp, *p1 ); in StepArith() 90 checkArithmeticOverflow( p2 ); in StepArith() 103 SbxVariableRef p2 = PopVar(); in StepCompare() local 129 pDflt = getDefaultProp( p2 ); in StepCompare() 132 p2 = pDflt; in StepCompare() [all …]
|
/aoo41x/main/jurt/com/sun/star/comp/loader/ |
H A D | RegistrationClassFinder.java | 91 String p2 = accessPath[i]; in checkAccess() local 92 if (p.startsWith(p2) && p.length() > p2.length() in checkAccess() 93 && (p2.charAt(p2.length() - 1) == File.separatorChar in checkAccess() 94 || p.charAt(p2.length()) == File.separatorChar)) in checkAccess()
|
/aoo41x/main/sc/source/core/tool/ |
H A D | token.cxx | 581 ScToken *p2 = static_cast<ScToken*>(&rTok2); in ExtendRangeReference() local 608 const ScSingleRefData& rRef2 = p2->GetSingleRef(); in ExtendRangeReference() 632 xRes = (bReuseDoubleRef && p2->GetRef() == 1 ? p2 : static_cast<ScToken*>(p2->Clone())); in ExtendRangeReference() 638 pRefList = p2->GetRefList(); in ExtendRangeReference() 650 ScToken* pt[2] = { p1, p2 }; in ExtendRangeReference() 1038 const sal_Unicode* p2 = rName.GetBuffer(); in operator ==() local 1041 if (p1[j] != p2[j]) in operator ==() 1366 FormulaToken** p2 = pCode; in Clone() local 1370 if( *p2 == t ) in Clone() 1588 (((p2 = PeekPrev(nIdx)) != 0) && p2->GetOpCode() == ocRange) && in MergeRangeReference() [all …]
|
H A D | prnsave.cxx | 72 inline sal_Bool PtrEqual( const ScRange* p1, const ScRange* p2 ) in PtrEqual() argument 74 return ( !p1 && !p2 ) || ( p1 && p2 && *p1 == *p2 ); in PtrEqual()
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fupage.cxx | 96 sal_uInt16 p1, p2; in mergeItemSetsImpl() local 100 p2 = pPtr[1]; in mergeItemSetsImpl() 103 while(pPtr[2] && (pPtr[2] - p2 == 1)) in mergeItemSetsImpl() 105 p2 = pPtr[3]; in mergeItemSetsImpl() 108 rTarget.MergeRange( p1, p2 ); in mergeItemSetsImpl() 248 sal_uInt16 p1 = pPtr[0], p2 = pPtr[1]; in ExecuteDialog() local 249 while(pPtr[2] && (pPtr[2] - p2 == 1)) in ExecuteDialog() 251 p2 = pPtr[3]; in ExecuteDialog() 255 SfxItemSet aMergedAttr( *aNewAttr.GetPool(), p1, p2 ); in ExecuteDialog()
|
/aoo41x/main/basic/source/comp/ |
H A D | scanner.cxx | 182 const sal_Unicode* p2 = aBuf.getStr(); in NextSym() local 183 p2 += n; in NextSym() 184 while( ( n < nLen ) && ( *p2 != '\n' ) && ( *p2 != '\r' ) ) in NextSym() 185 p2++, n++; in NextSym() 193 if( *p2 == '\r' && *( p2+1 ) == '\n' ) in NextSym()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pngread.cxx | 1084 const sal_uInt8* p2 = p1; in ImplApplyFilter() local 1089 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter() 1097 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter() local 1102 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter() 1111 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter() local 1115 for( int n = mnBPP; --n >= 0; ++p1, ++p2) in ImplApplyFilter() 1116 *p1 = static_cast<sal_uInt8>( *p1 + (*p2 >> 1) ); in ImplApplyFilter() 1130 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter() local 1132 const sal_uInt8* p4 = p2; in ImplApplyFilter() 1136 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter() [all …]
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | prltempl.cxx | 84 sal_uInt16 p1, p2; in SdPresLayoutTemplateDlg() local 88 p2 = pPtr[1]; in SdPresLayoutTemplateDlg() 91 while(pPtr[2] && (pPtr[2] - p2 == 1)) in SdPresLayoutTemplateDlg() 93 p2 = pPtr[3]; in SdPresLayoutTemplateDlg() 96 aInputSet.MergeRange( p1, p2 ); in SdPresLayoutTemplateDlg()
|
/aoo41x/main/canvas/source/tools/ |
H A D | surface.cxx | 180 const ::basegfx::B2DPoint& p2(aTransform * ::basegfx::B2DPoint(0.0,0.0)); in draw() local 207 vertex.x=static_cast<float>(p2.getX()); vertex.y=static_cast<float>(p2.getY()); in draw() 306 const ::basegfx::B2DPoint& p2(aTransform * ::basegfx::B2DPoint(0.0, 0.0)); in drawRectangularArea() local 333 vertex.x=static_cast<float>(p2.getX()); vertex.y=static_cast<float>(p2.getY()); in drawRectangularArea()
|
/aoo41x/main/vcl/source/fontsubset/ |
H A D | ttcr.cxx | 831 sal_uInt8 *p1, *p2; in GetRawData_name() local 868 p2 = p1 + 12 * n; in GetRawData_name() 877 memcpy(p2, nr[i].sptr, nr[i].slen); in GetRawData_name() 879 p2 += nr[i].slen; in GetRawData_name() 1388 sal_uInt8 *p1, *p2; in ProcessTables() local 1452 p2 = locaPtr; in ProcessTables() 1495 PutUInt32(p1 - glyfPtr, p2, 0, 1); in ProcessTables() 1496 p2 += 4; in ProcessTables() 1499 p2 += 2; in ProcessTables() 1512 PutUInt32(p1 - glyfPtr, p2, 0, 1); in ProcessTables() [all …]
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdglev.cxx | 56 …uePoints(PGlueDoFunc pDoFunc, sal_Bool bConst, const void* p1, const void* p2, const void* p3, con… in ImpDoMarkedGluePoints() argument 84 (*pDoFunc)(rGP,pObj,p1,p2,p3,p4,p5); in ImpDoMarkedGluePoints() 326 …TransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1, const void* p2, const void* p3, con… in ImpTransformMarkedGluePoints() argument 347 (*pTrFunc)(aPos,p1,p2,p3,p4,p5); in ImpTransformMarkedGluePoints() 381 static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*… in ImpResize() argument 383 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
|
/aoo41x/main/autodoc/source/display/toolkit/ |
H A D | out_position.cxx | 139 Node * p2 = i_destination.pDirectory; in Get_LinkTo() local 153 move_ToParent(p2,pathLength2); in Get_LinkTo() 156 while ( p1 != p2 ) in Get_LinkTo() 159 move_ToParent(p2); in Get_LinkTo()
|
/aoo41x/main/qadevOOo/tests/java/ifc/i18n/ |
H A D | _XTransliteration.java | 327 String str2, int p2, int len2, int expRes) { in testSubstring() argument 333 res = oObj.compareSubstring(str1, p1, len1, str2, p2, len2); in testSubstring() 346 str2 + "', " + p2 + ", " + len2 + ")"); in testSubstring() 350 res = oObj.compareSubstring(str2, p2, len2, str1, p1, len1); in testSubstring() 362 log.println("('" + str2 + "', " + p2 + ", " + len2 + ", '" + in testSubstring()
|