/external/ltp/testcases/kernel/mem/vmtests/ |
D | stack_space.c | 209 char *zero_buf; in dotest() local 220 zero_buf = (char *)(malloc(csize)); in dotest() 222 if (bits == 0 || val_buf == 0 || zero_buf == 0) { in dotest() 248 bfill(zero_buf, 0, csize); in dotest() 267 if (memcmp(buf, zero_buf, csize)) { in dotest() 317 bfill(zero_buf, val, csize); in dotest() 322 free(zero_buf); in dotest()
|
D | data_space.c | 225 char *zero_buf; local 249 zero_buf = (char *)(malloc(csize)); 250 if (zero_buf == 0) 280 bfill(zero_buf, 0, csize); 299 if (memcmp(buf, zero_buf, csize)) { 353 bfill(zero_buf, val, csize);
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 418 static const char zero_buf[256]; in ext2fs_mem_is_zero() local 420 while (len >= sizeof(zero_buf)) { in ext2fs_mem_is_zero() 421 if (memcmp(mem, zero_buf, sizeof(zero_buf))) in ext2fs_mem_is_zero() 423 len -= sizeof(zero_buf); in ext2fs_mem_is_zero() 424 mem += sizeof(zero_buf); in ext2fs_mem_is_zero() 428 return !memcmp(mem, zero_buf, len); in ext2fs_mem_is_zero()
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest05.c | 261 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 287 if ((zero_buf = (calloc(csize, 1))) == NULL) { in dotest() 323 memset(zero_buf, 0, csize); in dotest() 356 if (memcmp(buf, zero_buf, csize)) { in dotest() 360 xfr, file_max, zero_buf[0]); in dotest()
|
D | ftest01.c | 260 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 290 if ((zero_buf = (calloc(csize, 1))) == 0) { in dotest() 328 memset(zero_buf, 0, csize); in dotest() 363 if (memcmp(buf, zero_buf, csize)) { in dotest() 368 xfr, file_max, zero_buf[0]); in dotest()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | xsmm_conv2d_test.cc | 86 LIBXSMM_INLINE void zero_buf(float* buf, long size) { in zero_buf() function 101 zero_buf(buf, size); in init_buf() 230 zero_buf(naive_output, nImg * nOfm * ofhp * ofwp); in TEST_F()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 461 u_int8_t *zero_buf = NULL; in f2fs_init_sit_area() local 466 zero_buf = calloc(sizeof(u_int8_t), seg_size); in f2fs_init_sit_area() 467 if(zero_buf == NULL) { in f2fs_init_sit_area() 477 if (dev_fill(zero_buf, sit_seg_addr, seg_size)) { in f2fs_init_sit_area() 480 free(zero_buf); in f2fs_init_sit_area() 486 free(zero_buf); in f2fs_init_sit_area()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 566 char *buf, *zero_buf; in output_meta_data_blocks() local 582 retval = ext2fs_get_memzero(fs->blocksize, &zero_buf); in output_meta_data_blocks() 685 generic_write(fd, zero_buf, in output_meta_data_blocks() 737 generic_write(fd, zero_buf, 1, NO_BLK); in output_meta_data_blocks() 743 generic_write(fd, zero_buf, 1, NO_BLK); in output_meta_data_blocks() 746 ext2fs_free_mem(&zero_buf); in output_meta_data_blocks()
|
D | mke2fs.c | 108 static __u32 zero_buf[4]; variable 2962 if (memcmp(fs_param.s_hash_seed, zero_buf, in main()
|