Home
last modified time | relevance | path

Searched refs:size_prefix (Results 1 – 7 of 7) sorted by relevance

/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java950 protected void finish(int root_table, boolean size_prefix) { in finish() argument
951 prep(minalign, SIZEOF_INT + (size_prefix ? SIZEOF_INT : 0)); in finish()
953 if (size_prefix) { in finish()
986 protected void finish(int root_table, String file_identifier, boolean size_prefix) { in finish() argument
987 prep(minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH + (size_prefix ? SIZEOF_INT : 0)); in finish()
994 finish(root_table, size_prefix); in finish()
/third_party/flatbuffers/ts/
Dbuilder.ts426 const size_prefix = opt_size_prefix ? SIZE_PREFIX_LENGTH : 0; constant
430 FILE_IDENTIFIER_LENGTH + size_prefix);
439 this.prep(this.minalign, SIZEOF_INT + size_prefix);
441 if (size_prefix) {
/third_party/flatbuffers/lobster/
Dflatbuffers.lobster178 def __Finish(root_table:offset, size_prefix:int):
183 if size_prefix:
187 if size_prefix:
/third_party/flatbuffers/src/
Didl_gen_java.cpp1106 std::string size_prefix[] = { "", "SizePrefixed" }; in GenStruct() local
1109 code += "finish" + size_prefix[i] + struct_def.name; in GenStruct()
1112 code += " builder.finish" + size_prefix[i] + "(offset"; in GenStruct()
Didl_gen_csharp.cpp1153 std::string size_prefix[] = { "", "SizePrefixed" }; in GenStruct() local
1156 code += "Finish" + size_prefix[i] + struct_def.name; in GenStruct()
1160 code += " builder.Finish" + size_prefix[i] + "(offset"; in GenStruct()
Didl_gen_go.cpp258 std::string size_prefix[] = { "", "SizePrefixed" }; in NewRootTypeFromBuffer() local
261 code += "func Get" + size_prefix[i] + "RootAs"; in NewRootTypeFromBuffer()
/third_party/flatbuffers/include/flatbuffers/
Dflatbuffers.h2141 void Finish(uoffset_t root, const char *file_identifier, bool size_prefix) {
2145 PreAlign((size_prefix ? sizeof(uoffset_t) : 0) + sizeof(uoffset_t) +
2154 if (size_prefix) { PushElement(GetSize()); }