Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 107) sorted by relevance

12345

/base/hiviewdfx/hiview/base/event_raw/include/encoded/
Draw_data_builder.h86 RawDataBuilder& AppendValue(const std::string& key, T val) in AppendValue()
115 RawDataBuilder& UpdateType(const T val) in UpdateType()
127 RawDataBuilder& UpdateUid(const T val) in UpdateUid()
139 RawDataBuilder& UpdatePid(const T val) in UpdatePid()
151 RawDataBuilder& UpdateTid(const T val) in UpdateTid()
163 RawDataBuilder& UpdateId(const T val) in UpdateId()
187 RawDataBuilder& UpdateTraceId(const T val) in UpdateTraceId()
205 RawDataBuilder& UpdateSpanId(const T val) in UpdateSpanId()
223 RawDataBuilder& UpdatePSpanId(const T val) in UpdatePSpanId()
241 RawDataBuilder& UpdateTraceFlag(const T val) in UpdateTraceFlag()
[all …]
Draw_data_encoder.h40 static bool UnsignedVarintEncoded(RawData& data, const EncodeType type, T val) in UnsignedVarintEncoded()
61 static bool SignedVarintEncoded(RawData& data, const EncodeType type, T val) in SignedVarintEncoded()
71 static bool FloatingNumberEncoded(RawData& data, T val) in FloatingNumberEncoded()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/
Draw_data_builder.h83 RawDataBuilder& AppendValue(const std::string& key, T val) in AppendValue()
112 RawDataBuilder& UpdateType(const T val) in UpdateType()
124 RawDataBuilder& UpdateUid(const T val) in UpdateUid()
136 RawDataBuilder& UpdatePid(const T val) in UpdatePid()
148 RawDataBuilder& UpdateTid(const T val) in UpdateTid()
160 RawDataBuilder& UpdateId(const T val) in UpdateId()
184 RawDataBuilder& UpdateTraceId(const T val) in UpdateTraceId()
202 RawDataBuilder& UpdateSpanId(const T val) in UpdateSpanId()
220 RawDataBuilder& UpdatePSpanId(const T val) in UpdatePSpanId()
238 RawDataBuilder& UpdateTraceFlag(const T val) in UpdateTraceFlag()
[all …]
Draw_data_encoder.h40 static bool UnsignedVarintEncoded(RawData& data, const EncodeType type, T val) in UnsignedVarintEncoded()
61 static bool SignedVarintEncoded(RawData& data, const EncodeType type, T val) in SignedVarintEncoded()
71 static bool FloatingNumberEncoded(RawData& data, T val) in FloatingNumberEncoded()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_wrote_result_check_test.cpp83 void WriteAndWatch(std::shared_ptr<Watcher> watcher, T& val) in WriteAndWatch()
133 bool val = true; variable
154 int64_t val = -18888888882321; variable
175 uint64_t val = 18888888882326141; variable
196 double val = 30949.374; variable
216 std::string val = "value"; variable
237 std::vector<bool> val = { variable
263 std::vector<int64_t> val = { variable
289 std::vector<uint64_t> val = { variable
315 std::vector<double> val = { variable
[all …]
/base/powermgr/battery_statistics/test/unittest/mock/source/
Dmock_parcel.cpp603 bool Parcel::WriteVector(const std::vector<T1> &val, bool (Parcel::*Write)(T2)) in WriteVector()
609 bool Parcel::WriteBoolVector(const std::vector<bool> &val) in WriteBoolVector()
614 bool Parcel::WriteInt8Vector(const std::vector<int8_t> &val) in WriteInt8Vector()
619 bool Parcel::WriteInt16Vector(const std::vector<int16_t> &val) in WriteInt16Vector()
624 bool Parcel::WriteInt32Vector(const std::vector<int32_t> &val) in WriteInt32Vector()
629 bool Parcel::WriteInt64Vector(const std::vector<int64_t> &val) in WriteInt64Vector()
634 bool Parcel::WriteUInt8Vector(const std::vector<uint8_t> &val) in WriteUInt8Vector()
639 bool Parcel::WriteUInt16Vector(const std::vector<uint16_t> &val) in WriteUInt16Vector()
644 bool Parcel::WriteUInt32Vector(const std::vector<uint32_t> &val) in WriteUInt32Vector()
649 bool Parcel::WriteUInt64Vector(const std::vector<uint64_t> &val) in WriteUInt64Vector()
[all …]
/base/powermgr/power_manager/test/unittest/mock/
Dmock_parcel.cpp606 bool Parcel::WriteVector(const std::vector<T1>& val, bool (Parcel::*Write)(T2)) in WriteVector()
612 bool Parcel::WriteBoolVector(const std::vector<bool>& val) in WriteBoolVector()
617 bool Parcel::WriteInt8Vector(const std::vector<int8_t>& val) in WriteInt8Vector()
622 bool Parcel::WriteInt16Vector(const std::vector<int16_t>& val) in WriteInt16Vector()
627 bool Parcel::WriteInt32Vector(const std::vector<int32_t>& val) in WriteInt32Vector()
632 bool Parcel::WriteInt64Vector(const std::vector<int64_t>& val) in WriteInt64Vector()
637 bool Parcel::WriteUInt8Vector(const std::vector<uint8_t>& val) in WriteUInt8Vector()
642 bool Parcel::WriteUInt16Vector(const std::vector<uint16_t>& val) in WriteUInt16Vector()
647 bool Parcel::WriteUInt32Vector(const std::vector<uint32_t>& val) in WriteUInt32Vector()
652 bool Parcel::WriteUInt64Vector(const std::vector<uint64_t>& val) in WriteUInt64Vector()
[all …]
/base/powermgr/thermal_manager/test/unittest/mock/src/
Dmock_parcel.cpp622 bool Parcel::WriteVector(const std::vector<T1>& val, bool (Parcel::*Write)(T2)) in WriteVector()
632 bool Parcel::WriteBoolVector(const std::vector<bool>& val) in WriteBoolVector()
637 bool Parcel::WriteInt8Vector(const std::vector<int8_t>& val) in WriteInt8Vector()
642 bool Parcel::WriteInt16Vector(const std::vector<int16_t>& val) in WriteInt16Vector()
647 bool Parcel::WriteInt32Vector(const std::vector<int32_t>& val) in WriteInt32Vector()
652 bool Parcel::WriteInt64Vector(const std::vector<int64_t>& val) in WriteInt64Vector()
657 bool Parcel::WriteUInt8Vector(const std::vector<uint8_t>& val) in WriteUInt8Vector()
662 bool Parcel::WriteUInt16Vector(const std::vector<uint16_t>& val) in WriteUInt16Vector()
667 bool Parcel::WriteUInt32Vector(const std::vector<uint32_t>& val) in WriteUInt32Vector()
672 bool Parcel::WriteUInt64Vector(const std::vector<uint64_t>& val) in WriteUInt64Vector()
[all …]
/base/powermgr/battery_manager/test/unittest/mock/source/
Dmock_parcel.cpp601 bool Parcel::WriteVector(const std::vector<T1>& val, bool (Parcel::*Write)(T2)) in WriteVector()
607 bool Parcel::WriteBoolVector(const std::vector<bool>& val) in WriteBoolVector()
612 bool Parcel::WriteInt8Vector(const std::vector<int8_t>& val) in WriteInt8Vector()
617 bool Parcel::WriteInt16Vector(const std::vector<int16_t>& val) in WriteInt16Vector()
622 bool Parcel::WriteInt32Vector(const std::vector<int32_t>& val) in WriteInt32Vector()
627 bool Parcel::WriteInt64Vector(const std::vector<int64_t>& val) in WriteInt64Vector()
632 bool Parcel::WriteUInt8Vector(const std::vector<uint8_t>& val) in WriteUInt8Vector()
637 bool Parcel::WriteUInt16Vector(const std::vector<uint16_t>& val) in WriteUInt16Vector()
642 bool Parcel::WriteUInt32Vector(const std::vector<uint32_t>& val) in WriteUInt32Vector()
647 bool Parcel::WriteUInt64Vector(const std::vector<uint64_t>& val) in WriteUInt64Vector()
[all …]
/base/powermgr/display_manager/test/unittest/mock/src/
Dmock_parcel.cpp606 bool Parcel::WriteVector(const std::vector<T1>& val, bool (Parcel::*Write)(T2)) in WriteVector()
612 bool Parcel::WriteBoolVector(const std::vector<bool>& val) in WriteBoolVector()
617 bool Parcel::WriteInt8Vector(const std::vector<int8_t>& val) in WriteInt8Vector()
622 bool Parcel::WriteInt16Vector(const std::vector<int16_t>& val) in WriteInt16Vector()
627 bool Parcel::WriteInt32Vector(const std::vector<int32_t>& val) in WriteInt32Vector()
632 bool Parcel::WriteInt64Vector(const std::vector<int64_t>& val) in WriteInt64Vector()
637 bool Parcel::WriteUInt8Vector(const std::vector<uint8_t>& val) in WriteUInt8Vector()
642 bool Parcel::WriteUInt16Vector(const std::vector<uint16_t>& val) in WriteUInt16Vector()
647 bool Parcel::WriteUInt32Vector(const std::vector<uint32_t>& val) in WriteUInt32Vector()
652 bool Parcel::WriteUInt64Vector(const std::vector<uint64_t>& val) in WriteUInt64Vector()
[all …]
/base/telephony/core_service/frameworks/js/napi/
Dnapi_parameter_util.h58 napi_status NapiValueConverted(napi_env env, napi_value arg, T *val) in NapiValueConverted()
91 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
99 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
107 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
115 napi_value GetNapiValue(napi_env env, const T &val) in GetNapiValue()
123 napi_value GetNapiValue(napi_env env, const T *val) in GetNapiValue()
131 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
144 napi_status NapiValueToCppValue(napi_env env, napi_value arg, napi_valuetype argType, T *val) in NapiValueToCppValue()
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_endpoint.h109 void SetAddr(uint32_t val) in SetAddr()
114 void SetAttr(uint32_t val) in SetAttr()
119 void SetInterval(int32_t val) in SetInterval()
124 void SetMaxPacketSize(int32_t val) in SetMaxPacketSize()
/base/useriam/fingerprint_auth/common/utils/
Diam_para2str.h29 static inline std::string GetMaskedString(uint16_t val) in GetMaskedString()
36 #define GET_MASKED_STRING(val) OHOS::UserIam::Common::GetMaskedString(static_cast<uint16_t>(val)) argument
/base/useriam/pin_auth/common/utils/
Diam_para2str.h29 static inline std::string GetMaskedString(uint16_t val) in GetMaskedString()
36 #define GET_MASKED_STRING(val) OHOS::UserIam::Common::GetMaskedString(static_cast<uint16_t>(val)) argument
/base/useriam/user_auth_framework/common/utils/
Diam_para2str.h29 static inline std::string GetMaskedString(uint16_t val) in GetMaskedString()
36 #define GET_MASKED_STRING(val) OHOS::UserIam::Common::GetMaskedString(static_cast<uint16_t>(val)) argument
/base/useriam/face_auth/common/utils/
Diam_para2str.h29 static inline std::string GetMaskedString(uint16_t val) in GetMaskedString()
36 #define GET_MASKED_STRING(val) OHOS::UserIam::Common::GetMaskedString(static_cast<uint16_t>(val)) argument
/base/print/print_fwk/utils/include/
Dprint_util.h46 for (auto val: list) { in ParseListToString() local
73 inline std::string PrintUtil::ToUpper(const std::string& val) in ToUpper()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_record.cpp173 [this] (JsonValue val) { in GetParamValue()
184 [this] (JsonValue val) { in GetParamValue()
195 [this] (JsonValue val) { in GetParamValue()
206 [this] (JsonValue val) { in GetParamValue()
217 [this] (JsonValue val) { in GetParamValue()
232 [this] (JsonValue val) { in GetParamValue()
247 [this] (JsonValue val) { in GetParamValue()
262 [this] (JsonValue val) { in GetParamValue()
322 bool HiSysEventRecord::IsArray(const JsonValue val, const TypeFilter filterFunc) const in IsArray() argument
/base/startup/init/interfaces/innerkits/file/
Dinit_file.c40 const char *val = getenv(path); in GetControlFile() local
/base/security/crypto_framework/common/src/
Dmemory.c21 void *HcfMalloc(uint32_t size, char val) in HcfMalloc()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/include/context/
Dhilog_napi_base.h28 std::string val; member
/base/hiviewdfx/hiview/base/event_raw/decoded/
Ddecoded_param.cpp97 uint64_t val = 0; in DecodeValue() local
140 int64_t val = 0; in DecodeValue() local
183 double val = 0; in DecodeValue() local
226 std::string val; in DecodeValue() local
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dtest_common.cpp59 std::string val = iter->second; in PrintMapString() local
67 std::string val = value[i]; in PrintVectorString() local
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dtest_common.cpp56 std::string val = iter->second; in PrintMapString() local
64 std::string val = value[i]; in PrintVectorString() local
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/
Dgenerate_dat.py24 def collect_value_in_dict(val): argument
36 def add_string_to_pool(all_metas, string_pool, locale_id, resource_id, val): argument

12345