/ohos5.0/base/powermgr/thermal_manager/test/unittest/mock/src/ |
H A D | mock_parcel.cpp | 199 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 D | mock_parcel.cpp | 679 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 D | mock_parcel.cpp | 681 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 D | mock_parcel.cpp | 198 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 D | mock_parcel.cpp | 198 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 D | parcel.cpp | 620 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 D | relational_store_utils.cpp | 34 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 D | parcel.cpp | 442 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 D | fillp_stack_config_in.c | 37 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 …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | modify_time_cursor.cpp | 39 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 D | rdb_bigint_test.cpp | 100 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 D | datashare_predicates_object.h | 58 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 D | datashare_predicates_objects.h | 53 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 D | datashare_value_object.h | 50 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_attributes_parser.cpp | 29 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 D | preferences_impl.cpp | 229 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 …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | test_common.cpp | 35 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 D | serializer.c | 805 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 D | jsi_types.cpp | 30 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 …]
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/hiviewdfx_adapter_test/ |
H A D | hiviewdfx_adapter_test.cpp | 97 uint64_t val = (1ULL << 24); variable 98 std::string value = std::to_string(val); variable
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
H A D | hisysevent_record.cpp | 47 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/base/inputmethod/imf/common/include/ |
H A D | itypes_util.h | 132 bool ITypesUtil::Marshalling(const std::vector<T> &val, MessageParcel &parcel) in Marshalling() 151 bool ITypesUtil::Unmarshalling(std::vector<T> &val, MessageParcel &parcel) in Unmarshalling() 214 bool ITypesUtil::Unmarshalling(std::map<K, V> &val, MessageParcel &parcel) in Unmarshalling() 235 V value; in Unmarshalling() local 262 bool ITypesUtil::Unmarshalling(std::unordered_map<K, V> &val, MessageParcel &parcel) in Unmarshalling() 283 V value; in Unmarshalling() local
|
/ohos5.0/foundation/multimedia/media_utils_lite/src/ |
H A D | format.cpp | 83 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 …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/common/ |
H A D | bytes_utils.h | 31 static void PutNum(void *val, uint32_t offset, uint32_t valLen, Bytes &data) in PutNum() 44 static uint32_t GetNum(Bytes &data, uint32_t offset, void *val, uint32_t valLen) in GetNum() 46 uint8_t *value = static_cast<uint8_t *>(val); in GetNum() local
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | value_object.cpp | 66 ValueObject::ValueObject(bool val) : value(val) in ValueObject() 123 int64_t value = 0; in GetInt() local 192 int64_t val = 0L; variable 209 double val = 0.0L; variable 226 bool val = false; variable 241 static int32_t GetPrecision(double val) in GetPrecision() 259 std::string val; variable 282 Blob val; variable 295 auto val = std::get_if<Asset>(&value); variable 304 auto val = std::get_if<Assets>(&value); variable [all …]
|