Home
last modified time | relevance | path

Searched refs:cmpbuf (Results 1 – 3 of 3) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dinline_data.c601 char *buf = 0, *cmpbuf = 0; in file_test() local
647 ext2fs_get_mem(BUFF_SIZE, &cmpbuf); in file_test()
648 retval = ext2fs_inline_data_get(fs, newfile, 0, cmpbuf, &size); in file_test()
662 if (memcmp(buf, cmpbuf, BUFF_SIZE)) { in file_test()
682 if (cmpbuf) in file_test()
683 ext2fs_free_mem(&cmpbuf); in file_test()
/third_party/openssl/crypto/x509/
Dx509_vfy.c2644 unsigned char *cmpbuf = NULL; in dane_match() local
2740 cmpbuf = i2dbuf; in dane_match()
2744 cmpbuf = mdbuf; in dane_match()
2745 if (!EVP_Digest(i2dbuf, i2dlen, cmpbuf, &cmplen, md, 0)) { in dane_match()
2758 memcmp(cmpbuf, t->data, cmplen) == 0) { in dane_match()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c389 unsigned char *cmpbuf = 0; variable
4748 if (cmpbuf && !quiet) { in do_checksum()
4749 int diff = mymemcmp(cmpbuf, (unsigned char *)buf, len); in do_checksum()
4752 printf(" %02x", cmpbuf[i + diff]); in do_checksum()
4795 if (cmpbuf) in do_fill_buffer()
4796 memcpy(cmpbuf, (char *)buf, len); in do_fill_buffer()
4935 cmpbuf = malloc(buf_capacity); in do_scsi_read_write_buffer()