Lines Matching defs:other
52 void InitValueByBaseType(AppEventParamValue* value, const AppEventParamValue& other)
58 switch (other.type) {
60 value->valueUnion.b_ = other.valueUnion.b_;
63 value->valueUnion.c_ = other.valueUnion.c_;
66 value->valueUnion.sh_ = other.valueUnion.sh_;
69 value->valueUnion.i_ = other.valueUnion.i_;
72 value->valueUnion.ll_ = other.valueUnion.ll_;
75 value->valueUnion.f_ = other.valueUnion.f_;
78 value->valueUnion.d_ = other.valueUnion.d_;
85 void InitValueByReferType(AppEventParamValue* value, const AppEventParamValue& other)
91 switch (other.type) {
93 new (&value->valueUnion.str_) auto(other.valueUnion.str_);
96 new (&value->valueUnion.bs_) auto(other.valueUnion.bs_);
99 new (&value->valueUnion.cs_) auto(other.valueUnion.cs_);
102 new (&value->valueUnion.shs_) auto(other.valueUnion.shs_);
105 new (&value->valueUnion.is_) auto(other.valueUnion.is_);
108 new (&value->valueUnion.lls_) auto(other.valueUnion.lls_);
111 new (&value->valueUnion.fs_) auto(other.valueUnion.fs_);
114 new (&value->valueUnion.ds_) auto(other.valueUnion.ds_);
117 new (&value->valueUnion.strs_) auto(other.valueUnion.strs_);
295 AppEventParamValue::AppEventParamValue(const AppEventParamValue& other) : type(other.type)
297 if (other.type < AppEventParamType::STRING) {
298 InitValueByBaseType(this, other);
300 InitValueByReferType(this, other);