Home
last modified time | relevance | path

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

/external/brotli/enc/
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()
154 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
157 for (i = 0; i < num_commands; ++i) { in BrotliSplitBlock()
162 m, insert_and_copy_codes, num_commands, in BrotliSplitBlock()
[all …]
Dbackward_references_hq.c121 size_t num_commands, in ZopfliCostModelSetFromCommands() argument
136 for (i = 0; i < num_commands; i++) { in ZopfliCostModelSetFromCommands()
510 size_t num_commands = 0; in ComputeShortestPathFromNodes() local
517 num_commands++; in ComputeShortestPathFromNodes()
519 return num_commands; in ComputeShortestPathFromNodes()
679 size_t* last_insert_len, Command* commands, size_t* num_commands, in BrotliCreateZopfliBackwardReferences() argument
686 *num_commands += BrotliZopfliComputeShortestPath(m, dictionary, num_bytes, in BrotliCreateZopfliBackwardReferences()
699 size_t* last_insert_len, Command* commands, size_t* num_commands, in BrotliCreateHqZopfliBackwardReferences() argument
757 orig_num_commands = *num_commands; in BrotliCreateHqZopfliBackwardReferences()
769 ringbuffer_mask, commands, *num_commands - orig_num_commands, in BrotliCreateHqZopfliBackwardReferences()
[all …]
Dencode.c169 size_t num_commands, in RecomputeDistancePrefixes() argument
176 for (i = 0; i < num_commands; ++i) { in RecomputeDistancePrefixes()
503 const size_t bytes, const size_t num_literals, const size_t num_commands) { in ShouldCompress() argument
504 if (num_commands < (bytes >> 8) + 2) { in ShouldCompress()
536 const size_t num_commands, in WriteMetaBlockInternal() argument
556 num_literals, num_commands)) { in WriteMetaBlockInternal()
573 num_commands, in WriteMetaBlockInternal()
580 commands, num_commands, in WriteMetaBlockInternal()
586 commands, num_commands, in WriteMetaBlockInternal()
604 literal_context_map, commands, num_commands, &mb); in WriteMetaBlockInternal()
[all …]
Dbackward_references_hq.h29 size_t* last_insert_len, Command* commands, size_t* num_commands,
36 size_t* last_insert_len, Command* commands, size_t* num_commands,
Dbackward_references.c111 size_t* num_commands, in BrotliCreateBackwardReferences() argument
119 last_insert_len, commands, num_commands, num_literals); \ in BrotliCreateBackwardReferences()
Dhistogram.c44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() argument
60 for (i = 0; i < num_commands; ++i) { in BrotliBuildHistogramsWithContext()
Dbackward_references_inc.h15 size_t* last_insert_len, Command* commands, size_t* num_commands, in FN()
142 *num_commands += (size_t)(commands - orig_commands); in FN()
Dbackward_references.h32 size_t* last_insert_len, Command* commands, size_t* num_commands,
Dcompress_fragment_two_pass.c426 const uint32_t* commands, const size_t num_commands, in StoreCommands() argument
458 for (i = 0; i < num_commands; ++i) { in StoreCommands()
470 for (i = 0; i < num_commands; ++i) { in StoreCommands()
545 const size_t num_commands = (size_t)(commands - command_buf); in BrotliCompressFragmentTwoPassImpl() local
549 StoreCommands(m, literal_buf, num_literals, command_buf, num_commands, in BrotliCompressFragmentTwoPassImpl()
Dblock_splitter.h38 const size_t num_commands,
Dhistogram.h48 const Command* cmds, const size_t num_commands,
Dmetablock.h79 size_t num_commands,
Dmetablock.c36 size_t num_commands, in BrotliBuildMetaBlock() argument
49 BrotliSplitBlock(m, cmds, num_commands, in BrotliBuildMetaBlock()
87 BrotliBuildHistogramsWithContext(cmds, num_commands, in BrotliBuildMetaBlock()
/external/selinux/policycoreutils/semodule/
Dsemodule.c42 static int num_commands = 0; variable
65 while (--num_commands >= 0) { in cleanup()
66 free(commands[num_commands].arg); in cleanup()
157 if ((c = realloc(commands, sizeof(*c) * (num_commands + 1))) == NULL) { in set_mode()
163 commands[num_commands].mode = new_mode; in set_mode()
164 commands[num_commands].arg = NULL; in set_mode()
165 num_commands++; in set_mode()
172 commands[num_commands - 1].arg = s; in set_mode()
296 if ((build || reload) && num_commands) { in parse_command_line()
302 if (num_commands == 0 && reload == 0 && build == 0) { in parse_command_line()
[all …]