Home
last modified time | relevance | path

Searched refs:aBounds (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/qa/cppunit/
H A Dtest_breakiterator.cxx193 CPPUNIT_ASSERT(aBounds.startPos == 0 && aBounds.endPos == 4); in testWordBoundaries()
200 CPPUNIT_ASSERT(aBounds.startPos == 9 && aBounds.endPos == 12); in testWordBoundaries()
204 CPPUNIT_ASSERT(aBounds.startPos == 5 && aBounds.endPos == 7); in testWordBoundaries()
209 CPPUNIT_ASSERT(aBounds.startPos == 9 && aBounds.endPos == 12); in testWordBoundaries()
214 CPPUNIT_ASSERT(aBounds.startPos == 16 && aBounds.endPos == 19); in testWordBoundaries()
250 CPPUNIT_ASSERT(aBounds.startPos == 0 && aBounds.endPos == 7); in testWordBoundaries()
253 CPPUNIT_ASSERT(aBounds.startPos == 9 && aBounds.endPos == 14); in testWordBoundaries()
256 CPPUNIT_ASSERT(aBounds.startPos == 37 && aBounds.endPos == 44); in testWordBoundaries()
259 CPPUNIT_ASSERT(aBounds.startPos == 46 && aBounds.endPos == 52); in testWordBoundaries()
980 CPPUNIT_ASSERT(aBounds.startPos == 0 && aBounds.endPos == 3); in testKhmer()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/qa/cppunit/
H A Dtest_breakiterator.cxx176 i18n::Boundary aBounds; in testWordBoundaries() local
570 nPos = aBounds.endPos; in testWordBoundaries()
610aBounds = m_xBreak->nextWord(aTest, aBounds.endPos, aLocale, i18n::WordType::DICTIONARY_WORD); in testWordBoundaries()
861 aBounds = m_xBreak->getWordBoundary(aTest, aBounds.endPos, aLocale, in testLao()
882 sal_Int32(0), aBounds.startPos); in testThai()
884 aTest.getLength(), aBounds.endPos); in testThai()
954 aBounds.startPos == 0 && aBounds.endPos == aTest.getLength()); in testNorthernThai()
977 CPPUNIT_ASSERT(aBounds.startPos == 0 && aBounds.endPos == 3); in testKhmer()
979 aBounds = m_xBreak->getWordBoundary(aTest, aBounds.endPos, aLocale, in testKhmer()
982 CPPUNIT_ASSERT(aBounds.startPos == 3 && aBounds.endPos == 5); in testKhmer()
[all …]
/dports/www/firefox/firefox-99.0/widget/
H A DWidgetUtils.cpp20 gfx::Matrix ComputeTransformForRotation(const nsIntRect& aBounds, in ComputeTransformForRotation() argument
29 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForRotation()
33 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForRotation()
37 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForRotation()
46 gfx::Matrix ComputeTransformForUnRotation(const nsIntRect& aBounds, in ComputeTransformForUnRotation() argument
55 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForUnRotation()
59 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForUnRotation()
63 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForUnRotation()
72 nsIntRect RotateRect(nsIntRect aRect, const nsIntRect& aBounds, in RotateRect() argument
78 return nsIntRect(aRect.Y(), aBounds.Width() - aRect.XMost(), in RotateRect()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/
H A DWidgetUtils.cpp24 ComputeTransformForRotation(const nsIntRect& aBounds, in G_DEFINE_BOXED_TYPE()
34 transform.PreTranslate(aBounds.width, 0); in G_DEFINE_BOXED_TYPE()
38 transform.PreTranslate(aBounds.width, aBounds.height); in G_DEFINE_BOXED_TYPE()
42 transform.PreTranslate(0, aBounds.height); in G_DEFINE_BOXED_TYPE()
52 ComputeTransformForUnRotation(const nsIntRect& aBounds, in ide_xml_rng_grammar_new()
62 transform.PreTranslate(0, aBounds.height); in ide_xml_rng_grammar_new()
66 transform.PreTranslate(aBounds.width, aBounds.height); in ide_xml_rng_grammar_new()
70 transform.PreTranslate(aBounds.width, 0); in ide_xml_rng_grammar_new()
80 const nsIntRect& aBounds,
88 aBounds.width - aRect.x - aRect.width, in ide_xml_rng_grammar_free()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/widget/
H A DWidgetUtils.cpp25 gfx::Matrix ComputeTransformForRotation(const nsIntRect& aBounds, in ComputeTransformForRotation() argument
34 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForRotation()
38 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForRotation()
42 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForRotation()
51 gfx::Matrix ComputeTransformForUnRotation(const nsIntRect& aBounds, in ComputeTransformForUnRotation() argument
60 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForUnRotation()
64 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForUnRotation()
68 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForUnRotation()
77 nsIntRect RotateRect(nsIntRect aRect, const nsIntRect& aBounds, in RotateRect() argument
83 return nsIntRect(aRect.Y(), aBounds.Width() - aRect.XMost(), in RotateRect()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/widget/
H A DWidgetUtils.cpp25 gfx::Matrix ComputeTransformForRotation(const nsIntRect& aBounds, in ComputeTransformForRotation() argument
34 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForRotation()
38 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForRotation()
42 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForRotation()
51 gfx::Matrix ComputeTransformForUnRotation(const nsIntRect& aBounds, in ComputeTransformForUnRotation() argument
60 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForUnRotation()
64 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForUnRotation()
68 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForUnRotation()
77 nsIntRect RotateRect(nsIntRect aRect, const nsIntRect& aBounds, in RotateRect() argument
83 return nsIntRect(aRect.Y(), aBounds.Width() - aRect.XMost(), in RotateRect()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/widget/
H A DWidgetUtils.cpp26 gfx::Matrix ComputeTransformForRotation(const nsIntRect& aBounds, in ComputeTransformForRotation() argument
35 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForRotation()
39 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForRotation()
43 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForRotation()
52 gfx::Matrix ComputeTransformForUnRotation(const nsIntRect& aBounds, in ComputeTransformForUnRotation() argument
61 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForUnRotation()
65 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForUnRotation()
69 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForUnRotation()
78 nsIntRect RotateRect(nsIntRect aRect, const nsIntRect& aBounds, in RotateRect() argument
84 return nsIntRect(aRect.Y(), aBounds.Width() - aRect.XMost(), in RotateRect()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/widget/
H A DWidgetUtils.cpp26 gfx::Matrix ComputeTransformForRotation(const nsIntRect& aBounds, in ComputeTransformForRotation() argument
35 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForRotation()
39 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForRotation()
43 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForRotation()
52 gfx::Matrix ComputeTransformForUnRotation(const nsIntRect& aBounds, in ComputeTransformForUnRotation() argument
61 transform.PreTranslate(0, aBounds.Height()); in ComputeTransformForUnRotation()
65 transform.PreTranslate(aBounds.Width(), aBounds.Height()); in ComputeTransformForUnRotation()
69 transform.PreTranslate(aBounds.Width(), 0); in ComputeTransformForUnRotation()
78 nsIntRect RotateRect(nsIntRect aRect, const nsIntRect& aBounds, in RotateRect() argument
84 return nsIntRect(aRect.Y(), aBounds.Width() - aRect.XMost(), in RotateRect()
[all …]
/dports/games/trenchbroom/TrenchBroom-ed46601/test/src/Model/
H A DOctreeTest.cpp36 const BBox3f aBounds(1.0f, 2.0f); in TEST() local
37 octree.addObject(aBounds, a); in TEST()
38 ASSERT_TRUE(octree.containsObject(aBounds, a)); in TEST()
47 const BBox3f aBounds(-129.0f, 2.0f); in TEST() local
48 ASSERT_THROW(octree.addObject(aBounds, a), OctreeException); in TEST()
57 const BBox3f aBounds(1.0f, 2.0f); in TEST() local
58 octree.addObject(aBounds, a); in TEST()
60 ASSERT_TRUE(octree.containsObject(aBounds, a)); in TEST()
62 ASSERT_FALSE(octree.containsObject(aBounds, a)); in TEST()
72 const BBox3f aBounds(1.0f, 2.0f); in TEST() local
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/
H A DgfxFT2FontBase.h65 gfxRect* aBounds = nullptr);
70 mozilla::gfx::IntRect* aBounds = nullptr);
107 void SetBounds(const mozilla::gfx::IntRect& aBounds) { in SetBounds()
108 if (aBounds.x > INT16_MIN && aBounds.x < INT16_MAX && in SetBounds()
109 aBounds.y > INT16_MIN && aBounds.y < INT16_MAX && in SetBounds()
110 aBounds.width <= UINT16_MAX && aBounds.height <= UINT16_MAX) { in SetBounds()
111 mX = aBounds.x; in SetBounds()
112 mY = aBounds.y; in SetBounds()
113 mWidth = aBounds.width; in SetBounds()
114 mHeight = aBounds.height; in SetBounds()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/thebes/
H A DgfxFT2FontBase.h69 gfxRect* aBounds = nullptr);
74 mozilla::gfx::IntRect* aBounds = nullptr);
111 void SetBounds(const mozilla::gfx::IntRect& aBounds) { in SetBounds()
112 if (aBounds.x > INT16_MIN && aBounds.x < INT16_MAX && in SetBounds()
113 aBounds.y > INT16_MIN && aBounds.y < INT16_MAX && in SetBounds()
114 aBounds.width <= UINT16_MAX && aBounds.height <= UINT16_MAX) { in SetBounds()
115 mX = aBounds.x; in SetBounds()
116 mY = aBounds.y; in SetBounds()
117 mWidth = aBounds.width; in SetBounds()
118 mHeight = aBounds.height; in SetBounds()
[all …]
/dports/www/firefox/firefox-99.0/gfx/thebes/
H A DgfxFT2FontBase.h69 gfxRect* aBounds = nullptr);
74 mozilla::gfx::IntRect* aBounds = nullptr);
111 void SetBounds(const mozilla::gfx::IntRect& aBounds) { in SetBounds()
112 if (aBounds.x > INT16_MIN && aBounds.x < INT16_MAX && in SetBounds()
113 aBounds.y > INT16_MIN && aBounds.y < INT16_MAX && in SetBounds()
114 aBounds.width <= UINT16_MAX && aBounds.height <= UINT16_MAX) { in SetBounds()
115 mX = aBounds.x; in SetBounds()
116 mY = aBounds.y; in SetBounds()
117 mWidth = aBounds.width; in SetBounds()
118 mHeight = aBounds.height; in SetBounds()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/thebes/
H A DgfxFT2FontBase.h69 gfxRect* aBounds = nullptr);
74 mozilla::gfx::IntRect* aBounds = nullptr);
111 void SetBounds(const mozilla::gfx::IntRect& aBounds) { in SetBounds()
112 if (aBounds.x > INT16_MIN && aBounds.x < INT16_MAX && in SetBounds()
113 aBounds.y > INT16_MIN && aBounds.y < INT16_MAX && in SetBounds()
114 aBounds.width <= UINT16_MAX && aBounds.height <= UINT16_MAX) { in SetBounds()
115 mX = aBounds.x; in SetBounds()
116 mY = aBounds.y; in SetBounds()
117 mWidth = aBounds.width; in SetBounds()
118 mHeight = aBounds.height; in SetBounds()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/embeddedobj/test/Container1/
H A DWindowHelper.java91 aDescriptor.Bounds = new com.sun.star.awt.Rectangle( (int)aBounds.getX(), in createWindow()
92 (int)aBounds.getY(), in createWindow()
93 (int)aBounds.getWidth(), in createWindow()
94 (int)aBounds.getHeight() ); in createWindow()
96 System.out.println( "The rectangle for vcl window is:\nx = " + (int)aBounds.getX() in createWindow()
97 + "; y = " + (int)aBounds.getY() in createWindow()
98 … + "; width = " + (int)aBounds.getWidth() in createWindow()
113 xWindow.setPosSize( (int)aBounds.getX(), in createWindow()
114 (int)aBounds.getY(), in createWindow()
115 (int)aBounds.getWidth(), in createWindow()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/embeddedobj/test/Container1/
H A DWindowHelper.java91 aDescriptor.Bounds = new com.sun.star.awt.Rectangle( (int)aBounds.getX(), in createWindow()
92 (int)aBounds.getY(), in createWindow()
93 (int)aBounds.getWidth(), in createWindow()
94 (int)aBounds.getHeight() ); in createWindow()
96 System.out.println( "The rectangle for vcl window is:\nx = " + (int)aBounds.getX() in createWindow()
97 + "; y = " + (int)aBounds.getY() in createWindow()
98 … + "; width = " + (int)aBounds.getWidth() in createWindow()
113 xWindow.setPosSize( (int)aBounds.getX(), in createWindow()
114 (int)aBounds.getY(), in createWindow()
115 (int)aBounds.getWidth(), in createWindow()
[all …]
/dports/www/firefox/firefox-99.0/dom/canvas/
H A DDrawTargetWebglInternal.h23 explicit TexturePacker(const IntRect& aBounds, bool aAvailable = true)
24 : mBounds(aBounds), in mBounds() argument
25 mAvailable(aAvailable ? std::min(aBounds.width, aBounds.height) : 0) {} in mBounds()
29 bool Remove(const IntRect& aBounds);
63 : mTransform(aTransform), mBounds(aBounds), mHash(aHash) {} in MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME()
98 CacheEntryImpl(const Matrix& aTransform, const IntRect& aBounds, in CacheEntryImpl() argument
100 : CacheEntry(aTransform, aBounds, aHash) {} in CacheEntryImpl()
303 const Matrix& aTransform, const IntRect& aBounds,
334 const Matrix& aTransform, const IntRect& aBounds);
349 const IntRect& aBounds, const Point& aOrigin,
[all …]
/dports/math/vtk8/VTK-8.2.0/Filters/SMP/Testing/Cxx/
H A DTestSMPWarp.cxx96 std::vector<double>& aBounds = *itr; in Reduce() local
97 bounds[0] = bounds[0] < aBounds[0] ? bounds[0] : aBounds[0]; in Reduce()
98 bounds[1] = bounds[1] > aBounds[1] ? bounds[1] : aBounds[1]; in Reduce()
99 bounds[2] = bounds[2] < aBounds[2] ? bounds[2] : aBounds[2]; in Reduce()
100 bounds[3] = bounds[3] > aBounds[3] ? bounds[3] : aBounds[3]; in Reduce()
101 bounds[4] = bounds[4] < aBounds[4] ? bounds[4] : aBounds[4]; in Reduce()
102 bounds[5] = bounds[5] > aBounds[5] ? bounds[5] : aBounds[5]; in Reduce()
/dports/math/vtk6/VTK-6.2.0/Filters/SMP/Testing/Cxx/
H A DTestSMPWarp.cxx96 std::vector<double>& aBounds = *itr; in Reduce() local
97 bounds[0] = bounds[0] < aBounds[0] ? bounds[0] : aBounds[0]; in Reduce()
98 bounds[1] = bounds[1] > aBounds[1] ? bounds[1] : aBounds[1]; in Reduce()
99 bounds[2] = bounds[2] < aBounds[2] ? bounds[2] : aBounds[2]; in Reduce()
100 bounds[3] = bounds[3] > aBounds[3] ? bounds[3] : aBounds[3]; in Reduce()
101 bounds[4] = bounds[4] < aBounds[4] ? bounds[4] : aBounds[4]; in Reduce()
102 bounds[5] = bounds[5] > aBounds[5] ? bounds[5] : aBounds[5]; in Reduce()
/dports/editors/libreoffice/libreoffice-7.2.6.2/comphelper/source/misc/
H A Daccessiblecomponenthelper.cxx45 awt::Rectangle aBounds( implGetBounds() ); in containsPoint() local
48 && ( _rPoint.X < aBounds.Width ) in containsPoint()
49 && ( _rPoint.Y < aBounds.Height ); in containsPoint()
56 awt::Rectangle aBounds( implGetBounds() ); in getLocation() local
57 return awt::Point( aBounds.X, aBounds.Y ); in getLocation()
84 awt::Rectangle aBounds( implGetBounds() ); in getSize() local
85 return awt::Size( aBounds.Width, aBounds.Height ); in getSize()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/comphelper/source/misc/
H A Daccessiblecomponenthelper.cxx45 awt::Rectangle aBounds( implGetBounds() ); in containsPoint() local
48 && ( _rPoint.X < aBounds.Width ) in containsPoint()
49 && ( _rPoint.Y < aBounds.Height ); in containsPoint()
56 awt::Rectangle aBounds( implGetBounds() ); in getLocation() local
57 return awt::Point( aBounds.X, aBounds.Y ); in getLocation()
84 awt::Rectangle aBounds( implGetBounds() ); in getSize() local
85 return awt::Size( aBounds.Width, aBounds.Height ); in getSize()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/webrender_bindings/
H A DWebRenderAPI.cpp929 Stringify(aBounds).c_str(), in PushStackingContext()
1089 wr_dp_push_rect(mWrState, aBounds, clip, aIsBackfaceVisible, in PushRect()
1103 clips.AppendElement(wr::SimpleRadii(aBounds, aBounds.size.width / 2)); in PushRoundedRect()
1105 auto clipId = DefineClip(Nothing(), aBounds, &clips); in PushRoundedRect()
1137 wr::LayoutRect clip = MergeClipLeaf(aBounds); in PushClearRect()
1145 wr::LayoutRect clip = MergeClipLeaf(aBounds); in PushClearRectWithComplexRegion()
1158 auto clipId = DefineClip(Nothing(), aBounds, &clips); in PushClearRectWithComplexRegion()
1169 wr::LayoutRect clip = MergeClipLeaf(aBounds); in PushBackdropFilter()
1175 auto clipId = DefineClip(Nothing(), aBounds, &clips); in PushBackdropFilter()
1289 wr_dp_push_iframe(mWrState, aBounds, MergeClipLeaf(aBounds), in PushIFrame()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/mozglue/misc/interceptor/
H A DRangeMap.h46 explicit Range(const Maybe<Span<const uint8_t>>& aBounds) in Range() argument
47 : mBase(aBounds ? reinterpret_cast<const uintptr_t>( in Range()
48 MMPolicyT::GetLowerBound(aBounds.ref())) in Range()
50 mLimit(aBounds ? reinterpret_cast<const uintptr_t>( in Range()
51 MMPolicyT::GetUpperBoundIncl(aBounds.ref())) in Range()
97 const Maybe<Span<const uint8_t>>& aBounds) { in GetPolicy() argument
98 Range testRange(aBounds); in GetPolicy()
105 if (!aBounds) { in GetPolicy()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/control/
H A Dtemplateviewitem.cxx87 B2DPolygon aBounds; in Paint() local
88 aBounds.append(B2DPoint(fPosX,fPosY)); in Paint()
89 aBounds.append(B2DPoint(fPosX+fWidth,fPosY)); in Paint()
90 aBounds.append(B2DPoint(fPosX+fWidth,fPosY+fHeight)); in Paint()
91 aBounds.append(B2DPoint(fPosX,fPosY+fHeight)); in Paint()
92 aBounds.setClosed(true); in Paint()
95 B2DPolyPolygon(aBounds), COL_WHITE.getBColor())); in Paint()
107 aSeq[3] = drawinglayer::primitive2d::Primitive2DReference(createBorderLine(aBounds)); in Paint()
/dports/www/firefox/firefox-99.0/toolkit/xre/dllservices/mozglue/interceptor/
H A DRangeMap.h46 explicit Range(const Maybe<Span<const uint8_t>>& aBounds) in Range() argument
47 : mBase(aBounds ? reinterpret_cast<const uintptr_t>( in Range()
48 MMPolicyT::GetLowerBound(aBounds.ref())) in Range()
50 mLimit(aBounds ? reinterpret_cast<const uintptr_t>( in Range()
51 MMPolicyT::GetUpperBoundIncl(aBounds.ref())) in Range()
97 const Maybe<Span<const uint8_t>>& aBounds) { in GetPolicy() argument
98 Range testRange(aBounds); in GetPolicy()
105 if (!aBounds) { in GetPolicy()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/control/
H A Dtemplateviewitem.cxx87 B2DPolygon aBounds; in Paint() local
88 aBounds.append(B2DPoint(fPosX,fPosY)); in Paint()
89 aBounds.append(B2DPoint(fPosX+fWidth,fPosY)); in Paint()
90 aBounds.append(B2DPoint(fPosX+fWidth,fPosY+fHeight)); in Paint()
91 aBounds.append(B2DPoint(fPosX,fPosY+fHeight)); in Paint()
92 aBounds.setClosed(true); in Paint()
95 B2DPolyPolygon(aBounds), COL_WHITE.getBColor())); in Paint()
107 aSeq[3] = drawinglayer::primitive2d::Primitive2DReference(createBorderLine(aBounds)); in Paint()

12345678910>>...33