Home
last modified time | relevance | path

Searched refs:valueObject (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
Dnapi_hitrace_util.cpp89 napi_value& valueObject) in CreateHiTraceIdJsObject() argument
91 napi_create_object(env, &valueObject); in CreateHiTraceIdJsObject()
92 NapiHitraceUtil::SetPropertyBigInt64(env, valueObject, CHAIN_ID_ATTR, in CreateHiTraceIdJsObject()
96 NapiHitraceUtil::SetPropertyInt64(env, valueObject, SPAN_ID_ATTR, traceId.GetSpanId()); in CreateHiTraceIdJsObject()
99 NapiHitraceUtil::SetPropertyInt64(env, valueObject, PARENT_SPAN_ID_ATTR, in CreateHiTraceIdJsObject()
103 NapiHitraceUtil::SetPropertyInt32(env, valueObject, FLAGS_ATTR, in CreateHiTraceIdJsObject()
109 const napi_value& valueObject) in TransHiTraceIdJsObjectToNative() argument
111 uint64_t chainId = NapiHitraceUtil::GetPropertyBigInt64(env, valueObject, CHAIN_ID_ATTR); in TransHiTraceIdJsObjectToNative()
118 uint64_t spanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, SPAN_ID_ATTR); in TransHiTraceIdJsObjectToNative()
122 uint64_t parentSpanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, in TransHiTraceIdJsObjectToNative()
[all …]
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/include/
Dnapi_hitrace_util.h33 napi_value& valueObject);
35 const napi_value& valueObject);
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp247 NativeRdb::ValueObject valueObject; in SetCard() local
248 bool isExistSimId = value.GetObject(SimData::SIM_ID, valueObject); in SetCard()
254 valueObject.GetInt(simId); in SetCard()
256 bool isExistCardType = value.GetObject(SimData::CARD_TYPE, valueObject); in SetCard()
262 valueObject.GetInt(cardType); in SetCard()