Home
last modified time | relevance | path

Searched refs:AddElement (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars2_generated.h401 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8()
404 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8()
407 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8()
410 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8()
413 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8()
416 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8()
419 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16()
422 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
425 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16()
428 fbb_.AddElement<uint16_t>(ScalarStuff::VT_JUST_U16, just_u16, 0); in add_just_u16()
[all …]
Doptional_scalars_generated.h441 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8()
444 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8()
447 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8()
450 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8()
453 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8()
456 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8()
459 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16()
462 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
465 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16()
468 fbb_.AddElement<uint16_t>(ScalarStuff::VT_JUST_U16, just_u16, 0); in add_just_u16()
[all …]
Dmonster_test_generated.h916 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1023 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
1026 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
1128 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1790 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
1793 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
1802 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
1805 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
1829 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
1832 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
[all …]
/third_party/flatbuffers/tests/
Doptional_scalars_generated.h448 fbb_.AddElement<int8_t>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8()
451 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_I8, maybe_i8); in add_maybe_i8()
454 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8()
457 fbb_.AddElement<uint8_t>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8()
460 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8()
463 fbb_.AddElement<uint8_t>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8()
466 fbb_.AddElement<int16_t>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16()
469 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
472 fbb_.AddElement<int16_t>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16()
475 fbb_.AddElement<uint16_t>(ScalarStuff::VT_JUST_U16, just_u16, 0); in add_just_u16()
[all …]
Dmonster_extra_generated.h157 fbb_.AddElement<double>(MonsterExtra::VT_D0, d0, std::numeric_limits<double>::quiet_NaN()); in add_d0()
160 fbb_.AddElement<double>(MonsterExtra::VT_D1, d1, std::numeric_limits<double>::quiet_NaN()); in add_d1()
163 fbb_.AddElement<double>(MonsterExtra::VT_D2, d2, std::numeric_limits<double>::infinity()); in add_d2()
166 fbb_.AddElement<double>(MonsterExtra::VT_D3, d3, -std::numeric_limits<double>::infinity()); in add_d3()
169 fbb_.AddElement<float>(MonsterExtra::VT_F0, f0, std::numeric_limits<float>::quiet_NaN()); in add_f0()
172 fbb_.AddElement<float>(MonsterExtra::VT_F1, f1, std::numeric_limits<float>::quiet_NaN()); in add_f1()
175 fbb_.AddElement<float>(MonsterExtra::VT_F2, f2, std::numeric_limits<float>::infinity()); in add_f2()
178 fbb_.AddElement<float>(MonsterExtra::VT_F3, f3, -std::numeric_limits<float>::infinity()); in add_f3()
Dmonster_test_generated.h994 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1092 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
1095 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
1186 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1836 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
1839 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
1848 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
1851 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
1875 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
1878 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
[all …]
Dtest.cpp1365 case 0: builder.AddElement<uint8_t>(off, bool_val, 0); break; in FuzzTest1()
1366 case 1: builder.AddElement<int8_t>(off, char_val, 0); break; in FuzzTest1()
1367 case 2: builder.AddElement<uint8_t>(off, uchar_val, 0); break; in FuzzTest1()
1368 case 3: builder.AddElement<int16_t>(off, short_val, 0); break; in FuzzTest1()
1369 case 4: builder.AddElement<uint16_t>(off, ushort_val, 0); break; in FuzzTest1()
1370 case 5: builder.AddElement<int32_t>(off, int_val, 0); break; in FuzzTest1()
1371 case 6: builder.AddElement<uint32_t>(off, uint_val, 0); break; in FuzzTest1()
1372 case 7: builder.AddElement<int64_t>(off, long_val, 0); break; in FuzzTest1()
1373 case 8: builder.AddElement<uint64_t>(off, ulong_val, 0); break; in FuzzTest1()
1374 case 9: builder.AddElement<float>(off, float_val, 0); break; in FuzzTest1()
[all …]
/third_party/mindspore/mindspore/lite/schema/
Dops_v0_generated.h1235 fbb_.AddElement<int8_t>(Pad::VT_PADDINGMODE, static_cast<int8_t>(paddingMode), 0); in add_paddingMode()
1238 fbb_.AddElement<float>(Pad::VT_CONSTANTVALUE, constantValue, 0.0f); in add_constantValue()
1417 fbb_.AddElement<int32_t>(Concat::VT_AXIS, axis, 0); in add_axis()
1420 fbb_.AddElement<int32_t>(Concat::VT_N, n, 0); in add_n()
1463 fbb_.AddElement<int32_t>(SoftMax::VT_AXIS, axis, -1); in add_axis()
1519 fbb_.AddElement<int8_t>(Activation::VT_TYPE, static_cast<int8_t>(type), 0); in add_type()
1522 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.2f); in add_alpha()
1525 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, -1.0f); in add_min_val()
1528 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 1.0f); in add_max_val()
1580 fbb_.AddElement<int8_t>(ActivationGrad::VT_TYPE, static_cast<int8_t>(type), 0); in add_type()
[all …]
Dops_generated.h2117 … fbb_.AddElement<int8_t>(Activation::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0);
2120 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.0f);
2123 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, 0.0f);
2126 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 0.0f);
2129 fbb_.AddElement<uint8_t>(Activation::VT_APPROXIMATE, static_cast<uint8_t>(approximate), 0);
2183 …fbb_.AddElement<int8_t>(ActivationGrad::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), …
2186 fbb_.AddElement<float>(ActivationGrad::VT_ALPHA, alpha, 0.0f);
2234 fbb_.AddElement<uint8_t>(Adam::VT_USE_LOCKING, static_cast<uint8_t>(use_locking), 0);
2237 fbb_.AddElement<uint8_t>(Adam::VT_USE_NESTEROV, static_cast<uint8_t>(use_nesterov), 0);
2280 fbb_.AddElement<int8_t>(AddFusion::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0);
[all …]
Dmodel_generated.h186 fbb_.AddElement<double>(QuantParam::VT_SCALE, scale, 0.0); in add_scale()
189 fbb_.AddElement<int32_t>(QuantParam::VT_ZEROPOINT, zeroPoint, 0); in add_zeroPoint()
192 fbb_.AddElement<double>(QuantParam::VT_MIN, min, 0.0); in add_min()
195 fbb_.AddElement<double>(QuantParam::VT_MAX, max, 0.0); in add_max()
198 fbb_.AddElement<uint8_t>(QuantParam::VT_NARROWRANGE, static_cast<uint8_t>(narrowRange), 1); in add_narrowRange()
201 fbb_.AddElement<int32_t>(QuantParam::VT_NUMBITS, numBits, 8); in add_numBits()
204 fbb_.AddElement<uint8_t>(QuantParam::VT_INITED, static_cast<uint8_t>(inited), 0); in add_inited()
207 fbb_.AddElement<float>(QuantParam::VT_VARCORR, varCorr, 1.0f); in add_varCorr()
210 fbb_.AddElement<float>(QuantParam::VT_MEANCORR, meanCorr, 0.0f); in add_meanCorr()
213 fbb_.AddElement<int32_t>(QuantParam::VT_DSTDTYPE, dstDtype, 32); in add_dstDtype()
[all …]
Dmodel_v0_generated.h1639 fbb_.AddElement<double>(QuantParam::VT_SCALE, scale, 0.0);
1642 fbb_.AddElement<int32_t>(QuantParam::VT_ZEROPOINT, zeroPoint, 0);
1645 fbb_.AddElement<double>(QuantParam::VT_MIN, min, 0.0);
1648 fbb_.AddElement<double>(QuantParam::VT_MAX, max, 0.0);
1651 fbb_.AddElement<uint8_t>(QuantParam::VT_NARROWRANGE, static_cast<uint8_t>(narrowRange), 1);
1654 fbb_.AddElement<int32_t>(QuantParam::VT_NUMBITS, numBits, 8);
1657 fbb_.AddElement<uint8_t>(QuantParam::VT_INITED, static_cast<uint8_t>(inited), 0);
1660 fbb_.AddElement<float>(QuantParam::VT_VARCORR, varCorr, 1.0f);
1663 fbb_.AddElement<float>(QuantParam::VT_MEANCORR, meanCorr, 0.0f);
1666 fbb_.AddElement<int32_t>(QuantParam::VT_DSTDTYPE, dstDtype, 32);
[all …]
/third_party/flatbuffers/tests/evolution_test/
Devolution_v1_generated.h165 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f);
168 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0);
211 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0);
343 fbb_.AddElement<int32_t>(Root::VT_A, a, 0);
346 fbb_.AddElement<uint8_t>(Root::VT_B, static_cast<uint8_t>(b), 0);
349 fbb_.AddElement<uint8_t>(Root::VT_C_TYPE, static_cast<uint8_t>(c_type), 0);
355 fbb_.AddElement<int8_t>(Root::VT_D, static_cast<int8_t>(d), 0);
370 fbb_.AddElement<int32_t>(Root::VT_I, i, 1234);
373 fbb_.AddElement<uint8_t>(Root::VT_J_TYPE, static_cast<uint8_t>(j_type), 0);
Devolution_v2_generated.h187 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f);
190 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0);
251 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0);
298 fbb_.AddElement<double>(TableC::VT_A, a, 0.0);
433 fbb_.AddElement<uint8_t>(Root::VT_B, static_cast<uint8_t>(b), 0);
436 fbb_.AddElement<uint8_t>(Root::VT_C_TYPE, static_cast<uint8_t>(c_type), 0);
442 fbb_.AddElement<int8_t>(Root::VT_D, static_cast<int8_t>(d), 0);
457 fbb_.AddElement<uint32_t>(Root::VT_I, i, 1234);
463 fbb_.AddElement<uint8_t>(Root::VT_L, l, 56);
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_v0_generated.h1876 fbb_.AddElement<int8_t>(Pad::VT_PADDINGMODE, static_cast<int8_t>(paddingMode), 0); in add_paddingMode()
1879 fbb_.AddElement<float>(Pad::VT_CONSTANTVALUE, constantValue, 0.0f); in add_constantValue()
2131 fbb_.AddElement<int32_t>(Concat::VT_AXIS, axis, 0); in add_axis()
2134 fbb_.AddElement<int32_t>(Concat::VT_N, n, 0); in add_n()
2194 fbb_.AddElement<int32_t>(SoftMax::VT_AXIS, axis, -1); in add_axis()
2279 fbb_.AddElement<int8_t>(Activation::VT_TYPE, static_cast<int8_t>(type), 0); in add_type()
2282 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.2f); in add_alpha()
2285 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, -1.0f); in add_min_val()
2288 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 1.0f); in add_max_val()
2361 fbb_.AddElement<int8_t>(ActivationGrad::VT_TYPE, static_cast<int8_t>(type), 0); in add_type()
[all …]
Dops_generated.h4395 … fbb_.AddElement<int8_t>(Activation::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0);
4398 fbb_.AddElement<float>(Activation::VT_ALPHA, alpha, 0.0f);
4401 fbb_.AddElement<float>(Activation::VT_MIN_VAL, min_val, 0.0f);
4404 fbb_.AddElement<float>(Activation::VT_MAX_VAL, max_val, 0.0f);
4407 fbb_.AddElement<uint8_t>(Activation::VT_APPROXIMATE, static_cast<uint8_t>(approximate), 0);
4482 …fbb_.AddElement<int8_t>(ActivationGrad::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), …
4485 fbb_.AddElement<float>(ActivationGrad::VT_ALPHA, alpha, 0.0f);
4554 fbb_.AddElement<uint8_t>(Adam::VT_USE_LOCKING, static_cast<uint8_t>(use_locking), 0);
4557 fbb_.AddElement<uint8_t>(Adam::VT_USE_NESTEROV, static_cast<uint8_t>(use_nesterov), 0);
4617 fbb_.AddElement<int8_t>(AddFusion::VT_ACTIVATION_TYPE, static_cast<int8_t>(activation_type), 0);
[all …]
Dmodel_generated.h263 fbb_.AddElement<double>(QuantParam::VT_SCALE, scale, 0.0); in add_scale()
266 fbb_.AddElement<int32_t>(QuantParam::VT_ZEROPOINT, zeroPoint, 0); in add_zeroPoint()
269 fbb_.AddElement<double>(QuantParam::VT_MIN, min, 0.0); in add_min()
272 fbb_.AddElement<double>(QuantParam::VT_MAX, max, 0.0); in add_max()
275 fbb_.AddElement<uint8_t>(QuantParam::VT_NARROWRANGE, static_cast<uint8_t>(narrowRange), 1); in add_narrowRange()
278 fbb_.AddElement<int32_t>(QuantParam::VT_NUMBITS, numBits, 8); in add_numBits()
281 fbb_.AddElement<uint8_t>(QuantParam::VT_INITED, static_cast<uint8_t>(inited), 0); in add_inited()
284 fbb_.AddElement<float>(QuantParam::VT_VARCORR, varCorr, 1.0f); in add_varCorr()
287 fbb_.AddElement<float>(QuantParam::VT_MEANCORR, meanCorr, 0.0f); in add_meanCorr()
290 fbb_.AddElement<int32_t>(QuantParam::VT_DSTDTYPE, dstDtype, 32); in add_dstDtype()
[all …]
/third_party/flatbuffers/include/flatbuffers/
Dreflection_generated.h190 fbb_.AddElement<int8_t>(Type::VT_BASE_TYPE, static_cast<int8_t>(base_type), 0); in add_base_type()
193 fbb_.AddElement<int8_t>(Type::VT_ELEMENT, static_cast<int8_t>(element), 0); in add_element()
196 fbb_.AddElement<int32_t>(Type::VT_INDEX, index, -1); in add_index()
199 fbb_.AddElement<uint16_t>(Type::VT_FIXED_LENGTH, fixed_length, 0); in add_fixed_length()
352 fbb_.AddElement<int64_t>(EnumVal::VT_VALUE, value, 0); in add_value()
474 fbb_.AddElement<uint8_t>(Enum::VT_IS_UNION, static_cast<uint8_t>(is_union), 0); in add_is_union()
632 fbb_.AddElement<uint16_t>(Field::VT_ID, id, 0); in add_id()
635 fbb_.AddElement<uint16_t>(Field::VT_OFFSET, offset, 0); in add_offset()
638 fbb_.AddElement<int64_t>(Field::VT_DEFAULT_INTEGER, default_integer, 0); in add_default_integer()
641 fbb_.AddElement<double>(Field::VT_DEFAULT_REAL, default_real, 0.0); in add_default_real()
[all …]
/third_party/cef/tests/ceftests/
Drequest_unittest.cc56 postData->AddElement(element1); in TEST()
57 postData->AddElement(element2); in TEST()
68 postData->AddElement(element1); in TEST()
69 postData->AddElement(element2); in TEST()
213 postData->AddElement(element1); in CreateRequest()
/third_party/cef/libcef_dll/ctocpp/
Dpost_data_ctocpp.h42 bool AddElement(CefRefPtr<CefPostDataElement> element) override;
Dpost_data_ctocpp.cc135 bool CefPostDataCToCpp::AddElement(CefRefPtr<CefPostDataElement> element) { in AddElement() function in CefPostDataCToCpp
/third_party/cef/include/
Dcef_request.h276 virtual bool AddElement(CefRefPtr<CefPostDataElement> element) = 0;
/third_party/cef/libcef_dll/cpptoc/
Dpost_data_cpptoc.cc149 bool _retval = CefPostDataCppToC::Get(self)->AddElement( in post_data_add_element()
/third_party/flatbuffers/samples/
Dmonster_generated.h372 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
375 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
384 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
390 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
526 fbb_.AddElement<int16_t>(Weapon::VT_DAMAGE, damage, 0);
/third_party/flatbuffers/android/app/src/main/cpp/generated/
Danimal_generated.h54 fbb_.AddElement<uint16_t>(Animal::VT_WEIGHT, weight, 0); in add_weight()
/third_party/cef/libcef/common/
Drequest_impl.h200 bool AddElement(CefRefPtr<CefPostDataElement> element) override;

12