/third_party/flatbuffers/python/flatbuffers/ |
D | util.py | 23 def GetBufferIdentifier(buf, offset, size_prefixed=False): argument 25 if size_prefixed: 34 def BufferHasIdentifier(buf, offset, file_identifier, size_prefixed=False): argument 35 got = GetBufferIdentifier(buf, offset, size_prefixed=size_prefixed)
|
/third_party/flatbuffers/tests/MyGame/Example2/ |
D | Monster.py | 24 def MonsterBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
/third_party/flatbuffers/tests/MyGame/ |
D | InParentNamespace.py | 24 def InParentNamespaceBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
D | MonsterExtra.py | 24 def MonsterExtraBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x45", size_prefixed=size_prefixed)
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | TestSimpleTableWithEnum.py | 24 def TestSimpleTableWithEnumBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
D | Referrable.py | 24 def ReferrableBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
D | ArrayTable.py | 24 def ArrayTableBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x41\x52\x52\x54", size_prefixed=size_prefixed)
|
D | Stat.py | 24 def StatBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
D | TypeAliases.py | 24 def TypeAliasesBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 25 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
D | Monster.py | 25 def MonsterBufferHasIdentifier(cls, buf, offset, size_prefixed=False): argument 26 …flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
|
/third_party/flatbuffers/rust/flatbuffers/src/ |
D | table.rs | 59 pub fn buffer_has_identifier(data: &[u8], ident: &str, size_prefixed: bool) -> bool { in buffer_has_identifier() 62 let got = if size_prefixed { in buffer_has_identifier()
|
D | builder.rs | 655 size_prefixed: bool, in finish_with_opts() 667 let b = if size_prefixed { SIZE_UOFFSET } else { 0 }; in finish_with_opts() 689 if size_prefixed { in finish_with_opts()
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | arrays_test.rs | 48 size_prefixed: bool, in serialized_example_is_accessible_and_correct() 51 let correct = if size_prefixed { in serialized_example_is_accessible_and_correct() 59 let array_table = if size_prefixed { in serialized_example_is_accessible_and_correct()
|
D | integration_test.rs | 254 …le_is_accessible_and_correct(bytes: &[u8], identifier_required: bool, size_prefixed: bool) -> Resu… in serialized_example_is_accessible_and_correct() 257 let correct = if size_prefixed { in serialized_example_is_accessible_and_correct() 265 let m = if size_prefixed { in serialized_example_is_accessible_and_correct()
|
/third_party/flatbuffers/src/ |
D | idl_gen_ts.cpp | 358 bool size_prefixed) { in GenerateRootAccessor() argument 362 code += "static get" + (size_prefixed ? sizePrefixed : "") + "Root" + in GenerateRootAccessor() 366 if (size_prefixed) { in GenerateRootAccessor() 378 std::string &code, bool size_prefixed) { in GenerateFinisher() argument 383 code += "static finish" + (size_prefixed ? sizePrefixed : "") + in GenerateFinisher() 390 if (size_prefixed) { in GenerateFinisher()
|
D | flatc.cpp | 303 opts.size_prefixed = true; in Compile() 443 opts.size_prefixed)) { in Compile()
|
D | idl_gen_text.cpp | 373 auto root = parser.opts.size_prefixed ? GetSizePrefixedRoot<Table>(flatbuffer) in GenerateText()
|
D | idl_parser.cpp | 3426 if (opts.size_prefixed) { in DoParseJson() 3513 if (opts.size_prefixed) { in Serialize() 3845 bool size_prefixed = false; in Deserialize() local 3851 size_prefixed = true; in Deserialize() 3853 auto verify_fn = size_prefixed ? &reflection::VerifySizePrefixedSchemaBuffer in Deserialize() 3856 auto schema = size_prefixed ? reflection::GetSizePrefixedSchema(buf) in Deserialize()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | idl.h | 584 bool size_prefixed; member 673 size_prefixed(false), in IDLOptions()
|
D | flatbuffers.h | 2255 bool size_prefixed = false) { 2257 ((size_prefixed) ? 2 * sizeof(uoffset_t) : sizeof(uoffset_t)); 2262 bool size_prefixed = false) { 2263 return strncmp(GetBufferIdentifier(buf, size_prefixed), identifier,
|
/third_party/flatbuffers/tests/ |
D | py_test.py | 540 asserter(util.GetBufferIdentifier(buf, offset, size_prefixed=sizePrefix) == file_identifier) 541 …r(util.BufferHasIdentifier(buf, offset, file_identifier=file_identifier, size_prefixed=sizePrefix)) 542 …r(MyGame.Example.Monster.Monster.MonsterBufferHasIdentifier(buf, offset, size_prefixed=sizePrefix))
|