Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv08.c58 struct msgbuf msbs; in msr() local
63 memset(&msbs, 0, sizeof(msbs)); in msr()
64 msbs.mtype = mtype; in msr()
66 if (msgsnd(msqid, &msbs, sizeof(msbs.mtext), IPC_NOWAIT)) in msr()
80 if ((size_t)sret != sizeof(msbs.mtext)) in msr()
82 sret, sizeof(msbs.mtext)); in msr()
/external/flac/libFLAC/
Dbitwriter.c449 unsigned bits, msbs, uval;
464 msbs = uval >> k;
465 bits = 1 + k + msbs;
483 unsigned bits, msbs;
492 msbs = uval >> k;
493 bits = 1 + k + msbs;
512 unsigned total_bits, interesting_bits, msbs; in FLAC__bitwriter_write_rice_signed() local
524 msbs = uval >> parameter; in FLAC__bitwriter_write_rice_signed()
526 total_bits = interesting_bits + msbs; in FLAC__bitwriter_write_rice_signed()
534 FLAC__bitwriter_write_zeroes(bw, msbs) && /* write the unary MSBs */ in FLAC__bitwriter_write_rice_signed()
[all …]
Dbitreader.c713 FLAC__uint32 lsbs = 0, msbs = 0; in FLAC__bitreader_read_rice_signed() local
721 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed()
729 uval = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed()
744 unsigned cwords, words, lsbs, msbs, x, y; in FLAC__bitreader_read_rice_signed_block() local
762 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed_block()
765 *val++ = (int)(msbs >> 1) ^ -(int)(msbs & 1); in FLAC__bitreader_read_rice_signed_block()
803 msbs = x; in FLAC__bitreader_read_rice_signed_block()
823 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
838 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed_block()
840 msbs += x; in FLAC__bitreader_read_rice_signed_block()
[all …]