Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 14 of 14) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
Dbitstream-decode.c41 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM* bs, const OI_BYTE* buffer) { in OI_BITSTREAM_ReadInit() argument
42 bs->value = in OI_BITSTREAM_ReadInit()
44 bs->ptr.r = buffer + 3; in OI_BITSTREAM_ReadInit()
45 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit()
48 PRIVATE uint32_t OI_BITSTREAM_ReadUINT(OI_BITSTREAM* bs, OI_UINT bits) { in OI_BITSTREAM_ReadUINT() argument
51 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT()
56 PRIVATE uint8_t OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM* bs) { in OI_BITSTREAM_ReadUINT4Aligned() argument
59 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
60 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
62 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned()
[all …]
Ddecoder-private.c132 const OI_BYTE* b, OI_BITSTREAM* bs) { in OI_SBC_ReadScalefactors() argument
154 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors()
172 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors()
173 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); in OI_SBC_ReadScalefactors()
Ddecoder-sbc.c101 OI_BITSTREAM bs; in DecodeBody() local
127 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody()
134 OI_SBC_ReadSamplesJoint(context, &bs); in DecodeBody()
136 OI_SBC_ReadSamples(context, &bs); in DecodeBody()
/system/bt/embdrv/sbc/decoder/include/
Doi_bitstream.h43 INLINE void OI_BITSTREAM_ReadInit(OI_BITSTREAM* bs, const OI_BYTE* buffer);
45 INLINE void OI_BITSTREAM_WriteInit(OI_BITSTREAM* bs, OI_BYTE* buffer);
47 INLINE uint32_t OI_BITSTREAM_ReadUINT(OI_BITSTREAM* bs, OI_UINT bits);
49 INLINE uint8_t OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM* bs);
51 INLINE uint8_t OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM* bs);
53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM* bs, uint16_t value,
59 PRIVATE void OI_BITSTREAM_WriteUINT8Aligned(OI_BITSTREAM* bs, uint8_t datum);
65 PRIVATE void OI_BITSTREAM_Write2xUINT4Aligned(OI_BITSTREAM* bs, uint8_t datum1,
72 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) argument
73 #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) argument
Doi_codec_sbc_private.h209 const OI_BYTE* b, OI_BITSTREAM* bs);
/system/libhwbinder/
DBufferedTextOutput.cpp270 BufferState* bs = ts->states[mIndex].get(); in getBuffer() local
271 if (bs != nullptr && bs->seq == mSeq) return bs; in getBuffer()
274 bs = ts->states[mIndex].get(); in getBuffer()
275 if (bs != nullptr) return bs; in getBuffer()
/system/update_engine/sample_images/
Dgenerate_images.sh51 dd if=/dev/zero bs=1024 count=16 status=none | tr '\0' '\141' |
53 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \
65 sudo dd of="${mntdir}"/sparse-16k-last_block bs=1 \
72 sudo dd of="${mntdir}"/sparse-10000blocks bs=1 \
79 echo "a" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=100 status=none
80 echo "b" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=10000 status=none
84 sudo ln -s $(dd if=/dev/zero bs=256 count=1 status=none | tr '\0' '\141') \
/system/extras/tests/ext4/
Dandroid_emmc_perf_tests.sh116 adb shell dd if=/dev/zero of=$CACHE bs=1048576 count=512
144 adb shell dd if=/dev/zero of="$STATS_FILE" bs=1048576
153 adb shell dd if=/dev/zero of="$STATS_FILE" bs=1048576
214 adb shell dd if="$CACHE" of=/dev/null bs=1048576 count=200
224 adb shell dd if=/dev/zero conv=notrunc of="$CACHE" bs=1048576 count=200
/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.h66 unsigned bs = sparse_file_block_size(sparse); in Rep() local
68 return android::base::StringPrintf("[block_size=%u, len=%u]", bs, len); in Rep()
Dmain.cpp561 for (int64_t bs = 4; bs < size; bs <<= 1) { in TEST_F() local
562 SparseWrapper sparse(bs, bs); in TEST_F()
563 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F()
576 for (int64_t bs = 4; bs < size / 2; bs <<= 1) { in TEST_F() local
577 SparseWrapper sparse(bs, bs); in TEST_F()
578 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F()
579 std::vector<char> buf = RandomBuf(bs); in TEST_F()
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp618 const int bs = mBlendSrc; in isAlphaSourceNeeded() local
620 return bs==GGL_SRC_ALPHA_SATURATE || in isAlphaSourceNeeded()
621 bs==GGL_SRC_ALPHA || bs==GGL_ONE_MINUS_SRC_ALPHA || in isAlphaSourceNeeded()
/system/apex/apexd/
DAndroid.bp282 "dd if=/dev/zero of=$(genDir)/apex_payload.img conv=notrunc bs=1024 seek=16 count=1 && " +
/system/core/fs_mgr/tests/
Dadb-remount-test.sh1145 dd if=/dev/zero of=${img} bs=4096 count=16 2>/dev/null &&
/system/timezone/input_data/android/
Dcountryzones.txt686 isoCode:"bs"