Searched refs:v1 (Results 1 - 25 of 73) sorted by relevance

123

/haiku-fatelf/src/tests/servers/app/benchmark/
H A DTestSupport.h13 random_number_between(float v1, float v2) argument
15 if (v1 < v2)
16 return v1 + fmod(rand() / 1000.0, (v2 - v1));
17 else if (v2 < v1)
18 return v2 + fmod(rand() / 1000.0, (v1 - v2));
19 return v1;
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_mod.c114 fluid_real_t v1 = 0.0, v2 = 1.0; local
164 v1 = fluid_channel_get_cc(chan, mod->src1);
168 v1 = range1;
171 v1 = voice->vel;
174 v1 = voice->key;
177 v1 = chan->key_pressure;
180 v1 = chan->channel_pressure;
183 v1 = chan->pitch_bend;
187 v1 = chan->pitch_wheel_sensitivity;
190 v1
[all...]
/haiku-fatelf/headers/libs/agg/
H A Dagg_math_stroke.h85 const vertex_dist& v1,
90 const vertex_dist& v1,
103 const vertex_dist& v1,
205 const vertex_dist& v1,
212 double xi = v1.x;
213 double yi = v1.y;
217 v1.x + dx1, v1.y - dy1,
218 v1.x + dx2, v1
203 calc_miter(VC& out_vertices, const vertex_dist& v0, const vertex_dist& v1, const vertex_dist& v2, double dx1, double dy1, double dx2, double dy2, line_join_e lj, double ml) argument
291 calc_cap(VC& out_vertices, const vertex_dist& v0, const vertex_dist& v1, double len) argument
353 calc_join(VC& out_vertices, const vertex_dist& v0, const vertex_dist& v1, const vertex_dist& v2, double len1, double len2) argument
[all...]
H A Dagg_vcgen_smooth_poly1.h68 const vertex_dist& v1,
/haiku-fatelf/src/apps/glteapot/
H A DVector3.h165 inline float triple(const Vector3& v1, const Vector3& v2) const argument
167 return m_x * (v1.y() * v2.z() - v1.z() * v2.y()) +
168 m_y * (v1.z() * v2.x() - v1.x() * v2.z()) +
169 m_z * (v1.x() * v2.y() - v1.y() * v2.x());
197 inline void setInterpolate3(const Vector3& v0, const Vector3& v1, float rt) argument
200 m_x = s * v0.x() + rt * v1.x();
201 m_y = s * v0.y() + rt * v1
225 operator +(const Vector3& v1, const Vector3& v2) argument
231 operator *(const Vector3& v1, const Vector3& v2) argument
237 operator -(const Vector3& v1, const Vector3& v2) argument
268 operator /(const Vector3& v1, const Vector3& v2) argument
274 dot(const Vector3& v1, const Vector3& v2) argument
280 distance2(const Vector3& v1, const Vector3& v2) argument
287 distance(const Vector3& v1, const Vector3& v2) argument
293 angle(const Vector3& v1, const Vector3& v2) argument
299 cross(const Vector3& v1, const Vector3& v2) argument
305 triple(const Vector3& v1, const Vector3& v2, const Vector3& v3) argument
311 lerp(const Vector3& v1, const Vector3& v2, const float& t) argument
[all...]
/haiku-fatelf/src/apps/haiku3d/
H A DVector3.h176 inline float triple(const Vector3& v1, const Vector3& v2) const argument
178 return m_x * (v1.y() * v2.z() - v1.z() * v2.y())
179 + m_y * (v1.z() * v2.x() - v1.x() * v2.z())
180 + m_z * (v1.x() * v2.y() - v1.y() * v2.x());
208 inline void setInterpolate3(const Vector3& v0, const Vector3& v1, float rt) argument
211 m_x = s * v0.x() + rt * v1.x();
212 m_y = s * v0.y() + rt * v1
237 operator +(const Vector3& v1, const Vector3& v2) argument
244 operator *(const Vector3& v1, const Vector3& v2) argument
251 operator -(const Vector3& v1, const Vector3& v2) argument
287 operator /(const Vector3& v1, const Vector3& v2) argument
294 dot(const Vector3& v1, const Vector3& v2) argument
301 distance2(const Vector3& v1, const Vector3& v2) argument
308 distance(const Vector3& v1, const Vector3& v2) argument
315 angle(const Vector3& v1, const Vector3& v2) argument
322 cross(const Vector3& v1, const Vector3& v2) argument
329 triple(const Vector3& v1, const Vector3& v2, const Vector3& v3) argument
336 lerp(const Vector3& v1, const Vector3& v2, const float& t) argument
[all...]
/haiku-fatelf/src/libs/agg/src/
H A Dagg_vcgen_smooth_poly1.cpp81 const vertex_dist& v1,
86 double k1 = v0.dist / (v0.dist + v1.dist);
87 double k2 = v1.dist / (v1.dist + v2.dist);
91 double xm2 = v1.x + (v3.x - v1.x) * k2;
92 double ym2 = v1.y + (v3.y - v1.y) * k2;
94 m_ctrl1_x = v1.x + m_smooth_value * (v2.x - xm1);
95 m_ctrl1_y = v1
80 calculate(const vertex_dist& v0, const vertex_dist& v1, const vertex_dist& v2, const vertex_dist& v3) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dvalarith.c776 DOUBLEST v1, v2, v = 0;
777 v1 = value_as_double (arg1);
782 v = v1 + v2;
786 v = v1 - v2;
790 v = v1 * v2;
794 v = v1 / v2;
798 v = pow (v1, v2);
822 LONGEST v1, v2, v = 0;
823 v1 = value_as_long (arg1);
829 v = v1
772 DOUBLEST v1, v2, v = 0; local
818 LONGEST v1, v2, v = 0; local
902 ULONGEST v1, v2, v = 0; local
1027 LONGEST v1, v2, v = 0; local
[all...]
H A Dgdb_indent.sh48 v1=`echo "${version}" | sed 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)$/\1/'`
52 if test $m1 -ne $v1 -o $m2 -ne $v2 -o $m3 -gt $v3
/haiku-fatelf/src/system/libroot/posix/crypt/
H A Dcrypt_util.c609 { ufc_long v1, v2, *k1; local
618 v1 = v2 = 0; k1 = &do_pc1[0][0][0];
620 v1 |= k1[*key & 0x7f]; k1 += 128;
627 v1 = (v1 << rots[i]) | (v1 >> (28 - rots[i]));
628 v = k1[(v1 >> 21) & 0x7f]; k1 += 128;
629 v |= k1[(v1 >> 14) & 0x7f]; k1 += 128;
630 v |= k1[(v1 >> 7) & 0x7f]; k1 += 128;
631 v |= k1[(v1 )
659 { ufc_long v1, v2, x; local
[all...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/
H A DImathVecAlgo.h80 // Find the vertex of triangle (v0, v1, v2), which is closest to point p
85 const Vec &v1,
118 const Vec &v1,
124 typename Vec::BaseType tmp = (v1 - p).length2();
129 nearest = v1;
117 closestVertex(const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p) argument
H A DImathLineAlgo.h57 // const Vec3<T> &v1,
65 // const Vec3<T> &v1,
126 const Vec3<T> &v1,
133 // Given a line and a triangle (v0, v1, v2), the intersect() function
149 // normal, (v2-v1)%(v1-v0), and the line's direction is negative.
153 // pt = v0 * barycentric.x + v1 * barycentric.y + v2 * barycentric.z
156 Vec3<T> edge0 = v1 - v0;
157 Vec3<T> edge1 = v2 - v1;
203 Vec3<T> a = pt - v1;
123 intersect(const Line3<T> &line, const Vec3<T> &v0, const Vec3<T> &v1, const Vec3<T> &v2, Vec3<T> &pt, Vec3<T> &barycentric, bool &front) argument
228 closestVertex(const Vec3<T> &v0, const Vec3<T> &v1, const Vec3<T> &v2, const Line3<T> &l) argument
[all...]
/haiku-fatelf/src/bin/less/
H A Dless.h186 #define SNPRINTF1(str, size, fmt, v1) snprintf((str), (size), (fmt), (v1))
187 #define SNPRINTF2(str, size, fmt, v1, v2) snprintf((str), (size), (fmt), (v1), (v2))
188 #define SNPRINTF3(str, size, fmt, v1, v2, v3) snprintf((str), (size), (fmt), (v1), (v2), (v3))
189 #define SNPRINTF4(str, size, fmt, v1, v2, v3, v4) snprintf((str), (size), (fmt), (v1), (v2), (v3), (v4))
192 #define SNPRINTF1(str, size, fmt, v1) sprintf((str), (fmt), (v1))
[all...]
/haiku-fatelf/src/add-ons/accelerants/radeon_hd/
H A Dencoder.cpp92 SELECT_CRTC_SOURCE_PS_ALLOCATION v1; member in union:crtcSourceParam
103 args.v1.ucCRTC = crtcID;
107 args.v1.ucDevice = ATOM_DEVICE_DFP1_INDEX;
113 args.v1.ucDevice = ATOM_DEVICE_LCD1_INDEX;
115 args.v1.ucDevice = ATOM_DEVICE_DFP3_INDEX;
120 args.v1.ucDevice = ATOM_DEVICE_DFP2_INDEX;
125 args.v1.ucDevice = ATOM_DEVICE_TV1_INDEX;
128 args.v1.ucDevice = ATOM_DEVICE_CV_INDEX;
130 args.v1.ucDevice = ATOM_DEVICE_CRT1_INDEX;
135 args.v1
454 LVDS_ENCODER_CONTROL_PS_ALLOCATION v1; member in union:lvdsEncoderControl
576 DIG_ENCODER_CONTROL_PS_ALLOCATION v1; member in union:digEncoderControl
837 EXTERNAL_ENCODER_CONTROL_PS_ALLOCATION v1; member in union:externalEncoderControl
1208 DIG_TRANSMITTER_CONTROL_PS_ALLOCATION v1; member in union:digTransmitterControl
[all...]
H A Dpll.cpp539 ADJUST_DISPLAY_PLL_PS_ALLOCATION v1; member in union:adjustPixelClock
550 args.v1.usPixelClock
552 args.v1.ucTransmitterID = encoderID;
553 args.v1.ucEncodeMode = encoderMode;
555 args.v1.ucConfig
562 = B_LENDIAN_TO_HOST_INT16(args.v1.usPixelClock);
725 PIXEL_CLOCK_PARAMETERS v1; member in union:setPixelClock
736 args.v1.usPixelClock
738 args.v1.usRefDiv = B_HOST_TO_LENDIAN_INT16(pll->referenceDiv);
739 args.v1
874 PIXEL_CLOCK_PARAMETERS v1; member in union:setPixelClock
[all...]
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/
H A Dguid.h25 uint32_t v1; member in struct:asf_guid_s
/haiku-fatelf/src/apps/icon-o-matic/generic/support/
H A Dsupport.h112 min5(float v1, float v2, float v3, float v4, float v5) argument
114 return min_c(min4(v1, v2, v3, v4), v5);
118 max5(float v1, float v2, float v3, float v4, float v5) argument
120 return max_c(max4(v1, v2, v3, v4), v5);
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Dk_tan.c87 double z,r,v,w,s,r1,r2,r3,v1,v2,v3,w2,w4; local
115 v1 = T[10]+w*T[12]; w2=w*w;
117 v3 = T[2]+w*T[4]; v1=z*v1;
121 v = v3 + w2*v2 + w4*v1;
/haiku-fatelf/src/libs/pdflib/libs/png/
H A Dpngvcrd.c1213 movd mm0, [esi] ; X X X X X v2 v1 v0
1214 pand mm0, const4 ; 0 0 0 0 0 v2 v1 v0
1215 movq mm1, mm0 ; 0 0 0 0 0 v2 v1 v0
1216 psllq mm0, 16 ; 0 0 0 v2 v1 v0 0 0
1217 movq mm2, mm0 ; 0 0 0 v2 v1 v0 0 0
1218 psllq mm0, 24 ; v2 v1 v0 0 0 0 0 0
1219 psrlq mm1, 8 ; 0 0 0 0 0 0 v2 v1
1220 por mm0, mm2 ; v2 v1 v0 v2 v1 v0 0 0
1221 por mm0, mm1 ; v2 v1 v
[all...]
/haiku-fatelf/src/tests/servers/app/newerClipping/
H A DClientLooper.cpp23 random_number_between(float v1, float v2) argument
25 if (v1 < v2)
26 return v1 + fmod(rand() / 1000.0, (v2 - v1));
27 else if (v2 < v1)
28 return v2 + fmod(rand() / 1000.0, (v1 - v2));
29 return v1;
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A Drom_calls.h70 #define LP1(offs, rt, name, t1, v1, r1, bt, bn) \
72 t1 _##name##_v1 = (v1); \
88 #define LP1NR(offs, name, t1, v1, r1, bt, bn) \
90 t1 _##name##_v1 = (v1); \
106 #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn) \
108 t1 _##name##_v1 = (v1); \
125 #define LP1NRA5(offs, name, t1, v1, r1, bt, bn) \
127 t1 _##name##_v1 = (v1); \
143 #define LP1A5FP(offs, rt, name, t1, v1, r1, bt, bn, fpt) \
146 t1 _##name##_v1 = (v1); \
[all...]
/haiku-fatelf/src/libs/glut/
H A Dglut_shapes.c285 crossprod(GLfloat v1[3], GLfloat v2[3], GLfloat prod[3]) argument
287 GLfloat p[3]; /* in case prod == v1 or v2 */
289 p[0] = v1[1] * v2[2] - v2[1] * v1[2];
290 p[1] = v1[2] * v2[0] - v2[2] * v1[0];
291 p[2] = v1[0] * v2[1] - v2[0] * v1[1];
391 subdivide(GLfloat * v0, GLfloat * v1, GLfloat * v2, argument
404 w0[n] = (i * v0[n] + j * v1[
[all...]
/haiku-fatelf/src/bin/sharutils/lib/
H A Dmktime.c99 unsigned long int v1, v2; local
102 v1 = v2 = 0;
105 v1 += t1->x * secs; \
127 distance = (v1 > v2) ? (v1 - v2) : (v2 - v1);
/haiku-fatelf/src/bin/diffutils/src/
H A Ddir.c261 int v1 = (*handle_file) (cmp,
264 if (val < v1)
265 val = v1;
260 int v1 = (*handle_file) (cmp, local
/haiku-fatelf/src/kits/shared/
H A DSHA256.cpp146 uint32 v1 = fBuffer[i - 2]; local
148 uint32 s1 = rotate_right(v1, 17) ^ rotate_right(v1, 19) ^ (v1 >> 10);

Completed in 194 milliseconds

123