/dports/math/openturns/openturns-1.18/lib/src/Base/Func/ |
H A D | PiecewiseHermiteEvaluation.cxx | 135 iLeft = 0; in findSegmentIndexHermite() 143 return iLeft; in findSegmentIndexHermite() 154 if (x <= locations_[iLeft]) return values_[iLeft]; in operator ()() 162 const Scalar h = locations_[iLeft + 1] - locations_[iLeft]; in operator ()() 169 …iLeft, i) + theta * values_(iLeft + 1, i) + beta * (gamma * (values_(iLeft + 1, i) - values_(iLeft… in operator ()() 197 iLeft = findSegmentIndexHermite(locations_, x, iLeft); in operator ()() 199 const Scalar h = locations_[iLeft + 1] - locations_[iLeft]; in operator ()() 204 …iLeft, j) + theta * values_(iLeft + 1, j) + beta * (gamma * (values_(iLeft + 1, j) - values_(iLeft… in operator ()() 215 if (x <= locations_[iLeft]) return values_[iLeft]; in derivate() 223 const Scalar h = locations_[iLeft + 1] - locations_[iLeft]; in derivate() [all …]
|
H A D | PiecewiseLinearEvaluation.cxx | 114 UnsignedInteger iLeft = start; in findSegmentIndex() local 124 iLeft = 0; in findSegmentIndex() 126 while (iRight > iLeft + 1) in findSegmentIndex() 130 else iLeft = im; in findSegmentIndex() 132 return iLeft; in findSegmentIndex() 142 UnsignedInteger iLeft = 0; in operator ()() local 143 if (x <= locations_[iLeft]) in operator ()() 144 return values_[iLeft]; in operator ()() 153 const Scalar xLeft = locations_[iLeft]; in operator ()() 171 UnsignedInteger iLeft = 0; in operator ()() local [all …]
|
/dports/graphics/freeimage/FreeImage/Source/FreeImageToolkit/ |
H A D | Resize.cpp | 186 m_WeightTable[u].Left = iLeft; in CWeightsTable() 190 for(int iSrc = iLeft; iSrc < iRight; iSrc++) { in CWeightsTable() 194 m_WeightTable[u].Weights[iSrc-iLeft] = weight; in CWeightsTable() 199 for(int iSrc = iLeft; iSrc < iRight; iSrc++) { in CWeightsTable() 207 int iTrailing = iRight - iLeft - 1; in CWeightsTable() 990 const WORD *pixel = src_bits + iLeft; in horizontalFilter() 1022 const WORD *pixel = src_bits + iLeft; in horizontalFilter() 1059 const BYTE * pixel = src_bits + iLeft * 3; in horizontalFilter() 1095 const BYTE *pixel = src_bits + iLeft * 4; in horizontalFilter() 1254 for(unsigned i = iLeft; i < iRight; i++) { in horizontalFilter() [all …]
|
/dports/graphics/comical/comical-0.8/src/ |
H A D | Resize.h | 126 if((iRight - iLeft + 1) > wxInt32(m_WindowSize)) { in CWeightsTable() 127 if(iLeft < (wxInt32(uSrcSize) - 1 / 2)) { in CWeightsTable() 128 iLeft++; in CWeightsTable() 134 m_WeightTable[u].Left = iLeft; in CWeightsTable() 139 for(iSrc = iLeft; iSrc <= iRight; iSrc++) { in CWeightsTable() 142 m_WeightTable[u].Weights[iSrc-iLeft] = weight; in CWeightsTable() 147 for(iSrc = iLeft; iSrc <= iRight; iSrc++) { in CWeightsTable() 283 for(wxInt32 i = iLeft; i <= iRight; i++) { in HorizontalFilter() 286 double weight = weightsTable.GetWeight(x, i-iLeft); in HorizontalFilter() 324 for(wxInt32 i = iLeft; i <= iRight; i++) { in VerticalFilter() [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Editor/ |
H A D | Cursor_Modes.cc | 87 Assert( gSelectRegion.iLeft <= gSelectRegion.iRight ); in RemoveCursors() 155 gSelectRegion.iLeft = gSelectRegion.iRight = sGridX; in UpdateCursorAreas() 163 gSelectRegion.iLeft = gSelectRegion.iRight = sGridX; in UpdateCursorAreas() 173 gSelectRegion.iLeft = sGridX - gusSelectionType; in UpdateCursorAreas() 257 gSelectRegion.iLeft = gSelectAnchor.iX - gusDecSelWidth; in ForceAreaSelectionWidth() 262 gSelectRegion.iLeft = gSelectAnchor.iX; in ForceAreaSelectionWidth() 308 gSelectRegion.iLeft = gSelectRegion.iRight = sGridX; in HandleAreaSelection() 317 gSelectRegion.iLeft = gSelectRegion.iRight = sGridX; in HandleAreaSelection() 324 gSelectRegion.iLeft = sGridX; in HandleAreaSelection() 330 gSelectRegion.iLeft = gSelectAnchor.iX; in HandleAreaSelection() [all …]
|
/dports/databases/hsqldb/hsqldb-2.3.4/hsqldb/src/org/hsqldb/index/ |
H A D | NodeAVLDisk.java | 104 private int iLeft = NO_POS; 117 iLeft = in.readInt(); 121 if (iLeft <= 0) { 122 iLeft = NO_POS; 143 iLeft = NO_POS; 189 return iLeft == NO_POS; 192 return iLeft == n.getPos(); 206 if (iLeft == NO_POS) { 267 return row.getPos() == temp.iLeft; 317 node.iLeft = n == null ? NO_POS [all …]
|
H A D | NodeAVLDiskLarge.java | 51 private long iLeft = NO_POS; field in NodeAVLDiskLarge 67 iLeft = in.readInt() & 0xffffffffL; in NodeAVLDiskLarge() 73 iLeft |= (((long) ext << 16) & 0xff00000000L); in NodeAVLDiskLarge() 77 if (iLeft == 0) { in NodeAVLDiskLarge() 78 iLeft = NO_POS; in NodeAVLDiskLarge() 99 iLeft = NO_POS; in delete() 142 return iLeft == NO_POS; in isLeft() 145 return iLeft == n.getPos(); in isLeft() 164 if (node.iLeft == NO_POS) { in getLeft() 238 return row.getPos() == temp.iLeft; in isFromLeft() [all …]
|
/dports/mail/qpopper/qpopper4.1.0/common/ |
H A D | logit.c | 143 int iLeft = 0; in vlogit() local 154 iLeft = sizeof ( msgbuf ) -3; /* allow for CRLF NULL */ in vlogit() 155 iChunk = Qvsnprintf ( msgbuf, iLeft, format, ap ); in vlogit() 164 iLeft -= ( iChunk >= 0 ? iChunk : (int) strlen(msgbuf) ); in vlogit() 166 strncat ( msgbuf, whence, iLeft ); in vlogit() 168 iLeft -= len; in vlogit()
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/slog2sdk/src/base/topology/ |
H A D | MarkerArrow.java | 180 int iLeft, jLeft, iRight, jRight; in drawForward() local 182 iLeft = 0; jLeft = 0; iRight = 0; jRight = 0; in drawForward() 212 iLeft = (int) Math.round( xBase + xOff ); in drawForward() 229 g.drawLine( iTail, jTail, iLeft, jLeft ); in drawForward() 246 g.drawLine( iTail, jTail, iLeft, jLeft ); in drawForward() 247 g.drawLine( iLeft, jLeft, iRight, jRight ); in drawForward() 379 int iLeft, jLeft, iRight, jRight; in drawBackward() local 381 iLeft = 0; jLeft = 0; iRight = 0; jRight = 0; in drawBackward() 411 iLeft = (int) Math.round( xBase + xOff ); in drawBackward() 444 g.drawLine( iTail, jTail, iLeft, jLeft ); in drawBackward() [all …]
|
H A D | Arrow.java | 105 int iLeft, jLeft, iRight, jRight; in drawForward() field in Arrow 107 iLeft = 0; jLeft = 0; iRight = 0; jRight = 0; in drawForward() field in Arrow 136 iLeft = (int) Math.round( xBase + xOff ); in drawForward() 154 g.drawLine( iTail, jTail, iLeft, jLeft ); in drawForward() argument 155 g.drawLine( iLeft, jLeft, iRight, jRight ); in drawForward() argument 237 int iLeft, jLeft, iRight, jRight; in drawBackward() local 239 iLeft = 0; jLeft = 0; iRight = 0; jRight = 0; in drawBackward() 268 iLeft = (int) Math.round( xBase + xOff ); in drawBackward() 286 g.drawLine( iTail, jTail, iLeft, jLeft ); in drawBackward() 287 g.drawLine( iLeft, jLeft, iRight, jRight ); in drawBackward()
|
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/ |
H A D | correlate.hpp | 34 int iLeft; in do_correlate() local 37 iLeft = -NB + 1; in do_correlate() 40 iLeft = 0; in do_correlate() 44 iLeft = -NB + 1 + (NB - 1) / 2; in do_correlate() 47 int iRight = iLeft + outN; in do_correlate() 61 for (int i = iLeft; i < 0; i++, out_ptr++) { in do_correlate() 77 for (int i = iLeft; i < 0; i++, out_ptr += out_inc) { in do_correlate()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/sgp/ |
H A D | Video.cc | 314 if (iLeft < 0) iLeft = 0; in InvalidateRegion() 320 if (iRight - iLeft <= 0) return; in InvalidateRegion() 323 DirtyRegions[guiDirtyRegionCount].x = iLeft; in InvalidateRegion() 325 DirtyRegions[guiDirtyRegionCount].w = iRight - iLeft; in InvalidateRegion() 349 AddRegionEx(iLeft, iTop, iRight, gsVIEWPORT_WINDOW_END_Y); in InvalidateRegionEx() 352 AddRegionEx(iLeft, gsVIEWPORT_WINDOW_END_Y, iRight, iBottom); in InvalidateRegionEx() 356 AddRegionEx(iLeft, iTop, iRight, iBottom); in InvalidateRegionEx() 366 if (iLeft < 0) iLeft = 0; in AddRegionEx() 372 if (iRight - iLeft <= 0) return; in AddRegionEx() 375 DirtyRegionsEx[guiDirtyRegionExCount].x = iLeft; in AddRegionEx() [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Utils/ |
H A D | Slider.cc | 222 DestRect.iLeft = s->usPosX - s->ubSliderWidth / 2; in RenderSliderBox() 224 DestRect.iRight = DestRect.iLeft + s->ubSliderWidth; in RenderSliderBox() 233 InvalidateRegion(s->LastRect.iLeft, s->LastRect.iTop, s->LastRect.iRight, s->LastRect.iBottom); in RenderSliderBox() 235 BltVideoObject(FRAME_BUFFER, guiSliderBoxImage, 0, DestRect.iLeft, DestRect.iTop); in RenderSliderBox() 238 InvalidateRegion(DestRect.iLeft, DestRect.iTop, DestRect.iRight, DestRect.iBottom); in RenderSliderBox() 243 DestRect.iLeft = s->usCurrentSliderBoxPosition; in RenderSliderBox() 245 DestRect.iRight = DestRect.iLeft + s->ubSliderWidth; in RenderSliderBox() 248 if (s->LastRect.iLeft == DestRect.iLeft) return; in RenderSliderBox() 251 BlitBufferToBuffer(guiSAVEBUFFER, FRAME_BUFFER, s->LastRect.iLeft, s->LastRect.iTop, 8, 15); in RenderSliderBox() 253 BltVideoObject(FRAME_BUFFER, guiSliderBoxImage, 0, DestRect.iLeft, DestRect.iTop); in RenderSliderBox() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/port/ |
H A D | cplstring.cpp | 190 size_t iLeft, iRight; in Trim() local 193 iLeft = find_first_not_of( szWhitespace ); in Trim() 196 if( iLeft == std::string::npos ) in Trim() 202 assign( substr( iLeft, iRight - iLeft + 1 ) ); in Trim()
|
/dports/mail/qpopper/qpopper4.1.0/popper/ |
H A D | pop_log.c | 101 int iLeft = 0; in pop_logv() local 112 iLeft = sizeof ( msgbuf ) -3; /* Allow for CRLF NULL at end */ in pop_logv() 113 iChunk = Qvsnprintf ( msgbuf, iLeft, format, ap ); in pop_logv() 122 iLeft -= ( iChunk >= 0 ? iChunk : (int) strlen(msgbuf) ); in pop_logv() 124 strncat ( msgbuf, whence, iLeft ); in pop_logv() 126 iLeft -= len; in pop_logv()
|
H A D | pop_msg.c | 69 size_t iLeft; in pop_msg() local 80 iLeft = sizeof(message) - 3; in pop_msg() 94 iLeft -= iChunk; in pop_msg() 100 iChunk = Qvsnprintf ( mp, iLeft, format, ap ); in pop_msg()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/livarot/ |
H A D | sweep-event.cpp | 31 SweepEvent *SweepEventQueue::add(SweepTree *iLeft, SweepTree *iRight, Geom::Point &px, double itl, … in add() argument 38 events[n].MakeNew (iLeft, iRight, px, itl, itr); in add() 40 SweepTree *t[2] = { iLeft, iRight }; in add() 74 bool SweepEventQueue::peek(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &px, double &itl, d… in peek() argument 82 iLeft = e.sweep[LEFT]; in peek() 91 bool SweepEventQueue::extract(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &px, double &itl… in extract() argument 99 iLeft = e.sweep[LEFT]; in extract() 247 void SweepEvent::MakeNew(SweepTree *iLeft, SweepTree *iRight, Geom::Point const &px, double itl, do… in MakeNew() argument 253 sweep[LEFT] = iLeft; in MakeNew()
|
H A D | sweep-event-queue.h | 33 bool peek(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &oPt, double &itl, double &itr); 35 … bool extract(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &oPt, double &itl, double &itr); 37 SweepEvent *add(SweepTree *iLeft, SweepTree *iRight, Geom::Point &iPt, double itl, double itr);
|
/dports/science/jdftx/jdftx-1.6.0/jdftx/core/ |
H A D | ScalarFieldIO.cpp | 134 { int iLeft=i-1; while(iLeft>=0 && !weight[iLeft]) iLeft--; in sphericalize() local 136 if(iLeft>=0 && iRight<nRadial) in sphericalize() 137 { double wLeft = (iRight-i)*1./(iRight-iLeft); in sphericalize() 138 for(int c=0; c<nColumns; c++) out[c+1][i] = out[c+1][iLeft]*wLeft + out[c+1][iRight]*(1.-wLeft); in sphericalize() 140 else if(iLeft>=0 && iRight>=nRadial) in sphericalize() 141 { for(int c=0; c<nColumns; c++) out[c+1][i] = out[c+1][iLeft]; in sphericalize() 143 else if(iLeft<0 && iRight<nRadial) in sphericalize()
|
/dports/devel/fossil/fossil-src-2.17/src/ |
H A D | th.c | 2066 int iLeft = 0; in exprEval() local 2204 int iLeft; in exprMakeTree() local 2214 int iLeft = jj; in exprMakeTree() local 2225 if( (jj-iLeft)>1 ){ in exprMakeTree() 2226 if( exprMakeTree(interp, &apToken[iLeft+1], jj-iLeft-1) ){ in exprMakeTree() 2237 iLeft = 0; in exprMakeTree() 2241 && iLeft>0 && ISTERM(iLeft) ){ in exprMakeTree() 2246 iLeft = jj; in exprMakeTree() 2250 iLeft = -1; in exprMakeTree() 2257 if( iRight==nToken || iLeft<0 || !ISTERM(iRight) || !ISTERM(iLeft) ){ in exprMakeTree() [all …]
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/clientgui/ |
H A D | sg_DlgMessages.cpp | 589 int iLeft = 0; in RestoreWindowDimensions() local 596 pConfig->Read(wxT("XPos"), &iLeft, 30); in RestoreWindowDimensions() 610 if ( iLeft < 0 ) iLeft = 30; in RestoreWindowDimensions() 618 if ( iLeft + iWidth > iMaxWidth ) iLeft = iMaxWidth - iWidth; in RestoreWindowDimensions() 622 SetSize(iLeft, iTop, iWidth, iHeight); in RestoreWindowDimensions() 631 if (!IsWindowOnScreen(iLeft, iTop, iWidth, iHeight)) { in RestoreWindowDimensions() 632 iTop = iLeft = 30; in RestoreWindowDimensions() 634 SetSize(iLeft, iTop, iWidth, iHeight); in RestoreWindowDimensions()
|
/dports/cad/alliance/alliance/src/genlib/src/ |
H A D | util_Const.c | 191 long base, length, offset, i, xl_size, iRight, iLeft, power; local 226 iLeft = length - (32 / base) * (i + 1); 228 if (iLeft < offset) iLeft = offset; 231 __DBG (fprintf (stderr, "iLeft := %ld\n", iLeft);) 235 for (; iRight >= iLeft; iRight--) {
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/etc2comp/ |
H A D | EtcFilter.cpp | 126 int iLeft; in CalcContributions() local 149 iLeft = (int)ceil(center - filterSize); in CalcContributions() 154 if ( iLeft < 0 ) in CalcContributions() 156 iLeft = 0; in CalcContributions() 165 int numWeights = iRight - iLeft + 1; in CalcContributions() 167 contrib[iDest].first = iLeft; in CalcContributions() 171 double t = ((double)iLeft - center) * filterScale; in CalcContributions()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/etc2comp/ |
H A D | EtcFilter.cpp | 126 int iLeft; in CalcContributions() local 149 iLeft = (int)ceil(center - filterSize); in CalcContributions() 154 if ( iLeft < 0 ) in CalcContributions() 156 iLeft = 0; in CalcContributions() 165 int numWeights = iRight - iLeft + 1; in CalcContributions() 167 contrib[iDest].first = iLeft; in CalcContributions() 171 double t = ((double)iLeft - center) * filterScale; in CalcContributions()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/ |
H A D | localblurfx.cpp | 103 int i, iLeft, iRight; in filterLine() local 133 iLeft = std::max(i - tfloor(blur) - 1, 0); in filterLine() 137 troundp(kLeft * (sums.m_sumsIX_r[i] - sums.m_sumsIX_r[iLeft]) + in filterLine() 139 cLeft * (sums.m_sumsX_r[i] - sums.m_sumsX_r[iLeft]) + in filterLine() 142 troundp(kLeft * (sums.m_sumsIX_g[i] - sums.m_sumsIX_g[iLeft]) + in filterLine() 144 cLeft * (sums.m_sumsX_g[i] - sums.m_sumsX_g[iLeft]) + in filterLine() 147 troundp(kLeft * (sums.m_sumsIX_b[i] - sums.m_sumsIX_b[iLeft]) + in filterLine() 149 cLeft * (sums.m_sumsX_b[i] - sums.m_sumsX_b[iLeft]) + in filterLine() 152 troundp(kLeft * (sums.m_sumsIX_m[i] - sums.m_sumsIX_m[iLeft]) + in filterLine() 154 cLeft * (sums.m_sumsX_m[i] - sums.m_sumsX_m[iLeft]) + in filterLine()
|