/third_party/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 139 return SetField<int8_t>(VT_JUST_I8, _just_i8, 0); in mutate_just_i8() 145 return SetField<int8_t>(VT_MAYBE_I8, _maybe_i8); in mutate_maybe_i8() 151 return SetField<int8_t>(VT_DEFAULT_I8, _default_i8, 42); in mutate_default_i8() 157 return SetField<uint8_t>(VT_JUST_U8, _just_u8, 0); in mutate_just_u8() 163 return SetField<uint8_t>(VT_MAYBE_U8, _maybe_u8); in mutate_maybe_u8() 169 return SetField<uint8_t>(VT_DEFAULT_U8, _default_u8, 42); in mutate_default_u8() 175 return SetField<int16_t>(VT_JUST_I16, _just_i16, 0); in mutate_just_i16() 181 return SetField<int16_t>(VT_MAYBE_I16, _maybe_i16); in mutate_maybe_i16() 187 return SetField<int16_t>(VT_DEFAULT_I16, _default_i16, 42); in mutate_default_i16() 193 return SetField<uint16_t>(VT_JUST_U16, _just_u16, 0); in mutate_just_u16() [all …]
|
D | optional_scalars2_generated.h | 139 return SetField<int8_t>(VT_JUST_I8, _just_i8, 0); in mutate_just_i8() 145 return SetField<int8_t>(VT_MAYBE_I8, _maybe_i8); in mutate_maybe_i8() 151 return SetField<int8_t>(VT_DEFAULT_I8, _default_i8, 42); in mutate_default_i8() 157 return SetField<uint8_t>(VT_JUST_U8, _just_u8, 0); in mutate_just_u8() 163 return SetField<uint8_t>(VT_MAYBE_U8, _maybe_u8); in mutate_maybe_u8() 169 return SetField<uint8_t>(VT_DEFAULT_U8, _default_u8, 42); in mutate_default_u8() 175 return SetField<int16_t>(VT_JUST_I16, _just_i16, 0); in mutate_just_i16() 181 return SetField<int16_t>(VT_MAYBE_I16, _maybe_i16); in mutate_maybe_i16() 187 return SetField<int16_t>(VT_DEFAULT_I16, _default_i16, 42); in mutate_default_i16() 193 return SetField<uint16_t>(VT_JUST_U16, _just_u16, 0); in mutate_just_u16() [all …]
|
D | monster_test_generated.h | 894 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2); 981 return SetField<int64_t>(VT_VAL, _val, 0); 987 return SetField<uint16_t>(VT_COUNT, _count, 0); 1100 return SetField<uint64_t>(VT_ID, _id, 0); 1285 return SetField<int16_t>(VT_MANA, _mana, 150); 1291 return SetField<int16_t>(VT_HP, _hp, 100); 1315 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8); 1381 return SetField<uint8_t>(VT_TESTBOOL, static_cast<uint8_t>(_testbool), 0); 1387 return SetField<int32_t>(VT_TESTHASHS32_FNV1, _testhashs32_fnv1, 0); 1393 return SetField<uint32_t>(VT_TESTHASHU32_FNV1, _testhashu32_fnv1, 0); [all …]
|
/third_party/flatbuffers/tests/ |
D | optional_scalars_generated.h | 186 return SetField<int8_t>(VT_JUST_I8, _just_i8, 0); in mutate_just_i8() 192 return SetField<int8_t>(VT_MAYBE_I8, _maybe_i8); in mutate_maybe_i8() 198 return SetField<int8_t>(VT_DEFAULT_I8, _default_i8, 42); in mutate_default_i8() 204 return SetField<uint8_t>(VT_JUST_U8, _just_u8, 0); in mutate_just_u8() 210 return SetField<uint8_t>(VT_MAYBE_U8, _maybe_u8); in mutate_maybe_u8() 216 return SetField<uint8_t>(VT_DEFAULT_U8, _default_u8, 42); in mutate_default_u8() 222 return SetField<int16_t>(VT_JUST_I16, _just_i16, 0); in mutate_just_i16() 228 return SetField<int16_t>(VT_MAYBE_I16, _maybe_i16); in mutate_maybe_i16() 234 return SetField<int16_t>(VT_DEFAULT_I16, _default_i16, 42); in mutate_default_i16() 240 return SetField<uint16_t>(VT_JUST_U16, _just_u16, 0); in mutate_just_u16() [all …]
|
D | monster_extra_generated.h | 75 return SetField<double>(VT_D0, _d0, std::numeric_limits<double>::quiet_NaN()); in mutate_d0() 81 return SetField<double>(VT_D1, _d1, std::numeric_limits<double>::quiet_NaN()); in mutate_d1() 87 return SetField<double>(VT_D2, _d2, std::numeric_limits<double>::infinity()); in mutate_d2() 93 return SetField<double>(VT_D3, _d3, -std::numeric_limits<double>::infinity()); in mutate_d3() 99 return SetField<float>(VT_F0, _f0, std::numeric_limits<float>::quiet_NaN()); in mutate_f0() 105 return SetField<float>(VT_F1, _f1, std::numeric_limits<float>::quiet_NaN()); in mutate_f1() 111 return SetField<float>(VT_F2, _f2, std::numeric_limits<float>::infinity()); in mutate_f2() 117 return SetField<float>(VT_F3, _f3, -std::numeric_limits<float>::infinity()); in mutate_f3()
|
D | monster_test_generated.h | 977 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2); 1057 return SetField<int64_t>(VT_VAL, _val, 0); 1063 return SetField<uint16_t>(VT_COUNT, _count, 0); 1163 return SetField<uint64_t>(VT_ID, _id, 0); 1385 return SetField<int16_t>(VT_MANA, _mana, 150); 1391 return SetField<int16_t>(VT_HP, _hp, 100); 1415 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8); 1481 return SetField<uint8_t>(VT_TESTBOOL, static_cast<uint8_t>(_testbool), 0); 1487 return SetField<int32_t>(VT_TESTHASHS32_FNV1, _testhashs32_fnv1, 0); 1493 return SetField<uint32_t>(VT_TESTHASHU32_FNV1, _testhashu32_fnv1, 0); [all …]
|
D | test.cpp | 977 flatbuffers::SetField<uint16_t>(&root, hp_field, 200); in ReflectionTest() 997 flatbuffers::SetField<uint16_t>(&root, hp_field, 80); in ReflectionTest()
|
/third_party/mindspore/mindspore/lite/schema/inner/ |
D | ops_v0_generated.h | 1847 return SetField<int8_t>(VT_PADDINGMODE, static_cast<int8_t>(_paddingMode), 0); in mutate_paddingMode() 1853 return SetField<float>(VT_CONSTANTVALUE, _constantValue, 0.0f); in mutate_constantValue() 2107 return SetField<int32_t>(VT_AXIS, _axis, 0); in mutate_axis() 2113 return SetField<int32_t>(VT_N, _n, 0); in mutate_n() 2177 return SetField<int32_t>(VT_AXIS, _axis, -1); in mutate_axis() 2241 return SetField<int8_t>(VT_TYPE, static_cast<int8_t>(_type), 0); in mutate_type() 2247 return SetField<float>(VT_ALPHA, _alpha, 0.2f); in mutate_alpha() 2253 return SetField<float>(VT_MIN_VAL, _min_val, -1.0f); in mutate_min_val() 2259 return SetField<float>(VT_MAX_VAL, _max_val, 1.0f); in mutate_max_val() 2337 return SetField<int8_t>(VT_TYPE, static_cast<int8_t>(_type), 0); in mutate_type() [all …]
|
D | ops_generated.h | 4350 return SetField<int8_t>(VT_ACTIVATION_TYPE, static_cast<int8_t>(_activation_type), 0); 4356 return SetField<float>(VT_ALPHA, _alpha, 0.0f); 4362 return SetField<float>(VT_MIN_VAL, _min_val, 0.0f); 4368 return SetField<float>(VT_MAX_VAL, _max_val, 0.0f); 4374 return SetField<uint8_t>(VT_APPROXIMATE, static_cast<uint8_t>(_approximate), 0); 4458 return SetField<int8_t>(VT_ACTIVATION_TYPE, static_cast<int8_t>(_activation_type), 0); 4464 return SetField<float>(VT_ALPHA, _alpha, 0.0f); 4530 return SetField<uint8_t>(VT_USE_LOCKING, static_cast<uint8_t>(_use_locking), 0); 4536 return SetField<uint8_t>(VT_USE_NESTEROV, static_cast<uint8_t>(_use_nesterov), 0); 4600 return SetField<int8_t>(VT_ACTIVATION_TYPE, static_cast<int8_t>(_activation_type), 0); [all …]
|
D | model_generated.h | 169 return SetField<double>(VT_SCALE, _scale, 0.0); in mutate_scale() 175 return SetField<int32_t>(VT_ZEROPOINT, _zeroPoint, 0); in mutate_zeroPoint() 181 return SetField<double>(VT_MIN, _min, 0.0); in mutate_min() 187 return SetField<double>(VT_MAX, _max, 0.0); in mutate_max() 193 return SetField<uint8_t>(VT_NARROWRANGE, static_cast<uint8_t>(_narrowRange), 1); in mutate_narrowRange() 199 return SetField<int32_t>(VT_NUMBITS, _numBits, 8); in mutate_numBits() 205 return SetField<uint8_t>(VT_INITED, static_cast<uint8_t>(_inited), 0); in mutate_inited() 211 return SetField<float>(VT_VARCORR, _varCorr, 1.0f); in mutate_varCorr() 217 return SetField<float>(VT_MEANCORR, _meanCorr, 0.0f); in mutate_meanCorr() 223 return SetField<int32_t>(VT_DSTDTYPE, _dstDtype, 32); in mutate_dstDtype() [all …]
|
D | model_v0_generated.h | 3288 return SetField<double>(VT_SCALE, _scale, 0.0); 3294 return SetField<int32_t>(VT_ZEROPOINT, _zeroPoint, 0); 3300 return SetField<double>(VT_MIN, _min, 0.0); 3306 return SetField<double>(VT_MAX, _max, 0.0); 3312 return SetField<uint8_t>(VT_NARROWRANGE, static_cast<uint8_t>(_narrowRange), 1); 3318 return SetField<int32_t>(VT_NUMBITS, _numBits, 8); 3324 return SetField<uint8_t>(VT_INITED, static_cast<uint8_t>(_inited), 0); 3330 return SetField<float>(VT_VARCORR, _varCorr, 1.0f); 3336 return SetField<float>(VT_MEANCORR, _meanCorr, 0.0f); 3342 return SetField<int32_t>(VT_DSTDTYPE, _dstDtype, 32); [all …]
|
/third_party/flatbuffers/samples/ |
D | monster_generated.h | 284 return SetField<int16_t>(VT_MANA, _mana, 150); 290 return SetField<int16_t>(VT_HP, _hp, 100); 308 return SetField<int8_t>(VT_COLOR, static_cast<int8_t>(_color), 2); 504 return SetField<int16_t>(VT_DAMAGE, _damage, 0);
|
/third_party/protobuf/src/google/protobuf/ |
D | generated_message_table_driven_lite.h | 131 inline void SetField(MessageLite* msg, uint32* has_bits, uint32 has_bit_index, in SetField() function 317 SetField(msg, presence, presence_index, offset, value); in HandleEnum() 423 SetField(msg, has_bits, presence_index, offset, value); \ in MergePartialFromCodedStreamInlined()
|
D | generated_message_reflection.cc | 542 SetField<TYPE>(message1, field2, GetField<TYPE>(*message2, field2)); \ in SwapOneofField() 574 SetField<TYPE>(message2, field1, temp_##TYPE); \ in SwapOneofField() 1136 SetField<TYPE>(message, field, value); \ 1381 SetField<int>(message, field, value); in SetEnumValueInternal() 2184 void Reflection::SetField(Message* message, const FieldDescriptor* field, in SetField() function in google::protobuf::Reflection
|
D | message.h | 1069 inline void SetField(Message* message, const FieldDescriptor* field,
|
/third_party/flatbuffers/include/flatbuffers/ |
D | reflection.h | 286 bool SetField(Table *table, const reflection::Field &field, T val) { in SetField() function 297 return table->SetField(field.offset(), val, def); in SetField()
|
D | flatbuffers.h | 2602 template<typename T> bool SetField(voffset_t field, T val, T def) { 2608 template<typename T> bool SetField(voffset_t field, T val) {
|
/third_party/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.h | 244 return SetField<int32_t>(VT_FOO, _foo, 0);
|
D | namespace_test2_generated.h | 110 return SetField<int8_t>(VT_FOO_ENUM, static_cast<int8_t>(_foo_enum), 0); in mutate_foo_enum()
|
/third_party/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 303 return SetField<int32_t>(VT_SWORD_ATTACK_DAMAGE, _sword_attack_damage, 0); in mutate_sword_attack_damage()
|