Home | History | Annotate | Download | only in tests

Lines Matching defs:in

4    Redistribution and use in source and binary forms, with or without
11 - Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 /* Check for overflow in reading the padding length.
48 unsigned char *in = malloc(PACKETSIZE);
52 if (!in || !out) {
56 in[0] = 0xff;
57 in[1] = 0x41;
58 memset(in + 2, 0xff, PACKETSIZE - 3);
59 in[PACKETSIZE-1] = 0x0b;
62 result = opus_decode(decoder, in, PACKETSIZE, out, FRAMESIZE, 0);
65 free(in);