Home
last modified time | relevance | path

Searched refs:file_identifier (Results 1 – 16 of 16) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dregistry.h32 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()
Dflatbuffers.h1819 void Finish(Offset<T> root, const char *file_identifier = nullptr) {
1820 Finish(root.o, file_identifier, false);
1832 const char *file_identifier = nullptr) {
1833 Finish(root.o, file_identifier, true);
1846 void Finish(uoffset_t root, const char *file_identifier, bool size_prefix) {
1851 (file_identifier ? kFileIdentifierLength : 0),
1853 if (file_identifier) {
1854 FLATBUFFERS_ASSERT(strlen(file_identifier) == kFileIdentifierLength);
1855 PushBytes(reinterpret_cast<const uint8_t *>(file_identifier),
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs332 pub fn finish_size_prefixed<T>(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>) { in finish_size_prefixed()
333 self.finish_with_opts(root, file_identifier, true); in finish_size_prefixed()
341 pub fn finish<T>(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>) { in finish()
342 self.finish_with_opts(root, file_identifier, false); in finish()
520 file_identifier: Option<&str>, in finish_with_opts()
532 let c = if file_identifier.is_some() { in finish_with_opts()
545 if let Some(ident) = file_identifier { in finish_with_opts()
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java878 protected void finish(int root_table, String file_identifier, boolean size_prefix) { in finish() argument
880 if (file_identifier.length() != FILE_IDENTIFIER_LENGTH) in finish()
884 addByte((byte)file_identifier.charAt(i)); in finish()
896 public void finish(int root_table, String file_identifier) { in finish() argument
897 finish(root_table, file_identifier, false); in finish()
907 public void finishSizePrefixed(int root_table, String file_identifier) { in finishSizePrefixed() argument
908 finish(root_table, file_identifier, true); in finishSizePrefixed()
/external/flatbuffers/tests/union_vector/
Dunion_vector.fbs31 file_identifier "MOVI";
/external/flatbuffers/js/
Dflatbuffers.js682 var file_identifier = opt_file_identifier;
685 if (file_identifier.length != flatbuffers.FILE_IDENTIFIER_LENGTH) {
690 this.writeInt8(file_identifier.charCodeAt(i));
/external/flatbuffers/docs/source/
DGrammar.md50 file_identifier_decl = `file_identifier` string\_constant `;`
DSchemas.md229 file_identifier "MYFI";
/external/flatbuffers/reflection/
Dreflection.fbs109 file_identifier "BFBS";
/external/flatbuffers/tests/
Dmonster_test.fbs129 file_identifier "MONS";
/external/libtextclassifier/lang_id/common/flatbuffers/
Dmodel.fbs27 file_identifier "SM00";
Dembedding-network.fbs25 file_identifier "NS00";
/external/tensorflow/tensorflow/lite/schema/
Dschema_v3.fbs24 file_identifier "TFL3";
Dschema.fbs24 file_identifier "TFL3";
/external/libtextclassifier/actions/
Dactions_model.fbs25 file_identifier "TC3A";
/external/libtextclassifier/annotator/
Dmodel.fbs24 file_identifier "TC2 ";