Searched refs:chunk_list (Results 1 - 25 of 28) sorted by relevance

12

/external/webp/src/mux/
H A Dmuxinternal.c117 static int ChunkSearchListToSet(WebPChunk** chunk_list, uint32_t nth, argument
120 assert(chunk_list != NULL);
121 *location = chunk_list;
123 while (*chunk_list != NULL) {
124 WebPChunk* const cur_chunk = *chunk_list;
127 chunk_list = &cur_chunk->next_;
128 *location = chunk_list;
131 // *chunk_list is ok to be NULL if adding at last location.
159 WebPMuxError ChunkSetNth(WebPChunk* chunk, WebPChunk** chunk_list, argument
163 if (!ChunkSearchListToSet(chunk_list, nt
185 ChunkListDelete(WebPChunk** const chunk_list) argument
207 ChunkListEmit(const WebPChunk* chunk_list, uint8_t* dst) argument
215 ChunkListDiskSize(const WebPChunk* chunk_list) argument
[all...]
H A Dmuxi.h129 // Sets 'chunk' at nth position in the 'chunk_list'.
131 // On success ownership is transferred from 'chunk' to the 'chunk_list'.
132 WebPMuxError ChunkSetNth(WebPChunk* chunk, WebPChunk** chunk_list,
142 void ChunkListDelete(WebPChunk** const chunk_list);
157 size_t ChunkListDiskSize(const WebPChunk* chunk_list);
160 uint8_t* ChunkListEmit(const WebPChunk* chunk_list, uint8_t* dst);
H A Dmuxread.c229 WebPChunk** chunk_list; local
260 chunk_list = MuxGetChunkListFromId(mux, id); // List to add this chunk.
261 if (ChunkSetNth(&chunk, chunk_list, 0) != WEBP_MUX_OK) goto Err;
506 // Count number of chunks matching 'tag' in the 'chunk_list'.
508 static int CountChunks(const WebPChunk* const chunk_list, uint32_t tag) { argument
511 for (current = chunk_list; current != NULL; current = current->next_) {
528 WebPChunk* const* chunk_list = MuxGetChunkListFromId(mux, id); local
530 *num_elements = CountChunks(*chunk_list, kChunks[idx].tag);
H A Dmuxedit.c153 static WebPMuxError DeleteChunks(WebPChunk** chunk_list, uint32_t tag) { argument
155 assert(chunk_list);
156 while (*chunk_list) {
157 WebPChunk* const chunk = *chunk_list;
159 *chunk_list = ChunkDelete(chunk);
162 chunk_list = &chunk->next_;
196 // Creates a chunk from given 'data' and sets it as 1st chunk in 'chunk_list'.
199 WebPChunk** chunk_list) {
205 err = ChunkSetNth(&chunk, chunk_list, 1);
197 AddDataToChunkList( const WebPData* const data, int copy_data, uint32_t tag, WebPChunk** chunk_list) argument
/external/libpng/
H A Dpngset.c1311 png_const_bytep chunk_list, int num_chunks_in)
1360 chunk_list = chunks_to_ignore;
1366 if (chunk_list == NULL)
1380 if (png_ptr->chunk_list == NULL)
1402 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks);
1406 new_list = png_ptr->chunk_list;
1425 chunk_list+5*i, keep);
1444 if (png_ptr->chunk_list != new_list)
1456 if (png_ptr->chunk_list != new_list)
1458 if (png_ptr->chunk_list !
1310 png_set_keep_unknown_chunks(png_structrp png_ptr, int keep, png_const_bytep chunk_list, int num_chunks_in) argument
[all...]
H A Dpngstruct.h380 png_bytep chunk_list; /* List of png_byte[5]; the textual chunk name member in struct:png_struct_def
H A Dpngwrite.c950 png_free(png_ptr, png_ptr->chunk_list);
951 png_ptr->chunk_list = NULL;
H A Dpngread.c982 png_free(png_ptr, png_ptr->chunk_list);
983 png_ptr->chunk_list = NULL;
H A Dpng.h2292 * for handling only those chunks appearing in the chunk_list array,
2305 int keep, png_const_bytep chunk_list, int num_chunks));
/external/pdfium/third_party/libpng16/
H A Dpngset.c1324 png_const_bytep chunk_list, int num_chunks_in)
1373 chunk_list = chunks_to_ignore;
1379 if (chunk_list == NULL)
1393 if (png_ptr->chunk_list == NULL)
1415 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks);
1419 new_list = png_ptr->chunk_list;
1438 chunk_list+5*i, keep);
1457 if (png_ptr->chunk_list != new_list)
1469 if (png_ptr->chunk_list != new_list)
1471 if (png_ptr->chunk_list !
1323 png_set_keep_unknown_chunks(png_structrp png_ptr, int keep, png_const_bytep chunk_list, int num_chunks_in) argument
[all...]
H A Dpngstruct.h380 png_bytep chunk_list; /* List of png_byte[5]; the textual chunk name member in struct:png_struct_def
H A Dpngwrite.c950 png_free(png_ptr, png_ptr->chunk_list);
951 png_ptr->chunk_list = NULL;
H A Dpngread.c982 png_free(png_ptr, png_ptr->chunk_list);
983 png_ptr->chunk_list = NULL;
H A Dpng.h2292 * for handling only those chunks appearing in the chunk_list array,
2304 int keep, png_const_bytep chunk_list, int num_chunks));
/external/skia/third_party/libpng/
H A Dpngset.c1309 png_const_bytep chunk_list, int num_chunks_in)
1358 chunk_list = chunks_to_ignore;
1364 if (chunk_list == NULL)
1378 if (png_ptr->chunk_list == NULL)
1400 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks);
1404 new_list = png_ptr->chunk_list;
1423 chunk_list+5*i, keep);
1442 if (png_ptr->chunk_list != new_list)
1454 if (png_ptr->chunk_list != new_list)
1456 if (png_ptr->chunk_list !
1308 png_set_keep_unknown_chunks(png_structrp png_ptr, int keep, png_const_bytep chunk_list, int num_chunks_in) argument
[all...]
H A Dpngstruct.h380 png_bytep chunk_list; /* List of png_byte[5]; the textual chunk name member in struct:png_struct_def
H A Dpngwrite.c950 png_free(png_ptr, png_ptr->chunk_list);
951 png_ptr->chunk_list = NULL;
H A Dpngread.c972 png_free(png_ptr, png_ptr->chunk_list);
973 png_ptr->chunk_list = NULL;
H A Dpng.h2292 * for handling only those chunks appearing in the chunk_list array,
2304 int keep, png_const_bytep chunk_list, int num_chunks));
/external/syslinux/com32/lib/libpng/
H A Dpngset.c1071 chunk_list, int num_chunks)
1090 if (chunk_list == NULL)
1096 if (png_ptr->chunk_list != NULL)
1098 png_memcpy(new_list, png_ptr->chunk_list,
1100 png_free(png_ptr, png_ptr->chunk_list);
1101 png_ptr->chunk_list=NULL;
1103 png_memcpy(new_list + 5*old_num_chunks, chunk_list,
1108 png_ptr->chunk_list = new_list;
1070 png_set_keep_unknown_chunks(png_structp png_ptr, int keep, png_bytep chunk_list, int num_chunks) argument
H A Dpng.c623 png_free(png_ptr, png_ptr->chunk_list);
624 png_ptr->chunk_list = NULL;
791 p = png_ptr->chunk_list + png_ptr->num_chunk_list*5 - 5;
H A Dpngwrite.c1079 png_free(png_ptr, png_ptr->chunk_list);
1080 png_ptr->chunk_list = NULL;
/external/fio/
H A Diolog.h93 struct flist_head chunk_list; member in struct:io_log
H A Diolog.c581 INIT_FLIST_HEAD(&l->chunk_list);
812 while (!flist_empty(&log->chunk_list)) {
815 ic = flist_first_entry(&log->chunk_list, struct iolog_compress, list);
1060 flist_splice_tail(&list, &data->log->chunk_list);
/external/syslinux/com32/include/
H A Dpng.h1453 png_bytep chunk_list PNG_DEPSTRUCT;
2568 png_ptr, int keep, png_bytep chunk_list, int num_chunks));

Completed in 742 milliseconds

12