Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dhuffman_utils.c80 static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in BuildHuffmanTable() argument
83 HuffmanCode* table = root_table; // next available space in table in BuildHuffmanTable()
94 assert(root_table != NULL); in BuildHuffmanTable()
180 root_table[low].bits = (uint8_t)(table_bits + root_bits); in BuildHuffmanTable()
181 root_table[low].value = (uint16_t)((table - root_table) - low); in BuildHuffmanTable()
205 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in VP8LBuildHuffmanTable() argument
212 total_size = BuildHuffmanTable(root_table, root_bits, in VP8LBuildHuffmanTable()
218 total_size = BuildHuffmanTable(root_table, root_bits, in VP8LBuildHuffmanTable()
Dhuffman_utils.h81 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java842 protected void finish(int root_table, boolean size_prefix) { in finish() argument
844 addOffset(root_table); in finish()
857 public void finish(int root_table) { in finish() argument
858 finish(root_table, false); in finish()
866 public void finishSizePrefixed(int root_table) { in finishSizePrefixed() argument
867 finish(root_table, true); in finishSizePrefixed()
878 protected void finish(int root_table, String file_identifier, boolean size_prefix) { in finish() argument
886 finish(root_table, size_prefix); in finish()
896 public void finish(int root_table, String file_identifier) { in finish() argument
897 finish(root_table, file_identifier, false); in finish()
[all …]
/external/brotli/c/dec/
Dhuffman.c169 uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table, in BrotliBuildHuffmanTable() argument
196 table = root_table; in BrotliBuildHuffmanTable()
244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable()
246 (uint16_t)(((size_t)(table - root_table)) - sub_key)); in BrotliBuildHuffmanTable()
Dhuffman.h97 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
102 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,
/external/flatbuffers/lobster/
Dflatbuffers.lobster171 def __Finish(root_table:int, size_prefix:int):
172 // Finish finalizes a buffer, pointing to the given root_table
179 PrependUOffsetTRelative(root_table)
185 def Finish(root_table:int):
186 return __Finish(root_table, false)
188 def FinishSizePrefixed(root_table:int):
189 return __Finish(root_table, true)
/external/flatbuffers/src/
Dreflection.cpp171 const reflection::Object *root_table = nullptr) in ResizeContext() argument
183 ResizeTable(root_table ? *root_table : *schema.root_table(), root); in ResizeContext()
301 const reflection::Object *root_table) { in SetString() argument
310 ResizeContext(schema, start, delta, flatbuf, root_table); in SetString()
322 const reflection::Object *root_table) { in ResizeAnyVector() argument
336 ResizeContext(schema, start, delta_bytes, flatbuf, root_table); in ResizeAnyVector()
Didl_parser.cpp3096 if (schema->root_table() == *it) { root_struct_def_ = struct_def; } in Deserialize()
/external/flatbuffers/include/flatbuffers/
Dreflection.h401 const reflection::Object *root_table = nullptr);
411 const reflection::Object *root_table = nullptr);
416 const reflection::Object *root_table = nullptr) {
420 static_cast<uoffset_t>(sizeof(T)), flatbuf, root_table);
Dreflection_generated.h1034 const Object *root_table() const { in root_table() function
1053 verifier.VerifyTable(root_table()) && in Verify()
1076 void add_root_table(flatbuffers::Offset<Object> root_table) { in add_root_table()
1077 fbb_.AddOffset(Schema::VT_ROOT_TABLE, root_table); in add_root_table()
1102 flatbuffers::Offset<Object> root_table = 0,
1106 builder_.add_root_table(root_table);
1120 flatbuffers::Offset<Object> root_table = 0,
1133 root_table,
/external/flatbuffers/php/
DFlatbufferBuilder.php906 public function finish($root_table, $identifier = null) argument
910 $this->addOffset($root_table);
924 $this->finish($root_table);
/external/libtextclassifier/utils/
Dlua-utils.cc256 PushFlatbuffer(schema->root_table()->name()->c_str(), schema, in PushFlatbuffer()
257 schema->root_table(), table, state_); in PushFlatbuffer()
Dflatbuffers.cc70 if (!schema_->root_table()) { in NewRoot()
75 new ReflectiveFlatbuffer(schema_, schema_->root_table())); in NewRoot()
/external/flatbuffers/tests/
Dtest.cpp701 auto root_table = schema.root_table(); in ReflectionTest() local
702 TEST_EQ_STR(root_table->name()->c_str(), "MyGame.Example.Monster"); in ReflectionTest()
703 auto fields = root_table->fields(); in ReflectionTest()
727 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
775 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
840 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), in ReflectionTest()
856 fbb, schema, *root_table, *flatbuffers::GetAnyRoot(flatbuf), true); in ReflectionTest()
862 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), in ReflectionTest()
/external/flatbuffers/reflection/
Dreflection.fbs103 root_table:Object;
/external/flatbuffers/js/
Dflatbuffers.js680 flatbuffers.Builder.prototype.finish = function(root_table, opt_file_identifier) { argument
694 this.addOffset(root_table);