Home
last modified time | relevance | path

Searched refs:blksize (Results 1 – 25 of 32) sorted by relevance

12

/external/toybox/toys/pending/
Dtftpd.c89 socklen_t socklen, char *file, int opcode, int tsize, int blksize) in do_action() argument
96 spkt = xzalloc(blksize + 4); in do_action()
97 rpkt = xzalloc(blksize + 4); in do_action()
115 if (blksize != TFTPD_BLKSIZE || tsize) { in do_action()
118 if (blksize != TFTPD_BLKSIZE) { in do_action()
121 ptr += snprintf(ptr, 6, "%d", blksize) + 1; in do_action()
148 len = readall(fd, ptr, blksize); in do_action()
153 if (len != blksize) done = 1; //last pkt. in do_action()
178 len = read(pollfds[0].fd, rpkt, blksize + 4); in do_action()
222 if (nw != blksize) done = 1; in do_action()
[all …]
/external/curl/lib/
Dtftp.c140 int blksize; member
339 state->blksize = TFTP_BLKSIZE_DEFAULT; in tftp_parse_option_ack()
353 long blksize; in tftp_parse_option_ack() local
355 blksize = strtol( value, NULL, 10 ); in tftp_parse_option_ack()
357 if(!blksize) { in tftp_parse_option_ack()
361 else if(blksize > TFTP_BLKSIZE_MAX) { in tftp_parse_option_ack()
366 else if(blksize < TFTP_BLKSIZE_MIN) { in tftp_parse_option_ack()
371 else if(blksize > state->requested_blksize) { in tftp_parse_option_ack()
376 "server requested blksize larger than allocated", blksize); in tftp_parse_option_ack()
380 state->blksize = (int)blksize; in tftp_parse_option_ack()
[all …]
/external/tcpdump/tests/
Ddecnet.out1 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
2 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
3 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
4 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
5 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
19 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
33 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
44 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
95 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
128 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
[all …]
/external/fec/
Ddotprod_sse2.c26 int i,j,blksize; in initdp_sse2() local
38 blksize = (1+(len+i-1)/8) * 8*sizeof(signed short); in initdp_sse2()
39 posix_memalign((void **)&dp->coeffs[i],16,blksize); in initdp_sse2()
40 memset(dp->coeffs[i],0,blksize); in initdp_sse2()
/external/opencv3/3rdparty/libjpeg/
Djquant1.c279 int i,j,k, nci, blksize, blkdist, ptr, val; in create_colormap() local
307 blksize = blkdist / nci; in create_colormap()
312 for (ptr = j * blksize; ptr < total_colors; ptr += blkdist) { in create_colormap()
314 for (k = 0; k < blksize; k++) in create_colormap()
318 blkdist = blksize; /* blksize of this color is blkdist of next */ in create_colormap()
338 int i,j,k, nci, blksize, val, pad; in create_colorindex() local
359 blksize = cquantize->sv_actual; in create_colorindex()
364 blksize = blksize / nci; in create_colorindex()
379 indexptr[j] = (JSAMPLE) (val * blksize); in create_colorindex()
/external/libjpeg-turbo/
Djquant1.c280 int i,j,k, nci, blksize, blkdist, ptr, val; in create_colormap() local
308 blksize = blkdist / nci; in create_colormap()
313 for (ptr = j * blksize; ptr < total_colors; ptr += blkdist) { in create_colormap()
315 for (k = 0; k < blksize; k++) in create_colormap()
319 blkdist = blksize; /* blksize of this color is blkdist of next */ in create_colormap()
339 int i,j,k, nci, blksize, val, pad; in create_colorindex() local
360 blksize = cquantize->sv_actual; in create_colorindex()
365 blksize = blksize / nci; in create_colorindex()
380 indexptr[j] = (JSAMPLE) (val * blksize); in create_colorindex()
/external/e2fsprogs/lib/ext2fs/
Dtest_io.c59 void (*set_blksize)(int blksize, errcode_t err);
67 static errcode_t test_set_blksize(io_channel channel, int blksize);
118 (int blksize, errcode_t err) = 0;
296 static errcode_t test_set_blksize(io_channel channel, int blksize) in test_set_blksize() argument
306 retval = io_channel_set_blksize(data->real, blksize); in test_set_blksize()
310 data->set_blksize(blksize, retval); in test_set_blksize()
314 blksize, retval ? error_message(retval) : "OK"); in test_set_blksize()
315 channel->block_size = blksize; in test_set_blksize()
Dundo_io.c75 static errcode_t undo_set_blksize(io_channel channel, int blksize);
446 static errcode_t undo_set_blksize(io_channel channel, int blksize) in undo_set_blksize() argument
456 retval = io_channel_set_blksize(data->real, blksize); in undo_set_blksize()
461 data->tdb_data_size = blksize; in undo_set_blksize()
463 channel->block_size = blksize; in undo_set_blksize()
Dinode_io.c51 static errcode_t inode_set_blksize(io_channel channel, int blksize);
196 static errcode_t inode_set_blksize(io_channel channel, int blksize) in inode_set_blksize() argument
204 channel->block_size = blksize; in inode_set_blksize()
Dext2_io.h76 errcode_t (*set_blksize)(io_channel channel, int blksize);
147 (int blksize, errcode_t err);
Ddosio.c56 static errcode_t dos_set_blksize(io_channel channel, int blksize);
364 static errcode_t dos_set_blksize(io_channel channel, int blksize) in dos_set_blksize() argument
366 channel->block_size = blksize; in dos_set_blksize()
Dunix_io.c101 static errcode_t unix_set_blksize(io_channel channel, int blksize);
667 static errcode_t unix_set_blksize(io_channel channel, int blksize) in unix_set_blksize() argument
676 if (channel->block_size != blksize) { in unix_set_blksize()
682 channel->block_size = blksize; in unix_set_blksize()
Dnt_io.c224 static errcode_t nt_set_blksize(io_channel channel, int blksize);
1266 nt_set_blksize(io_channel channel, int blksize) in nt_set_blksize() argument
1274 if (channel->block_size != blksize) in nt_set_blksize()
1276 channel->block_size = blksize; in nt_set_blksize()
/external/libvpx/libvpx/vp8/common/
Dmfqe.c122 int blksize, /* Currently only values supported are 16, 8 */ in multiframe_quality_enhance_block() argument
141 int uvblksize = blksize >> 1; in multiframe_quality_enhance_block()
152 if (blksize == 16) in multiframe_quality_enhance_block()
220 blksize, ifactor); in multiframe_quality_enhance_block()
225 if (blksize == 16) in multiframe_quality_enhance_block()
/external/fio/os/
Dos-aix.h35 info.un.scdk.blksize; in blockdev_size()
/external/tcpdump/
Dprint-decnet.c621 int src, dst, info, blksize, eco, ueco, hello, other, vers; in print_decnet_ctlmsg() local
635 blksize = EXTRACT_LE_16BITS(cmp->cm_init.in_blksize); in print_decnet_ctlmsg()
643 dnaddr_string(ndo, src), blksize, vers, eco, ueco, in print_decnet_ctlmsg()
699 blksize = EXTRACT_LE_16BITS(cmp->cm_rhello.rh_blksize); in print_decnet_ctlmsg()
706 blksize, priority, hello)); in print_decnet_ctlmsg()
722 blksize = EXTRACT_LE_16BITS(cmp->cm_ehello.eh_blksize); in print_decnet_ctlmsg()
733 blksize, dnaddr_string(ndo, dst), hello, other)); in print_decnet_ctlmsg()
/external/valgrind/include/
Dpub_tool_libcfile.h64 ULong blksize; member
/external/kernel-headers/original/uapi/linux/
Dfuse.h163 uint32_t blksize; member
/external/v8/test/mjsunit/asm/embenchen/
Dcopy.js1664 attr.blksize = 4096;
1665 attr.blocks = Math.ceil(attr.size / attr.blksize);
2119 if (NODEFS.isWindows && !stat.blksize) {
2120 stat.blksize = 4096;
2123 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2137 blksize: stat.blksize,
Dcorrections.js1664 attr.blksize = 4096;
1665 attr.blocks = Math.ceil(attr.size / attr.blksize);
2119 if (NODEFS.isWindows && !stat.blksize) {
2120 stat.blksize = 4096;
2123 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2137 blksize: stat.blksize,
Dprimes.js1678 attr.blksize = 4096;
1679 attr.blocks = Math.ceil(attr.size / attr.blksize);
2133 if (NODEFS.isWindows && !stat.blksize) {
2134 stat.blksize = 4096;
2137 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2151 blksize: stat.blksize,
Dfannkuch.js1803 attr.blksize = 4096;
1804 attr.blocks = Math.ceil(attr.size / attr.blksize);
2258 if (NODEFS.isWindows && !stat.blksize) {
2259 stat.blksize = 4096;
2262 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2276 blksize: stat.blksize,
Dmemops.js1772 attr.blksize = 4096;
1773 attr.blocks = Math.ceil(attr.size / attr.blksize);
2227 if (NODEFS.isWindows && !stat.blksize) {
2228 stat.blksize = 4096;
2231 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2245 blksize: stat.blksize,
Dfasta.js2047 attr.blksize = 4096;
2048 attr.blocks = Math.ceil(attr.size / attr.blksize);
2502 if (NODEFS.isWindows && !stat.blksize) {
2503 stat.blksize = 4096;
2506 stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
2520 blksize: stat.blksize,
/external/valgrind/coregrind/
Dm_libcfile.c332 (_p_vgstat)->blksize = (ULong)( (_p_vkistat)->st_blksize ); \

12