/third_party/toybox/toys/pending/ |
H A D | tftpd.c | 104 socklen_t socklen, char *file, int opcode, int tsize, int blksize) in do_action() 111 spkt = xzalloc(blksize + 4); in do_action() 112 rpkt = xzalloc(blksize + 4); in do_action() 130 if (blksize != TFTPD_BLKSIZE || tsize) { in do_action() 132 // add "blksize\000blksize_val\000" in send buffer. in do_action() 133 if (blksize != TFTPD_BLKSIZE) { in do_action() 134 strcpy(ptr, "blksize"); in do_action() 135 ptr += strlen("blksize") + 1; in do_action() 136 ptr += snprintf(ptr, 6, "%d", blksize) + 1; in do_action() 163 len = readall(fd, ptr, blksize); in do_action() 103 do_action(struct sockaddr *srcaddr, struct sockaddr *dstaddr, socklen_t socklen, char *file, int opcode, int tsize, int blksize) do_action() argument 254 int fd = 0, recvmsg_len, opcode, blksize = TFTPD_BLKSIZE, tsize = 0, set =1, bflag = 0; tftpd_main() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/ |
H A D | digestcommon.h | 26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \ 51 name, CTX, blksize, dgstsize, flags, upd, fin) \ 74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \ 95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \ 101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \ 110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
|
/third_party/openssl/providers/implementations/include/prov/ |
H A D | digestcommon.h | 26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \ 51 name, CTX, blksize, dgstsize, flags, upd, fin) \ 74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \ 95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \ 101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \ 110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
|
/third_party/optimized-routines/networking/test/ |
H A D | chksum.c | 134 uint32_t blksize, in benchmark() 138 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 146 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 147 SINK = CKSUM_FP(data, blksize); in benchmark() 155 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 159 if (blksize != 0) in benchmark() 161 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 185 int blksize = atoi(optarg); in main() local 186 if (blksize < 1 || blksize > POOLSIZ in main() 132 benchmark(const uint8_t *base, size_t poolsize, uint32_t blksize, uint32_t numops, uint64_t cpufreq) benchmark() argument [all...] |
/third_party/curl/lib/ |
H A D | tftp.c | 73 #define TFTP_OPTION_BLKSIZE "blksize" 139 int blksize; member 317 /* if OACK doesn't contain blksize option, the default (512) must be used */ in tftp_parse_option_ack() 318 state->blksize = TFTP_BLKSIZE_DEFAULT; in tftp_parse_option_ack() 332 long blksize; in tftp_parse_option_ack() local 334 blksize = strtol(value, NULL, 10); in tftp_parse_option_ack() 336 if(!blksize) { in tftp_parse_option_ack() 340 if(blksize > TFTP_BLKSIZE_MAX) { in tftp_parse_option_ack() 341 failf(data, "%s (%d)", "blksize is larger than max supported", in tftp_parse_option_ack() 345 else if(blksize < TFTP_BLKSIZE_MI in tftp_parse_option_ack() 968 int blksize; tftp_connect() local [all...] |
/third_party/python/Lib/wsgiref/ |
H A D | util.py | 14 def __init__(self, filelike, blksize=8192): 16 self.blksize = blksize 24 data = self.filelike.read(self.blksize)
|
/third_party/node/deps/openssl/openssl/providers/implementations/digests/ |
H A D | sha3_prov.c | 231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ 232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ 242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \ 246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ 247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
|
/third_party/openssl/providers/implementations/digests/ |
H A D | sha3_prov.c | 231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ 232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ 242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \ 246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ 247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jquant1.c | 282 int i, j, k, nci, blksize, blkdist, ptr, val; in create_colormap() local 303 /* blksize is number of adjacent repeated entries for a component */ in create_colormap() 310 blksize = blkdist / nci; in create_colormap() 315 for (ptr = j * blksize; ptr < total_colors; ptr += blkdist) { in create_colormap() 316 /* fill in blksize entries beginning at ptr */ 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 361 /* blksize i in create_colorindex() [all...] |
/third_party/backends/backend/ |
H A D | hp5400_internal.c | 484 int bpp, int iMisAlignment, int blksize, int iTransferSize) in CircBufferInit() 487 p->buffersize = max (BUFFER_SIZE, 3 * blksize); in CircBufferInit() 522 p->blksize = blksize; in CircBufferInit() 560 if (p->bufstart + maxoff >= p->buffersize + p->blksize) in CircBufferGetLine() 565 int newsize = p->bufstart + maxoff + 2 * p->blksize; in CircBufferGetLine() 580 cmd[4] = p->blksize; in CircBufferGetLine() 581 cmd[5] = p->blksize >> 8; in CircBufferGetLine() 583 assert ((p->bufend + p->blksize) <= p->buffersize); in CircBufferGetLine() 586 p->transfersize -= p->blksize; in CircBufferGetLine() 483 CircBufferInit(int iHandle, TDataPipe * p, int iBytesPerLine, int bpp, int iMisAlignment, int blksize, int iTransferSize) CircBufferInit() argument [all...] |
H A D | hp5400.h | 87 int blksize; /* Size of blocks to pull from scanner */ member
|
H A D | hp5400_internal.h | 230 int bpp, int iMisAlignment, int blksize,
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | quota.h | 14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024)
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | quota.h | 14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024)
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | quota.h | 14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024)
|
/third_party/musl/include/sys/ |
H A D | quota.h | 14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024)
|
/third_party/node/lib/internal/fs/ |
H A D | utils.js | 412 function StatsBase(dev, mode, nlink, uid, gid, rdev, blksize, 420 this.blksize = blksize; 478 function BigIntStats(dev, mode, nlink, uid, gid, rdev, blksize, 481 ReflectApply(StatsBase, this, [dev, mode, nlink, uid, gid, rdev, blksize, 509 function Stats(dev, mode, nlink, uid, gid, rdev, blksize, 513 blksize, ino, size, blocks);
|
/third_party/python/Modules/_io/ |
H A D | fileio.c | 68 unsigned int blksize; member 185 self->blksize = 0; in fileio_new() 436 self->blksize = DEFAULT_BUFFER_SIZE; 467 self->blksize = fdfstat.st_blksize; 1187 {"_blksize", T_UINT, offsetof(fileio, blksize), 0},
|
H A D | winconsoleio.c | 150 unsigned int blksize; member 227 self->blksize = 0; in winconsoleio_new() 391 self->blksize = DEFAULT_BUFFER_SIZE; in _io__WindowsConsoleIO___init___impl() 1120 {"_blksize", T_UINT, offsetof(winconsoleio, blksize), 0},
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfswipe.c | 553 unsigned int blksize; in wipe_unused_fast() local 567 blksize = vol->nr_clusters - i; in wipe_unused_fast() 568 if (blksize > 64) in wipe_unused_fast() 569 blksize = 64; in wipe_unused_fast() 572 for (j = 0; j < blksize; j++) { in wipe_unused_fast() 576 unused += (blksize - result) * vol->cluster_size; in wipe_unused_fast() 578 if (result == blksize) { in wipe_unused_fast() 586 vol->cluster_size * blksize, big_buffer) in wipe_unused_fast() 587 != vol->cluster_size * blksize) { in wipe_unused_fast() 597 for (j = 0; (j < blksize) in wipe_unused_fast() [all...] |
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/ |
H A D | index.js | 237 #blksize; 238 get blksize() { 239 return this.#blksize; 923 const { atime, atimeMs, birthtime, birthtimeMs, blksize, blocks, ctime, ctimeMs, dev, gid, ino, mode, mtime, mtimeMs, nlink, rdev, size, uid, } = st; 928 this.#blksize = blksize;
|
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/ |
H A D | index.js | 209 #blksize; 210 get blksize() { 211 return this.#blksize; 895 const { atime, atimeMs, birthtime, birthtimeMs, blksize, blocks, ctime, ctimeMs, dev, gid, ino, mode, mtime, mtimeMs, nlink, rdev, size, uid, } = st; 900 this.#blksize = blksize;
|
/third_party/python/Lib/test/ |
H A D | test_fileio.py | 75 blksize = io.DEFAULT_BUFFER_SIZE 76 # try to get preferred blksize from stat.st_blksize, if available 79 blksize = getattr(fst, 'st_blksize', blksize) 80 self.assertEqual(self.f._blksize, blksize)
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_cmd_buffer.c | 1115 uint32_t blksize = util_format_get_blocksize(pfmt); in dzn_cmd_buffer_clear_rects_with_copy() local 1119 assert(blksize <= sizeof(raw)); in dzn_cmd_buffer_clear_rects_with_copy() 1120 assert(!(sizeof(buf) % blksize)); in dzn_cmd_buffer_clear_rects_with_copy() 1125 while (fill_step % blksize) in dzn_cmd_buffer_clear_rects_with_copy() 1130 uint32_t row_pitch = ALIGN_NPOT(max_w * blksize, fill_step); in dzn_cmd_buffer_clear_rects_with_copy() 1135 for (uint32_t i = 0; i < fill_step; i += blksize) in dzn_cmd_buffer_clear_rects_with_copy() 1136 memcpy(&buf[i], raw, blksize); in dzn_cmd_buffer_clear_rects_with_copy() 1166 .RowPitch = (UINT)ALIGN_NPOT(max_w * blksize, fill_step), in dzn_cmd_buffer_clear_rects_with_copy() 1251 uint32_t blksize = util_format_get_blocksize(pfmt); in dzn_cmd_buffer_clear_ranges_with_copy() local 1255 assert(blksize < in dzn_cmd_buffer_clear_ranges_with_copy() [all...] |
/third_party/libfuse/include/ |
H A D | fuse_kernel.h | 82 * - add blksize field to fuse_attr 267 uint32_t blksize; member
|