| /third_party/flatbuffers/ |
| D | BUILD.gn | 18 script = "//third_party/flatbuffers/install.py" 20 "${target_gen_dir}/flatbuffers/include/flatbuffers/allocator.h", 21 "${target_gen_dir}/flatbuffers/include/flatbuffers/array.h", 22 "${target_gen_dir}/flatbuffers/include/flatbuffers/base.h", 23 "${target_gen_dir}/flatbuffers/include/flatbuffers/buffer.h", 24 "${target_gen_dir}/flatbuffers/include/flatbuffers/buffer_ref.h", 25 "${target_gen_dir}/flatbuffers/include/flatbuffers/code_generator.h", 26 "${target_gen_dir}/flatbuffers/include/flatbuffers/code_generators.h", 27 "${target_gen_dir}/flatbuffers/include/flatbuffers/default_allocator.h", 28 "${target_gen_dir}/flatbuffers/include/flatbuffers/detached_buffer.h", [all …]
|
| D | BUILD.bazel | 14 name = "node_modules/flatbuffers", 15 src = "//ts:flatbuffers", 49 "include/flatbuffers/*.h", 56 name = "flatbuffers", 60 deps = ["//src:flatbuffers"], 63 # Public C++ headers for the Flatbuffers library. 67 "include/flatbuffers/allocator.h", 68 "include/flatbuffers/array.h", 69 "include/flatbuffers/base.h", 70 "include/flatbuffers/buffer.h", [all …]
|
| /third_party/flatbuffers/include/flatbuffers/ |
| D | reflection_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 125 if (::flatbuffers::IsOutRange(e, None, MaxBaseType)) return ""; in EnumNameBaseType() 164 if (::flatbuffers::IsOutRange(e, AdvancedArrayFeatures, DefaultVectorsAndStrings)) return ""; in EnumNameAdvancedFeatures() 169 struct Type FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { 199 bool Verify(::flatbuffers::Verifier &verifier) const { in Verify() 213 ::flatbuffers::FlatBufferBuilder &fbb_; 214 ::flatbuffers::uoffset_t start_; [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/schema/inner/ |
| D | ops_types_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 31 inline const ::flatbuffers::TypeTable *VecTypeTable(); 33 inline const ::flatbuffers::TypeTable *Vec2DTypeTable(); 35 inline const ::flatbuffers::TypeTable *AttributeTypeTable(); 68 if (::flatbuffers::IsOutRange(e, ResizeMethod_UNKNOWN, ResizeMethod_CUBIC)) return ""; in EnumNameResizeMethod() 101 …if (::flatbuffers::IsOutRange(e, CoordinateTransformMode_ASYMMETRIC, CoordinateTransformMode_HALF_… in EnumNameCoordinateTransformMode() 140 if (::flatbuffers::IsOutRange(e, NearestMode_NORMAL, NearestMode_CEIL)) return ""; in EnumNameNearestMode() [all …]
|
| D | gpu_cache_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 31 inline const ::flatbuffers::TypeTable *TuneParamTypeTable(); 33 inline const ::flatbuffers::TypeTable *ProgramBinaryTypeTable(); 35 inline const ::flatbuffers::TypeTable *GpuCacheTypeTable(); 37 struct TuneParamT : public ::flatbuffers::NativeTable { 45 struct TuneParam FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { 48 static const ::flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable() [all …]
|
| D | ops_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 905 inline const ::flatbuffers::TypeTable *AbsTypeTable(); 907 inline const ::flatbuffers::TypeTable *ActivationTypeTable(); 909 inline const ::flatbuffers::TypeTable *ActivationGradTypeTable(); 911 inline const ::flatbuffers::TypeTable *AdamTypeTable(); 913 inline const ::flatbuffers::TypeTable *AddFusionTypeTable(); 915 inline const ::flatbuffers::TypeTable *AdderFusionTypeTable(); [all …]
|
| /third_party/flatbuffers/tests/ts/my-game/example/ |
| D | monster.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 18 export declare class Monster implements flatbuffers.IUnpackableObject<MonsterT> { 19 bb: flatbuffers.ByteBuffer | null; 21 __init(i: number, bb: flatbuffers.ByteBuffer): Monster; 22 static getRootAsMonster(bb: flatbuffers.ByteBuffer, obj?: Monster): Monster; 23 static getSizePrefixedRootAsMonster(bb: flatbuffers.ByteBuffer, obj?: Monster): Monster; 24 static bufferHasIdentifier(bb: flatbuffers.ByteBuffer): boolean; 31 name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 38 test<T extends flatbuffers.Table>(obj: any): any | null; 42 testarrayofstring(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/schema/ |
| D | schema_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 478 inline const ::flatbuffers::TypeTable *CustomQuantizationTypeTable(); 480 inline const ::flatbuffers::TypeTable *QuantizationParametersTypeTable(); 482 inline const ::flatbuffers::TypeTable *Int32VectorTypeTable(); 484 inline const ::flatbuffers::TypeTable *Uint16VectorTypeTable(); 486 inline const ::flatbuffers::TypeTable *Uint8VectorTypeTable(); 488 inline const ::flatbuffers::TypeTable *DimensionMetadataTypeTable(); [all …]
|
| D | gpu_cache_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 28 struct TuneParam FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { 36 const ::flatbuffers::Vector<int32_t> *local() const { in local() 37 return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_LOCAL); in local() 39 const ::flatbuffers::Vector<int32_t> *block() const { in block() 40 return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_BLOCK); in block() 42 const ::flatbuffers::Vector<int32_t> *shape() const { in shape() [all …]
|
| D | ops_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 1369 if (::flatbuffers::IsOutRange(e, PrimitiveType_NONE, PrimitiveType_FillV2)) return ""; in EnumNamePrimitiveType() 2262 bool VerifyPrimitiveType(::flatbuffers::Verifier &verifier, const void *obj, PrimitiveType type); 2263 …tiveTypeVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offse… 2265 struct Abs FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { 2267 bool Verify(::flatbuffers::Verifier &verifier) const { 2275 ::flatbuffers::FlatBufferBuilder &fbb_; [all …]
|
| /third_party/flatbuffers/tests/ |
| D | util_test.cpp | 3 #include "flatbuffers/util.h" 6 namespace flatbuffers { namespace 13 TEST_EQ(flatbuffers::StringToNumber("1q", &x), false); in NumericUtilsTestInteger() 15 TEST_EQ(flatbuffers::StringToNumber(upper, &x), false); in NumericUtilsTestInteger() 16 TEST_EQ(x, flatbuffers::numeric_limits<T>::max()); in NumericUtilsTestInteger() 17 TEST_EQ(flatbuffers::StringToNumber(lower, &x), false); in NumericUtilsTestInteger() 18 auto expval = flatbuffers::is_unsigned<T>::value in NumericUtilsTestInteger() 19 ? flatbuffers::numeric_limits<T>::max() in NumericUtilsTestInteger() 20 : flatbuffers::numeric_limits<T>::lowest(); in NumericUtilsTestInteger() 27 TEST_EQ(flatbuffers::StringToNumber("", &f), false); in NumericUtilsTestFloat() [all …]
|
| D | monster_test_generated.lobster | 1 // automatically generated by the FlatBuffers compiler, do not modify 2 import flatbuffers 76 class InParentNamespace : flatbuffers.handle 78 def GetRootAsInParentNamespace(buf:string): return InParentNamespace { buf, flatbuffers.indirect(bu… 81 b_:flatbuffers.builder 90 class Monster : flatbuffers.handle 92 def GetRootAsMonster(buf:string): return Monster { buf, flatbuffers.indirect(buf, 0) } 95 b_:flatbuffers.builder 104 class Test : flatbuffers.handle 110 def CreateTest(b_:flatbuffers.builder, a:int, b:int): [all …]
|
| /third_party/flatbuffers/goldens/cpp/ |
| D | basic_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 16 namespace flatbuffers { 25 struct Galaxy FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { 33 bool Verify(::flatbuffers::Verifier &verifier) const { in Verify() 42 ::flatbuffers::FlatBufferBuilder &fbb_; 43 ::flatbuffers::uoffset_t start_; 47 explicit GalaxyBuilder(::flatbuffers::FlatBufferBuilder &_fbb) in GalaxyBuilder() [all …]
|
| /third_party/flatbuffers/tests/ts/reflection/ |
| D | service.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 4 export declare class Service implements flatbuffers.IUnpackableObject<ServiceT> { 5 bb: flatbuffers.ByteBuffer | null; 7 __init(i: number, bb: flatbuffers.ByteBuffer): Service; 8 static getRootAsService(bb: flatbuffers.ByteBuffer, obj?: Service): Service; 9 static getSizePrefixedRootAsService(bb: flatbuffers.ByteBuffer, obj?: Service): Service; 11 name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 17 documentation(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; 23 declarationFile(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 25 static startService(builder: flatbuffers.Builder): void; [all …]
|
| D | object.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 4 export declare class Object_ implements flatbuffers.IUnpackableObject<Object_T> { 5 bb: flatbuffers.ByteBuffer | null; 7 __init(i: number, bb: flatbuffers.ByteBuffer): Object_; 8 static getRootAsObject(bb: flatbuffers.ByteBuffer, obj?: Object_): Object_; 9 static getSizePrefixedRootAsObject(bb: flatbuffers.ByteBuffer, obj?: Object_): Object_; 11 name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 23 documentation(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; 29 declarationFile(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 31 static startObject(builder: flatbuffers.Builder): void; [all …]
|
| D | schema.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 6 export declare class Schema implements flatbuffers.IUnpackableObject<SchemaT> { 7 bb: flatbuffers.ByteBuffer | null; 9 __init(i: number, bb: flatbuffers.ByteBuffer): Schema; 10 static getRootAsSchema(bb: flatbuffers.ByteBuffer, obj?: Schema): Schema; 11 static getSizePrefixedRootAsSchema(bb: flatbuffers.ByteBuffer, obj?: Schema): Schema; 12 static bufferHasIdentifier(bb: flatbuffers.ByteBuffer): boolean; 18 fileIdent(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 20 fileExt(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 33 static startSchema(builder: flatbuffers.Builder): void; [all …]
|
| D | enum.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 5 export declare class Enum implements flatbuffers.IUnpackableObject<EnumT> { 6 bb: flatbuffers.ByteBuffer | null; 8 __init(i: number, bb: flatbuffers.ByteBuffer): Enum; 9 static getRootAsEnum(bb: flatbuffers.ByteBuffer, obj?: Enum): Enum; 10 static getSizePrefixedRootAsEnum(bb: flatbuffers.ByteBuffer, obj?: Enum): Enum; 12 name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 21 documentation(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; 27 declarationFile(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 29 static startEnum(builder: flatbuffers.Builder): void; [all …]
|
| D | rpccall.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 4 export declare class RPCCall implements flatbuffers.IUnpackableObject<RPCCallT> { 5 bb: flatbuffers.ByteBuffer | null; 7 __init(i: number, bb: flatbuffers.ByteBuffer): RPCCall; 8 static getRootAsRPCCall(bb: flatbuffers.ByteBuffer, obj?: RPCCall): RPCCall; 9 static getSizePrefixedRootAsRPCCall(bb: flatbuffers.ByteBuffer, obj?: RPCCall): RPCCall; 11 name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; 17 documentation(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; 20 static startRPCCall(builder: flatbuffers.Builder): void; 21 static addName(builder: flatbuffers.Builder, nameOffset: flatbuffers.Offset): void; [all …]
|
| /third_party/flatbuffers/tests/ts/no_import_ext/optional-scalars/ |
| D | scalar-stuff.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 4 bb: flatbuffers.ByteBuffer | null; 6 __init(i: number, bb: flatbuffers.ByteBuffer): ScalarStuff; 7 static getRootAsScalarStuff(bb: flatbuffers.ByteBuffer, obj?: ScalarStuff): ScalarStuff; 8 …static getSizePrefixedRootAsScalarStuff(bb: flatbuffers.ByteBuffer, obj?: ScalarStuff): ScalarStuf… 9 static bufferHasIdentifier(bb: flatbuffers.ByteBuffer): boolean; 47 static startScalarStuff(builder: flatbuffers.Builder): void; 48 static addJustI8(builder: flatbuffers.Builder, justI8: number): void; 49 static addMaybeI8(builder: flatbuffers.Builder, maybeI8: number): void; 50 static addDefaultI8(builder: flatbuffers.Builder, defaultI8: number): void; [all …]
|
| /third_party/flatbuffers/tests/ts/union_vector/ |
| D | movie.d.ts | 1 import * as flatbuffers from 'flatbuffers'; 6 export declare class Movie implements flatbuffers.IUnpackableObject<MovieT> { 7 bb: flatbuffers.ByteBuffer | null; 9 __init(i: number, bb: flatbuffers.ByteBuffer): Movie; 10 static getRootAsMovie(bb: flatbuffers.ByteBuffer, obj?: Movie): Movie; 11 static getSizePrefixedRootAsMovie(bb: flatbuffers.ByteBuffer, obj?: Movie): Movie; 12 static bufferHasIdentifier(bb: flatbuffers.ByteBuffer): boolean; 14 mainCharacter<T extends flatbuffers.Table>(obj: any | string): any | string | null; 21 static startMovie(builder: flatbuffers.Builder): void; 22 static addMainCharacterType(builder: flatbuffers.Builder, mainCharacterType: Character): void; [all …]
|
| /third_party/flatbuffers/src/ |
| D | flatc_main.cpp | 22 #include "flatbuffers/base.h" 23 #include "flatbuffers/code_generator.h" 24 #include "flatbuffers/flatc.h" 25 #include "flatbuffers/util.h" 45 static void Warn(const flatbuffers::FlatCompiler *flatc, in Warn() 52 static void Error(const flatbuffers::FlatCompiler *flatc, in Error() 62 namespace flatbuffers { namespace 64 Warn(static_cast<const flatbuffers::FlatCompiler *>(nullptr), warn, true); in LogCompilerWarn() 67 Error(static_cast<const flatbuffers::FlatCompiler *>(nullptr), err, false, in LogCompilerError() 70 } // namespace flatbuffers [all …]
|
| /third_party/flatbuffers/benchmarks/cpp/flatbuffers/ |
| D | bench_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 56 if (flatbuffers::IsOutRange(e, Enum_Apples, Enum_Bananas)) return ""; in EnumNameEnum() 79 : id_(flatbuffers::EndianScalar(_id)), in Foo() 80 count_(flatbuffers::EndianScalar(_count)), in Foo() 81 prefix_(flatbuffers::EndianScalar(_prefix)), in Foo() 83 length_(flatbuffers::EndianScalar(_length)) { in Foo() 87 return flatbuffers::EndianScalar(id_); in id() [all …]
|
| /third_party/flatbuffers/tests/MyGame/Example/ |
| D | Monster.go | 1 // Code generated by the FlatBuffers compiler. DO NOT EDIT. 7 flatbuffers "github.com/google/flatbuffers/go" packageName 75 func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 79 nameOffset := flatbuffers.UOffsetT(0) 83 inventoryOffset := flatbuffers.UOffsetT(0) 89 test4Offset := flatbuffers.UOffsetT(0) 98 testarrayofstringOffset := flatbuffers.UOffsetT(0) 101 testarrayofstringOffsets := make([]flatbuffers.UOffsetT, testarrayofstringLength) 111 testarrayoftablesOffset := flatbuffers.UOffsetT(0) 114 testarrayoftablesOffsets := make([]flatbuffers.UOffsetT, testarrayoftablesLength) [all …]
|
| /third_party/flatbuffers/samples/ |
| D | monster_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 9 // Ensure the included flatbuffers.h is the same version as when this file was 14 "Non-compatible flatbuffers version included"); 36 inline const ::flatbuffers::TypeTable *Vec3TypeTable(); 38 inline const ::flatbuffers::TypeTable *MonsterTypeTable(); 40 inline const ::flatbuffers::TypeTable *WeaponTypeTable(); 70 if (::flatbuffers::IsOutRange(e, Color_Red, Color_Blue)) return ""; in EnumNameColor() 100 if (::flatbuffers::IsOutRange(e, Equipment_NONE, Equipment_Weapon)) return ""; in EnumNameEquipment() 148 …static void *UnPack(const void *obj, Equipment type, const ::flatbuffers::resolver_function_t *res… [all …]
|
| /third_party/flatbuffers/goldens/rust/ |
| D | basic_generated.rs | 1 // automatically generated by the FlatBuffers compiler, do not modify 9 extern crate flatbuffers; 10 use self::flatbuffers::{EndianScalar, Follow}; 13 pub mod flatbuffers { module 18 extern crate flatbuffers; 19 use self::flatbuffers::{EndianScalar, Follow}; 26 extern crate flatbuffers; 27 use self::flatbuffers::{EndianScalar, Follow}; 33 pub _tab: flatbuffers::Table<'a>, 36 impl<'a> flatbuffers::Follow<'a> for Galaxy<'a> { [all …]
|