/external/toybox/toys/pending/ |
D | tftpd.c | 89 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/ |
D | tftp.c | 141 int blksize; member 341 state->blksize = TFTP_BLKSIZE_DEFAULT; in tftp_parse_option_ack() 355 long blksize; in tftp_parse_option_ack() local 357 blksize = strtol(value, NULL, 10); in tftp_parse_option_ack() 359 if(!blksize) { in tftp_parse_option_ack() 363 if(blksize > TFTP_BLKSIZE_MAX) { in tftp_parse_option_ack() 368 else if(blksize < TFTP_BLKSIZE_MIN) { in tftp_parse_option_ack() 373 else if(blksize > state->requested_blksize) { in tftp_parse_option_ack() 378 "server requested blksize larger than allocated", blksize); in tftp_parse_option_ack() 382 state->blksize = (int)blksize; in tftp_parse_option_ack() [all …]
|
/external/tcpdump/tests/ |
D | decnet.out | 1 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/ |
D | dotprod_sse2.c | 26 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/python/cpython3/Lib/wsgiref/ |
D | util.py | 14 def __init__(self, filelike, blksize=8192): argument 16 self.blksize = blksize 21 data = self.filelike.read(self.blksize) 30 data = self.filelike.read(self.blksize)
|
/external/python/cpython2/Lib/wsgiref/ |
D | util.py | 14 def __init__(self, filelike, blksize=8192): argument 16 self.blksize = blksize 21 data = self.filelike.read(self.blksize) 30 data = self.filelike.read(self.blksize)
|
/external/iperf3/src/ |
D | iperf_udp.c | 67 int size = sp->settings->blksize; in iperf_udp_recv() 193 int size = sp->settings->blksize; in iperf_udp_send() 237 …printf("sent %d bytes of %d, total %" PRIu64 "\n", r, sp->settings->blksize, sp->result->bytes_sen… in iperf_udp_send() 296 if (test->settings->blksize > sndbuf_actual) { in iperf_udp_buffercheck() 300 test->settings->blksize, sndbuf_actual); in iperf_udp_buffercheck() 318 if (test->settings->blksize > rcvbuf_actual) { in iperf_udp_buffercheck() 322 test->settings->blksize, rcvbuf_actual); in iperf_udp_buffercheck() 383 int bufsize = test->settings->blksize + UDP_BUFFER_EXTRA; in iperf_udp_accept() 495 int bufsize = test->settings->blksize + UDP_BUFFER_EXTRA; in iperf_udp_connect()
|
D | iperf_client_api.c | 394 if (test->settings->blksize == 0) { in iperf_connect() 396 test->settings->blksize = test->ctrl_sck_mss; in iperf_connect() 399 test->settings->blksize = DEFAULT_UDP_BLKSIZE; in iperf_connect() 402 printf("Setting UDP block size to %d\n", test->settings->blksize); in iperf_connect() 411 test->settings->blksize > test->ctrl_sck_mss) { in iperf_connect() 414 …xceeds TCP MSS %d, may result in fragmentation / drops", test->settings->blksize, test->ctrl_sck_m… in iperf_connect()
|
D | iperf_api.c | 207 return ipt->settings->blksize; in iperf_get_test_blksize() 376 iperf_set_test_blksize(struct iperf_test *ipt, int blksize) in iperf_set_test_blksize() argument 378 ipt->settings->blksize = blksize; in iperf_set_test_blksize() 630 …->protocol->name, (int64_t) test->num_streams, (int64_t) test->settings->blksize, (int64_t) test->… in iperf_on_test_start() 634 …st_start_bytes, test->protocol->name, test->num_streams, test->settings->blksize, test->omit, test… in iperf_on_test_start() 636 …t_start_blocks, test->protocol->name, test->num_streams, test->settings->blksize, test->omit, test… in iperf_on_test_start() 638 …est_start_time, test->protocol->name, test->num_streams, test->settings->blksize, test->omit, test… in iperf_on_test_start() 815 int blksize; in iperf_parse_arguments() local 825 blksize = 0; in iperf_parse_arguments() 955 blksize = unit_atoi(optarg); in iperf_parse_arguments() [all …]
|
/external/e2fsprogs/misc/ |
D | filefrag.c | 388 static unsigned int blksize; local 427 if (ioctl(fd, FIGETBSZ, &blksize) < 0) 428 blksize = fsinfo.f_bsize; 433 st.st_blksize = blksize; 444 long cylgroups = div_ceil(fsinfo.f_blocks, blksize * 8); 450 data_blocks_per_cyl = blksize * 8 - 459 numblocks = (st.st_size + blksize - 1) / blksize; 463 blk_shift = int_log2(blksize); 471 numblocks * blksize >> blk_shift,
|
/external/libjpeg-turbo/ |
D | jquant1.c | 282 int i, j, k, nci, blksize, blkdist, ptr, val; in create_colormap() local 310 blksize = blkdist / nci; in create_colormap() 315 for (ptr = j * blksize; ptr < total_colors; ptr += blkdist) { in create_colormap() 317 for (k = 0; k < blksize; k++) in create_colormap() 321 blkdist = blksize; /* blksize of this color is blkdist of next */ in create_colormap() 341 int i, j, k, nci, blksize, val, pad; in create_colorindex() local 362 blksize = cquantize->sv_actual; in create_colorindex() 367 blksize = blksize / nci; in create_colorindex() 382 indexptr[j] = (JSAMPLE)(val * blksize); in create_colorindex()
|
/external/scapy/scapy/layers/ |
D | tftp.py | 306 self.blksize=512 331 self.blksize = int(opt[0].value) 332 self.debug(2,"Negotiated new blksize at %i" % self.blksize) 360 if len(data.load) < self.blksize: 393 self.blksize=512 425 self.blksize = int(opt[0].value) 426 self.debug(2,"Negotiated new blksize at %i" % self.blksize) 436 self.blknb = len(self.data)/self.blksize+1 449 ….send(self.l3/TFTP_DATA(block=self.blk)/self.data[(self.blk-1)*self.blksize:self.blk*self.blksize])
|
/external/curl/tests/data/ |
D | test283 | 20 tftp://%HOSTIP:%TFTPPORT//invalid-file --tftp-blksize 1024 34 blksize: 1024
|
D | test1099 | 37 blksize: 512 43 blksize: 512
|
D | test2004 | 48 blksize: 512 54 blksize: 512
|
D | test2003 | 93 blksize: 512 99 blksize: 512
|
/external/u-boot/drivers/mmc/ |
D | arm_pl180_mmci.c | 108 static int read_bytes(struct mmc *dev, u32 *dest, u32 blkcount, u32 blksize) in read_bytes() argument 111 u64 xfercount = blkcount * blksize; in read_bytes() 115 debug("read_bytes: blkcount=%u blksize=%u\n", blkcount, blksize); in read_bytes() 163 static int write_bytes(struct mmc *dev, u32 *src, u32 blkcount, u32 blksize) in write_bytes() argument 167 u64 xfercount = blkcount * blksize; in write_bytes() 171 debug("write_bytes: blkcount=%u blksize=%u\n", blkcount, blksize); in write_bytes()
|
D | bcm2835_sdhost.c | 273 size_t blksize = data->blocksize; in bcm2835_transfer_block_pio() local 278 if (blksize % sizeof(u32)) in bcm2835_transfer_block_pio() 284 data->dest += blksize; in bcm2835_transfer_block_pio() 286 data->src += blksize; in bcm2835_transfer_block_pio() 288 copy_words = blksize / sizeof(u32); in bcm2835_transfer_block_pio()
|
/external/e2fsprogs/lib/ext2fs/ |
D | test_io.c | 54 void (*set_blksize)(int blksize, errcode_t err); 74 (int blksize, errcode_t err) = 0; 279 static errcode_t test_set_blksize(io_channel channel, int blksize) in test_set_blksize() argument 289 retval = io_channel_set_blksize(data->real, blksize); in test_set_blksize() 293 data->set_blksize(blksize, retval); in test_set_blksize() 297 blksize, retval ? error_message(retval) : "OK"); in test_set_blksize() 298 channel->block_size = blksize; in test_set_blksize()
|
D | inode_io.c | 52 static errcode_t inode_set_blksize(io_channel channel, int blksize); 195 static errcode_t inode_set_blksize(io_channel channel, int blksize) in inode_set_blksize() argument 203 channel->block_size = blksize; in inode_set_blksize()
|
D | dosio.c | 57 static errcode_t dos_set_blksize(io_channel channel, int blksize); 366 static errcode_t dos_set_blksize(io_channel channel, int blksize) in dos_set_blksize() argument 368 channel->block_size = blksize; in dos_set_blksize()
|
D | ext2_io.h | 78 errcode_t (*set_blksize)(io_channel channel, int blksize); 166 (int blksize, errcode_t err);
|
/external/libvpx/libvpx/vp8/common/ |
D | mfqe.c | 107 int blksize, /* Currently only values supported are 16, 8 */ in multiframe_quality_enhance_block() argument 113 int uvblksize = blksize >> 1; in multiframe_quality_enhance_block() 124 if (blksize == 16) { in multiframe_quality_enhance_block() 186 uvd_stride, blksize, ifactor); in multiframe_quality_enhance_block() 189 if (blksize == 16) { in multiframe_quality_enhance_block()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 65 unsigned int blksize; member 185 self->blksize = 0; in fileio_new() 431 self->blksize = DEFAULT_BUFFER_SIZE; 462 self->blksize = fdfstat.st_blksize; 1181 {"_blksize", T_UINT, offsetof(fileio, blksize), 0},
|
/external/tcpdump/ |
D | print-decnet.c | 620 int src, dst, info, blksize, eco, ueco, hello, other, vers; in print_decnet_ctlmsg() local 634 blksize = EXTRACT_LE_16BITS(cmp->cm_init.in_blksize); in print_decnet_ctlmsg() 642 dnaddr_string(ndo, src), blksize, vers, eco, ueco, in print_decnet_ctlmsg() 698 blksize = EXTRACT_LE_16BITS(cmp->cm_rhello.rh_blksize); in print_decnet_ctlmsg() 705 blksize, priority, hello)); in print_decnet_ctlmsg() 721 blksize = EXTRACT_LE_16BITS(cmp->cm_ehello.eh_blksize); in print_decnet_ctlmsg() 732 blksize, dnaddr_string(ndo, dst), hello, other)); in print_decnet_ctlmsg()
|