Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 1584) sorted by relevance

12345678910>>...64

/aosp12/frameworks/base/core/java/android/util/proto/
H A DProtoOutputStream.java941 final int N = val != null ? val.length : 0; in writePackedDouble()
1008 final int N = val != null ? val.length : 0; in writePackedFloat()
1106 final int N = val != null ? val.length : 0; in writePackedInt32()
1179 final int N = val != null ? val.length : 0; in writePackedInt64()
1251 final int N = val != null ? val.length : 0; in writePackedUInt32()
1323 final int N = val != null ? val.length : 0; in writePackedUInt64()
1395 final int N = val != null ? val.length : 0; in writePackedSInt32()
1467 final int N = val != null ? val.length : 0; in writePackedSInt64()
1841 if (val != null && val.length() > 0) { in writeStringImpl()
1861 if (val == null || val.length() == 0) { in writeRepeatedStringImpl()
[all …]
H A DEncodedBuffer.java296 if ((val & ~0x7F) == 0) { in writeRawVarint32()
301 val >>>= 7; in writeRawVarint32()
343 if ((val & ~0x7FL) == 0) { in writeRawVarint64()
348 val >>>= 7; in writeRawVarint64()
371 writeRawByte((byte)(val)); in writeRawFixed32()
381 writeRawByte((byte)(val)); in writeRawFixed64()
395 if (val != null && val.length > 0) { in writeRawBuffer()
396 writeRawBuffer(val, 0, val.length); in writeRawBuffer()
404 if (val == null) { in writeRawBuffer()
553 return (val << 1) ^ (val >> 31);
[all …]
/aosp12/frameworks/base/tools/aapt/
H A DBundle.h87 void setVerbose(bool val) { mVerbose = val; } in setVerbose() argument
89 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList() argument
91 void setForce(bool val) { mForce = val; } in setForce() argument
97 void setUpdate(bool val) { mUpdate = val; } in setUpdate() argument
99 void setExtending(bool val) { mExtending = val; } in setExtending() argument
104 void setWantUTF16(bool val) { mWantUTF16 = val; } in setWantUTF16() argument
106 void setValues(bool val) { mValues = val; } in setValues() argument
112 void setJunkPath(bool val) { mJunkPath = val; } in setJunkPath() argument
207 void setDebugMode(bool val) { mDebugMode = val; } in setDebugMode() argument
213 void setProduct(const char * val) { mProduct = val; } in setProduct() argument
[all …]
/aosp12/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcessNeon.h251 posCoef1.val[0] = vsubq_s32(posCoef1.val[0], posCoef.val[0]); in ProcessNeonIntrinsic()
252 posCoef1.val[1] = vsubq_s32(posCoef1.val[1], posCoef.val[1]); in ProcessNeonIntrinsic()
253 negCoef.val[0] = vsubq_s32(negCoef.val[0], negCoef1.val[0]); in ProcessNeonIntrinsic()
254 negCoef.val[1] = vsubq_s32(negCoef.val[1], negCoef1.val[1]); in ProcessNeonIntrinsic()
261 posCoef.val[0] = vaddq_s32(posCoef.val[0], posCoef1.val[0]); in ProcessNeonIntrinsic()
262 posCoef.val[1] = vaddq_s32(posCoef.val[1], posCoef1.val[1]); in ProcessNeonIntrinsic()
263 negCoef.val[0] = vaddq_s32(negCoef.val[0], negCoef1.val[0]); in ProcessNeonIntrinsic()
264 negCoef.val[1] = vaddq_s32(negCoef.val[1], negCoef1.val[1]); in ProcessNeonIntrinsic()
425 posCoef1.val[0] = vsubq_f32(posCoef1.val[0], posCoef.val[0]); in ProcessNeonIntrinsic()
427 negCoef.val[0] = vsubq_f32(negCoef.val[0], negCoef1.val[0]); in ProcessNeonIntrinsic()
[all …]
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java89 if (val != null) { in onCreate()
98 if (val != null) { in onCreate()
107 if (val != null) { in onCreate()
116 if (val != null) { in onCreate()
125 if (val != null) { in onCreate()
134 if (val != null) { in onCreate()
143 if (val != null) { in onCreate()
152 if (val != null) { in onCreate()
161 if (val != null) { in onCreate()
170 if (val != null) { in onCreate()
[all …]
/aosp12/system/update_engine/update_manager/
H A Dboxed_value.cc49 return *val;
79 return *val ? "true" : "false";
111 for (auto& it : *val) {
124 switch (*val) {
142 switch (*val) {
162 switch (*val) {
192 switch (*val) {
223 return val->ToString();
242 switch (*val) {
259 if (val->IsValid())
[all …]
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmendian.h30 #define BCMSWAP16(val) \ argument
35 #define BCMSWAP32(val) \ argument
102 uint16 _val = (val); \
107 uint32 _val = (val); \
112 uint32 _val = (val); \
181 bcmswap16(uint16 val) in bcmswap16() argument
187 bcmswap32(uint32 val) in bcmswap32() argument
219 bytes[1] = val >> 8; in htol16_ua_store()
231 bytes[3] = val >> 24; in htol32_ua_store()
240 bytes[0] = val >> 8; in hton16_ua_store()
[all …]
/aosp12/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java561 path.rCubicTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3], in addCommand()
562 val[k + 4], val[k + 5]); in addCommand()
571 path.cubicTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3], in addCommand()
572 val[k + 4], val[k + 5]); in addCommand()
587 val[k + 0], val[k + 1], in addCommand()
588 val[k + 2], val[k + 3]); in addCommand()
604 val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
611 path.rQuadTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
618 path.quadTo(val[k + 0], val[k + 1], val[k + 2], val[k + 3]); in addCommand()
633 val[k + 0], val[k + 1]); in addCommand()
[all …]
/aosp12/frameworks/base/libs/protoutil/src/
H A DProtoOutputStream.cpp163 writeBoolImpl(id, val); in write()
179 writeUtf8StringImpl(id, val.c_str(), val.size()); in write()
579 mBuffer->writeRawVarint64(val); in writeInt64Impl()
607 mBuffer->writeRawFixed64(val); in writeFixed64Impl()
614 mBuffer->writeRawFixed32(val); in writeFixed32Impl()
621 mBuffer->writeRawFixed64(val); in writeSFixed64Impl()
628 mBuffer->writeRawFixed32(val); in writeSFixed32Impl()
635 mBuffer->writeRawVarint64((val << 1) ^ (val >> 63)); in writeZigzagInt64Impl()
642 mBuffer->writeRawVarint32((val << 1) ^ (val >> 31)); in writeZigzagInt32Impl()
662 if (val == NULL) return; in writeUtf8StringImpl()
[all …]
H A DEncodedBuffer.cpp162 *writeBuffer() = val; in writeRawByte()
177 val >>= 7; in writeRawVarint64()
185 uint64_t v =(uint64_t)val; in writeRawVarint32()
284 uint8_t val = *at(mEp); in readRawByte() local
286 return val; in readRawByte()
300 return val; in readRawVarint()
306 uint32_t val = 0; in readRawFixed32() local
310 return val; in readRawFixed32()
316 uint64_t val = 0; in readRawFixed64() local
320 return val; in readRawFixed64()
[all …]
/aosp12/art/test/542-inline-trycatch/src/
H A DMain.java48 int val = 0; in testSingleBlockFromTry() local
55 assertEquals(42, val); in testSingleBlockFromTry()
64 int val = 0; in testSingleBlockFromCatch() local
71 assertEquals(42, val); in testSingleBlockFromCatch()
75 int val = 0; in testMultipleBlocksFromTry() local
82 assertEquals(42, val); in testMultipleBlocksFromTry()
89 assertEquals(32, val); in testMultipleBlocksFromTry()
103 int val = 0; in testMultipleBlocksFromCatch() local
110 assertEquals(42, val); in testMultipleBlocksFromCatch()
121 int val = 0; in testTryCatchFromTry() local
[all …]
/aosp12/frameworks/native/include/binder/
H A DParcel.h1188 const Flattenable<T>& val;
1244 if (!val.isFixedSize()) {
1271 if (val.isFixedSize()) {
1291 if (val.size() > INT32_MAX) {
1299 if (!val) {
1303 return writeVectorSize(*val);
1308 if (!val) {
1312 return writeVectorSize(*val);
1326 val->resize(size_t(size));
1338 val->reset();
[all …]
/aosp12/frameworks/native/libs/binder/include/binder/
H A DParcel.h1188 const Flattenable<T>& val;
1244 if (!val.isFixedSize()) {
1271 if (val.isFixedSize()) {
1291 if (val.size() > INT32_MAX) {
1299 if (!val) {
1303 return writeVectorSize(*val);
1308 if (!val) {
1312 return writeVectorSize(*val);
1326 val->resize(size_t(size));
1338 val->reset();
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DParcel.java907 writeStrongBinder(val == null ? null : val.asBinder()); in writeStrongInterface()
958 writeInt(val); in writeByte()
1075 final int size = (val != null) ? val.size() : -1; in writeArraySet()
1241 return val; in createBooleanArray()
1278 return val; in createCharArray()
1315 return val; in createIntArray()
1353 return val; in createLongArray()
1391 return val; in createFloatArray()
1429 return val; in createDoubleArray()
1481 return val; in createString8Array()
[all …]
H A DHwParcel.java209 final int n = val.size(); in writeBoolVector()
212 array[i] = val.get(i); in writeBoolVector()
223 final int n = val.size(); in writeInt8Vector()
226 array[i] = val.get(i); in writeInt8Vector()
237 final int n = val.size(); in writeInt16Vector()
251 final int n = val.size(); in writeInt32Vector()
265 final int n = val.size(); in writeInt64Vector()
279 final int n = val.size(); in writeFloatVector()
293 final int n = val.size(); in writeDoubleVector()
307 writeStringVector(val.toArray(new String[val.size()])); in writeStringVector()
[all …]
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/
H A Dstdint.h65 #define INT8_C(val) val##i8 argument
66 #define INT16_C(val) val##i16 argument
67 #define INT32_C(val) val##i32 argument
68 #define INT64_C(val) val##i64 argument
70 #define UINT8_C(val) val##ui8 argument
71 #define UINT16_C(val) val##ui16 argument
72 #define UINT32_C(val) val##ui32 argument
73 #define UINT64_C(val) val##ui64 argument
276 #define INT8_C(val) val##i8 argument
277 #define INT16_C(val) val##i16 argument
[all …]
/aosp12/bionic/libc/private/
H A Dbionic_asm_dwarf_exprs.h45 #define ULEB128_14BIT_SIZE(val) \ argument
46 (1 + (((val) > 0x7f) & 1))
54 .macro m_cfi_uleb128 val
55 .if (\val) < 0 || (\val) > 0x3fff
57 .elseif (\val) > 0x7f
59 .cfi_escape (\val) >> 7
61 .cfi_escape (\val)
66 .macro m_cfi_sleb128 val
67 .if (\val) < -0x2000 || (\val) > 0x1fff
69 .elseif (\val) < -0x40 || (\val) > 0x3f
[all …]
/aosp12/art/test/1974-resize-array/
H A Dexpected-stdout.txt2 val is: [1, 2, 3] resize +3
3 val is: [1, 2, 3, 0, 0, 0, 0, 0]
7 val is: [1, 2, 3, 4] resize +3
9 val is: [1, 2, 3, 4, 0, 0, 0]
27 val is: [<SELF REF>, A]
28 val is: [<SELF REF>, A]
40 val is: [1, 2, 3]
45 T1: val is: [1]
49 T2: val is: [1]
54 val is: [A]
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dmetadata_common.h86 return UpdateMetadata(metadata, tag, val.data(), val.size()); in UpdateMetadata()
102 return UpdateMetadata(metadata, tag, val.data(), val.total_num_elements()); in UpdateMetadata()
129 *val = entry.data.u8;
141 *val = entry.data.f;
153 *val = entry.data.d;
159 *val = entry.data.r;
181 if (!val) { in SingleTagValue()
203 *val = *data; in SingleTagValue()
212 if (!val) { in SingleTagValue()
261 if (!val) { in VectorTagValue()
[all …]
/aosp12/frameworks/native/libs/binder/
H A DParcel.cpp934 status_t Parcel::readBoolVector(std::vector<bool>* val) const { return readData(val); } in readBoolVector()
962 return writeAligned(val); in writeInt32()
977 if (!val) { in writeInt32Array()
982 ret = write(val, len * sizeof(*val)); in writeInt32Array()
993 if (!val) { in writeByteArray()
998 ret = write(val, len * sizeof(*val)); in writeByteArray()
1046 u.d = val; in writeDouble()
1803 sp<IBinder> val; in readStrongBinder() local
1808 return val; in readStrongBinder()
1905 if (val->get() < 0) { in readUniqueFileDescriptor()
[all …]
/aosp12/hardware/interfaces/identity/support/tests/
H A Dcppbor_test.cpp65 EXPECT_EQ(val.encodedSize(), val.toString().size()) in TEST()
455 Uint val(99); in TEST() local
468 Nint val(-1); in TEST() local
481 Tstr val("99"); in TEST() local
495 Bstr val("99"); in TEST() local
539 Map val(99, 1); in TEST() local
699 Uint val(100); in TEST() local
714 Nint val(-10); in TEST() local
730 Bool val(true); in TEST() local
881 Uint val(10); in TEST() local
[all …]
/aosp12/hardware/google/pixel/pixelstats/
H A DBatteryEEPROMReporter.cpp147 VendorAtomValue val; in reportEvent() local
151 val.set<VendorAtomValue::intValue>(hist.full_cap); in reportEvent()
153 val.set<VendorAtomValue::intValue>(hist.esr); in reportEvent()
155 val.set<VendorAtomValue::intValue>(hist.rslow); in reportEvent()
157 val.set<VendorAtomValue::intValue>(hist.soh); in reportEvent()
163 val.set<VendorAtomValue::intValue>(hist.cc_soc); in reportEvent()
165 val.set<VendorAtomValue::intValue>(hist.sys_soc); in reportEvent()
167 val.set<VendorAtomValue::intValue>(hist.msoc); in reportEvent()
169 val.set<VendorAtomValue::intValue>(hist.batt_soc); in reportEvent()
171 val.set<VendorAtomValue::intValue>(hist.reserve); in reportEvent()
[all …]
/aosp12/frameworks/base/libs/protoutil/include/android/util/
H A DProtoOutputStream.h99 bool write(uint64_t fieldId, double val);
100 bool write(uint64_t fieldId, float val);
101 bool write(uint64_t fieldId, int val);
102 bool write(uint64_t fieldId, long val);
103 bool write(uint64_t fieldId, long long val);
104 bool write(uint64_t fieldId, bool val);
105 bool write(uint64_t fieldId, std::string val);
150 inline void writeDoubleImpl(uint32_t id, double val);
151 inline void writeFloatImpl(uint32_t id, float val);
162 inline void writeEnumImpl(uint32_t id, int val);
[all …]
/aosp12/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp63 Res_value val; in TEST() local
69 EXPECT_EQ(900u, val.data); in TEST()
111 Res_value val; in TEST() local
135 Res_value val; in TEST() local
159 Res_value val; in TEST() local
180 Res_value val; in TEST() local
201 Res_value val; in TEST() local
234 Res_value val; in TEST() local
267 Res_value val; in TEST() local
364 Res_value val; in TEST() local
[all …]
/aosp12/system/core/trusty/utils/rpmb_dev/
H A Drpmb_protocol.h91 (uint8_t)(val >> 8), in rpmb_u16()
92 (uint8_t)(val >> 0), in rpmb_u16()
101 (uint8_t)(val >> 8), in rpmb_u32()
109 uint16_t val; in rpmb_get_u16() local
111 val = 0; in rpmb_get_u16()
113 val = val << 8 | u16.byte[i]; in rpmb_get_u16()
115 return val; in rpmb_get_u16()
120 uint32_t val; in rpmb_get_u32() local
122 val = 0; in rpmb_get_u32()
124 val = val << 8 | u32.byte[i]; in rpmb_get_u32()
[all …]

12345678910>>...64