Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/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 && sorted != NULL) || in BuildHuffmanTable()
95 (root_table == NULL && sorted == NULL)); in BuildHuffmanTable()
161 if (root_table == NULL) continue; in BuildHuffmanTable()
180 if (root_table == NULL) continue; in BuildHuffmanTable()
189 root_table[low].bits = (uint8_t)(table_bits + root_bits); in BuildHuffmanTable()
190 root_table[low].value = (uint16_t)((table - root_table) - low); in BuildHuffmanTable()
214 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in VP8LBuildHuffmanTable() argument
218 if (root_table == NULL) { in VP8LBuildHuffmanTable()
[all …]
Dhuffman_utils.h83 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,
/third_party/flutter/skia/third_party/externals/libwebp/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 && sorted != NULL) || in BuildHuffmanTable()
95 (root_table == NULL && sorted == NULL)); in BuildHuffmanTable()
161 if (root_table == NULL) continue; in BuildHuffmanTable()
180 if (root_table == NULL) continue; in BuildHuffmanTable()
189 root_table[low].bits = (uint8_t)(table_bits + root_bits); in BuildHuffmanTable()
190 root_table[low].value = (uint16_t)((table - root_table) - low); in BuildHuffmanTable()
214 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in VP8LBuildHuffmanTable() argument
218 if (root_table == NULL) { in VP8LBuildHuffmanTable()
[all …]
Dhuffman_utils.h83 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java950 protected void finish(int root_table, boolean size_prefix) { in finish() argument
952 addOffset(root_table); in finish()
965 public void finish(int root_table) { in finish() argument
966 finish(root_table, false); in finish()
974 public void finishSizePrefixed(int root_table) { in finishSizePrefixed() argument
975 finish(root_table, true); in finishSizePrefixed()
986 protected void finish(int root_table, String file_identifier, boolean size_prefix) { in finish() argument
994 finish(root_table, size_prefix); in finish()
1004 public void finish(int root_table, String file_identifier) { in finish() argument
1005 finish(root_table, file_identifier, false); in finish()
[all …]
/third_party/skia/third_party/externals/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.h91 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
96 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,
/third_party/node/deps/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.h91 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
96 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,
/third_party/flatbuffers/lobster/
Dflatbuffers.lobster178 def __Finish(root_table:offset, size_prefix:int):
179 // Finish finalizes a buffer, pointing to the given root_table
186 PrependUOffsetTRelative(root_table)
192 def Finish(root_table:offset):
193 return __Finish(root_table, false)
195 def FinishSizePrefixed(root_table:offset):
196 return __Finish(root_table, true)
/third_party/flatbuffers/src/
Dreflection.cpp181 const reflection::Object *root_table = nullptr) in ResizeContext() argument
193 ResizeTable(root_table ? *root_table : *schema.root_table(), root); in ResizeContext()
309 const reflection::Object *root_table) { in SetString() argument
318 ResizeContext(schema, start, delta, flatbuf, root_table); in SetString()
330 const reflection::Object *root_table) { in ResizeAnyVector() argument
344 ResizeContext(schema, start, delta_bytes, flatbuf, root_table); in ResizeAnyVector()
Didl_parser.cpp3905 if (schema->root_table() == *it) { root_struct_def_ = struct_def; } in Deserialize()
/third_party/flatbuffers/ts/
Dbuilder.ts425 finish(root_table: Offset, opt_file_identifier?: string, opt_size_prefix?: boolean): void {
440 this.addOffset(root_table);
450 finishSizePrefixed(this: Builder, root_table: Offset, opt_file_identifier?: string): void {
451 this.finish(root_table, opt_file_identifier, true);
/third_party/flatbuffers/include/flatbuffers/
Dreflection.h425 const reflection::Object *root_table = nullptr);
435 const reflection::Object *root_table = nullptr);
440 const reflection::Object *root_table = nullptr) {
444 static_cast<uoffset_t>(sizeof(T)), flatbuf, root_table);
Dreflection_generated.h1119 const reflection::Object *root_table() const { in root_table() function
1141 verifier.VerifyTable(root_table()) && in Verify()
1166 void add_root_table(flatbuffers::Offset<reflection::Object> root_table) { in add_root_table()
1167 fbb_.AddOffset(Schema::VT_ROOT_TABLE, root_table); in add_root_table()
1194 flatbuffers::Offset<reflection::Object> root_table = 0,
1200 builder_.add_root_table(root_table);
1214 flatbuffers::Offset<reflection::Object> root_table = 0,
1228 root_table,
/third_party/flatbuffers/php/
DFlatbufferBuilder.php906 public function finish($root_table, $identifier = null) argument
910 $this->addOffset($root_table);
924 $this->finish($root_table);
/third_party/flatbuffers/reflection/
Dreflection.fbs118 root_table:Object;
/third_party/flatbuffers/tests/
Dtest.cpp912 auto root_table = schema.root_table(); in ReflectionTest() local
913 TEST_EQ_STR(root_table->name()->c_str(), "MyGame.Example.Monster"); in ReflectionTest()
914 auto fields = root_table->fields(); in ReflectionTest()
945 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
993 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
1058 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), in ReflectionTest()
1074 fbb, schema, *root_table, *flatbuffers::GetAnyRoot(flatbuf), true); in ReflectionTest()
1080 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), in ReflectionTest()
2822 auto ok = flatbuffers::Verify(*schema, *schema->root_table(), in UnionVectorTest()