/reactos/dll/opengl/glu32/src/libnurbs/internals/ |
H A D | patch.cc | 65 pspec[0].order = geo->qspec[0].order; in Patch() 66 pspec[1].order = geo->qspec[1].order; in Patch() 67 pspec[0].stride = pspec[1].order * MAXCOORDS; in Patch() 80 geo->qspec[1].order, geo->qspec[1].stride, in Patch() 86 geo->qspec[1].order, geo->qspec[1].stride, in Patch() 144 lower.pspec[0].order = upper.pspec[0].order; in Patch() 145 lower.pspec[1].order = upper.pspec[1].order; in Patch() 239 pspec[0].order, pspec[1].order, bb ) != 1 ) { in checkBboxConstraint() 285 assert( pspec[0].order <= MAXORDER ); in getstepsize() 291 pspec[0].order, pspec[1].order ); in getstepsize() [all …]
|
H A D | knotvector.cc | 54 order = _order; in init() 66 order = 0; in Knotvector() 81 if( order < 1 || order > MAXORDER ) { in validate() 86 if( knotcount < (2 * order) ) { in validate() 91 if( identical( knotlist[kindex-(order-1)], knotlist[order-1]) ) { in validate() 117 if ( multi > order ) { in validate() 124 if ( multi > order ) { in validate() 136 _glu_dprintf( "order = %ld, count = %ld\n", order, knotcount ); in show()
|
H A D | curve.cc | 61 order = geo->qspec[0].order; in Curve() 73 ps += qs->index * qs->order * qs->stride; in Curve() 76 mapdesc->xformSampling( ps, qs->order, qs->stride, spts, stride ); in Curve() 79 mapdesc->xformCulling( ps, qs->order, qs->stride, cpts, stride ); in Curve() 108 lower.order = upper.order; in Curve() 115 mapdesc->subdivide( upper.spts, lower.spts, d, upper.stride, upper.order ); in Curve() 118 mapdesc->subdivide( upper.cpts, lower.cpts, d, upper.stride, upper.order ); in Curve() 162 assert( order <= MAXORDER ); in getstepsize() 167 int val = mapdesc->project( spts, stride, &tmp[0][0], tstride, order ); in getstepsize() 175 REAL d = mapdesc->calcPartialVelocity( &tmp[0][0], tstride, order, 2, range[2] ); in getstepsize() [all …]
|
H A D | tobezier.cc | 55 long order; /* order of spline */ member 180 kspec->order = knotvector.order; in kspecinit() 193 kspec->order = sknotvector.order; in kspecinit() 199 tkspec->order = tknotvector.order; in kspecinit() 273 qspec->order = (int) knotspec->order; in setupquilt() 385 Knot *kf = (mid-def) + (order-1); in factors() 491 preoffset = kleft - (inkbegin + order); in select() 492 postwidth = (int)((bend - bbegin) * order); in select() 520 ubpt->def = (int) (order - ubpt->multi); in breakpoints() 526 ubpt->def = (int) (order - ubpt->multi); in breakpoints() [all …]
|
H A D | quilt.cc | 88 for( int i=0; i!= qspec[0].order * qspec[0].width; i++ ) { in show() 89 for( int j = 0; j!= qspec[1].order * qspec[1].width; j++ ) { in show() 128 ps += qspec[0].index * qspec[0].order * qspec[0].stride; in download() 129 ps += qspec[1].index * qspec[1].order * qspec[1].stride; in download() 133 qspec[0].order, in download() 134 qspec[1].order, in download() 142 ps += qspec[0].index * qspec[0].order * qspec[0].stride; in download() 145 qspec[0].order, in download() 175 qspec[0].order * qspec[0].width, qspec[0].stride, in isCulled() 176 qspec[1].order * qspec[1].width, qspec[1].stride ); in isCulled()
|
H A D | arctess.cc | 338 for(i=1, j=bezierArc->stride; i<bezierArc->order; i++, j+= bezierArc->stride) in tessellateNonlinear() 384 long order = bezierArc->order; in tessellateNonlinear() local 390 for( int i = 1; i < order; i++ ) { in tessellateNonlinear() 428 b += (order - 1) * bezierArc->stride; in tessellateNonlinear() 447 long order = bezierArc->order; in tessellateNonlinear() local 452 for( int i = 1; i < bezierArc->order; i++ ) { in tessellateNonlinear() 489 b += (order - 1) * bezierArc->stride; in tessellateNonlinear() 595 int order = bez_arc->order; in trim_power_coeffs() local 598 REAL const (*mat)[MAXORDER][MAXORDER] = &gl_Bernstein[order-1]; in trim_power_coeffs() 599 REAL const (*lrow)[MAXORDER] = &(*mat)[order]; in trim_power_coeffs() [all …]
|
H A D | patch.h | 55 int order; member 77 int get_uorder() {return pspec[0].order;} in get_uorder() 78 int get_vorder() {return pspec[1].order;} in get_vorder()
|
H A D | mapdesc.cc | 425 Mapdesc::cullCheck( REAL *pts, int order, int stride ) in cullCheck() argument 431 for( REAL *pend = p + order * stride; p != pend; p += stride ) { in cullCheck() 456 xformMat( smat, pts, order, stride, sp, outstride ); in xformSampling() 462 xformMat( bmat, pts, order, stride, sp, outstride ); in xformBounding() 472 Mapdesc::xformCulling( REAL *pts, int order, int stride, REAL *cp, int outstride ) in xformCulling() argument 474 xformMat( cmat, pts, order, stride, cp, outstride ); in xformCulling() 520 int order, in xformMat() argument 526 REAL *pend = pts + order * stride; in xformMat() 532 REAL *pend = pts + order * stride; in xformMat() 577 Mapdesc::subdivide( REAL *src, REAL *dst, REAL v, int stride, int order ) in subdivide() argument [all …]
|
/reactos/sdk/include/psdk/ |
H A D | gdiplusmatrix.h | 116 Multiply(const Matrix *matrix, MatrixOrder order = MatrixOrderPrepend) 146 Rotate(REAL angle, MatrixOrder order = MatrixOrderPrepend) 148 return SetStatus(DllExports::GdipRotateMatrix(nativeMatrix, angle, order)); 152 RotateAt(REAL angle, const PointF ¢er, MatrixOrder order = MatrixOrderPrepend) 154 if (order == MatrixOrderPrepend) 157 SetStatus(DllExports::GdipRotateMatrix(nativeMatrix, angle, order)); 163 SetStatus(DllExports::GdipRotateMatrix(nativeMatrix, angle, order)); 169 Scale(REAL scaleX, REAL scaleY, MatrixOrder order = MatrixOrderPrepend) 171 return SetStatus(DllExports::GdipScaleMatrix(nativeMatrix, scaleX, scaleY, order)); 181 Shear(REAL shearX, REAL shearY, MatrixOrder order = MatrixOrderPrepend) [all …]
|
H A D | gdiplusbrush.h | 317 MultiplyTransform(const Matrix *matrix, MatrixOrder order) in MultiplyTransform() argument 331 RotateTransform(REAL angle, MatrixOrder order) in RotateTransform() argument 334 return SetStatus(DllExports::GdipRotateLineTransform(gradient, angle, order)); in RotateTransform() 338 ScaleTransform(REAL sx, REAL sy, MatrixOrder order = MatrixOrderPrepend) 341 return SetStatus(DllExports::GdipScaleLineTransform(gradient, sx, sy, order)); 400 TranslateTransform(REAL dx, REAL dy, MatrixOrder order = MatrixOrderPrepend) 583 MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend) 597 RotateTransform(REAL angle, MatrixOrder order) in RotateTransform() argument 600 return SetStatus(DllExports::GdipRotateTextureTransform(texture, angle, order)); in RotateTransform() 604 ScaleTransform(REAL sx, REAL sy, MatrixOrder order) in ScaleTransform() argument [all …]
|
H A D | gdipluspen.h | 223 MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend) 225 return SetStatus(DllExports::GdipMultiplyPenTransform(nativePen, getNat(matrix), order)); 235 RotateTransform(REAL angle, MatrixOrder order = MatrixOrderPrepend) 237 return SetStatus(DllExports::GdipRotatePenTransform(nativePen, angle, order)); 241 ScaleTransform(REAL sx, REAL sy, MatrixOrder order = MatrixOrderPrepend) 243 return SetStatus(DllExports::GdipScalePenTransform(nativePen, sx, sy, order)); 353 TranslateTransform(REAL dx, REAL dy, MatrixOrder order = MatrixOrderPrepend) 355 return SetStatus(DllExports::GdipTranslatePenTransform(nativePen, dx, dy, order));
|
/reactos/dll/opengl/glu32/src/libnurbs/interface/ |
H A D | bezierEval.cc | 86 for(i=1; i<order; i++){ in bezierCurveEval() 105 for(i=0; i<order; i++) { 110 for(r=1; r<order; r++){ 111 for(i=0; i<order-r; i++) { 118 retpoint[j] = buf[order-1][0][j]; 132 if(order == 1){ in bezierCurveEvalDer() 136 for(i=0; i<order-1; i++){ in bezierCurveEvalDer() 138 buf[i][k] = (ctlptr[stride+k] - ctlptr[k])*(order-1)/width; in bezierCurveEvalDer() 153 for(i=0; i<order; i++){ in bezierCurveEvalDerGen() 162 for(i=0; i<order-r; i++){ in bezierCurveEvalDerGen() [all …]
|
H A D | bezierEval.h | 36 void bezierCurveEval(float u0, float u1, int order, float *ctlpoints, int stride, int dimension, f… 37 void bezierCurveEvalDer(float u0, float u1, int order, float *ctlpoints, int stride, int dimension… 38 void bezierCurveEvalDerGen(int der, float u0, float u1, int order, float *ctlpoints, int stride, i…
|
H A D | incurveeval.cc | 57 void OpenGLCurveEvaluator::inPreEvaluate(int order, REAL vprime, REAL *coeff) in inPreEvaluate() argument 68 if (order == 1) { in inPreEvaluate() 76 if (order == 2) return; in inPreEvaluate() 78 for (i = 2; i < order; i++) { in inPreEvaluate()
|
/reactos/dll/opengl/glu32/src/libtess/ |
H A D | priorityq.c | 68 pq->order = NULL; in pqNewPriorityQ() 81 if (pq->order != NULL) memFree( pq->order ); in pqDeletePriorityQ() 105 pq->order = (PQHeapKey **)memAlloc( (size_t) in pqInit() 106 ((pq->size+1) * sizeof(pq->order[0])) ); in pqInit() 111 if (pq->order == NULL) return 0; in pqInit() 113 p = pq->order; in pqInit() 162 p = pq->order; in pqInit() 210 sortMin = *(pq->order[pq->size-1]); in pqExtractMin() 219 } while( pq->size > 0 && *(pq->order[pq->size-1]) == NULL ); in pqExtractMin() 231 sortMin = *(pq->order[pq->size-1]); in pqMinimum() [all …]
|
/reactos/dll/win32/gdiplus/ |
H A D | matrix.c | 241 GpMatrixOrder order) in GdipMultiplyMatrix() argument 248 if(order == MatrixOrderAppend) in GdipMultiplyMatrix() 250 else if (order == MatrixOrderPrepend) in GdipMultiplyMatrix() 259 GpMatrixOrder order) in GdipRotateMatrix() argument 279 if(order == MatrixOrderAppend) in GdipRotateMatrix() 290 GpMatrixOrder order) in GdipScaleMatrix() argument 306 if(order == MatrixOrderAppend) in GdipScaleMatrix() 336 GpMatrixOrder order) in GdipShearMatrix() argument 353 if(order == MatrixOrderAppend) in GdipShearMatrix() 419 REAL offsetY, GpMatrixOrder order) in GdipTranslateMatrix() argument [all …]
|
H A D | pen.c | 463 TRACE("(%p,%0.2f,%0.2f,%u)\n", pen, dx, dy, order); in GdipTranslatePenTransform() 468 return GdipTranslateMatrix(&pen->transform, dx, dy, order); in GdipTranslatePenTransform() 471 GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order) in GdipScalePenTransform() argument 473 TRACE("(%p,%0.2f,%0.2f,%u)\n", pen, sx, sy, order); in GdipScalePenTransform() 478 return GdipScaleMatrix(&pen->transform, sx, sy, order); in GdipScalePenTransform() 481 GpStatus WINGDIPAPI GdipRotatePenTransform(GpPen *pen, REAL angle, GpMatrixOrder order) in GdipRotatePenTransform() argument 483 TRACE("(%p,%0.2f,%u)\n", pen, angle, order); in GdipRotatePenTransform() 488 return GdipRotateMatrix(&pen->transform, angle, order); in GdipRotatePenTransform() 492 GpMatrixOrder order) in GdipMultiplyPenTransform() argument 494 TRACE("(%p,%p,%u)\n", pen, matrix, order); in GdipMultiplyPenTransform() [all …]
|
H A D | brush.c | 1359 REAL sx, REAL sy, GpMatrixOrder order) in GdipScaleTextureTransform() argument 1874 TRACE("(%p,%p,%i)\n", grad, matrix, order); in GdipMultiplyPathGradientTransform() 1893 REAL angle, GpMatrixOrder order) in GdipRotatePathGradientTransform() argument 1904 REAL sx, REAL sy, GpMatrixOrder order) in GdipScalePathGradientTransform() argument 1915 REAL dx, REAL dy, GpMatrixOrder order) in GdipTranslatePathGradientTransform() argument 2000 GpMatrixOrder order) in GdipRotateTextureTransform() argument 2142 GpMatrixOrder order) in GdipScaleLineTransform() argument 2155 TRACE("(%p,%p,%u)\n", brush, matrix, order); in GdipMultiplyLineTransform() 2167 REAL dx, REAL dy, GpMatrixOrder order) in GdipTranslateLineTransform() argument 2181 GpMatrixOrder order) in GdipTranslateTextureTransform() argument [all …]
|
/reactos/drivers/filesystems/ext2/inc/linux/ |
H A D | bitops.h | 202 int order; in get_bitmask_order() local 204 order = fls(count); in get_bitmask_order() 205 return order; /* We could be slightly more clever with -1 here... */ in get_bitmask_order() 210 int order; in get_count_order() local 212 order = fls(count) - 1; in get_count_order() 214 order++; in get_count_order() 215 return order; in get_count_order()
|
/reactos/modules/rostests/winetests/d3dx9_36/ |
H A D | math.c | 3439 for (order = D3DXSH_MINORDER; order <= D3DXSH_MAXORDER; order++) in test_D3DXSHEvalConeLight() 3455 if (j >= order * order) in test_D3DXSHEvalConeLight() 3489 for (order = D3DXSH_MINORDER; order <= D3DXSH_MAXORDER; order++) in test_D3DXSHEvalConeLight() 3551 for (order = 0; order <= D3DXSH_MAXORDER + 1; order++) in test_D3DXSHEvalDirection() 3564 if ((order < D3DXSH_MINORDER) || (order > D3DXSH_MAXORDER) || (i >= order * order)) in test_D3DXSHEvalDirection() 3659 for (order = D3DXSH_MINORDER; order <= D3DXSH_MAXORDER; order++) in test_D3DXSHEvalDirectionalLight() 3919 for (order = D3DXSH_MINORDER; order <= D3DXSH_MAXORDER; order++) in test_D3DXSHEvalSphericalLight() 4183 for (order = 0; order <= D3DXSH_MAXORDER; order++) in test_D3DXSHRotate() 4305 for (order = 0; order <= D3DXSH_MAXORDER + 1; order++) in test_D3DXSHRotateZ() 4349 for (order = 0; order <= D3DXSH_MAXORDER + 1; order++) in test_D3DXSHScale() [all …]
|
/reactos/modules/rostests/winetests/shell32/ |
H A D | shlfolder.c | 2861 ok(order == 1, "Got order %d\n", order); in test_ShellItemCompare() 2864 ok(order == -1, "Got order %d\n", order); in test_ShellItemCompare() 2867 ok(order == 0, "Got order %d\n", order); in test_ShellItemCompare() 2872 ok(order == 1, "Got order %d\n", order); in test_ShellItemCompare() 2875 ok(order == -1, "Got order %d\n", order); in test_ShellItemCompare() 2878 ok(order == 0, "Got order %d\n", order); in test_ShellItemCompare() 2894 ok(order == -1, "Got order %d\n", order); in test_ShellItemCompare() 2905 ok(order == 1, "Got order %d\n", order); in test_ShellItemCompare() 2911 ok(order == 0, "Got order %d\n", order); in test_ShellItemCompare() 2916 ok(order == 1, "Got order %d\n", order); in test_ShellItemCompare() [all …]
|
/reactos/dll/win32/comctl32/ |
H A D | header.c | 1189 memmove(&infoPtr->order[iOrder], &infoPtr->order[iOrder + 1], in HEADER_DeleteItem() 1192 infoPtr->order = heap_realloc(infoPtr->order, sizeof(INT) * infoPtr->uNumItem); in HEADER_DeleteItem() 1305 memcpy(order, infoPtr->order, infoPtr->uNumItem * sizeof(INT)); in HEADER_GetOrderArray() 1347 if (order[i] >= size || order[i] < 0) in HEADER_SetOrderArray() 1351 infoPtr->order[i] = get_nextvalue(infoPtr->order, i, size); in HEADER_SetOrderArray() 1356 infoPtr->order[i] = order[i]; in HEADER_SetOrderArray() 1359 while ((dup = has_duplicate(infoPtr->order, j, order[j])) != -1) in HEADER_SetOrderArray() 1423 infoPtr->order = heap_realloc(infoPtr->order, sizeof(INT) * infoPtr->uNumItem); in HEADER_InsertItemT() 1428 memmove(&infoPtr->order[iOrder + 1], &infoPtr->order[iOrder], in HEADER_InsertItemT() 1590 infoPtr->order = 0; in HEADER_Create() [all …]
|
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/ |
H A D | README.sort | 1 Sort the order of file data on the CD 4 Note: this option does not sort the order of the file names that appear 5 in the ISO9660 directory. It sorts the order in which the file data is 8 This option is useful in order to optimize the data layout on a CD. 58 Note: files 'X' and 'Z' both have the weight 1000 - their sort order will then 59 be the normal ISO9660 sort order (i.e. alphabetical in this case). 91 ISO9660 sort order - however, the files the directory entry points to, can be
|
/reactos/dll/directx/wine/d3dx9_36/ |
H A D | math.c | 2243 for (i = 0; i < order * order; i++) in D3DXSHAdd() 2257 for (i = 1; i < order * order; i++) in D3DXSHDot() 2271 if (order <= 2) in weightedcapintegrale() 2275 if (order == 3) in weightedcapintegrale() 2282 if (order == 4) in weightedcapintegrale() 2286 if (order == 5) in weightedcapintegrale() 2351 if ((order < D3DXSH_MINORDER) || (order > D3DXSH_MAXORDER)) in D3DXSHEvalDirection() 2421 for (j = 0; j < order * order; j++) in D3DXSHEvalDirectionalLight() 2998 if ((order > D3DXSH_MAXORDER) || (order < D3DXSH_MINORDER)) in D3DXSHRotate() 3082 order = min(max(order, D3DXSH_MINORDER), D3DXSH_MAXORDER); in D3DXSHRotateZ() [all …]
|
/reactos/sdk/lib/crt/math/ |
H A D | jn_yn.c | 21 double _yn(int order, double num) in _yn() argument 25 retval = __ieee754_yn(order,num); in _yn()
|