Home
last modified time | relevance | path

Searched +defs:val +defs:value (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/ohos5.0/base/powermgr/thermal_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp199 bool Parcel::Write(T value) in Write()
704 bool Parcel::ReadBoolVector(std::vector<bool>* val) in ReadBoolVector()
710 bool Parcel::ReadInt8Vector(std::vector<int8_t>* val) in ReadInt8Vector()
715 bool Parcel::ReadInt16Vector(std::vector<int16_t>* val) in ReadInt16Vector()
720 bool Parcel::ReadInt32Vector(std::vector<int32_t>* val) in ReadInt32Vector()
725 bool Parcel::ReadInt64Vector(std::vector<int64_t>* val) in ReadInt64Vector()
730 bool Parcel::ReadUInt8Vector(std::vector<uint8_t>* val) in ReadUInt8Vector()
735 bool Parcel::ReadUInt16Vector(std::vector<uint16_t>* val) in ReadUInt16Vector()
740 bool Parcel::ReadUInt32Vector(std::vector<uint32_t>* val) in ReadUInt32Vector()
750 bool Parcel::ReadFloatVector(std::vector<float>* val) in ReadFloatVector()
[all …]
/ohos5.0/base/powermgr/battery_manager/test/unittest/mock/source/
H A Dmock_parcel.cpp679 bool Parcel::ReadBoolVector(std::vector<bool>* val) in ReadBoolVector()
685 bool Parcel::ReadInt8Vector(std::vector<int8_t>* val) in ReadInt8Vector()
690 bool Parcel::ReadInt16Vector(std::vector<int16_t>* val) in ReadInt16Vector()
695 bool Parcel::ReadInt32Vector(std::vector<int32_t>* val) in ReadInt32Vector()
700 bool Parcel::ReadInt64Vector(std::vector<int64_t>* val) in ReadInt64Vector()
705 bool Parcel::ReadUInt8Vector(std::vector<uint8_t>* val) in ReadUInt8Vector()
710 bool Parcel::ReadUInt16Vector(std::vector<uint16_t>* val) in ReadUInt16Vector()
715 bool Parcel::ReadUInt32Vector(std::vector<uint32_t>* val) in ReadUInt32Vector()
720 bool Parcel::ReadUInt64Vector(std::vector<uint64_t>* val) in ReadUInt64Vector()
725 bool Parcel::ReadFloatVector(std::vector<float>* val) in ReadFloatVector()
[all …]
/ohos5.0/base/powermgr/battery_statistics/test/unittest/mock/source/
H A Dmock_parcel.cpp681 bool Parcel::ReadBoolVector(std::vector<bool> *val) in ReadBoolVector()
687 bool Parcel::ReadInt8Vector(std::vector<int8_t> *val) in ReadInt8Vector()
692 bool Parcel::ReadInt16Vector(std::vector<int16_t> *val) in ReadInt16Vector()
697 bool Parcel::ReadInt32Vector(std::vector<int32_t> *val) in ReadInt32Vector()
702 bool Parcel::ReadInt64Vector(std::vector<int64_t> *val) in ReadInt64Vector()
707 bool Parcel::ReadUInt8Vector(std::vector<uint8_t> *val) in ReadUInt8Vector()
712 bool Parcel::ReadUInt16Vector(std::vector<uint16_t> *val) in ReadUInt16Vector()
717 bool Parcel::ReadUInt32Vector(std::vector<uint32_t> *val) in ReadUInt32Vector()
722 bool Parcel::ReadUInt64Vector(std::vector<uint64_t> *val) in ReadUInt64Vector()
727 bool Parcel::ReadFloatVector(std::vector<float> *val) in ReadFloatVector()
[all …]
/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write()
684 bool Parcel::ReadBoolVector(std::vector<bool>* val) in ReadBoolVector()
690 bool Parcel::ReadInt8Vector(std::vector<int8_t>* val) in ReadInt8Vector()
695 bool Parcel::ReadInt16Vector(std::vector<int16_t>* val) in ReadInt16Vector()
700 bool Parcel::ReadInt32Vector(std::vector<int32_t>* val) in ReadInt32Vector()
705 bool Parcel::ReadInt64Vector(std::vector<int64_t>* val) in ReadInt64Vector()
710 bool Parcel::ReadUInt8Vector(std::vector<uint8_t>* val) in ReadUInt8Vector()
715 bool Parcel::ReadUInt16Vector(std::vector<uint16_t>* val) in ReadUInt16Vector()
720 bool Parcel::ReadUInt32Vector(std::vector<uint32_t>* val) in ReadUInt32Vector()
730 bool Parcel::ReadFloatVector(std::vector<float>* val) in ReadFloatVector()
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/mock/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write()
684 bool Parcel::ReadBoolVector(std::vector<bool>* val) in ReadBoolVector()
690 bool Parcel::ReadInt8Vector(std::vector<int8_t>* val) in ReadInt8Vector()
695 bool Parcel::ReadInt16Vector(std::vector<int16_t>* val) in ReadInt16Vector()
700 bool Parcel::ReadInt32Vector(std::vector<int32_t>* val) in ReadInt32Vector()
705 bool Parcel::ReadInt64Vector(std::vector<int64_t>* val) in ReadInt64Vector()
710 bool Parcel::ReadUInt8Vector(std::vector<uint8_t>* val) in ReadUInt8Vector()
715 bool Parcel::ReadUInt16Vector(std::vector<uint16_t>* val) in ReadUInt16Vector()
720 bool Parcel::ReadUInt32Vector(std::vector<uint32_t>* val) in ReadUInt32Vector()
730 bool Parcel::ReadFloatVector(std::vector<float>* val) in ReadFloatVector()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.cpp620 bool Parcel::ReadBoolVector(std::vector<bool> *val) in ReadBoolVector()
625 bool Parcel::ReadInt8Vector(std::vector<int8_t> *val) in ReadInt8Vector()
630 bool Parcel::ReadInt16Vector(std::vector<int16_t> *val) in ReadInt16Vector()
635 bool Parcel::ReadInt32Vector(std::vector<int32_t> *val) in ReadInt32Vector()
640 bool Parcel::ReadInt64Vector(std::vector<int64_t> *val) in ReadInt64Vector()
645 bool Parcel::ReadUInt8Vector(std::vector<uint8_t> *val) in ReadUInt8Vector()
650 bool Parcel::ReadUInt16Vector(std::vector<uint16_t> *val) in ReadUInt16Vector()
655 bool Parcel::ReadUInt32Vector(std::vector<uint32_t> *val) in ReadUInt32Vector()
660 bool Parcel::ReadUInt64Vector(std::vector<uint64_t> *val) in ReadUInt64Vector()
665 bool Parcel::ReadFloatVector(std::vector<float> *val) in ReadFloatVector()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp34 NativeRdb::ValueObject ValueTypeToValueObjectBlob(const ValueType& value) in ValueTypeToValueObjectBlob()
43 NativeRdb::ValueObject ValueTypeToValueObjectAsset(const ValueType& value) in ValueTypeToValueObjectAsset()
60 NativeRdb::ValueObject ValueTypeToValueObjectAssets(const ValueType& value) in ValueTypeToValueObjectAssets()
82 NativeRdb::ValueObject ValueTypeToValueObject(const ValueType& value) in ValueTypeToValueObject()
127 NativeRdb::ValueObject::Asset val; in ValueObjectToValueTypeAsset() local
143 NativeRdb::ValueObject::Assets val; in ValueObjectToValueTypeAssets() local
169 int64_t val; in ValueObjectToValueType() local
174 double val; in ValueObjectToValueType() local
179 std::string val; in ValueObjectToValueType() local
184 bool val; in ValueObjectToValueType() local
[all …]
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dparcel.cpp442 bool Parcel::Write(T value) in Write()
456 bool Parcel::WriteBool(bool value) in WriteBool()
768 bool Parcel::Read(T &value) in Read()
1001 bool Parcel::ReadPadded(T &value) in ReadPadded()
1505 bool Parcel::ReadBoolVector(std::vector<bool> *val) in ReadBoolVector()
1510 bool Parcel::ReadInt8Vector(std::vector<int8_t> *val) in ReadInt8Vector()
1515 bool Parcel::ReadInt16Vector(std::vector<int16_t> *val) in ReadInt16Vector()
1520 bool Parcel::ReadInt32Vector(std::vector<int32_t> *val) in ReadInt32Vector()
1525 bool Parcel::ReadInt64Vector(std::vector<int64_t> *val) in ReadInt64Vector()
1530 bool Parcel::ReadUInt8Vector(std::vector<uint8_t> *val) in ReadUInt8Vector()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_stack_config_in.c37 FILLP_INT32 FtConfigSetRxBurst(IN FILLP_CONST void *value) in FtConfigSetRxBurst()
70 FILLP_BOOL val = *(FILLP_BOOL *)value; in FtConfigSetOutOfOrderCacheFeature() local
80 FILLP_INT32 FtConfigSetCpuCoreUse(IN FILLP_CONST void *value) in FtConfigSetCpuCoreUse()
82 FILLP_UINT8 val; in FtConfigSetCpuCoreUse() local
93 FILLP_INT32 FtConfigSetMaxSockNum(IN FILLP_CONST void *value) in FtConfigSetMaxSockNum()
137 FILLP_INT32 FtConfigSetFullCpu(IN FILLP_CONST void *value) in FtConfigSetFullCpu()
139 FILLP_BOOL val = *(FILLP_BOOL *)value; in FtConfigSetFullCpu() local
190 FILLP_INT32 FtConfigSetAlg(IN FILLP_CONST void *value) in FtConfigSetAlg()
192 FILLP_UINT8 val = *(FILLP_UINT8 *)value; in FtConfigSetAlg() local
252 FILLP_UINT8 val = *(FILLP_UINT8 *)value; in FtConfigSetSupportFairness() local
[all …]
/aosp12/art/libartbase/base/
H A Dendian_utils.h33 inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE()
37 inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE()
66 inline void SetBytes(uint8_t* buf, T val) { in SetBytes()
70 inline void Set1(uint8_t* buf, uint8_t val) { in Set1()
74 inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE()
78 inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE()
82 inline void Set8BE(uint8_t* buf, uint64_t val) { in Set8BE()
86 inline void Write1BE(uint8_t** dst, uint8_t value) { in Write1BE()
91 inline void Write2BE(uint8_t** dst, uint16_t value) { in Write2BE()
96 inline void Write4BE(uint8_t** dst, uint32_t value) { in Write4BE()
[all …]
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryablePrimitive.java69 public int calculateMarshalSize(T value) { in calculateMarshalSize()
74 public void marshal(T value, ByteBuffer buffer) { in marshal()
77 final int val = (Integer) value; in marshal() local
81 final float val = (Float) value; in marshal() local
85 final long val = (Long) value; in marshal() local
92 final double val = (Double) value; in marshal() local
104 private void marshalPrimitive(int value, ByteBuffer buffer) { in marshalPrimitive()
108 private void marshalPrimitive(float value, ByteBuffer buffer) { in marshalPrimitive()
112 private void marshalPrimitive(double value, ByteBuffer buffer) { in marshalPrimitive()
116 private void marshalPrimitive(long value, ByteBuffer buffer) { in marshalPrimitive()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Dmodify_time_cursor.cpp39 int ModifyTimeCursor::GetText(int32_t columnIndex, char *value, int length) in GetText()
46 auto *val = Traits::get_if<std::string>(&priKey); in GetText() local
60 int ModifyTimeCursor::GetInt64(int32_t columnIndex, int64_t *value) in GetInt64()
67 auto *val = Traits::get_if<int64_t>(&priKey); in GetInt64() local
77 int ModifyTimeCursor::GetReal(int32_t columnIndex, double *value) in GetReal()
81 auto *val = Traits::get_if<double>(&priKey); in GetReal() local
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp100 auto value = entity.Get("value1"); variable
101 auto val = std::get_if<BigInteger>(&value.value); variable
134 auto value = entity.Get("value1"); variable
170 auto value = entity.Get("value1"); variable
242 auto value = entity.Get("value1"); variable
284 auto value = entity.Get("value1"); variable
326 auto value = entity.Get("value1"); variable
370 auto value = entity.Get("value3"); variable
371 auto val = std::get_if<Floats>(&value.value); variable
408 auto value = entity.Get("value3"); variable
[all …]
/aosp12/system/media/audio_utils/
H A DMetadata.cpp29 int audio_metadata_put_int32(audio_metadata_t *metadata, const char *key, int32_t value) { in audio_metadata_put_int32()
37 int audio_metadata_put_int64(audio_metadata_t *metadata, const char *key, int64_t value) { in audio_metadata_put_int64()
45 int audio_metadata_put_float(audio_metadata_t *metadata, const char *key, float value) { in audio_metadata_put_float()
53 int audio_metadata_put_double(audio_metadata_t *metadata, const char *key, double value) { in audio_metadata_put_double()
70 audio_metadata_t *metadata, const char *key, audio_metadata_t *value) { in audio_metadata_put_data()
84 int32_t *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<int32_t>(key)); in audio_metadata_get_int32() local
96 int64_t *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<int64_t>(key)); in audio_metadata_get_int64() local
104 int audio_metadata_get_float(audio_metadata_t *metadata, const char *key, float *value) { in audio_metadata_get_float()
108 float *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<float>(key)); in audio_metadata_get_float() local
120 double *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<double>(key)); in audio_metadata_get_double() local
[all …]
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
H A DVehicleObjectPool.cpp58 int32_t value) { in obtainInt32()
59 auto val = obtain(VehiclePropertyType::INT32); in obtainInt32() local
65 int64_t value) { in obtainInt64()
66 auto val = obtain(VehiclePropertyType::INT64); in obtainInt64() local
72 float value) { in obtainFloat()
73 auto val = obtain(VehiclePropertyType::FLOAT); in obtainFloat() local
80 auto val = obtain(VehiclePropertyType::STRING); in obtainString() local
106 bool value) { in obtainBoolean()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_impl.cpp229 T value; in Convert2PrefValue() local
238 uint64_t val; in Convert2PrefValue() local
272 First val; in GetPrefValue() local
329 for (const T &val : value) { in Convert2Element() local
351 for (const auto &val : value.words_) { in Convert2Element() local
369 auto *val = std::get_if<First>(&value); in GetElement() local
424 valuesCache_.Compute(key, [this, &value](auto &key, PreferencesValue &val) { in Put()
442 valuesCache_.EraseIf(key, [this](auto &key, PreferencesValue &val) { in Delete()
452 valuesCache_.EraseIf([this](auto &key, PreferencesValue &val) { in Clear()
494 uint64_t value = 0; in Flush() local
[all …]
/aosp12/system/chre/apps/test/chqts/src/general_test/
H A Dcell_info_base.cc26 bool CellInfoBase::isBoundedInt32(int32_t value, int32_t lower, int32_t upper, in isBoundedInt32()
32 bool CellInfoBase::isBoundedInt64(int64_t value, int64_t lower, int64_t upper, in isBoundedInt64()
38 void CellInfoBase::sendFatalFailureInt32(const char *message, int32_t value) { in sendFatalFailureInt32()
39 uint32_t val = static_cast<uint32_t>(value); in sendFatalFailureInt32() local
43 void CellInfoBase::sendFatalFailureUint8(const char *message, uint8_t value) { in sendFatalFailureUint8()
44 uint32_t val = value; in sendFatalFailureUint8() local
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DXmlUtilHelper.java87 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean()
116 int value; in convertValueToInt() local
160 String value = charSeq.toString(); in parseUnsignedIntAttribute() local
202 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml()
224 public static final void writeListXml(List val, OutputStream out) in writeListXml()
305 public static final void writeMapXml(Map val, XmlSerializer out, in writeMapXml()
390 public static final void writeByteArrayXml(byte[] val, String name, in writeByteArrayXml()
426 public static final void writeIntArrayXml(int[] val, String name, in writeIntArrayXml()
838 Object val = readThisValueXml(parser, name, callback, false); in readThisMapXml() local
867 Object val = readThisValueXml(parser, name, callback, true); in readThisArrayMapXml() local
[all …]
/ohos5.0/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
H A Ddatashare_predicates_object.h58 Type value; variable
73 SingleValue(Type val) noexcept : value(std::move(val)) in SingleValue()
80 SingleValue(SingleValue &&val) noexcept :value(std::move(val.value)) in SingleValue() function
87 SingleValue(const SingleValue &val) : value(val.value) {} in SingleValue()
111 SingleValue(int val) : value(val) {} in SingleValue()
118 SingleValue(int64_t val) : value(val) {} in SingleValue()
125 SingleValue(double val) : value(val) {} in SingleValue()
132 SingleValue(bool val) : value(val) {} in SingleValue()
139 SingleValue(const char *val) : value(std::string(val)) {} in SingleValue()
146 SingleValue(std::string val) : value(std::move(val)) {} in SingleValue()
H A Ddatashare_predicates_objects.h53 Type value; variable
68 MutliValue(MutliValue::Type val) noexcept : value(std::move(val)) in MutliValue() function
75 MutliValue(const MutliValue &val) : value(val.value) {} in MutliValue()
98 MutliValue(const std::vector<int> &val) : value(val) {} in MutliValue()
105 MutliValue(const std::vector<int64_t> &val) : value(val) {} in MutliValue()
112 MutliValue(const std::vector<double> &val) : value(val) {} in MutliValue()
119 MutliValue(const std::vector<std::string> &val) : value(val) {} in MutliValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_attributes_parser.cpp29 LineCapStyle SvgAttributesParser::GetLineCapStyle(const std::string& val) in GetLineCapStyle()
40 LineJoinStyle SvgAttributesParser::GetLineJoinStyle(const std::string& val) in GetLineJoinStyle()
51 Color SvgAttributesParser::GetColor(const std::string& value) in GetColor()
210 Dimension SvgAttributesParser::ParseDimension(const std::string& value, bool useVp) in ParseDimension()
215 double SvgAttributesParser::ParseDouble(const std::string& value) in ParseDouble()
/aosp12/frameworks/base/errorprone/tests/res/android/os/
H A DParcel.java22 public void writeString(String val) { in writeString()
25 public void writeString8(String val) { in writeString8()
28 public final void writeStringArray(String[] val) { in writeStringArray()
31 public final void writeString8Array(String[] val) { in writeString8Array()
42 public final void writeList(List val) { in writeList()
45 public final <T extends Parcelable> void writeParcelableList(List<T> val, int flags) { in writeParcelableList()
48 public <T extends Parcelable> void writeTypedList(List<T> val, int flags) { in writeTypedList()
51 public final <T extends Parcelable> void writeParcelableArray(T[] value, int flags) { in writeParcelableArray()
54 public final <T extends Parcelable> void writeTypedArray(T[] val, int flags) { in writeTypedArray()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java315 int value; in convertValueToInt() local
359 String value = charSeq.toString(); in parseUnsignedIntAttribute() local
401 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml()
423 public static final void writeListXml(List val, OutputStream out) in writeListXml()
504 public static final void writeMapXml(Map val, TypedXmlSerializer out, in writeMapXml()
589 public static final void writeByteArrayXml(byte[] val, String name, in writeByteArrayXml()
625 public static final void writeIntArrayXml(int[] val, String name, in writeIntArrayXml()
782 public static final void writeBooleanArrayXml(boolean[] val, String name, in writeBooleanArrayXml()
1057 Object val = readThisValueXml(parser, name, callback, false); in readThisMapXml() local
1085 Object val = readThisValueXml(parser, name, callback, true); in readThisArrayMapXml() local
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dtest_common.cpp35 const char *value = "/user/data"; in FormatFullPath() local
51 void PrintMapString(const std::map<std::string, std::string> &value) in PrintMapString()
56 std::string val = iter->second; in PrintMapString() local
61 void PrintVectorString(const std::vector<std::string> &value) in PrintVectorString()
64 std::string val = value[i]; in PrintVectorString() local
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dserializer.c805 bool WriteBoolVector(IpcIo *io, const bool *val, size_t size) in WriteBoolVector()
825 bool WriteInt8Vector(IpcIo *io, const int8_t *val, size_t size) in WriteInt8Vector()
849 bool WriteInt16Vector(IpcIo *io, const int16_t *val, size_t size) in WriteInt16Vector()
869 bool WriteInt32Vector(IpcIo *io, const int32_t *val, size_t size) in WriteInt32Vector()
893 bool WriteInt64Vector(IpcIo *io, const int64_t *val, size_t size) in WriteInt64Vector()
917 bool WriteUInt8Vector(IpcIo *io, const uint8_t *val, size_t size) in WriteUInt8Vector()
941 bool WriteUInt16Vector(IpcIo *io, const uint16_t *val, size_t size) in WriteUInt16Vector()
965 bool WriteUInt32Vector(IpcIo *io, const uint32_t *val, size_t size) in WriteUInt32Vector()
1013 bool WriteFloatVector(IpcIo *io, const float *val, size_t size) in WriteFloatVector()
1037 bool WriteDoubleVector(IpcIo *io, const double *val, size_t size) in WriteDoubleVector()
[all …]

12345678910>>...29