Home | History | Annotate | Download | only in s390x

Lines Matching refs:input

8 /* Define various input buffers. */
68 uint8_t *input;
70 /* Input buffer is completely uninitialised */
71 input = malloc(10);
72 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
74 /* Read 4 bytes from input buffer. First byte is uninitialised */
75 input = malloc(10);
76 input[1] = input[2] = input[3] = 0x0;
77 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
79 /* Read 4 bytes from input buffer. Second byte is uninitialised */
80 input = malloc(10);
81 input[0] = input[2] = input[3] = 0x0;
82 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
84 /* Read 4 bytes from input buffer. Third byte is uninitialised */
85 input = malloc(10);
86 input[0] = input[1] = input[3] = 0x0;
87 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
89 /* Read 4 bytes from input buffer. Fourth byte is uninitialised */
90 input = malloc(10);
91 input[0] = input[1] = input[2] = 0x0;
92 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
94 /* Read 4 bytes from input buffer. All bytes are initialised */
95 input = malloc(10);
96 memset(input, 0, 4);
97 do_cu42(buf, sizeof buf, (void *)input, 4); // no complaint
99 /* Read 8 bytes from input buffer. This iterates once. In the 1st
100 iteration all input bytes are initialised in the 2nd iteration all
101 input bytes are uninitialised. */
102 input = malloc(10);
103 memset(input, 0, 4);
104 do_cu42(buf, sizeof buf, (void *)input, 8); // complaint