Home
last modified time | relevance | path

Searched refs:lmagic (Results 1 – 15 of 15) sorted by relevance

/external/strace/tests/
Dioctl_evdev.c50 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
165 ioctl(-1, EVIOCRMFF, lmagic); in main()
166 printf("ioctl(-1, EVIOCRMFF, %d) = -1 EBADF (%m)\n", (int) lmagic); in main()
168 ioctl(-1, EVIOCGRAB, lmagic); in main()
169 printf("ioctl(-1, EVIOCGRAB, %lu) = -1 EBADF (%m)\n", lmagic); in main()
172 ioctl(-1, EVIOCREVOKE, lmagic); in main()
173 printf("ioctl(-1, EVIOCREVOKE, %lu) = -1 EBADF (%m)\n", lmagic); in main()
284 ioctl(-1, _IOC(_IOC_READ, 0x45, 0x1, 0xff), lmagic); in main()
286 "_IOC(_IOC_READ, 0x45, 0x1, 0xff)", lmagic); in main()
288 ioctl(-1, _IOC(_IOC_WRITE, 0x45, 0x1, 0xff), lmagic); in main()
[all …]
Dioctl_rtc.c40 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
122 printf("ioctl(-1, RTC_IRQP_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
126 printf("ioctl(-1, RTC_EPOCH_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
189 ioctl(-1, (unsigned long) rtc_argless[i].val, lmagic); in main()
193 ioctl(-1, RTC_UIE_OFF, lmagic); in main()
196 ioctl(-1, RTC_AIE_ON, lmagic); in main()
203 ioctl(-1, _IO(0x70, 0x40), lmagic); in main()
204 printf("ioctl(-1, %s, %#lx) = -1 EBADF (%m)\n", "NVRAM_INIT", lmagic); in main()
Dioctl_block.c45 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
113 ioctl(-1, BLKRASET, lmagic); in main()
114 printf("ioctl(-1, BLKRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
116 ioctl(-1, BLKFRASET, lmagic); in main()
117 printf("ioctl(-1, BLKFRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
196 ioctl(-1, (unsigned long) block_argless[i].val, lmagic); in main()
200 ioctl(-1, _IOC(_IOC_READ, 0x12, 0xfe, 0xff), lmagic); in main()
202 "_IOC(_IOC_READ, 0x12, 0xfe, 0xff)", lmagic); in main()
Dioctl_mtd.c44 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
192 ioctl(-1, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff), lmagic); in main()
194 "_IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff)", lmagic); in main()
/external/strace/tests-mx32/
Dioctl_evdev.c50 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
165 ioctl(-1, EVIOCRMFF, lmagic); in main()
166 printf("ioctl(-1, EVIOCRMFF, %d) = -1 EBADF (%m)\n", (int) lmagic); in main()
168 ioctl(-1, EVIOCGRAB, lmagic); in main()
169 printf("ioctl(-1, EVIOCGRAB, %lu) = -1 EBADF (%m)\n", lmagic); in main()
172 ioctl(-1, EVIOCREVOKE, lmagic); in main()
173 printf("ioctl(-1, EVIOCREVOKE, %lu) = -1 EBADF (%m)\n", lmagic); in main()
284 ioctl(-1, _IOC(_IOC_READ, 0x45, 0x1, 0xff), lmagic); in main()
286 "_IOC(_IOC_READ, 0x45, 0x1, 0xff)", lmagic); in main()
288 ioctl(-1, _IOC(_IOC_WRITE, 0x45, 0x1, 0xff), lmagic); in main()
[all …]
Dioctl_rtc.c40 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
122 printf("ioctl(-1, RTC_IRQP_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
126 printf("ioctl(-1, RTC_EPOCH_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
189 ioctl(-1, (unsigned long) rtc_argless[i].val, lmagic); in main()
193 ioctl(-1, RTC_UIE_OFF, lmagic); in main()
196 ioctl(-1, RTC_AIE_ON, lmagic); in main()
203 ioctl(-1, _IO(0x70, 0x40), lmagic); in main()
204 printf("ioctl(-1, %s, %#lx) = -1 EBADF (%m)\n", "NVRAM_INIT", lmagic); in main()
Dioctl_block.c45 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
113 ioctl(-1, BLKRASET, lmagic); in main()
114 printf("ioctl(-1, BLKRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
116 ioctl(-1, BLKFRASET, lmagic); in main()
117 printf("ioctl(-1, BLKFRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
196 ioctl(-1, (unsigned long) block_argless[i].val, lmagic); in main()
200 ioctl(-1, _IOC(_IOC_READ, 0x12, 0xfe, 0xff), lmagic); in main()
202 "_IOC(_IOC_READ, 0x12, 0xfe, 0xff)", lmagic); in main()
Dioctl_mtd.c44 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
192 ioctl(-1, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff), lmagic); in main()
194 "_IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff)", lmagic); in main()
/external/strace/tests-m32/
Dioctl_evdev.c50 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
165 ioctl(-1, EVIOCRMFF, lmagic); in main()
166 printf("ioctl(-1, EVIOCRMFF, %d) = -1 EBADF (%m)\n", (int) lmagic); in main()
168 ioctl(-1, EVIOCGRAB, lmagic); in main()
169 printf("ioctl(-1, EVIOCGRAB, %lu) = -1 EBADF (%m)\n", lmagic); in main()
172 ioctl(-1, EVIOCREVOKE, lmagic); in main()
173 printf("ioctl(-1, EVIOCREVOKE, %lu) = -1 EBADF (%m)\n", lmagic); in main()
284 ioctl(-1, _IOC(_IOC_READ, 0x45, 0x1, 0xff), lmagic); in main()
286 "_IOC(_IOC_READ, 0x45, 0x1, 0xff)", lmagic); in main()
288 ioctl(-1, _IOC(_IOC_WRITE, 0x45, 0x1, 0xff), lmagic); in main()
[all …]
Dioctl_rtc.c40 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
122 printf("ioctl(-1, RTC_IRQP_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
126 printf("ioctl(-1, RTC_EPOCH_SET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
189 ioctl(-1, (unsigned long) rtc_argless[i].val, lmagic); in main()
193 ioctl(-1, RTC_UIE_OFF, lmagic); in main()
196 ioctl(-1, RTC_AIE_ON, lmagic); in main()
203 ioctl(-1, _IO(0x70, 0x40), lmagic); in main()
204 printf("ioctl(-1, %s, %#lx) = -1 EBADF (%m)\n", "NVRAM_INIT", lmagic); in main()
Dioctl_block.c45 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
113 ioctl(-1, BLKRASET, lmagic); in main()
114 printf("ioctl(-1, BLKRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
116 ioctl(-1, BLKFRASET, lmagic); in main()
117 printf("ioctl(-1, BLKFRASET, %lu) = -1 EBADF (%m)\n", lmagic); in main()
196 ioctl(-1, (unsigned long) block_argless[i].val, lmagic); in main()
200 ioctl(-1, _IOC(_IOC_READ, 0x12, 0xfe, 0xff), lmagic); in main()
202 "_IOC(_IOC_READ, 0x12, 0xfe, 0xff)", lmagic); in main()
Dioctl_mtd.c44 static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; variable
192 ioctl(-1, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff), lmagic); in main()
194 "_IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0xfe, 0xff)", lmagic); in main()
/external/e2fsprogs/
Dconfigure.ac1286 AC_CHECK_LIB(magic, magic_file, [MAGIC_LIB=-lmagic
Dconfigure13501 MAGIC_LIB=-lmagic
/external/strace/
DChangeLog20160 (magic, lmagic): Move static constants ...
23913 * tests/ioctl_block.c (lmagic, main): Likewise.
23914 * tests/ioctl_evdev.c (lmagic): Likewise.
23915 * tests/ioctl_mtd.c (lmagic): Likewise.
23916 * tests/ioctl_rtc.c (lmagic): Likewise.