Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 18 of 18) 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.c107 OI_BITSTREAM bs; in DecodeBody() local
133 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody()
140 OI_SBC_ReadSamplesJoint(context, &bs); in DecodeBody()
142 OI_SBC_ReadSamples(context, &bs); in DecodeBody()
/system/core/libutils/
DBitSet_fuzz.cpp28 [](T bs, uint32_t val) -> void { bs.markBit(val); }, in getOperationsForType()
29 [](T bs, uint32_t val) -> void { bs.valueForBit(val); }, in getOperationsForType()
30 [](T bs, uint32_t val) -> void { bs.hasBit(val); }, in getOperationsForType()
31 [](T bs, uint32_t val) -> void { bs.clearBit(val); }, in getOperationsForType()
32 [](T bs, uint32_t val) -> void { bs.getIndexOfBit(val); }, in getOperationsForType()
33 [](T bs, uint32_t) -> void { bs.clearFirstMarkedBit(); }, in getOperationsForType()
34 [](T bs, uint32_t) -> void { bs.markFirstUnmarkedBit(); }, in getOperationsForType()
35 [](T bs, uint32_t) -> void { bs.clearLastMarkedBit(); }, in getOperationsForType()
36 [](T bs, uint32_t) -> void { bs.clear(); }, in getOperationsForType()
37 [](T bs, uint32_t) -> void { bs.count(); }, in getOperationsForType()
[all …]
/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/tools/aidl/
Daidl_to_cpp_common.h60 std::vector<T> Append(std::vector<T> as, const std::vector<T>& bs) { in Append() argument
61 as.insert(as.end(), bs.begin(), bs.end()); in Append()
66 std::vector<T> Append(std::vector<T>&& as, std::vector<T>&& bs) { in Append() argument
68 std::copy(std::move_iterator(bs.begin()), std::move_iterator(bs.end()), in Append()
/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.cpp541 for (int64_t bs = 4; bs < size; bs <<= 1) { in TEST_F() local
542 SparseWrapper sparse(bs, bs); in TEST_F()
543 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F()
556 for (int64_t bs = 4; bs < size / 2; bs <<= 1) { in TEST_F() local
557 SparseWrapper sparse(bs, bs); in TEST_F()
558 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F()
559 std::vector<char> buf = RandomBuf(bs); in TEST_F()
/system/core/adb/coverage/
Dgen_coverage.sh93 dd if=/dev/zero bs=1024 count=10240 | adb -s $REMOTE raw sink:10485760
94 adb -s $REMOTE raw source:10485760 | dd of=/dev/null bs=1024 count=10240
/system/core/fs_mgr/libsnapshot/
DPowerTest.md10 dd if=/dev/urandom of=pre-merge count=1024 bs=1048576
11 dd if=/dev/urandom of=post-merge count=1024 bs=1048576
/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.bp281 "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.sh1563 dd if=/dev/zero of=${img} bs=4096 count=16 2>/dev/null &&
/system/timezone/input_data/android/
Dcountryzones.txt736 isoCode:"bs"