/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest01.c | 248 int nchunks; variable 264 nchunks = max_size / csize; in dotest() 266 if ((bits = calloc((nchunks + 7) / 8, 1)) == 0) { in dotest() 272 if ((hold_bits = calloc((nchunks + 7) / 8, 1)) == 0) { in dotest() 324 memset(bits, 0, (nchunks + 7) / 8); in dotest() 325 memset(hold_bits, 0, (nchunks + 7) / 8); in dotest() 330 while (count < nchunks) { in dotest() 331 chunk = rand() % nchunks; in dotest() 377 ft_dumpbits(bits, (nchunks + 7) / 8); in dotest() 379 (nchunks + 7) / 8); in dotest() [all …]
|
D | ftest05.c | 249 int nchunks; variable 264 nchunks = max_size / csize; in dotest() 266 if ((bits = calloc((nchunks + 7) / 8, 1)) == NULL) { in dotest() 271 if ((hold_bits = calloc((nchunks + 7) / 8, 1)) == NULL) { in dotest() 319 memset(bits, 0, (nchunks + 7) / 8); in dotest() 320 memset(hold_bits, 0, (nchunks + 7) / 8); in dotest() 325 while (count < nchunks) { in dotest() 326 chunk = rand() % nchunks; in dotest() 369 ft_dumpbits(bits, (nchunks + 7) / 8); in dotest() 371 (nchunks + 7) / 8); in dotest() [all …]
|
D | ftest07.c | 266 int nchunks; variable 294 nchunks = max_size / csize; in dotest() 297 if ((bits = malloc((nchunks + 7) / 8)) == NULL) { in dotest() 300 if ((hold_bits = malloc((nchunks + 7) / 8)) == NULL) { in dotest() 373 memset(bits, 0, (nchunks + 7) / 8); in dotest() 374 memset(hold_bits, 0, (nchunks + 7) / 8); in dotest() 387 while (count < nchunks) { in dotest() 388 chunk = rand() % nchunks; in dotest() 438 (nchunks + 7) / 8); in dotest() 440 (nchunks + 7) / 8); in dotest() [all …]
|
D | ftest03.c | 269 int nchunks; variable 293 nchunks = max_size / csize; in dotest() 296 if ((bits = malloc((nchunks + 7) / 8)) == 0) { in dotest() 300 if ((hold_bits = malloc((nchunks + 7) / 8)) == 0) { in dotest() 376 memset(bits, 0, (nchunks + 7) / 8); in dotest() 377 memset(hold_bits, 0, (nchunks + 7) / 8); in dotest() 392 while (count < nchunks) { in dotest() 393 chunk = rand() % nchunks; in dotest() 443 (nchunks + 7) / 8); in dotest() 445 (nchunks + 7) / 8); in dotest() [all …]
|
D | ftest08.c | 219 int nchunks; variable 240 nchunks = max_size / (testers * csize); in dotest() 243 if ((bits = malloc((nchunks + 7) / 8)) == NULL) { in dotest() 314 memset(bits, 0, (nchunks + 7) / 8); in dotest() 328 while (count < nchunks) { in dotest() 329 chunk = rand() % nchunks; in dotest() 376 (nchunks + 7) / 8); in dotest() 407 (nchunks + 7) / 8); in dotest() 442 if (count + collide > 2 * nchunks) in dotest() 450 if (count < nchunks) { in dotest() [all …]
|
D | ftest04.c | 206 int nchunks; variable 227 nchunks = max_size / (testers * csize); in dotest() 230 if ((bits = malloc((nchunks + 7) / 8)) == NULL) { in dotest() 304 memset(bits, 0, (nchunks + 7) / 8); in dotest() 315 while (count < nchunks) { in dotest() 316 chunk = rand() % nchunks; in dotest() 361 (nchunks + 7) / 8); in dotest() 390 (nchunks + 7) / 8); in dotest() 425 if (count + collide > 2 * nchunks) in dotest() 433 if (count < nchunks) { in dotest() [all …]
|
/third_party/ltp/testcases/kernel/mem/vmtests/ |
D | stack_space.c | 201 int nchunks; variable 217 nchunks = MAXSIZE / csize; in dotest() 218 bits = malloc((nchunks + 7) / 8); in dotest() 253 bfill(bits, 0, (nchunks + 7) / 8); in dotest() 257 while (count < nchunks) { in dotest() 258 chunk = rand() % nchunks; in dotest() 277 dumpbits(bits, (nchunks + 7) / 8); in dotest() 294 dumpbits(bits, (nchunks + 7) / 8); in dotest() 305 if (count + collide > 2 * nchunks) in dotest() 313 for (chunk = 0; chunk < nchunks; chunk++) { in dotest()
|
D | data_space.c | 214 int nchunks; variable 242 nchunks = max_size / csize; 243 bits = malloc((nchunks + 7) / 8); 285 bfill(bits, 0, (nchunks + 7) / 8); 289 while (count < nchunks) { 290 chunk = rand() % nchunks; 309 dumpbits(bits, (nchunks + 7) / 8); 326 dumpbits(bits, (nchunks + 7) / 8); 337 if (count + collide > 2 * nchunks) 349 for (chunk = 0; chunk < nchunks; chunk++) {
|
/third_party/node/test/parallel/ |
D | test-http-client-timeout-with-data.js | 27 let nchunks = 0; variable 49 assert.strictEqual(nchunks, 1); // Should have received the first chunk 55 nchunks++; 59 assert.strictEqual(nchunks, 2);
|
/third_party/python/Lib/test/ |
D | test_file.py | 254 nchunks = dataoffset // len(filler) 268 bag.write(filler * nchunks) 287 for i in range(nchunks):
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | libbitmask.c | 223 int nchunks = 0, chunk; in bitmask_parsehex() local 231 nchunks++; in bitmask_parsehex() 233 chunk = nchunks - 1; in bitmask_parsehex()
|
/third_party/ffmpeg/libavformat/ |
D | asfdec_o.c | 1386 int nchunks = pkt_len / chunk_len; in asf_deinterleave() local 1408 p + (j * nchunks + l) * chunk_len, in asf_deinterleave()
|