Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dpatch.cc99 pspec[0].range[2] = pspec[0].range[1] - pspec[0].range[0]; in Patch()
103 pspec[1].range[2] = pspec[1].range[1] - pspec[1].range[0]; in Patch()
166 lower.pspec[0].range[0] = upper.pspec[0].range[0]; in Patch()
172 lower.pspec[1].range[0] = upper.pspec[1].range[0]; in Patch()
173 lower.pspec[1].range[1] = upper.pspec[1].range[1]; in Patch()
174 lower.pspec[1].range[2] = upper.pspec[1].range[2]; in Patch()
188 lower.pspec[0].range[0] = upper.pspec[0].range[0]; in Patch()
189 lower.pspec[0].range[1] = upper.pspec[0].range[1]; in Patch()
190 lower.pspec[0].range[2] = upper.pspec[0].range[2]; in Patch()
451 savings *= pspec[0].range[2] * pspec[1].range[2]; in getstepsize()
[all …]
H A Dpatchlist.cc53 pspec[0].range[0] = pta[0]; in Patchlist()
54 pspec[0].range[1] = ptb[0]; in Patchlist()
57 pspec[1].range[0] = pta[1]; in Patchlist()
58 pspec[1].range[1] = ptb[1]; in Patchlist()
70 lower.pspec[0].range[0] = upper.pspec[0].range[0]; in Patchlist()
72 lower.pspec[0].range[2] = value - upper.pspec[0].range[0]; in Patchlist()
74 upper.pspec[0].range[2] = upper.pspec[0].range[1] - value; in Patchlist()
78 lower.pspec[1].range[0] = upper.pspec[1].range[0]; in Patchlist()
80 lower.pspec[1].range[2] = value - upper.pspec[1].range[0]; in Patchlist()
82 upper.pspec[1].range[2] = upper.pspec[1].range[1] - value; in Patchlist()
[all …]
H A Dcurve.cc82 range[0] = qs->breakpoints[qs->index]; in Curve()
84 range[2] = range[1] - range[0]; in Curve()
86 if( range[0] != pta ) { in Curve()
91 if( range[1] != ptb ) { in Curve()
112 REAL d = (value - upper.range[0]) / upper.range[2]; in Curve()
120 lower.range[0] = upper.range[0]; in Curve()
121 lower.range[1] = value; in Curve()
122 lower.range[2] = value - upper.range[0]; in Curve()
123 upper.range[0] = value; in Curve()
124 upper.range[2] = upper.range[1] - value; in Curve()
[all …]
H A Dcurvelist.cc53 range[0] = pta; in Curvelist()
54 range[1] = ptb; in Curvelist()
55 range[2] = ptb - pta; in Curvelist()
66 range[0] = upper.range[0]; in Curvelist()
67 range[1] = value; in Curvelist()
68 range[2] = value - upper.range[0]; in Curvelist()
69 upper.range[0] = value; in Curvelist()
70 upper.range[2] = upper.range[1] - value; in Curvelist()
96 stepsize = range[2]; in getstepsize()
H A Dcurvesub.cc92 REAL mid = ( curvelist.range[0] + curvelist.range[1] ) * 0.5; in samplingSplit()
97 long nu = 1 + ((long) (curvelist.range[2] / curvelist.stepsize)); in samplingSplit()
98 backend.curvgrid( curvelist.range[0], curvelist.range[1], nu ); in samplingSplit()
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dctype_facets_test.cpp124 ct.toupper(range, range + sizeof(range)); in _ctype_facet()
125 CPPUNIT_ASSERT( equal(range, range + sizeof(range), expected_range) ); in _ctype_facet()
139 ct.tolower(range, range + sizeof(range)); in _ctype_facet()
140 CPPUNIT_ASSERT( equal(range, range + sizeof(range), expected_range) ); in _ctype_facet()
152 ct.widen(range, range + sizeof(range), res); in _ctype_facet()
153 CPPUNIT_ASSERT( equal(range, range + sizeof(range), res) ); in _ctype_facet()
165 ct.narrow(range, range + sizeof(range), 'b', res); in _ctype_facet()
166 CPPUNIT_ASSERT( equal(range, range + sizeof(range), res) ); in _ctype_facet()
268 wct.toupper(range, range + sizeof(range) / sizeof(wchar_t)); in _ctype_facet_w()
283 wct.tolower(range, range + sizeof(range) / sizeof(wchar_t)); in _ctype_facet_w()
[all …]
H A Dequal_test.cpp45 CPPUNIT_ASSERT( (range.first - numbers) == 4 ); in equal_range0()
46 CPPUNIT_ASSERT( (range.second - numbers) == 8 ); in equal_range0()
59 for (; range.first != range.second; ++range.first) in equal_range1()
60 CPPUNIT_ASSERT( *range.first == 2 ); in equal_range1()
62 range = equal_range(v.begin(), v.end(), 4); in equal_range1()
63 CPPUNIT_ASSERT( range.first == range.second ); in equal_range1()
64 CPPUNIT_ASSERT( range.first == v.end() ); in equal_range1()
98 for (; range.first != range.second; ++range.first) in equal_range2()
99 CPPUNIT_ASSERT( *range.first == 'q' ); in equal_range2()
102 CPPUNIT_ASSERT( (range.second - range.first) == 1 ); in equal_range2()
[all …]
H A Dhash_test.cpp209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first ); in check_keys() local
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) { in check_keys()
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first); in check_keys()
232 for (hashType::iterator h = range.first; h != range.second; h++) { in check_keys()
/reactos/sdk/lib/crt/stdlib/
H A Dmakepath_s.c38 goto range; in _makepath_s()
52 goto range; in _makepath_s()
57 goto range; in _makepath_s()
65 goto range; in _makepath_s()
78 goto range; in _makepath_s()
83 goto range; in _makepath_s()
96 goto range; in _makepath_s()
108 goto range; in _makepath_s()
116 range: in _makepath_s()
H A Dwmakpath_s.c38 goto range; in _wmakepath_s()
52 goto range; in _wmakepath_s()
57 goto range; in _wmakepath_s()
65 goto range; in _wmakepath_s()
78 goto range; in _wmakepath_s()
83 goto range; in _wmakepath_s()
96 goto range; in _wmakepath_s()
108 goto range; in _wmakepath_s()
116 range: in _wmakepath_s()
/reactos/sdk/lib/3rdparty/freetype/src/base/
H A Dftgasp.c38 TT_GaspRange range = ttface->gasp.gaspRanges; in FT_Get_Gasp() local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges; in FT_Get_Gasp()
42 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
44 range++; in FT_Get_Gasp()
45 if ( range >= range_end ) in FT_Get_Gasp()
49 result = range->gaspFlag; in FT_Get_Gasp()
/reactos/modules/rostests/winetests/riched20/
H A Drichole.c528 ITextRange *range; in test_GetText() local
1758 EXPECT_REF(range, 1); in test_GetFont()
1768 EXPECT_REF(range, 2); in test_GetFont()
1938 range = NULL; in test_dispatch()
1941 ok(range != NULL, "got %p\n", range); in test_dispatch()
3008 ITextRange *range; in test_Select() local
3052 ITextRange *range; in test_GetStoryType() local
3399 ITextRange *range; in test_GetStoryLength() local
3487 ok(range != range2, "got %p, %p\n", range, range2); in test_ITextSelection_GetDuplicate()
3644 ITextRange *range; in test_Expand() local
[all …]
/reactos/sdk/lib/3rdparty/stlport/test/eh/
H A Drandom_number.cpp26 unsigned random_number( size_t range ) in random_number() argument
29 if (range == 0) return 0; in random_number()
30 return (unsigned)(EH_STD::rand() + EH_STD::rand()) % range; in random_number()
33 if (range==0) return 0; in random_number()
34 return rnd(range); in random_number()
H A DTestClass.h55 static inline unsigned int get_random(unsigned range = UINT_MAX);
154 inline unsigned int TestClass::get_random( unsigned range ) in get_random() argument
156 return random_number( range ); in get_random()
/reactos/sdk/include/reactos/idl/
H A Dsvcctl.idl27 typedef [range(0, 1024 * 4)] DWORD BOUNDED_DWORD_4K;
29 typedef [range(0, 1024 * 8)] DWORD BOUNDED_DWORD_8K;
146 [range(0, 1024)] DWORD cActions;
154 [range(0, 1024)] DWORD cActions;
502 [in, range(0, 1024*8)] DWORD cbBufSize,
512 [in, range(0, 1024*4)] DWORD cbBufSize,
639 [in, range(0, 1024*8)] DWORD cbBufSize,
649 [in, range(0, 1024*4)] DWORD cbBufSize,
721 [in, range(0, 1024*8)] DWORD cbBufSize,
731 [in, range(0, 1024*8)] DWORD cbBufSize,
[all …]
H A Deventlogrpc.idl15 typedef [range(0, MAX_BATCH_BUFF)] unsigned long RULONG;
145 [in, range(0, MAX_STRINGS)] USHORT NumStrings,
146 [in, range(0, MAX_SINGLE_EVENT)] ULONG DataSize,
222 [in, range(0, MAX_STRINGS)] USHORT NumStrings,
223 [in, range(0, MAX_SINGLE_EVENT)] ULONG DataSize,
257 [in, range(0, 1024)] ULONG cbBufSize,
276 [in, range(0, MAX_STRINGS)] USHORT NumStrings,
277 [in, range(0, MAX_SINGLE_EVENT)] ULONG DataSize,
/reactos/dll/3rdparty/libtiff/
H A Dtif_color.c100 i = TIFFmin(cielab->range, i); in TIFFXYZToRGB()
104 i = TIFFmin(cielab->range, i); in TIFFXYZToRGB()
108 i = TIFFmin(cielab->range, i); in TIFFXYZToRGB()
129 cielab->range = CIELABTORGB_TABLE_RANGE; in TIFFCIELabToRGBInit()
136 (cielab->display.d_YCR - cielab->display.d_Y0R) / cielab->range; in TIFFCIELabToRGBInit()
137 for(i = 0; i <= cielab->range; i++) { in TIFFCIELabToRGBInit()
139 * ((float)pow((double)i / cielab->range, dfGamma)); in TIFFCIELabToRGBInit()
146 for(i = 0; i <= cielab->range; i++) { in TIFFCIELabToRGBInit()
148 * ((float)pow((double)i / cielab->range, dfGamma)); in TIFFCIELabToRGBInit()
155 for(i = 0; i <= cielab->range; i++) { in TIFFCIELabToRGBInit()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/autofit/
H A Dafglobal.c168 AF_Script_UniRange range; in af_face_globals_compute_style_coverage() local
184 for ( range = script_class->script_uni_ranges; in af_face_globals_compute_style_coverage()
185 range->first != 0; in af_face_globals_compute_style_coverage()
186 range++ ) in af_face_globals_compute_style_coverage()
188 FT_ULong charcode = range->first; in af_face_globals_compute_style_coverage()
203 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_style_coverage()
213 for ( range = script_class->script_uni_nonbase_ranges; in af_face_globals_compute_style_coverage()
214 range->first != 0; in af_face_globals_compute_style_coverage()
215 range++ ) in af_face_globals_compute_style_coverage()
217 FT_ULong charcode = range->first; in af_face_globals_compute_style_coverage()
[all …]
/reactos/modules/rostests/winetests/comctl32/
H A Dmonthcal.c1641 memset(range, 0xcc, sizeof(range)); in test_selrange()
1674 memset(&range[0], 0, sizeof(range[0])); in test_selrange()
1676 range[0].wMonth = 10; in test_selrange()
1677 range[0].wDay = 5; in test_selrange()
1678 range[1] = range[0]; in test_selrange()
1679 range[1].wDay = 3; in test_selrange()
1706 memset(&range[0], 0, sizeof(range[0])); in test_selrange()
1709 range[0].wDay = 1; in test_selrange()
1710 range[1] = range[0]; in test_selrange()
1715 range[1] = range[0]; in test_selrange()
[all …]
/reactos/dll/win32/riched20/
H A Drichole.c328 if (range->start >= start && range->end <= end) in textranges_update_ranges()
329 range->start = range->end = start; in textranges_update_ranges()
331 else if (range->start < start && range->end <= end) in textranges_update_ranges()
334 else if (range->start >= start && range->end > end) { in textranges_update_ranges()
2100 if (!range) in ITextRange_fnInRange()
2145 if (!range) in ITextRange_fnIsEqual()
2723 if (This->range && !get_range_reole(This->range)) in TextFont_GetDuplicate()
3376 font->range = range; in create_textfont()
4105 para->range = range; in create_textpara()
4801 if (!range) in ITextSelection_fnGetDuplicate()
[all …]
/reactos/modules/rostests/winetests/mshtml/
H A Ddom.c5231 IHTMLTxtRange *range; in test_create_body_range() local
5244 return range; in test_create_body_range()
5320 test_range_text(range, " "); in test_txtrange()
5332 test_range_text(range, "t"); in test_txtrange()
5380 test_range_text(range, "t"); in test_txtrange()
5382 test_range_text(range, "t"); in test_txtrange()
5391 test_range_text(range, "t"); in test_txtrange()
5446 test_range_text(range, " "); in test_txtrange()
5517 IHTMLTxtRange *range; in test_txtrange2() local
6078 IHTMLTxtRange *range; in test_default_selection() local
[all …]
/reactos/dll/win32/comctl32/
H A Dmonthcal.c675 INT range; in MONTHCAL_GetMonthRange() local
716 range = 0; in MONTHCAL_GetMonthRange()
719 return range; in MONTHCAL_GetMonthRange()
1517 TRACE("%p\n", range); in MONTHCAL_GetRange()
1519 if (!range) return 0; in MONTHCAL_GetRange()
1640 TRACE("%p\n", range); in MONTHCAL_GetSelRange()
1662 TRACE("%p\n", range); in MONTHCAL_SetSelRange()
1677 if(MONTHCAL_CompareSystemTime(&range[0], &range[1]) <= 0) in MONTHCAL_SetSelRange()
1992 SYSTEMTIME range[2]; in MONTHCAL_Scroll() local
2057 range[0] = range[1] = infoPtr->todaysDate; in MONTHCAL_RButtonUp()
[all …]
H A Dtrackbar.c181 double range, width, pos, offsetthumb; in TRACKBAR_ConvertPlaceToPosition() local
333 int range, width, height, thumbwidth; in TRACKBAR_CalcThumb() local
339 if (!range) range = 1; in TRACKBAR_CalcThumb()
413 if (range <= 0) { in TRACKBAR_CalcSelection()
429 (width*infoPtr->lSelMin)/range; in TRACKBAR_CalcSelection()
431 (width*infoPtr->lSelMax)/range; in TRACKBAR_CalcSelection()
513 if (range <= 0) in TRACKBAR_DrawOneTic()
1154 LONG range, width, pos, tic; local
1162 if (range <= 0) range = 1;
1259 infoPtr->lRangeMin = (SHORT)LOWORD(range);
[all …]
/reactos/sdk/tools/create_nls/
H A Dcreate_nls.c143 int i, j, range; in write_lb_ranges() local
150 for(range = cpi->LeadByte[i]; range != 0 && range <= cpi->LeadByte[i + 1]; range++) { in write_lb_ranges()
152 offsets[range] = offset; in write_lb_ranges()
160 for(range = cpi->LeadByte[i]; range != 0 && range <= cpi->LeadByte[i + 1]; range++) { in write_lb_ranges()
162 for(j = MAKEWORD(0, range); j <= MAKEWORD(0xFF, range); j++) { in write_lb_ranges()
163 sub_table[j - MAKEWORD(0, range)] = table[j]; in write_lb_ranges()
/reactos/dll/win32/jscript/
H A Darray.c559 DOUBLE range; in Array_slice() local
570 hres = to_number(ctx, argv[0], &range); in Array_slice()
574 range = floor(range); in Array_slice()
575 if(-range>length || isnan(range)) start = 0; in Array_slice()
576 else if(range < 0) start = range+length; in Array_slice()
577 else if(range <= length) start = range; in Array_slice()
583 hres = to_number(ctx, argv[1], &range); in Array_slice()
587 range = floor(range); in Array_slice()
588 if(-range>length) end = 0; in Array_slice()
589 else if(range < 0) end = range+length; in Array_slice()
[all …]

12345678910>>...12