Home
last modified time | relevance | path

Searched refs:m_value (Results 1 - 25 of 75) sorted by relevance

123

/third_party/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.hpp244 static WrappedType<Type> create (Type value) { WrappedType<Type> v; v.m_value = value; return v; } in create()
245 static WrappedType<Type> fromFloat (float value) { WrappedType<Type> v; v.m_value = (Type)value; return v; } in fromFloat()
246 inline Type getValue (void) const { return m_value; } in getValue()
248 inline WrappedType<Type> operator+ (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value + other.getValue())); } in operator +()
249 inline WrappedType<Type> operator* (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value * other.getValue())); } in operator *()
250 inline WrappedType<Type> operator/ (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value / other.getValue())); } in operator /()
251 inline WrappedType<Type> operator% (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value % other.getValue())); } in operator %()
252 inline WrappedType<Type> operator- (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value - other.getValue())); } in operator -()
254 inline WrappedType<Type>& operator+= (const WrappedType<Type>& other) { m_value += other.getValue(); return *this; } in operator +=()
255 inline WrappedType<Type>& operator*= (const WrappedType<Type>& other) { m_value * in operator +=()
270 Type m_value; global() member in deqp::gls::GLValue::WrappedType
303 Type m_value; global() member in deqp::gls::GLValue::WrappedFloatType
349 deFloat16 m_value; global() member in deqp::gls::GLValue::Half
381 deInt32 m_value; global() member in deqp::gls::GLValue::Fixed
[all...]
H A DglsDrawTest.cpp399 static WrappedType<Type> create (Type value) { WrappedType<Type> v; v.m_value = value; return v; } in create()
400 inline Type getValue (void) const { return m_value; } in getValue()
402 inline WrappedType<Type> operator+ (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value + other.getValue())); } in operator +()
403 inline WrappedType<Type> operator* (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value * other.getValue())); } in operator *()
404 inline WrappedType<Type> operator/ (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value / other.getValue())); } in operator /()
405 inline WrappedType<Type> operator- (const WrappedType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value - other.getValue())); } in operator -()
407 inline WrappedType<Type>& operator+= (const WrappedType<Type>& other) { m_value += other.getValue(); return *this; } in operator +=()
408 inline WrappedType<Type>& operator*= (const WrappedType<Type>& other) { m_value *= other.getValue(); return *this; } in operator *=()
409 inline WrappedType<Type>& operator/= (const WrappedType<Type>& other) { m_value /= other.getValue(); return *this; } in operator /=()
410 inline WrappedType<Type>& operator-= (const WrappedType<Type>& other) { m_value in operator /=()
423 Type m_value; global() member in deqp::gls::__anon30985::GLValue::WrappedType
465 deInt32 m_value; global() member in deqp::gls::__anon30985::GLValue::Int
497 deFloat16 m_value; global() member in deqp::gls::__anon30985::GLValue::Half
527 deInt32 m_value; global() member in deqp::gls::__anon30985::GLValue::Fixed
[all...]
/third_party/json/include/nlohmann/detail/output/
H A Dbinary_writer.hpp66 write_bson_object(*j.m_value.object); in write_bson()
101 oa->write_character(j.m_value.boolean in write_cbor()
109 if (j.m_value.number_integer >= 0) in write_cbor()
114 if (j.m_value.number_integer <= 0x17) in write_cbor()
116 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
118 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)()) in write_cbor()
121 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
123 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint16_t>::max)()) in write_cbor()
126 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_cbor()
128 else if (j.m_value in write_cbor()
[all...]
H A Dserializer.hpp117 if (val.m_value.object->empty()) in dump()
135 auto i = val.m_value.object->cbegin(); in dump()
136 for (std::size_t cnt = 0; cnt < val.m_value.object->size() - 1; ++cnt, ++i) in dump()
147 JSON_ASSERT(i != val.m_value.object->cend()); in dump()
148 JSON_ASSERT(std::next(i) == val.m_value.object->cend()); in dump()
164 auto i = val.m_value.object->cbegin(); in dump()
165 for (std::size_t cnt = 0; cnt < val.m_value.object->size() - 1; ++cnt, ++i) in dump()
175 JSON_ASSERT(i != val.m_value.object->cend()); in dump()
176 JSON_ASSERT(std::next(i) == val.m_value.object->cend()); in dump()
190 if (val.m_value in dump()
[all...]
/third_party/json/tests/src/
H A Dunit-class_const_iterator.cpp219 CHECK((it.m_it.object_iterator == it.m_object->m_value.object->begin()));
221 CHECK((it.m_it.object_iterator == it.m_object->m_value.object->end()));
228 CHECK((it.m_it.array_iterator == it.m_object->m_value.array->begin()));
230 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
231 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
233 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
234 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
236 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
237 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
239 CHECK((it.m_it.array_iterator != it.m_object->m_value
[all...]
H A Dunit-class_iterator.cpp209 CHECK((it.m_it.object_iterator == it.m_object->m_value.object->begin()));
211 CHECK((it.m_it.object_iterator == it.m_object->m_value.object->end()));
218 CHECK((it.m_it.array_iterator == it.m_object->m_value.array->begin()));
220 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
221 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
223 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
224 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
226 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->begin()));
227 CHECK((it.m_it.array_iterator != it.m_object->m_value.array->end()));
229 CHECK((it.m_it.array_iterator != it.m_object->m_value
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgVariableValue.hpp77 StridedValueRead (const VariableType& type, const Scalar* value) : m_type(type), m_value(value) {} in StridedValueRead()
80 const Scalar* getValuePtr (void) const { return m_value; } in getValuePtr()
84 const Scalar* m_value; member in rsg::StridedValueRead
91 ConstStridedValueAccess (void) : m_type(DE_NULL), m_value(DE_NULL) {} in ConstStridedValueAccess()
92 ConstStridedValueAccess (const VariableType& type, const Scalar* valuePtr) : m_type(&type), m_value(const_cast<Scalar*>(valuePtr)) {} in ConstStridedValueAccess()
97 ConstStridedValueAccess component (int compNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*compNdx); } in component()
98 ConstStridedValueAccess arrayElement (int elementNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*getType().getElementScalarOffset(elementNdx)); } in arrayElement()
99 ConstStridedValueAccess member (int memberNdx) const { return ConstStridedValueAccess(getType().getMembers()[memberNdx].getType(), m_value + Stride*getType().getMemberScalarOffset(memberNdx)); } in member()
101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat()
102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value in asFloat()
119 Scalar* m_value; // \\note Non-const internal pointer is used so that ValueAccess can extend this class with RW access global() member in rsg::ConstStridedValueAccess
325 std::vector<Scalar> m_value; global() member in rsg::ValueStorage
[all...]
H A DrsgExpression.hpp119 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); } in getValue()
122 ExecValueStorage m_value; member in rsg::FloatLiteral
137 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)); } in getValue()
140 ExecValueStorage m_value; member in rsg::IntLiteral
156 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)); } in getValue()
159 ExecValueStorage m_value; member in rsg::BoolLiteral
174 ExecConstValueAccess getValue (void) const { return m_value.getValue(m_valueRange.getType()); } in getValue()
178 ExecValueStorage m_value; member in rsg::ConstructorOp
199 ExecConstValueAccess getValue (void) const { return m_value.getValue(m_valueRange.getType()); } in getValue()
203 ExecValueStorage m_value; member in rsg::AssignOp
248 ExecValueStorage m_value; global() member in rsg::SwizzleOp
284 ExecValueStorage m_value; global() member in rsg::TexLookup
[all...]
/third_party/json/include/nlohmann/
H A Djson.hpp80 @invariant The member variables @a m_value and @a m_type have the following
82 - If `m_type == value_t::object`, then `m_value.object != nullptr`.
83 - If `m_type == value_t::array`, then `m_value.array != nullptr`.
84 - If `m_type == value_t::string`, then `m_value.string != nullptr`.
586 std::move(current_item.m_value.array->begin(), current_item.m_value.array->end(), std::back_inserter(stack)); in destroy()
588 current_item.m_value.array->clear(); in destroy()
592 for (auto&& it : *current_item.m_value.object) in destroy()
597 current_item.m_value.object->clear(); in destroy()
661 @a m_type and @a m_value
[all...]
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_json.hpp37 * j.m_value.destroy(j.m_type) to avoid a memory leak in case j contains an
50 j.m_value.destroy(j.m_type);
52 j.m_value = b;
63 j.m_value.destroy(j.m_type); in construct()
65 j.m_value = s; in construct()
72 j.m_value.destroy(j.m_type); in construct()
74 j.m_value = std::move(s); in construct()
83 j.m_value.destroy(j.m_type); in construct()
85 j.m_value.string = j.template create<typename BasicJsonType::string_t>(str); in construct()
96 j.m_value in construct()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuRGBA.hpp57 RGBA (void) { m_value = 0; } in RGBA()
65 m_value = ((deUint32)a << ALPHA_SHIFT) | ((deUint32)r << RED_SHIFT) | ((deUint32)g << GREEN_SHIFT) | ((deUint32)b << BLUE_SHIFT); in RGBA()
70 m_value = val; in RGBA()
75 void setRed (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0xFFu << RED_SHIFT)) | ((deUint32)v << RED_SHIFT); } in setRed()
76 void setGreen (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0xFFu << GREEN_SHIFT)) | ((deUint32)v << GREEN_SHIFT); } in setGreen()
77 void setBlue (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0xFFu << BLUE_SHIFT)) | ((deUint32)v << BLUE_SHIFT); } in setBlue()
78 void setAlpha (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value in setBlue()
104 deUint32 m_value; global() member in tcu::RGBA
[all...]
H A DtcuFormatUtil.hpp94 : m_value (value) in Bitfield()
102 deUint64 bitsLeft = m_value; in toStream()
107 if (bitsLeft != m_value) in toStream()
116 if (bitsLeft != m_value) in toStream()
125 deUint64 m_value; member in tcu::Format::Bitfield
146 , m_value (value) in Enum()
152 const char* name = m_getName(m_value); in toStream()
156 return stream << Hex<NumBytes*2>((deUint64)m_value); in toStream()
161 const char* name = m_getName(m_value); in toString()
165 return Hex<NumBytes*2>((deUint64)m_value) in toString()
170 const T m_value; global() member in tcu::Format::Enum
[all...]
H A DtcuFloat.hpp113 StorageType bits (void) const { return m_value; } in bits()
117 inline int signBit (void) const { return (int)(m_value >> (ExponentBits+MantissaBits)) & 1; } in signBit()
118 inline StorageType exponentBits (void) const { return (m_value >> MantissaBits) & ((StorageType(1)<<ExponentBits)-1); } in exponentBits()
119 inline StorageType mantissaBits (void) const { return m_value & ((StorageType(1)<<MantissaBits)-1); } in mantissaBits()
140 StorageType m_value; member in tcu::Float
152 : m_value(0) in Float()
158 : m_value(value) in Float()
164 : m_value(0) in Float()
173 : m_value(0) in Float()
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeModularCounter.hpp41 : m_period(period), m_value(initialValue)
45 ModularCounter& operator++ () { m_value = ((m_value + T{1}) % m_period); return *this; } in operator ++()
46 ModularCounter& operator-- () { m_value = ((m_value - T{1}) % m_period); return *this; } in operator --()
49 operator T (void) { return m_value; } in operator T()
53 T m_value; member in de::ModularCounter
/third_party/vk-gl-cts/executor/
H A DxeContainerFormatParser.cpp88 return m_value.c_str(); in getSessionInfoValue()
94 return m_value.c_str(); in getTestCasePath()
100 return m_value.c_str(); in getTerminateReason()
136 m_value.clear(); in advance()
252 parseContainerValue(m_value, offset); in parseContainerLine()
266 m_value.clear(); in parseContainerLine()
277 m_value.push_back((char)curChar); in parseContainerLine()
283 parseContainerValue(m_value, offset); in parseContainerLine()
/third_party/vk-gl-cts/modules/internal/
H A DditBuildInfoTests.cpp98 , m_value (value) in BuildInfoStringCase()
104 m_testCtx.getLog() << TestLog::Message << m_valueName << " = " << m_value << TestLog::EndMessage; in iterate()
111 std::string m_value; member in dit::BuildInfoStringCase
122 , m_value (value) in BuildEnumCase()
129 const char* valueName = m_getString(m_value); in iterate()
131 std::string logValue = valueName ? std::string(valueName) : de::toString(m_value); in iterate()
142 int m_value; member in dit::BuildEnumCase
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp2840 for (std::size_t i = 0; i < current->m_parent->m_value.array->size(); ++i) in diagnostics()
2842 if (&current->m_parent->m_value.array->operator[](i) == current) in diagnostics()
2853 for (const auto& element : *current->m_parent->m_value.object) in diagnostics()
4525 * j.m_value.destroy(j.m_type) to avoid a memory leak in case j contains an
4538 j.m_value.destroy(j.m_type);
4540 j.m_value = b;
4551 j.m_value.destroy(j.m_type);
4553 j.m_value = s;
4560 j.m_value.destroy(j.m_type);
4562 j.m_value
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluContextInfo.hpp44 , m_value (defaultValue) in CachedValue()
53 m_value = m_compute(context); in getValue()
56 return m_value; in getValue()
61 mutable T m_value; member in glu::CachedValue
/third_party/node/deps/v8/src/inspector/
H A Dvalue-mirror.cc398 : m_value(value), m_type(type) {} in PrimitiveValueMirror()
400 v8::Local<v8::Value> v8Value() const override { return m_value; }
405 toProtocolValue(context, m_value, &protocolValue);
410 if (m_value->IsNull())
421 .setDescription(descriptionForPrimitiveType(context, m_value))
425 if (m_value->IsNull())
435 descriptionForPrimitiveType(context, m_value), kMiddle))
438 if (m_value->IsNull())
448 if (m_value->IsUndefined()) {
455 if (m_value
483 v8::Local<v8::Value> m_value; global() member in v8_inspector::__anon14721::final
564 v8::Local<v8::Number> m_value; global() member in v8_inspector::__anon14721::final
626 v8::Local<v8::BigInt> m_value; global() member in v8_inspector::__anon14721::final
758 v8::Local<v8::Value> m_value; global() member in v8_inspector::__anon14721::final
828 v8::Local<v8::Function> m_value; global() member in v8_inspector::__anon14721::final
1241 v8::Local<v8::Object> m_value; global() member in v8_inspector::__anon14721::final
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Diogen.c112 int m_value; member
596 req->r_type = sc->m_value; in form_iorequest()
599 if (sc->m_value == LISTIO) { in form_iorequest()
659 switch (Offset_Mode->m_value) { in form_iorequest()
761 switch (sc->m_value) { in form_iorequest()
765 req->r_data.read.r_oflags = O_RDONLY | flags->m_value; in form_iorequest()
771 (aio_strat == NULL) ? 0 : aio_strat->m_value; in form_iorequest()
779 req->r_data.write.r_oflags = O_WRONLY | flags->m_value; in form_iorequest()
786 (aio_strat == NULL) ? 0 : aio_strat->m_value; in form_iorequest()
812 m_value; in form_iorequest()
[all...]
/third_party/json/single_include/nlohmann/
H A Djson.hpp4337 for (std::size_t i = 0; i < current->m_parent->m_value.array->size(); ++i) in diagnostics()
4339 if (&current->m_parent->m_value.array->operator[](i) == current) in diagnostics()
4350 for (const auto& element : *current->m_parent->m_value.object) in diagnostics()
5343 * j.m_value.destroy(j.m_type) to avoid a memory leak in case j contains an
5356 j.m_value.destroy(j.m_type);
5358 j.m_value = b;
5369 j.m_value.destroy(j.m_type); in construct()
5371 j.m_value = s; in construct()
5378 j.m_value.destroy(j.m_type); in construct()
5380 j.m_value in construct()
[all...]
/third_party/libfuse/example/
H A Dcxxopts.hpp967 , m_value(val) in OptionDetails()
976 m_value = rhs.m_value->clone(); in OptionDetails()
988 return *m_value; in value()
994 return m_value->clone(); in make_storage()
1013 std::shared_ptr<const Value> m_value; member in cxxopts::OptionDetails
1050 m_value->parse(text); in parse()
1058 m_value->parse(); in parse_default()
1078 if (m_value == nullptr) { in as()
1083 return static_cast<const values::standard_value<T>&>(*m_value) in as()
1099 std::shared_ptr<Value> m_value; global() member in cxxopts::OptionValue
1138 std::string m_value; global() member in cxxopts::KeyValue
[all...]
/third_party/json/include/nlohmann/detail/
H A Djson_pointer.hpp389 ptr = &ptr->operator[](ptr->m_value.array->size()); in get_unchecked()
441 "array index '-' (", std::to_string(ptr->m_value.array->size()), in get_checked()
498 JSON_THROW(detail::out_of_range::create(402, detail::concat("array index '-' (", std::to_string(ptr->m_value.array->size()), ") is out of range"), ptr)); in get_unchecked()
548 "array index '-' (", std::to_string(ptr->m_value.array->size()), in get_checked()
743 if (value.m_value.array->empty()) in flatten()
751 for (std::size_t i = 0; i < value.m_value.array->size(); ++i) in flatten()
754 value.m_value.array->operator[](i), result); in flatten()
762 if (value.m_value.object->empty()) in flatten()
770 for (const auto& element : *value.m_value.object) in flatten()
817 for (const auto& element : *value.m_value in unflatten()
[all...]
/third_party/json/include/nlohmann/detail/iterators/
H A Diter_impl.hpp205 m_it.object_iterator = m_object->m_value.object->begin();
211 m_it.array_iterator = m_object->m_value.array->begin();
249 m_it.object_iterator = m_object->m_value.object->end();
255 m_it.array_iterator = m_object->m_value.array->end();
288 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end()); in operator *()
294 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end()); in operator *()
332 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end()); in operator ->()
338 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end()); in operator ->()
/third_party/json/include/nlohmann/detail/input/
H A Djson_sax.hpp247 object_element = &(ref_stack.back()->m_value.object->operator[](val)); in key()
322 ref_stack.back()->m_value.array->emplace_back(std::forward<Value>(v)); in handle_value()
323 return &(ref_stack.back()->m_value.array->back()); in handle_value()
442 object_element = &(ref_stack.back()->m_value.object->operator[](val) = discarded); in key()
527 ref_stack.back()->m_value.array->pop_back(); in end_array()
610 ref_stack.back()->m_value.array->emplace_back(std::move(value)); in handle_value()
611 return {true, &(ref_stack.back()->m_value.array->back())}; in handle_value()

Completed in 38 milliseconds

123