Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
[fuel-plugin] Employ dedicated reboot task
[kvmfornfv.git]
/
qemu
/
pixman
/
test
/
trap-crasher.c
1
#include <stdlib.h>
2
#include "utils.h"
3
4
int
5
main()
6
{
7
pixman_image_t *dst;
8
pixman_trapezoid_t traps[] = {
9
{
10
2147483646,
11
2147483647,
12
{
13
{ 0, 0 },
14
{ 0, 2147483647 }
15
},
16
{
17
{ 65536, 0 },
18
{ 0, 2147483647 }
19
}
20
},
21
{
22
32768,
23
- 2147483647,
24
{
25
{ 0, 0 },
26
{ 0, 2147483647 }
27
},
28
{
29
{ 65536, 0 },
30
{ 0, 2147483647 }
31
}
32
},
33
};
34
35
dst = pixman_image_create_bits (PIXMAN_a8, 1, 1, NULL, -1);
36
37
pixman_add_trapezoids (dst, 0, 0, ARRAY_LENGTH (traps), traps);
38
return (0);
39
}