/external/flatbuffers/include/flatbuffers/ |
D | registry.h | 32 void Register(const char *file_identifier, const char *schema_path) { in Register() argument 35 schemas_[file_identifier] = schema; in Register() 65 const char *file_identifier) { in TextToFlatBuffer() argument 68 if (!LoadSchema(file_identifier, &parser)) return DetachedBuffer(); in TextToFlatBuffer()
|
D | flatbuffers.h | 1976 void Finish(Offset<T> root, const char *file_identifier = nullptr) { 1977 Finish(root.o, file_identifier, false); 1989 const char *file_identifier = nullptr) { 1990 Finish(root.o, file_identifier, true); 2002 void Finish(uoffset_t root, const char *file_identifier, bool size_prefix) { 2007 (file_identifier ? kFileIdentifierLength : 0), 2009 if (file_identifier) { 2010 FLATBUFFERS_ASSERT(strlen(file_identifier) == kFileIdentifierLength); 2011 PushBytes(reinterpret_cast<const uint8_t *>(file_identifier),
|
/external/flatbuffers/python/flatbuffers/ |
D | builder.py | 513 def __Finish(self, rootTable, sizePrefix, file_identifier=None): argument 518 if file_identifier is not None: 524 if file_identifier is not None: 530 file_identifier = N.struct.unpack(">BBBB", file_identifier) 533 self.Place(file_identifier[i], N.Uint8Flags) 543 def Finish(self, rootTable, file_identifier=None): argument 545 return self.__Finish(rootTable, False, file_identifier=file_identifier) 547 def FinishSizePrefixed(self, rootTable, file_identifier=None): argument 552 return self.__Finish(rootTable, True, file_identifier=file_identifier)
|
D | util.py | 34 def BufferHasIdentifier(buf, offset, file_identifier, size_prefixed=False): argument 36 return got == file_identifier
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 364 pub fn finish_size_prefixed<T>(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>) { in finish_size_prefixed() 365 self.finish_with_opts(root, file_identifier, true); in finish_size_prefixed() 373 pub fn finish<T>(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>) { in finish() 374 self.finish_with_opts(root, file_identifier, false); in finish() 562 file_identifier: Option<&str>, in finish_with_opts() 577 let c = if file_identifier.is_some() { in finish_with_opts() 590 if let Some(ident) = file_identifier { in finish_with_opts()
|
/external/flatbuffers/java/com/google/flatbuffers/ |
D | FlatBufferBuilder.java | 922 protected void finish(int root_table, String file_identifier, boolean size_prefix) { in finish() argument 924 if (file_identifier.length() != FILE_IDENTIFIER_LENGTH) in finish() 928 addByte((byte)file_identifier.charAt(i)); in finish() 940 public void finish(int root_table, String file_identifier) { in finish() argument 941 finish(root_table, file_identifier, false); in finish() 951 public void finishSizePrefixed(int root_table, String file_identifier) { in finishSizePrefixed() argument 952 finish(root_table, file_identifier, true); in finishSizePrefixed()
|
/external/flatbuffers/tests/ |
D | arrays_test.fbs | 26 file_identifier "ARRT";
|
D | monster_extra.fbs | 21 file_identifier "MONE";
|
D | py_test.py | 69 for file_identifier in [None, b"MONS"]: 70 … gen_off = make_monster_from_generated_code(sizePrefix=sizePrefix, file_identifier=file_identifier) 71 … CheckReadBuffer(gen_buf, gen_off, sizePrefix=sizePrefix, file_identifier=file_identifier) 79 CheckReadBuffer(bytearray(canonicalWireData), 0, file_identifier=b'MONS') 530 def CheckReadBuffer(buf, offset, sizePrefix=False, file_identifier=None): argument 538 if file_identifier: 540 asserter(util.GetBufferIdentifier(buf, offset, size_prefixed=sizePrefix) == file_identifier) 541 …asserter(util.BufferHasIdentifier(buf, offset, file_identifier=file_identifier, size_prefixed=size… 547 if file_identifier: 1544 def make_monster_from_generated_code(sizePrefix = False, file_identifier=None): argument [all …]
|
D | monster_test.fbs | 145 file_identifier "MONS";
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector.fbs | 31 file_identifier "MOVI";
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | metadata.fbs | 19 file_identifier "AFFL";
|
D | workgroups.fbs | 19 file_identifier "AFWS";
|
D | compiled_model.fbs | 19 file_identifier "AFCM";
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | compiled_program_cache.fbs | 17 file_identifier "AFCM";
|
/external/tensorflow/tensorflow/lite/tools/ |
D | flatbuffer_utils.py | 89 builder.Finish(model_offset, file_identifier=_TFLITE_FILE_IDENTIFIER)
|
/external/flatbuffers/src/ |
D | idl_gen_kotlin.cpp | 489 auto file_identifier = parser_.file_identifier_; in GenStruct() local 491 GenerateFinishStructBuffer(struct_def, file_identifier, writer); in GenStruct() 492 GenerateFinishSizePrefixed(struct_def, file_identifier, writer); in GenStruct() 784 auto file_identifier = parser_.file_identifier_; in GenerateBufferHasIdentifier() local 786 if (parser_.root_struct_def_ != &struct_def || !file_identifier.length()) in GenerateBufferHasIdentifier() 792 file_identifier + "\")"; in GenerateBufferHasIdentifier()
|
/external/flatbuffers/docs/source/ |
D | Grammar.md | 50 file_identifier_decl = `file_identifier` string\_constant `;`
|
/external/flatbuffers/js/ |
D | flatbuffers.js | 690 var file_identifier = opt_file_identifier; 693 if (file_identifier.length != flatbuffers.FILE_IDENTIFIER_LENGTH) { 698 this.writeInt8(file_identifier.charCodeAt(i));
|
/external/flatbuffers/reflection/ |
D | reflection.fbs | 112 file_identifier "BFBS";
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person_name_model.fbs | 17 file_identifier "TC2 ";
|
/external/libtextclassifier/native/lang_id/common/flatbuffers/ |
D | model.fbs | 27 file_identifier "SM00";
|
D | embedding-network.fbs | 25 file_identifier "NS00";
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_v3.fbs | 24 file_identifier "TFL3";
|
/external/tensorflow/tensorflow/lite/python/ |
D | util.py | 595 builder.Finish(model_offset, file_identifier=_TFLITE_FILE_IDENTIFIER)
|