Searched refs:num_chunks (Results 1 – 10 of 10) sorted by relevance
/external/chromium/net/spdy/ |
D | spdy_test_util.cc | 23 MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks) { in ChopWriteFrame() argument 24 MockWrite* chunks = new MockWrite[num_chunks]; in ChopWriteFrame() 25 int chunk_size = length / num_chunks; in ChopWriteFrame() 26 for (int index = 0; index < num_chunks; index++) { in ChopWriteFrame() 28 if (index == num_chunks - 1) in ChopWriteFrame() 38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) { in ChopWriteFrame() argument 41 num_chunks); in ChopWriteFrame() 48 MockRead* ChopReadFrame(const char* data, int length, int num_chunks) { in ChopReadFrame() argument 49 MockRead* chunks = new MockRead[num_chunks]; in ChopReadFrame() 50 int chunk_size = length / num_chunks; in ChopReadFrame() [all …]
|
D | spdy_test_util.h | 51 MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks); 56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks); 62 MockRead* ChopReadFrame(const char* data, int length, int num_chunks); 67 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks);
|
/external/chromium/net/http/ |
D | http_response_body_drainer_unittest.cc | 123 void set_num_chunks(int num_chunks) { num_chunks_ = num_chunks; } in set_num_chunks() argument
|
/external/libpng/ |
D | pngset.c | 1071 chunk_list, int num_chunks) in png_set_keep_unknown_chunks() argument 1077 if (num_chunks == 0) in png_set_keep_unknown_chunks() 1095 (5*(num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks() 1104 (png_size_t)(5*num_chunks)); in png_set_keep_unknown_chunks() 1105 for (p = new_list + 5*old_num_chunks + 4, i = 0; i<num_chunks; i++, p += 5) in png_set_keep_unknown_chunks() 1107 png_ptr->num_chunk_list = old_num_chunks + num_chunks; in png_set_keep_unknown_chunks()
|
D | png.h | 2645 png_ptr, int keep, png_bytep chunk_list, int num_chunks));
|
D | libpng-1.2.44.txt | 336 chunk_list, num_chunks); 348 num_chunks is 0) 349 num_chunks - number of chunks affected; if 0, all
|
D | libpng-1.2.46.txt | 336 chunk_list, num_chunks); 348 num_chunks is 0) 349 num_chunks - number of chunks affected; if 0, all
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngset.c | 1107 chunk_list, int num_chunks) in png_set_keep_unknown_chunks() argument 1113 if (num_chunks == 0) in png_set_keep_unknown_chunks() 1130 (png_uint_32)(5*(num_chunks+old_num_chunks))); in png_set_keep_unknown_chunks() 1139 (png_size_t)(5*num_chunks)); in png_set_keep_unknown_chunks() 1140 for (p=new_list+5*old_num_chunks+4, i=0; i<num_chunks; i++, p+=5) in png_set_keep_unknown_chunks() 1142 png_ptr->num_chunk_list=old_num_chunks+num_chunks; in png_set_keep_unknown_chunks()
|
D | png.h | 2420 png_ptr, int keep, png_bytep chunk_list, int num_chunks));
|
/external/webp/src/dec/ |
D | idec.c | 97 const int num_chunks = (MemDataSize(mem) + data_size + CHUNK_SIZE - 1) in AppendToMemBuffer() local 99 const size_t new_size = num_chunks * CHUNK_SIZE; in AppendToMemBuffer()
|