Home | History | Annotate | Download | only in cintltst

Lines Matching defs:lead

75 /* number of lead bytes */
91 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
110 /* The lead byte start values. */
121 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */
122 #define BOCU1_LENGTH_FROM_LEAD(lead) \
123 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
124 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \
125 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4)
288 int32_t result, m, lead, count, shift;
298 lead=BOCU1_START_POS_2;
303 lead=BOCU1_START_POS_3;
308 lead=BOCU1_START_POS_4;
316 lead=BOCU1_START_NEG_2;
321 lead=BOCU1_START_NEG_3;
326 lead=BOCU1_START_NEG_4;
334 } else /* count==3, MSB used for the lead byte */ {
346 /* add lead byte */
347 result|=(lead+diff)<<shift;
406 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
409 * @param b lead byte;
548 /* byte in lead position */
561 * b is a difference lead byte.
565 * For multi-byte difference lead bytes, set the decoder state
566 * with the partial difference value from the lead byte and