Home
last modified time | relevance | path

Searched refs:framelen (Results 1 – 3 of 3) sorted by relevance

/external/ppp/pppd/
Ddemand.c58 int framelen; variable
91 framelen = 0; in demand_conf()
153 framelen = 0; in demand_discard()
228 && framelen > 2 && fcs == PPP_GOODFCS) {
229 framelen -= 2;
230 if (loop_frame((unsigned char *)frame, framelen))
233 framelen = 0;
248 if (framelen >= framemax) {
252 frame[framelen++] = c;
/external/bluetooth/bluez/sbc/
Dsbcdec.c52 int fd, ad, pos, streamlen, framelen, count; in decode() local
104 framelen = sbc_decode(&sbc, stream, streamlen, buf, sizeof(buf), &len); in decode()
173 while (framelen > 0) { in decode()
197 pos += framelen; in decode()
198 framelen = sbc_decode(&sbc, stream + pos, streamlen - pos, in decode()
Dsbc.c959 int i, ch, framelen, samples; in sbc_decode() local
966 framelen = sbc_unpack_frame(input, &priv->frame, input_len); in sbc_decode()
980 priv->frame.length = framelen; in sbc_decode()
982 priv->frame.length = framelen; in sbc_decode()
987 return framelen; in sbc_decode()
992 if (framelen <= 0) in sbc_decode()
993 return framelen; in sbc_decode()
1020 return framelen; in sbc_decode()
1028 ssize_t framelen; in sbc_encode() local
1097 framelen = sbc_pack_frame(output, &priv->frame, output_len, j); in sbc_encode()
[all …]