Home | History | Annotate | Download | only in tests

Lines Matching refs:offset

38     virtual int mapPmem(int fd, int offset, size_t size) {
42 virtual int unmapPmem(int fd, int offset, size_t size) {
51 off_t offset) {
83 virtual ssize_t deallocate(size_t offset) {
110 off_t offset) {
156 off_t offset) {
300 virtual int mapPmem(int fd, int offset, size_t size) {
302 EXPECT_EQ(0x300, offset);
327 int offset = -9182, fd = -9182;
330 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
332 ASSERT_EQ(0x300, offset);
354 int offset = -9182, fd = -9182;
357 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
359 ASSERT_EQ(0x300, offset);
393 int offset = -9182, fd = -9182;
396 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
426 int offset = -9182, fd = -9182;
429 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
441 virtual int mapPmem(int fd, int offset, size_t size) {
443 EXPECT_EQ(0x300, offset);
460 int offset = -9182, fd = -9182;
463 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
484 off_t offset) {
496 int offset = -9182, fd = -9182;
499 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
502 ASSERT_EQ(0, offset);
519 int offset = -9182, fd = -9182;
522 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
525 ASSERT_EQ(0, offset);
554 int offset = -9182, fd = -9182;
557 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
560 ASSERT_EQ(0, offset);
576 off_t offset) {
591 int offset = -9182, fd = -9182;
594 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
597 ASSERT_EQ(0, offset);