Home
last modified time | relevance | path

Searched refs:framelen (Results 1 – 2 of 2) 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/bluedroid/embdrv/sbc/decoder/srce/
Ddecoder-sbc.c240 OI_UINT framelen; in OI_CODEC_SBC_DecodeFrame() local
287 framelen = OI_CODEC_SBC_CalculateFramelen(&context->common.frameInfo); in OI_CODEC_SBC_DecodeFrame()
288 if (*frameBytes < framelen) { in OI_CODEC_SBC_DecodeFrame()
323 *frameData += framelen; in OI_CODEC_SBC_DecodeFrame()
324 *frameBytes -= framelen; in OI_CODEC_SBC_DecodeFrame()
336 OI_UINT framelen; in OI_CODEC_SBC_SkipFrame() local
348 framelen = OI_SBC_CalculateFrameAndHeaderlen(&context->common.frameInfo, &headerlen); in OI_CODEC_SBC_SkipFrame()
356 if (*frameBytes < framelen) { in OI_CODEC_SBC_SkipFrame()
360 *frameData += framelen; in OI_CODEC_SBC_SkipFrame()
361 *frameBytes -= framelen; in OI_CODEC_SBC_SkipFrame()