Searched refs:bufmem (Results 1 – 2 of 2) sorted by relevance
20 BUF_MEM bufmem; in test_bio_memleak() local27 bufmem.length = sizeof(str); in test_bio_memleak()28 bufmem.data = (char *) str; in test_bio_memleak()29 bufmem.max = bufmem.length; in test_bio_memleak()30 BIO_set_mem_buf(bio, &bufmem, BIO_NOCLOSE); in test_bio_memleak()47 BUF_MEM *bufmem = NULL; in test_bio_get_mem() local54 BIO_get_mem_ptr(bio, &bufmem); in test_bio_get_mem()55 if (!TEST_ptr(bufmem)) in test_bio_get_mem()61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()67 BUF_MEM_free(bufmem); in test_bio_get_mem()[all …]
146 #define GST_BUFFER_BUFMEM(b) (((GstBufferImpl *)(b))->bufmem)161 GstMemory *bufmem; member