Home
last modified time | relevance | path

Searched refs:uiValue (Results 1 – 23 of 23) sorted by relevance

/external/parameter-framework/upstream/parameter/
DBooleanParameterType.cpp47 bool CBooleanParameterType::toBlackboard(const std::string &strValue, uint32_t &uiValue, in toBlackboard() argument
52 uiValue = true; in toBlackboard()
55 uiValue = false; in toBlackboard()
74 bool CBooleanParameterType::fromBlackboard(std::string &strValue, const uint32_t &uiValue, in fromBlackboard() argument
77 strValue = uiValue ? "1" : "0"; in fromBlackboard()
88 bool CBooleanParameterType::toBlackboard(bool bUserValue, uint32_t &uiValue, in toBlackboard() argument
91 uiValue = bUserValue; in toBlackboard()
96 bool CBooleanParameterType::fromBlackboard(bool &bUserValue, uint32_t uiValue, in fromBlackboard() argument
99 bUserValue = uiValue != 0; in fromBlackboard()
105 bool CBooleanParameterType::toBlackboard(uint32_t uiUserValue, uint32_t &uiValue, in toBlackboard() argument
[all …]
DFixedPointParameterType.cpp119 bool CFixedPointParameterType::toBlackboard(const string &strValue, uint32_t &uiValue, in toBlackboard() argument
137 return convertFromHexadecimal(strValue, uiValue, parameterAccessContext); in toBlackboard()
139 return convertFromDecimal(strValue, uiValue, parameterAccessContext); in toBlackboard()
141 return convertFromQnm(strValue, uiValue, parameterAccessContext); in toBlackboard()
231 bool CFixedPointParameterType::toBlackboard(double dUserValue, uint32_t &uiValue, in toBlackboard() argument
249 uiValue = iData; in toBlackboard()
254 bool CFixedPointParameterType::fromBlackboard(double &dUserValue, uint32_t uiValue, in fromBlackboard() argument
257 int32_t iData = uiValue; in fromBlackboard()
260 assert(isEncodable(uiValue, false)); in fromBlackboard()
284 const string &strValue, uint32_t &uiValue, in convertFromHexadecimal() argument
[all …]
DIntegerParameterType.h71 bool doToBlackboard(UserType userValue, uint32_t &uiValue, in doToBlackboard() argument
82 uiValue = userValue; in doToBlackboard()
158 bool toBlackboard(uint32_t uiUserValue, uint32_t &uiValue, in toBlackboard() argument
161 return doToBlackboard(uiUserValue, uiValue, parameterAccessContext); in toBlackboard()
165 bool toBlackboard(int32_t iUserValue, uint32_t &uiValue, in toBlackboard() argument
168 return doToBlackboard(iUserValue, uiValue, parameterAccessContext); in toBlackboard()
172 bool toBlackboard(double dUserValue, uint32_t &uiValue, in toBlackboard() argument
181 return Base::toBlackboard(dUserValue, uiValue, parameterAccessContext); in toBlackboard()
195 uiValue = (uint32_t)iConvertedValue; in toBlackboard()
201 bool toBlackboard(const std::string &strValue, uint32_t &uiValue, in toBlackboard() argument
[all …]
DFloatingPointParameterType.cpp117 const string &strValue, uint32_t &uiValue, in toBlackboard() argument
132 if (!convertTo(strValue, uiValue)) { in toBlackboard()
138 auto fData = utility::binaryCopy<float>(uiValue); in toBlackboard()
171 uiValue = utility::binaryCopy<decltype(uiValue)>(fValue); in toBlackboard()
206 string &strValue, const uint32_t &uiValue, in fromBlackboard() argument
219 ostrStream << uiValue; in fromBlackboard()
223 auto fValue = utility::binaryCopy<float>(uiValue); in fromBlackboard()
235 double dUserValue, uint32_t &uiValue, CParameterAccessContext &parameterAccessContext) const in toBlackboard() argument
245 uiValue = utility::binaryCopy<decltype(uiValue)>(fValue); in toBlackboard()
249 bool CFloatingPointParameterType::fromBlackboard(double &dUserValue, uint32_t uiValue, in fromBlackboard() argument
[all …]
DParameterType.h66 virtual bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
68 virtual bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
71 virtual bool toBlackboard(bool bUserValue, uint32_t &uiValue,
73 virtual bool fromBlackboard(bool &bUserValue, uint32_t uiValue,
76 virtual bool toBlackboard(uint32_t uiUserValue, uint32_t &uiValue,
78 virtual bool fromBlackboard(uint32_t &uiUserValue, uint32_t uiValue,
81 virtual bool toBlackboard(int32_t iUserValue, uint32_t &uiValue,
83 virtual bool fromBlackboard(int32_t &iUserValue, uint32_t uiValue,
86 virtual bool toBlackboard(double dUserValue, uint32_t &uiValue,
88 virtual bool fromBlackboard(double &dUserValue, uint32_t uiValue,
DFixedPointParameterType.h56 bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
58 bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
61 bool toBlackboard(double dUserValue, uint32_t &uiValue,
63 bool fromBlackboard(double &dUserValue, uint32_t uiValue,
90 bool convertFromDecimal(const std::string &strValue, uint32_t &uiValue,
105 bool convertFromHexadecimal(const std::string &strValue, uint32_t &uiValue,
120 bool convertFromQnm(const std::string &strValue, uint32_t &uiValue,
DBooleanParameterType.h47 bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
49 bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
52 bool toBlackboard(bool bUserValue, uint32_t &uiValue,
54 bool fromBlackboard(bool &bUserValue, uint32_t uiValue,
57 bool toBlackboard(uint32_t uiUserValue, uint32_t &uiValue,
59 bool fromBlackboard(uint32_t &uiUserValue, uint32_t uiValue,
DBitParameter.cpp93 uint32_t uiValue; in access() local
97 uiValue = bValue; in access()
100 if (!access(uiValue, bSet, parameterAccessContext)) { in access()
107 bValue = uiValue != 0; in access()
113 bool CBitParameter::access(uint32_t &uiValue, bool bSet, in access() argument
121 if (!doSet(uiValue, offset, parameterAccessContext)) { in access()
135 doGet(uiValue, offset, parameterAccessContext); in access()
DBitParameterType.cpp122 bool CBitParameterType::toBlackboard(const string &strValue, uint64_t &uiValue, in toBlackboard() argument
151 uiValue = (uiValue & ~getMask()) | (uiConvertedValue << _bitPos); in toBlackboard()
156 void CBitParameterType::fromBlackboard(string &strValue, const uint64_t &uiValue, in fromBlackboard() argument
159 uint64_t uiConvertedValue = (uiValue & getMask()) >> _bitPos; in fromBlackboard()
177 bool CBitParameterType::toBlackboard(uint64_t uiUserValue, uint64_t &uiValue, in toBlackboard() argument
188 uiValue = (uiValue & ~getMask()) | (uiUserValue << _bitPos); in toBlackboard()
DEnumParameterType.h50 bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
52 bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
55 bool toBlackboard(int32_t iUserValue, uint32_t &uiValue,
57 bool fromBlackboard(int32_t &iUserValue, uint32_t uiValue,
72 bool toBlackboardFromRaw(const std::string &strUserValue, uint32_t &uiValue,
DBaseIntegerParameterType.cpp50 bool CBaseIntegerParameterType::fromBlackboard(uint32_t &uiUserValue, uint32_t uiValue, in fromBlackboard() argument
54 uiUserValue = uiValue; in fromBlackboard()
58 bool CBaseIntegerParameterType::fromBlackboard(int32_t &iUserValue, uint32_t uiValue, in fromBlackboard() argument
61 int32_t iValue = uiValue; in fromBlackboard()
DBaseIntegerParameterType.h52 bool fromBlackboard(uint32_t &uiUserValue, uint32_t uiValue,
54 bool fromBlackboard(int32_t &iUserValue, uint32_t uiValue,
56 bool fromBlackboard(double &dUserValue, uint32_t uiValue, in fromBlackboard() argument
59 return CParameterType::fromBlackboard(dUserValue, uiValue, parameterAccessContext); in fromBlackboard()
DBitParameterType.h54 bool toBlackboard(const std::string &strValue, uint64_t &uiValue,
56 void fromBlackboard(std::string &strValue, const uint64_t &uiValue,
59 bool toBlackboard(uint64_t uiUserValue, uint64_t &uiValue,
61 void fromBlackboard(uint32_t &uiUserValue, uint64_t uiValue,
DFloatingPointParameterType.h48 bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
50 bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
52 bool toBlackboard(double dUserValue, uint32_t &uiValue,
54 bool fromBlackboard(double &dUserValue, uint32_t uiValue,
DParameter.cpp120 bool CParameter::access(uint32_t &uiValue, bool bSet, in access() argument
123 return doAccess(uiValue, bSet, parameterAccessContext); in access()
DEnumParameterType.cpp95 bool CEnumParameterType::toBlackboard(const string &strValue, uint32_t &uiValue, in toBlackboard() argument
119 return toBlackboard(iParsedUserValue, uiValue, parameterAccessContext); in toBlackboard()
DBitParameter.h53 bool access(uint32_t &uiValue, bool bSet,
DParameter.h59 bool access(uint32_t &uiValue, bool bSet,
DBaseParameter.h60 virtual bool access(uint32_t &uiValue, bool bSet,
/external/parameter-framework/upstream/test/test-subsystem/
DTESTSubsystemBinary.cpp53 uint32_t uiValue = 0; in toString() local
55 assert(size <= sizeof(uiValue)); in toString()
58 auto destination = MAKE_ARRAY_ITERATOR(reinterpret_cast<uint8_t *>(&uiValue), sizeof(uiValue)); in toString()
62 strStream << "0x" << std::hex << uiValue; in toString()
69 uint32_t uiValue; in fromString() local
71 assert(size <= sizeof(uiValue)); in fromString()
73 if (!convertTo(strValue, uiValue)) { in fromString()
77 auto first = MAKE_ARRAY_ITERATOR(reinterpret_cast<const uint8_t *>(&uiValue), size); in fromString()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dattribute.cpp263 const auto unsignedArgument = [&](const char* feature, unsigned int& uiValue) { in handleLoopAttributes() argument
269 uiValue = (unsigned int)value; in handleLoopAttributes()
273 const auto positiveUnsignedArgument = [&](const char* feature, unsigned int& uiValue) { in handleLoopAttributes() argument
284 uiValue = (unsigned int)value; in handleLoopAttributes()
294 unsigned uiValue = 0; in handleLoopAttributes() local
314 if (unsignedArgument("min_iterations", uiValue)) in handleLoopAttributes()
315 loop->setMinIterations(uiValue); in handleLoopAttributes()
319 if (unsignedArgument("max_iterations", uiValue)) in handleLoopAttributes()
320 loop->setMaxIterations(uiValue); in handleLoopAttributes()
324 if (positiveUnsignedArgument("iteration_multiple", uiValue)) in handleLoopAttributes()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dattribute.cpp265 const auto unsignedArgument = [&](const char* feature, unsigned int& uiValue) { in handleLoopAttributes() argument
271 uiValue = (unsigned int)value; in handleLoopAttributes()
275 const auto positiveUnsignedArgument = [&](const char* feature, unsigned int& uiValue) { in handleLoopAttributes() argument
286 uiValue = (unsigned int)value; in handleLoopAttributes()
296 unsigned uiValue = 0; in handleLoopAttributes() local
316 if (unsignedArgument("min_iterations", uiValue)) in handleLoopAttributes()
317 loop->setMinIterations(uiValue); in handleLoopAttributes()
321 if (unsignedArgument("max_iterations", uiValue)) in handleLoopAttributes()
322 loop->setMaxIterations(uiValue); in handleLoopAttributes()
326 if (positiveUnsignedArgument("iteration_multiple", uiValue)) in handleLoopAttributes()
[all …]
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp3722 Int4 uiValue = CmpNLT(cast, Float4(ustartf)); in UInt4() local
3724 uiValue = (uiValue & As<Int4>(As<UInt4>(Int4(cast - Float4(ustartf))) + UInt4(ustart))) | in UInt4()
3726 (~uiValue & Int4(cast)); in UInt4()
3728 storeValue((~(As<Int4>(cast) >> 31) & uiValue).value()); in UInt4()