/aosp_15_r20/external/cronet/third_party/brotli/enc/ |
H A D | block_splitter.c | 41 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 D | metablock.c | 58 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, ¶ms->dist); in BrotliBuildMetaBlock() 190 BrotliSplitBlock(m, cmds, num_commands, in BrotliBuildMetaBlock() 228 BrotliBuildHistogramsWithContext(cmds, num_commands, in BrotliBuildMetaBlock()
|
H A D | backward_references_hq.c | 155 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 D | encode.c | 508 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 D | backward_references.c | 164 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 D | backward_references_hq.h | 31 Command* commands, size_t* num_commands, size_t* num_literals); 38 Command* commands, size_t* num_commands, size_t* num_literals);
|
H A D | compress_fragment_two_pass.c | 470 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 D | histogram.c | 44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() argument 60 for (i = 0; i < num_commands; ++i) { in BrotliBuildHistogramsWithContext()
|
H A D | backward_references_inc.h | 15 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 D | backward_references.h | 33 Command* commands, size_t* num_commands, size_t* num_literals);
|
H A D | block_splitter.h | 38 const size_t num_commands,
|
/aosp_15_r20/external/brotli/c/enc/ |
H A D | block_splitter.c | 40 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 D | backward_references_hq.c | 140 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 D | metablock.c | 59 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 D | encode.c | 515 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 D | backward_references_hq.h | 31 Command* commands, size_t* num_commands, size_t* num_literals); 38 Command* commands, size_t* num_commands, size_t* num_literals);
|
H A D | compress_fragment_two_pass.c | 457 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 D | backward_references.c | 127 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 D | histogram.c | 44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() argument 60 for (i = 0; i < num_commands; ++i) { in BrotliBuildHistogramsWithContext()
|
H A D | backward_references_inc.h | 15 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 D | backward_references.h | 33 Command* commands, size_t* num_commands, size_t* num_literals);
|
H A D | block_splitter.h | 38 const size_t num_commands,
|
/aosp_15_r20/external/selinux/policycoreutils/semodule/ |
H A D | semodule.c | 43 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 D | job.c | 47 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 D | layer_dispatch_table_generator.py | 162 self.num_commands = 0 175 self.num_commands += 1
|