Home
last modified time | relevance | path

Searched refs:num_commands (Results 1 – 25 of 36) sorted by relevance

12

/aosp_15_r20/external/cronet/third_party/brotli/enc/
H A Dblock_splitter.c41 static size_t CountLiterals(const Command* cmds, const size_t num_commands) { in CountLiterals() argument
45 for (i = 0; i < num_commands; ++i) { in CountLiterals()
52 const size_t num_commands, in CopyLiteralsToByteArray() argument
60 for (i = 0; i < num_commands; ++i) { in CopyLiteralsToByteArray()
127 const size_t num_commands, in BrotliSplitBlock() argument
136 size_t literals_count = CountLiterals(cmds, num_commands); in BrotliSplitBlock()
140 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock()
160 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
163 for (i = 0; i < num_commands; ++i) { in BrotliSplitBlock()
168 m, insert_and_copy_codes, num_commands, in BrotliSplitBlock()
[all …]
H A Dmetablock.c58 size_t num_commands, in RecomputeDistancePrefixes() argument
69 for (i = 0; i < num_commands; ++i) { in RecomputeDistancePrefixes()
82 size_t num_commands, in ComputeDistanceCost() argument
100 for (i = 0; i < num_commands; i++) { in ComputeDistanceCost()
133 size_t num_commands, in BrotliBuildMetaBlock() argument
167 cmds, num_commands, &orig_params, &new_params, &dist_cost, tmp); in BrotliBuildMetaBlock()
179 ComputeDistanceCost(cmds, num_commands, &orig_params, &orig_params, in BrotliBuildMetaBlock()
188 RecomputeDistancePrefixes(cmds, num_commands, &orig_params, &params->dist); in BrotliBuildMetaBlock()
190 BrotliSplitBlock(m, cmds, num_commands, in BrotliBuildMetaBlock()
228 BrotliBuildHistogramsWithContext(cmds, num_commands, in BrotliBuildMetaBlock()
H A Dbackward_references_hq.c155 size_t num_commands, in ZopfliCostModelSetFromCommands() argument
167 for (i = 0; i < num_commands; i++) { in ZopfliCostModelSetFromCommands()
589 size_t num_commands = 0; in ComputeShortestPathFromNodes() local
597 num_commands++; in ComputeShortestPathFromNodes()
599 return num_commands; in ComputeShortestPathFromNodes()
800 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateZopfliBackwardReferences() argument
804 *num_commands += BrotliZopfliComputeShortestPath(m, num_bytes, in BrotliCreateZopfliBackwardReferences()
817 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateHqZopfliBackwardReferences() argument
904 orig_num_commands = *num_commands; in BrotliCreateHqZopfliBackwardReferences()
916 ringbuffer_mask, commands, *num_commands - orig_num_commands, in BrotliCreateHqZopfliBackwardReferences()
[all …]
H A Dencode.c508 const size_t bytes, const size_t num_literals, const size_t num_commands) { in ShouldCompress() argument
511 if (num_commands < (bytes >> 8) + 2) { in ShouldCompress()
557 const size_t num_commands, in WriteMetaBlockInternal() argument
577 num_literals, num_commands)) { in WriteMetaBlockInternal()
593 commands, num_commands, in WriteMetaBlockInternal()
599 commands, num_commands, in WriteMetaBlockInternal()
620 literal_context_map, commands, num_commands, &mb); in WriteMetaBlockInternal()
625 commands, num_commands, in WriteMetaBlockInternal()
641 commands, num_commands, in WriteMetaBlockInternal()
1306 size_t num_commands = 0; in BrotliCompressBufferQuality10() local
[all …]
H A Dbackward_references.c164 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateBackwardReferences() argument
172 last_insert_len, commands, num_commands, num_literals); \ in BrotliCreateBackwardReferences()
193 last_insert_len, commands, num_commands, num_literals); \ in BrotliCreateBackwardReferences()
H A Dbackward_references_hq.h31 Command* commands, size_t* num_commands, size_t* num_literals);
38 Command* commands, size_t* num_commands, size_t* num_literals);
H A Dcompress_fragment_two_pass.c470 const uint32_t* commands, const size_t num_commands, in StoreCommands() argument
501 for (i = 0; i < num_commands; ++i) { in StoreCommands()
512 for (i = 0; i < num_commands; ++i) { in StoreCommands()
589 const size_t num_commands = (size_t)(commands - command_buf); in BrotliCompressFragmentTwoPassImpl() local
593 StoreCommands(s, literal_buf, num_literals, command_buf, num_commands, in BrotliCompressFragmentTwoPassImpl()
H A Dhistogram.c44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() argument
60 for (i = 0; i < num_commands; ++i) { in BrotliBuildHistogramsWithContext()
H A Dbackward_references_inc.h15 Command* commands, size_t* num_commands, size_t* num_literals) { in EXPORT_FN()
188 *num_commands += (size_t)(commands - orig_commands); in EXPORT_FN()
H A Dbackward_references.h33 Command* commands, size_t* num_commands, size_t* num_literals);
H A Dblock_splitter.h38 const size_t num_commands,
/aosp_15_r20/external/brotli/c/enc/
H A Dblock_splitter.c40 static size_t CountLiterals(const Command* cmds, const size_t num_commands) { in CountLiterals() argument
44 for (i = 0; i < num_commands; ++i) { in CountLiterals()
51 const size_t num_commands, in CopyLiteralsToByteArray() argument
59 for (i = 0; i < num_commands; ++i) { in CopyLiteralsToByteArray()
124 const size_t num_commands, in BrotliSplitBlock() argument
133 size_t literals_count = CountLiterals(cmds, num_commands); in BrotliSplitBlock()
137 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock()
151 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
154 for (i = 0; i < num_commands; ++i) { in BrotliSplitBlock()
159 m, insert_and_copy_codes, num_commands, in BrotliSplitBlock()
[all …]
H A Dbackward_references_hq.c140 size_t num_commands, in ZopfliCostModelSetFromCommands() argument
155 for (i = 0; i < num_commands; i++) { in ZopfliCostModelSetFromCommands()
557 size_t num_commands = 0; in ComputeShortestPathFromNodes() local
565 num_commands++; in ComputeShortestPathFromNodes()
567 return num_commands; in ComputeShortestPathFromNodes()
726 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateZopfliBackwardReferences() argument
730 *num_commands += BrotliZopfliComputeShortestPath(m, num_bytes, in BrotliCreateZopfliBackwardReferences()
743 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateHqZopfliBackwardReferences() argument
810 orig_num_commands = *num_commands; in BrotliCreateHqZopfliBackwardReferences()
822 ringbuffer_mask, commands, *num_commands - orig_num_commands, in BrotliCreateHqZopfliBackwardReferences()
[all …]
H A Dmetablock.c59 size_t num_commands, in RecomputeDistancePrefixes() argument
70 for (i = 0; i < num_commands; ++i) { in RecomputeDistancePrefixes()
83 size_t num_commands, in ComputeDistanceCost() argument
101 for (i = 0; i < num_commands; i++) { in ComputeDistanceCost()
134 size_t num_commands, in BrotliBuildMetaBlock() argument
164 cmds, num_commands, in BrotliBuildMetaBlock()
177 ComputeDistanceCost(cmds, num_commands, in BrotliBuildMetaBlock()
185 RecomputeDistancePrefixes(cmds, num_commands, in BrotliBuildMetaBlock()
188 BrotliSplitBlock(m, cmds, num_commands, in BrotliBuildMetaBlock()
226 BrotliBuildHistogramsWithContext(cmds, num_commands, in BrotliBuildMetaBlock()
H A Dencode.c515 const size_t bytes, const size_t num_literals, const size_t num_commands) { in ShouldCompress() argument
518 if (num_commands < (bytes >> 8) + 2) { in ShouldCompress()
564 const size_t num_commands, in WriteMetaBlockInternal() argument
584 num_literals, num_commands)) { in WriteMetaBlockInternal()
600 commands, num_commands, in WriteMetaBlockInternal()
606 commands, num_commands, in WriteMetaBlockInternal()
623 literal_context_map, commands, num_commands, &mb); in WriteMetaBlockInternal()
628 commands, num_commands, in WriteMetaBlockInternal()
644 commands, num_commands, in WriteMetaBlockInternal()
1261 size_t num_commands = 0; in BrotliCompressBufferQuality10() local
[all …]
H A Dbackward_references_hq.h31 Command* commands, size_t* num_commands, size_t* num_literals);
38 Command* commands, size_t* num_commands, size_t* num_literals);
H A Dcompress_fragment_two_pass.c457 const uint32_t* commands, const size_t num_commands, in StoreCommands() argument
489 for (i = 0; i < num_commands; ++i) { in StoreCommands()
501 for (i = 0; i < num_commands; ++i) { in StoreCommands()
577 const size_t num_commands = (size_t)(commands - command_buf); in BrotliCompressFragmentTwoPassImpl() local
581 StoreCommands(m, literal_buf, num_literals, command_buf, num_commands, in BrotliCompressFragmentTwoPassImpl()
H A Dbackward_references.c127 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateBackwardReferences() argument
134 last_insert_len, commands, num_commands, num_literals); \ in BrotliCreateBackwardReferences()
H A Dhistogram.c44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() argument
60 for (i = 0; i < num_commands; ++i) { in BrotliBuildHistogramsWithContext()
H A Dbackward_references_inc.h15 Command* commands, size_t* num_commands, size_t* num_literals) { in EXPORT_FN()
162 *num_commands += (size_t)(commands - orig_commands); in EXPORT_FN()
H A Dbackward_references.h33 Command* commands, size_t* num_commands, size_t* num_literals);
H A Dblock_splitter.h38 const size_t num_commands,
/aosp_15_r20/external/selinux/policycoreutils/semodule/
H A Dsemodule.c43 static int num_commands = 0; variable
68 while (--num_commands >= 0) { in cleanup()
69 free(commands[num_commands].arg); in cleanup()
167 if ((c = realloc(commands, sizeof(*c) * (num_commands + 1))) == NULL) { in set_mode()
173 commands[num_commands].mode = new_mode; in set_mode()
174 commands[num_commands].arg = NULL; in set_mode()
175 num_commands++; in set_mode()
182 commands[num_commands - 1].arg = s; in set_mode()
326 if ((build || reload || check_ext_changes) && num_commands) { in parse_command_line()
332 if (num_commands == 0 && reload == 0 && build == 0 && check_ext_changes == 0) { in parse_command_line()
[all …]
/aosp_15_r20/external/libdrm/tegra/
H A Djob.c47 size = (job->num_commands + 1) * sizeof(*commands); in drm_tegra_job_add_command()
53 command = &commands[job->num_commands]; in drm_tegra_job_add_command()
59 job->num_commands++; in drm_tegra_job_add_command()
142 args.num_cmds = job->num_commands; in drm_tegra_job_submit()
/aosp_15_r20/external/vulkan-validation-layers/scripts/
H A Dlayer_dispatch_table_generator.py162 self.num_commands = 0
175 self.num_commands += 1

12