Home
last modified time | relevance | path

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

12

/third_party/toybox/toys/pending/
Dtftpd.c104 socklen_t socklen, char *file, int opcode, int tsize, int blksize) in do_action() argument
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()
133 if (blksize != TFTPD_BLKSIZE) { in do_action()
136 ptr += snprintf(ptr, 6, "%d", blksize) + 1; in do_action()
163 len = readall(fd, ptr, blksize); in do_action()
168 if (len != blksize) done = 1; //last pkt. in do_action()
193 len = read(pollfds[0].fd, rpkt, blksize + 4); in do_action()
237 if (nw != blksize) done = 1; in do_action()
[all …]
/third_party/optimized-routines/networking/test/
Dchksum.c134 uint32_t blksize, in benchmark() argument
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 > POOLSIZE / 2) in main()
188 fprintf(stderr, "Invalid block size %d\n", blksize); in main()
[all …]
/third_party/openssl/providers/implementations/include/prov/
Ddigestcommon.h26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ argument
30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \
51 name, CTX, blksize, dgstsize, flags, upd, fin) \ argument
74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \ argument
95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \ argument
110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
/third_party/python/Lib/wsgiref/
Dutil.py14 def __init__(self, filelike, blksize=8192): argument
16 self.blksize = blksize
28 data = self.filelike.read(self.blksize)
37 data = self.filelike.read(self.blksize)
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant1.c282 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()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant1.c282 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()
/third_party/libjpeg-turbo/
Djquant1.c282 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()
/third_party/openssl/providers/implementations/digests/
Dsha3_prov.c231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ argument
232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
/third_party/node/lib/internal/fs/
Dutils.js388 function StatsBase(dev, mode, nlink, uid, gid, rdev, blksize, argument
396 this.blksize = blksize;
452 function BigIntStats(dev, mode, nlink, uid, gid, rdev, blksize, argument
455 StatsBase.call(this, dev, mode, nlink, uid, gid, rdev, blksize,
483 function Stats(dev, mode, nlink, uid, gid, rdev, blksize, argument
486 StatsBase.call(this, dev, mode, nlink, uid, gid, rdev, blksize,
/third_party/ntfs-3g/ntfsprogs/
Dntfswipe.c553 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) && !wipe_needed; j++) { in wipe_unused_fast()
[all …]
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dquota.h14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024) argument
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dquota.h14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024) argument
/third_party/musl/porting/uniproton/kernel/include/sys/
Dquota.h14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024) argument
/third_party/musl/ndk_musl_include/sys/
Dquota.h14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024) argument
/third_party/musl/include/sys/
Dquota.h14 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / 1024) argument
/third_party/python/Modules/_io/
Dfileio.c67 unsigned int blksize; member
187 self->blksize = 0; in fileio_new()
438 self->blksize = DEFAULT_BUFFER_SIZE;
469 self->blksize = fdfstat.st_blksize;
1185 {"_blksize", T_UINT, offsetof(fileio, blksize), 0},
Dwinconsoleio.c149 unsigned int blksize; member
229 self->blksize = 0; in winconsoleio_new()
393 self->blksize = DEFAULT_BUFFER_SIZE; in _io__WindowsConsoleIO___init___impl()
1107 {"_blksize", T_UINT, offsetof(winconsoleio, blksize), 0},
/third_party/python/Lib/test/
Dtest_fileio.py70 blksize = io.DEFAULT_BUFFER_SIZE
74 blksize = getattr(fst, 'st_blksize', blksize)
75 self.assertEqual(self.f._blksize, blksize)
/third_party/typescript/src/harness/
DvfsUtil.ts1287 public blksize: number; property in Stats
1299 …r, ino: number, mode: number, nlink: number, rdev: number, size: number, blksize: number, blocks: …
1300 …constructor(dev = 0, ino = 0, mode = 0, nlink = 0, rdev = 0, size = 0, blksize = 0, blocks = 0, at…
1309 this.blksize = blksize;
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_cmd_buffer.c1115 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 <= sizeof(raw)); in dzn_cmd_buffer_clear_ranges_with_copy()
[all …]
/third_party/libfuse/include/
Dfuse_kernel.h267 uint32_t blksize; member
/third_party/ffmpeg/libavcodec/
Dcbs_av1.c502 static int cbs_av1_tile_log2(int blksize, int target) in cbs_av1_tile_log2() argument
505 for (k = 0; (blksize << k) < target; k++); in cbs_av1_tile_log2()
/third_party/python/Doc/library/
Dwsgiref.rst151 .. class:: FileWrapper(filelike, blksize=8192)
156 optional *blksize* parameter will be repeatedly passed to the *filelike*
171 wrapper = FileWrapper(filelike, blksize=5)
/third_party/ntfs-3g/src/
Dntfs-3g.c4229 u32 blksize = ctx->vol->cluster_size; in set_fuseblk_options() local
4235 if (blksize > (u32)pagesize) in set_fuseblk_options()
4236 blksize = pagesize; in set_fuseblk_options()
4238 snprintf(options, sizeof(options), ",blkdev,blksize=%u", blksize); in set_fuseblk_options()
/third_party/typescript/src/tsserver/
DnodeServer.ts113 blksize: number;

12