Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 2937) sorted by relevance

12345678910>>...118

/aosp12/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java64 if ((v <= 0) || ((v & (v - 1)) != 0)) { in align()
75 if ((v & (v - 1)) != 0) { in subalign()
146 v = v | ((mData[--mPos] & 0xff) << 16); in subI32()
147 v = v | ((mData[--mPos] & 0xff) << 8); in subI32()
148 v = v | ((mData[--mPos] & 0xff)); in subI32()
170 v = (long)(v | (((long)x) & 0xff) << 56l); in subI64()
182 v = (long)(v | (((long)x) & 0xff) << 8l); in subI64()
184 v = (long)(v | (((long)x) & 0xff)); in subI64()
189 if ((v < 0) || (v > 0xff)) { in addU8()
197 if ((v < 0) || (v > 0xffff)) { in addU16()
[all …]
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/
H A DFieldPacker.java65 if ((v <= 0) || ((v & (v - 1)) != 0)) { in align()
76 if ((v & (v - 1)) != 0) { in subalign()
147 v = v | ((mData[--mPos] & 0xff) << 16); in subI32()
148 v = v | ((mData[--mPos] & 0xff) << 8); in subI32()
149 v = v | ((mData[--mPos] & 0xff)); in subI32()
171 v = (long)(v | (((long)x) & 0xff) << 56l); in subI64()
183 v = (long)(v | (((long)x) & 0xff) << 8l); in subI64()
185 v = (long)(v | (((long)x) & 0xff)); in subI64()
190 if ((v < 0) || (v > 0xff)) { in addU8()
198 if ((v < 0) || (v > 0xffff)) { in addU16()
[all …]
/aosp12/art/test/449-checker-bce-rem/src/
H A DMain.java51 if (v > 0) { in $noinline$IntRemBy3()
80 if (v > 0) { in $noinline$IntRemBy7()
107 if (v > 0) { in $noinline$IntRemBy12()
134 if (v > 0) { in $noinline$IntRemBy12A()
164 if (v > 0) { in $noinline$IntRemByMaxInt()
191 if (v > 0) { in $noinline$IntRemByMinInt()
217 if (v > 0) { in $noinline$NoRem01()
244 if (v > 0) { in $noinline$NoRem02()
272 if (v > 0) { in $noinline$NoRem03()
302 if (v > 0) { in $noinline$NoRem04()
[all …]
/aosp12/art/test/411-checker-hdiv-hrem-const/src/
H A DDivTest.java263 return -v; in $noinline$Negate()
370 v /= 10; in $noinline$UnsignedIntDiv05()
389 v /= 10; in $noinline$UnsignedIntDiv06()
406 while (v > 0 && (v % 10) == 0) { in $noinline$UnsignedIntDiv07()
409 return v; in $noinline$UnsignedIntDiv07()
427 v = (v % 10) + (v / 10); in $noinline$UnsignedIntDiv08()
429 return v; in $noinline$UnsignedIntDiv08()
849 while (v > 0 && (v % 10) == 0) { in $noinline$UnsignedLongDiv07()
852 return v; in $noinline$UnsignedLongDiv07()
865 v = (v % 10) + (v / 10); in $noinline$UnsignedLongDiv08()
[all …]
H A DRemTest.java269 return -v; in $noinline$Negate()
294 if (v > 0) { in $noinline$UnsignedIntRem01()
384 v %= 10; in $noinline$UnsignedIntRem05()
405 v = (v % 10) + (v / 10); in $noinline$UnsignedIntRem06()
407 return v; in $noinline$UnsignedIntRem06()
513 if (v < a) in $noinline$SignedIntRem05()
723 return -v; in $noinline$Negate()
813 v %= 10; in $noinline$UnsignedLongRem05()
829 v = (v % 10) + (v / 10); in $noinline$UnsignedLongRem06()
831 return v; in $noinline$UnsignedLongRem06()
[all …]
/aosp12/frameworks/native/libs/vr/libpdx/
H A Dvariant_tests.cpp139 v = 10; in TEST()
149 v = false; in TEST()
159 v = 1.0f; in TEST()
195 v = 20; in TEST()
260 v = &b; in TEST()
265 v = &a; in TEST()
276 v = a; in TEST()
448 v = 10; in TEST()
510 v = 10; in TEST()
673 v = true; in TEST()
[all …]
/aosp12/art/test/411-checker-instruct-simplifier-hrem/src/
H A DMain.java101 int q = v / 18; in $noinline$IntDivRemBy18()
102 int r = v % 18; in $noinline$IntDivRemBy18()
145 int r = v % 18; in $noinline$IntRemDivBy18()
146 int q = v / 18; in $noinline$IntRemDivBy18()
169 int q = v / 5; in $noinline$IntDivRemBy5()
170 int r = v % 5; in $noinline$IntDivRemBy5()
231 int q = v / 7; in $noinline$IntDivRemBy7()
232 int r = v % 7; in $noinline$IntDivRemBy7()
330 int q = v / s; in $noinline$IntDivRem()
331 int r = v % s; in $noinline$IntDivRem()
[all …]
/aosp12/frameworks/base/libs/hwui/tests/unit/
H A DFatVectorTests.cpp29 return (char*)(&v) <= (char*)(&v[0]) && (char*)(&v + 1) >= (char*)(&v[0] + v.capacity()); in allocationIsInternal()
34 std::vector<int> v; in TEST() local
36 v.push_back(i); in TEST()
42 FatVector<int, 4> v; in TEST() local
47 v.push_back(i); in TEST()
53 v.push_back(i); in TEST()
66 FatVector<int, 4> v(4); in TEST() local
80 FatVector<int, 10> v; in TEST() local
84 v.resize(11); in TEST()
89 v.resize(10); in TEST()
[all …]
/aosp12/frameworks/rs/script_api/include/
H A Drs_convert.rsh53 convert_float2(char2 v);
56 convert_float3(char3 v);
59 convert_float4(char4 v);
89 convert_float2(int2 v);
92 convert_float3(int3 v);
95 convert_float4(int4 v);
116 convert_char2(char2 v);
119 convert_char3(char3 v);
152 convert_char2(int2 v);
155 convert_char3(int3 v);
[all …]
/aosp12/frameworks/rs/driver/runtime/
H A Drs_cl.c697 if (!isinf(v) && !isnan(v) && (v < 0.f)) { in FN_FUNC_FN()
1105 return sqrt(v.x*v.x + v.y*v.y); in length()
1108 return sqrt(v.x*v.x + v.y*v.y + v.z*v.z); in length()
1111 return sqrt(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w); in length()
1170 return half_sqrt(v.x*v.x + v.y*v.y); in fast_length()
1173 return half_sqrt(v.x*v.x + v.y*v.y + v.z*v.z); in fast_length()
1176 return half_sqrt(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w); in fast_length()
1208 float rlength = half_rsqrt(v.x*v.x + v.y*v.y); in fast_normalize()
1212 float rlength = half_rsqrt(v.x*v.x + v.y*v.y + v.z*v.z); in fast_normalize()
1216 float rlength = half_rsqrt(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w); in fast_normalize()
[all …]
/aosp12/frameworks/base/libs/hwui/
H A DVector.h40 x += v.x;
50 x += v;
51 y += v;
55 x -= v;
56 y -= v;
69 Vector2 operator+(const Vector2& v) const { return (Vector2){x + v.x, y + v.y}; }
71 Vector2 operator-(const Vector2& v) const { return (Vector2){x - v.x, y - v.y}; }
89 float dot(const Vector2& v) const { return x * v.x + y * v.y; } in dot()
91 float cross(const Vector2& v) const { return x * v.y - y * v.x; } in cross()
103 Vector3 operator+(const Vector3& v) const { return (Vector3){x + v.x, y + v.y, z + v.z}; }
[all …]
H A DMatrix.cpp183 v.reset(); in copyTo()
227 double scale = 1.0 / (v.data[kScaleX] * ((double)v.data[kScaleY] * v.data[kPerspective2] - in loadInverse()
229 v.data[kSkewX] * ((double)v.data[kTranslateY] * v.data[kPerspective0] - in loadInverse()
231 v.data[kTranslateX] * ((double)v.data[kSkewY] * v.data[kPerspective1] - in loadInverse()
238 (v.data[kTranslateX] * v.data[kPerspective1] - v.data[kSkewX] * v.data[kPerspective2]) * in loadInverse()
241 (v.data[kSkewX] * v.data[kTranslateY] - v.data[kTranslateX] * v.data[kScaleY]) * scale; in loadInverse()
244 (v.data[kTranslateY] * v.data[kPerspective0] - v.data[kSkewY] * v.data[kPerspective2]) * in loadInverse()
250 (v.data[kTranslateX] * v.data[kSkewY] - v.data[kScaleX] * v.data[kTranslateY]) * scale; in loadInverse()
253 (v.data[kSkewY] * v.data[kPerspective1] - v.data[kScaleY] * v.data[kPerspective0]) * in loadInverse()
256 (v.data[kSkewX] * v.data[kPerspective0] - v.data[kScaleX] * v.data[kPerspective1]) * in loadInverse()
[all …]
/aosp12/system/security/keystore2/src/km_compat/
H A Dkm_compat_type_conversion.h472 if (auto v = KMV1::authorizationValue(KMV1::TAG_DIGEST, kp)) { in convertKeyParameterToLegacy() local
720 if (auto v = KMV1::authorizationValue(KMV1::TAG_NONCE, kp)) { in convertKeyParameterToLegacy() local
721 return V4_0::makeKeyParameter(V4_0::TAG_NONCE, v->get()); in convertKeyParameterToLegacy()
754 auto unwrapper = [](auto v) -> auto { in convertKeyParameterFromLegacy()
755 if (v.isOk()) { in convertKeyParameterFromLegacy()
756 return std::optional(std::reference_wrapper(v.value())); in convertKeyParameterFromLegacy()
843 if (auto v = in convertKeyParameterFromLegacy() local
894 if (auto v = in convertKeyParameterFromLegacy() local
900 if (auto v = in convertKeyParameterFromLegacy() local
956 if (auto v = in convertKeyParameterFromLegacy() local
[all …]
/aosp12/system/chre/util/tests/
H A Dheap_test.cc11 DynamicVector<int> v; in TEST() local
17 DynamicVector<int> v; in TEST() local
48 EXPECT_EQ(array_sorted[i], v[v.size() - 1]); in TEST()
49 v.erase(v.size() - 1); in TEST()
58 v.push_back(0); in TEST()
88 int data = v[v.size() - 1]; in TEST()
89 v.erase(v.size() - 1); in TEST()
97 EXPECT_EQ(array_sorted[i], v[v.size() - 1]); in TEST()
98 v.erase(v.size() - 1); in TEST()
113 EXPECT_EQ(i, v[v.size() - 1]); in TEST()
[all …]
/aosp12/packages/modules/StatsD/lib/libkll/encoding/
H A Dvarint.h30 static char* Encode32(char* ptr, uint32_t v);
31 static char* Encode64(char* ptr, uint64_t v);
34 static int Length64(uint64_t v);
42 inline int Varint::Length64(uint64_t v) { in Length64() argument
54 if (v < (1 << 7)) { in Encode32Inline()
55 *(ptr++) = static_cast<uint8_t>(v); in Encode32Inline()
56 } else if (v < (1 << 14)) { in Encode32Inline()
57 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
59 } else if (v < (1 << 21)) { in Encode32Inline()
60 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
[all …]
/aosp12/system/sepolicy/build/soong/
H A Dsepolicy_vers.go31 v := &sepolicyVers{}
32 v.AddProperties(&v.properties)
34 return v
56 func (v *sepolicyVers) installable() bool {
60 func (v *sepolicyVers) stem() string {
61 return proptools.StringDefault(v.properties.Stem, v.Name())
83 rule.Build("sepolicy_vers", v.Name())
86 v.installSource = out
87 ctx.InstallFile(v.installPath, v.stem(), v.installSource)
89 if !v.installable() {
[all …]
/aosp12/frameworks/base/native/graphics/jni/fuzz/
H A Dpng_mutator.h53 V v(len); in PngMutator()
59 Append(&chunks_[idat_idx].v, v); in PngMutator()
69 v = V(it, v.end()); in PngMutator()
90 V v; in Serialize() local
114 v->resize(v->size() + 1 + rnd() % 256); in Mutate()
115 v->resize(m(v->data(), v->size(), v->size())); in Mutate()
162 m(it->v.data(), it->v.size(), it->v.size()); in Mutate()
222 out.write((const char*)v->data(), v->size());
234 V v; in Uncompress() local
250 V v; in Compress() local
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingPropertyAnimator.java60 setLayoutTop(v, top); in onLayoutChange()
61 if (isFirstLayout(v)) { in onLayoutChange()
63 setTop(v, top); in onLayoutChange()
66 startTopAnimation(v, getTop(v), top, MessagingLayout.FAST_OUT_SLOW_IN); in onLayoutChange()
123 return v.getTop(); in getTop()
134 int top = getTop(v); in updateTopAndBottom()
136 v.setTop(top); in updateTopAndBottom()
147 || (MessagingLinearLayout.isGone(v) && !isHidingAnimated(v))) { in startTopAnimation()
148 setTop(v, end); in startTopAnimation()
152 setTop(v, start); in startTopAnimation()
[all …]
/aosp12/build/soong/ui/metrics/proc/
H A Dstatus.go71 s.VmPeak = v
73 s.VmSize = v
75 s.VmLck = v
77 s.VmPin = v
79 s.VmHWM = v
81 s.VmRss = v
89 s.VmStk = v
91 s.VmExe = v
93 s.VmLib = v
95 s.VmPTE = v
[all …]
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderRaw.java62 Float min = Math.min(v.mVoxelDim[0], Math.min(v.mVoxelDim[1], v.mVoxelDim[2])); in buildRSVolume()
63 v.mVoxelDim[0] /= min; in buildRSVolume()
64 v.mVoxelDim[1] /= min; in buildRSVolume()
65 v.mVoxelDim[2] /= min; in buildRSVolume()
67 if (v.mDimz < 20) { in buildRSVolume()
97 v.mDimz = count; in buildRSVolume()
115 0, v.mDimy * v.mDimx * 2); in buildRSVolume()
116 short[] slice = new short[v.mDimy * v.mDimx]; in buildRSVolume()
123 b.setX(v.mDimx).setY(v.mDimy); in buildRSVolume()
132 int size = v.mDimy * v.mDimx; in buildRSVolume()
[all …]
/aosp12/frameworks/native/libs/math/include/math/
H A DTVecHelpers.h461 v[i] = std::abs(v[i]); in abs()
468 v[i] = std::floor(v[i]); in floor()
475 v[i] = std::ceil(v[i]); in ceil()
482 v[i] = std::round(v[i]); in round()
489 v[i] = T(1) / std::sqrt(v[i]); in inversesqrt()
496 v[i] = std::sqrt(v[i]); in sqrt()
503 v[i] = std::pow(v[i], p); in pow()
529 v[i] = std::min(u[i], v[i]); in min()
536 v[i] = std::max(u[i], v[i]); in max()
559 v[i] = f(v[i]); in apply()
[all …]
H A Dquat.h116 constexpr TQuaternion(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TQuaternion() argument
120 constexpr explicit TQuaternion(const TVec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in TQuaternion() argument
124 constexpr explicit TQuaternion(const TQuaternion<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in TQuaternion() argument
148 return quat(0, static_cast<float>(v), 0, 0);
151 return quat(0, 0, static_cast<float>(v), 0);
154 return quat(0, 0, 0, static_cast<float>(v));
158 return quat(0, static_cast<float>(v), 0, 0);
161 return quat(0, 0, static_cast<float>(v), 0);
164 return quat(0, 0, 0, static_cast<float>(v));
168 return quatd(0, static_cast<double>(v), 0, 0);
[all …]
/aosp12/build/soong/android/
H A Dpath_properties.go63 v := reflect.ValueOf(ps)
64 if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct {
69 if v.IsNil() {
74 v = v.Elem()
106 v.Type().FieldByIndex(i).Name, v.Type(), sv.Type()))
119 if isSliceOfStruct(v) {
126 if v.IsNil() {
129 v = v.Elem()
139 if v.IsNil() {
142 v = v.Elem()
[all …]
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/
H A DCameraDeviceReport.java86 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: " in printCameraInfo()
102 Log.v(TAG, "SENSOR_INFO_TIMESTAMP_SOURCE: " + in printCameraInfo()
128 Log.v(TAG, "REQUEST_PIPELINE_MAX_DEPTH: " in printCameraInfo()
131 Log.v(TAG, "REQUEST_MAX_NUM_OUTPUT_RAW: " in printCameraInfo()
133 Log.v(TAG, "REQUEST_MAX_NUM_OUTPUT_PROC: " in printCameraInfo()
138 Log.v(TAG, "EDGE_AVAILABLE_EDGE_MODES: " in printCameraInfo()
219 Log.v(TAG, " " + item); in printCameraInfo()
364 Log.v(TAG, "Build.DEVICE = " + Build.DEVICE); in printDisplayInfo()
366 Log.v(TAG, "Build.BRAND = " + Build.BRAND); in printDisplayInfo()
367 Log.v(TAG, "Build.MODEL = " + Build.MODEL); in printDisplayInfo()
[all …]
/aosp12/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java144 ViewGroup v) { in scrollToBottom() argument
246 v.getLocationOnScreen(xy); in dragViewToBottom()
266 v.getLocationOnScreen(xy); in tapView()
306 v.getLocationOnScreen(xy); in touchAndCancelView()
341 v.getLocationOnScreen(xy); in clickView()
402 v.getLocationOnScreen(xy); in longClickView()
477 dragViewToTop(test, v, 4); in dragViewToTop()
489 v.getLocationOnScreen(xy); in dragViewToTop()
511 v.getLocationOnScreen(xy); in getStartLocation()
586 getStartLocation(v, gravity, xy); in dragViewBy()
[all …]

12345678910>>...118