Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 1256) sorted by relevance

12345678910>>...51

/aosp14/system/core/init/
H A Dtokenizer.cpp10 char *x = state->ptr; in next_token() local
20 switch (*x) { in next_token()
25 x++; in next_token()
31 x++; in next_token()
34 while (*x && (*x != '\n')) x++; in next_token()
48 state->ptr = x; in next_token()
61 x++; in next_token()
65 x++; in next_token()
68 x++; in next_token()
84 x++; in next_token()
[all …]
/aosp14/system/core/libnetutils/
H A Ddhcpmsg.c26 uint8_t *x; in init_dhcp_msg() local
49 *x++ = 1; in init_dhcp_msg()
52 return x; in init_dhcp_msg()
57 uint8_t *x; in init_dhcp_discover_msg() local
62 *x++ = 4; in init_dhcp_discover_msg()
76 uint8_t *x; in init_dhcp_request_msg() local
81 *x++ = 4; in init_dhcp_request_msg()
88 *x++ = 4; in init_dhcp_request_msg()
90 x += 4; in init_dhcp_request_msg()
93 *x++ = 4; in init_dhcp_request_msg()
[all …]
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DInt2.java41 this.x = x; in Int2()
47 this.x = source.x; in Int2()
57 this.x += a.x; in add()
70 result.x = a.x + b.x; in add()
107 this.x -= a.x; in sub()
120 result.x = a.x - b.x; in sub()
157 this.x *= a.x; in mul()
170 result.x = a.x * b.x; in mul()
220 result.x = a.x / b.x; in div()
270 result.x = a.x % b.x; in mod()
[all …]
H A DLong2.java41 this.x = x; in Long2()
47 this.x = source.x; in Long2()
57 this.x += a.x; in add()
70 result.x = a.x + b.x; in add()
107 this.x -= a.x; in sub()
120 result.x = a.x - b.x; in sub()
157 this.x *= a.x; in mul()
170 result.x = a.x * b.x; in mul()
220 result.x = a.x / b.x; in div()
270 result.x = a.x % b.x; in mod()
[all …]
H A DShort2.java44 this.x = x; in Short2()
50 this.x = source.x; in Short2()
60 this.x += a.x; in add()
73 result.x = (short)(a.x + b.x); in add()
110 this.x -= a.x; in sub()
123 result.x = (short)(a.x - b.x); in sub()
160 this.x *= a.x; in mul()
173 result.x = (short)(a.x * b.x); in mul()
210 this.x /= a.x; in div()
223 result.x = (short)(a.x / b.x); in div()
[all …]
H A DDouble2.java37 this.x = data.x; in Double2()
42 this.x = x; in Double2()
55 res.x = a.x + b.x; in add()
67 x += value.x; in add()
102 x -= value.x; in sub()
115 res.x = a.x - b.x; in sub()
152 x *= value.x; in mul()
165 res.x = a.x * b.x; in mul()
215 res.x = a.x / b.x; in div()
292 x = -x; in negate()
[all …]
H A DFloat2.java36 this.x = data.x; in Float2()
41 this.x = x; in Float2()
54 res.x = a.x + b.x; in add()
66 x += value.x; in add()
101 x -= value.x; in sub()
114 res.x = a.x - b.x; in sub()
151 x *= value.x; in mul()
164 res.x = a.x * b.x; in mul()
214 res.x = a.x / b.x; in div()
291 x = -x; in negate()
[all …]
H A DByte2.java42 this.x = source.x; in Byte2()
52 this.x += a.x; in add()
65 result.x = (byte)(a.x + b.x); in add()
102 this.x -= a.x; in sub()
115 result.x = (byte)(a.x - b.x); in sub()
152 this.x *= a.x; in mul()
165 result.x = (byte)(a.x * b.x); in mul()
202 this.x /= a.x; in div()
215 result.x = (byte)(a.x / b.x); in div()
291 x += a.x * factor; in addMultiple()
[all …]
H A DDouble3.java37 this.x = data.x; in Double3()
43 this.x = x; in Double3()
57 res.x = a.x + b.x; in add()
70 x += value.x; in add()
108 x -= value.x; in sub()
122 res.x = a.x - b.x; in sub()
162 x *= value.x; in mul()
176 res.x = a.x * b.x; in mul()
230 res.x = a.x / b.x; in div()
312 x = -x; in negate()
[all …]
H A DInt3.java42 this.x = x; in Int3()
49 this.x = source.x; in Int3()
60 this.x += a.x; in add()
74 result.x = a.x + b.x; in add()
114 this.x -= a.x; in sub()
128 result.x = a.x - b.x; in sub()
168 this.x *= a.x; in mul()
182 result.x = a.x * b.x; in mul()
236 result.x = a.x / b.x; in div()
290 result.x = a.x % b.x; in mod()
[all …]
H A DLong3.java42 this.x = x; in Long3()
49 this.x = source.x; in Long3()
60 this.x += a.x; in add()
74 result.x = a.x + b.x; in add()
114 this.x -= a.x; in sub()
128 result.x = a.x - b.x; in sub()
168 this.x *= a.x; in mul()
182 result.x = a.x * b.x; in mul()
236 result.x = a.x / b.x; in div()
290 result.x = a.x % b.x; in mod()
[all …]
H A DShort3.java42 this.x = x; in Short3()
49 this.x = source.x; in Short3()
60 this.x += a.x; in add()
74 result.x = (short)(a.x + b.x); in add()
114 this.x -= a.x; in sub()
128 result.x = (short)(a.x - b.x); in sub()
168 this.x *= a.x; in mul()
182 result.x = (short)(a.x * b.x); in mul()
222 this.x /= a.x; in div()
236 result.x = (short)(a.x / b.x); in div()
[all …]
H A DFloat3.java37 this.x = data.x; in Float3()
43 this.x = x; in Float3()
57 res.x = a.x + b.x; in add()
70 x += value.x; in add()
108 x -= value.x; in sub()
122 res.x = a.x - b.x; in sub()
162 x *= value.x; in mul()
176 res.x = a.x * b.x; in mul()
230 res.x = a.x / b.x; in div()
312 x = -x; in negate()
[all …]
H A DByte3.java44 this.x = source.x; in Byte3()
55 this.x += a.x; in add()
69 result.x = (byte)(a.x + b.x); in add()
109 this.x -= a.x; in sub()
123 result.x = (byte)(a.x - b.x); in sub()
163 this.x *= a.x; in mul()
177 result.x = (byte)(a.x * b.x); in mul()
217 this.x /= a.x; in div()
231 result.x = (byte)(a.x / b.x); in div()
311 x += a.x * factor; in addMultiple()
[all …]
H A DLong4.java43 this.x = x; in Long4()
51 this.x = source.x; in Long4()
63 this.x += a.x; in add()
78 result.x = a.x + b.x; in add()
121 this.x -= a.x; in sub()
136 result.x = a.x - b.x; in sub()
179 this.x *= a.x; in mul()
194 result.x = a.x * b.x; in mul()
252 result.x = a.x / b.x; in div()
310 result.x = a.x % b.x; in mod()
[all …]
H A DInt4.java43 this.x = x; in Int4()
51 this.x = source.x; in Int4()
63 this.x += a.x; in add()
78 result.x = a.x + b.x; in add()
121 this.x -= a.x; in sub()
136 result.x = a.x - b.x; in sub()
179 this.x *= a.x; in mul()
194 result.x = a.x * b.x; in mul()
252 result.x = a.x / b.x; in div()
310 result.x = a.x % b.x; in mod()
[all …]
H A DShort4.java43 this.x = x; in Short4()
51 this.x = source.x; in Short4()
63 this.x += a.x; in add()
78 result.x = (short)(a.x + b.x); in add()
121 this.x -= a.x; in sub()
136 result.x = (short)(a.x - b.x); in sub()
179 this.x *= a.x; in mul()
194 result.x = (short)(a.x * b.x); in mul()
237 this.x /= a.x; in div()
252 result.x = (short)(a.x / b.x); in div()
[all …]
H A DDouble4.java38 this.x = data.x; in Double4()
45 this.x = x; in Double4()
60 res.x = a.x + b.x; in add()
74 x += value.x; in add()
115 x -= value.x; in sub()
159 res.x = a.x - b.x; in sub()
173 x *= value.x; in mul()
200 res.x = a.x * b.x; in mul()
275 res.x = a.x / b.x; in div()
333 x = -x; in negate()
[all …]
H A DFloat4.java38 this.x = data.x; in Float4()
45 this.x = x; in Float4()
60 res.x = a.x + b.x; in add()
74 x += value.x; in add()
115 x -= value.x; in sub()
159 res.x = a.x - b.x; in sub()
173 x *= value.x; in mul()
200 res.x = a.x * b.x; in mul()
275 res.x = a.x / b.x; in div()
333 x = -x; in negate()
[all …]
H A DByte4.java45 this.x = source.x; in Byte4()
57 this.x += a.x; in add()
72 result.x = (byte)(a.x + b.x); in add()
115 this.x -= a.x; in sub()
130 result.x = (byte)(a.x - b.x); in sub()
173 this.x *= a.x; in mul()
188 result.x = (byte)(a.x * b.x); in mul()
231 this.x /= a.x; in div()
246 result.x = (byte)(a.x / b.x); in div()
330 x += a.x * factor; in addMultiple()
[all …]
/aosp14/frameworks/base/core/java/android/util/
H A DSpline.java95 if (x == null || x.length < 2) { in isStrictlyIncreasing()
98 float prev = x[0]; in isStrictlyIncreasing()
110 if (x == null || x.length < 2) { in isMonotonic()
113 float prev = x[0]; in isMonotonic()
130 if (x == null || y == null || x.length != y.length || x.length < 2) { in MonotoneCubicSpline()
141 float h = x[i + 1] - x[i]; in MonotoneCubicSpline()
177 mX = x; in MonotoneCubicSpline()
187 return x; in interpolate()
238 if (x == null || y == null || x.length != y.length || x.length < 2) { in LinearSpline()
245 mM[i] = (y[i+1] - y[i]) / (x[i+1] - x[i]); in LinearSpline()
[all …]
/aosp14/frameworks/base/libs/hwui/
H A DVector.h32 float x; member
35 float lengthSquared() const { return x * x + y * y; } in lengthSquared()
37 float length() const { return sqrt(x * x + y * y); } in length()
40 x += v.x;
45 x -= v.x;
50 x += v;
55 x -= v;
60 x /= s;
65 x *= s;
79 x *= s; in normalize()
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DPointF.java27 public float x; field in PointF
33 this.x = x; in PointF()
38 this.x = p.x; in PointF()
50 this.x = p.x; in PointF()
58 this.x = x; in set()
66 this.x = p.x; in set()
71 x = -x; in negate()
76 x += dx; in offset()
84 return this.x == x && this.y == y; in equals()
94 if (Float.compare(pointF.x, x) != 0) return false; in equals()
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); in fromLineAndHeight()
98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); in fromLineAndHeight()
99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y); in fromLineAndHeight()
221 return new PointF((mTopLeft.x + mBottomRight.x) / 2f, in center()
250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, in grow()
252 factor * (mTopRight.x - pc.x) + pc.x, in grow()
254 factor * (mBottomLeft.x - pc.x) + pc.x, in grow()
256 factor * (mBottomRight.x - pc.x) + pc.x, in grow()
296 return new PointF(mTopRight.x - mTopLeft.x, mTopRight.y - mTopLeft.y); in xEdge()
341 float x = (p.x - c.x) * cosa - (p.y - c.y) * sina + c.x; in rotatePoint() local
[all …]
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java28 public float x; field in Point
37 public Point(float x, float y) { in Point() argument
38 this.x = x; in Point()
42 public void set(float x, float y) { in set() argument
43 this.x = x; in set()
48 return x >= 0.0f && x <= 1.0f && in IsInUnitRange()
53 return new Point(this.x + x, this.y + y); in plus()
61 return new Point(this.x - x, this.y - y); in minus()
73 return new Point(this.x * x, this.y * y); in mult()
77 return (float)Math.hypot(x, y); in length()
[all …]

12345678910>>...51