Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
/aosp14/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 …]
/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()
H A Ddatashare_value_object.h50 Type value; variable
77 DataShareValueObject(int val) : value(static_cast<int64_t>(val)) {}; in DataShareValueObject()
83 DataShareValueObject(int64_t val) : value(val) {}; in DataShareValueObject()
89 DataShareValueObject(double val) : value(val) {}; in DataShareValueObject()
95 DataShareValueObject(bool val) : value(val) {}; in DataShareValueObject()
101 DataShareValueObject(std::string val) : value(std::move(val)) {}; in DataShareValueObject()
107 DataShareValueObject(const char *val) : DataShareValueObject(std::string(val)) {}; in DataShareValueObject()
/aosp14/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()
/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()
/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 …]
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java316 int value; in convertValueToInt() local
360 String value = charSeq.toString(); in parseUnsignedIntAttribute() local
402 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml()
424 public static final void writeListXml(List val, OutputStream out) in writeListXml()
505 public static final void writeMapXml(Map val, TypedXmlSerializer out, in writeMapXml()
590 public static final void writeByteArrayXml(byte[] val, String name, in writeByteArrayXml()
626 public static final void writeIntArrayXml(int[] val, String name, in writeIntArrayXml()
783 public static final void writeBooleanArrayXml(boolean[] val, String name, in writeBooleanArrayXml()
1058 Object val = readThisValueXml(parser, name, callback, false); in readThisMapXml() local
1086 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 …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_types.cpp30 JsiValue::JsiValue(panda::Local<panda::JSValueRef> val) : JsiType(val) {} in JsiValue()
172 JsiArray::JsiArray(panda::Local<panda::ArrayRef> val) : JsiType(val) {} in JsiArray()
189 auto value = GetHandle()->Get(vm, stringRef); in GetProperty() local
199 auto value = GetHandle()->Get(vm, stringRef); in GetProperty() local
273 JsiObject::JsiObject(panda::Local<panda::ObjectRef> val) : JsiType(val) {} in JsiObject()
295 auto value = GetHandle()->Get(vm, str); in GetProperty() local
313 auto value = GetHandle()->Get(vm, stringRef); in GetProperty() local
365 JsiFunction::JsiFunction(panda::Local<panda::FunctionRef> val) : JsiType(val) {} in JsiFunction()
532 JsiString::JsiString(panda::Local<panda::StringRef> val) : JsiType(val) {} in JsiString()
549 JsiDate::JsiDate(panda::Local<panda::DateRef> val) : JsiType(val) {} in JsiDate()
[all …]
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DResEntryWriter.cpp53 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask); in Visit() local
59 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->min_int)); in Visit() local
65 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->max_int)); in Visit() local
70 BinaryPrimitive val(s.type, s.value); in Visit() local
97 BinaryPrimitive val(Res_value{}); in Visit() local
169 void FlattenValue(const Item* value, ResTable_map* out_entry) { in FlattenValue()
173 void FlattenEntry(const Reference* key, Item* value) { in FlattenEntry()
211 Res_value value; in WriteEntry() local
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record.cpp47 static inline double int64ToDouble(Json::UInt64 value) in int64ToDouble()
52 template <typename T> static inline double int64ToDouble(T value) in int64ToDouble()
156 int64_t value = 0; in GetInt64ValueByKey() local
163 uint64_t value = 0; in GetUInt64ValueByKey() local
170 std::string value; in GetStringValueByKey() local
178 [this] (JsonValue val) { in GetParamValue()
189 [this] (JsonValue val) { in GetParamValue()
200 [this] (JsonValue val) { in GetParamValue()
211 [this] (JsonValue val) { in GetParamValue()
222 [this] (JsonValue val) { in GetParamValue()
[all …]
/ohos5.0/foundation/multimedia/media_utils_lite/src/
H A Dformat.cpp83 bool FormatData::SetValue(int32_t val) in SetValue()
93 bool FormatData::SetValue(int64_t val) in SetValue()
103 bool FormatData::SetValue(float val) in SetValue()
113 bool FormatData::SetValue(double val) in SetValue()
123 bool FormatData::SetValue(const std::string &val) in SetValue()
207 bool Format::PutIntValue(const std::string &key, int32_t value) in PutIntValue()
212 bool Format::PutLongValue(const std::string &key, int64_t value) in PutLongValue()
217 bool Format::PutFloatValue(const std::string &key, float value) in PutFloatValue()
222 bool Format::PutDoubleValue(const std::string &key, double value) in PutDoubleValue()
227 bool Format::PutStringValue(const std::string &key, const std::string &value) in PutStringValue()
[all …]

12345678910>>...17