/system/bt/embdrv/sbc/decoder/srce/ |
D | bitstream-decode.c | 41 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM* bs, const OI_BYTE* buffer) { in OI_BITSTREAM_ReadInit() argument 42 bs->value = 0; in OI_BITSTREAM_ReadInit() 43 bs->ptr.r = buffer; in OI_BITSTREAM_ReadInit() 44 bs->bitPtr = 32; in OI_BITSTREAM_ReadInit() 47 PRIVATE uint32_t OI_BITSTREAM_ReadUINT(OI_BITSTREAM* bs, OI_UINT bits) { in OI_BITSTREAM_ReadUINT() argument 50 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT() 55 PRIVATE uint8_t OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM* bs) { in OI_BITSTREAM_ReadUINT4Aligned() argument 58 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned() 59 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned() 61 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned() [all …]
|
D | decoder-private.c | 132 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()
|
D | decoder-sbc.c | 107 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/bt/embdrv/sbc/decoder/include/ |
D | oi_bitstream.h | 43 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
|
D | oi_codec_sbc_private.h | 209 const OI_BYTE* b, OI_BITSTREAM* bs);
|
/system/media/audio_utils/include/audio_utils/ |
D | Metadata.h | 577 bool copyToByteString(const Datum& datum, ByteString &bs); 580 bool copyToByteString(const V<Args...>& v, ByteString&bs); 589 copyToByteString(const T& t, ByteString& bs) { 590 bs.append((uint8_t*)&t, sizeof(t)); 596 bool copyToByteString(const std::pair<A, B>& p, ByteString& bs) { 597 return copyToByteString(p.first, bs) && copyToByteString(p.second, bs); 602 bool copyToByteString(const V<Args...>& v, ByteString& bs) { 605 if (!copyToByteString(size, bs)) return false; 607 bs.append((uint8_t*)v.c_str()); 610 if (!copyToByteString(d, bs)) return false; [all …]
|
/system/media/audio_utils/tests/ |
D | metadata_tests.cpp | 56 std::string toString(const ByteString &bs) { in toString() argument 59 if (bs.size() > 0) { in toString() 64 ss << "0x" << std::setfill('0') << std::setw(2) << (unsigned)bs[i]; in toString() 65 if (i == bs.size() - 1) { in toString() 153 ByteString bs; in TEST() local 154 ASSERT_TRUE(copyToByteString(mc, bs)); in TEST() 158 ASSERT_TRUE(copyFromByteString(&parceled, bs, idx, nullptr /* unknowns */)); in TEST() 161 ASSERT_EQ(bs.size(), idx); // no data left over. in TEST() 197 ByteString bs = byteStringFromData(d); in TEST() local 198 Data data = dataFromByteString(bs); in TEST() [all …]
|
/system/tools/aidl/ |
D | aidl_to_cpp_common.h | 60 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/media/audio_utils/fuzz/metadata_fuzzer/ |
D | metadata_fuzzer.cpp | 25 ByteString bs(bytes, bytes + size); in LLVMFuzzerTestOneInput() local 26 Data data = dataFromByteString(bs); in LLVMFuzzerTestOneInput()
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 270 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/ |
D | generate_images.sh | 51 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/ |
D | android_emmc_perf_tests.sh | 116 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/media/audio_utils/ |
D | Metadata.cpp | 192 ByteString bs = byteStringFromData(*reinterpret_cast<Data *>(metadata)); in byte_string_from_audio_metadata() local 193 *byteString = (uint8_t *) malloc(bs.size()); in byte_string_from_audio_metadata() 197 memcpy(*byteString, bs.c_str(), bs.size()); in byte_string_from_audio_metadata() 198 return bs.size(); in byte_string_from_audio_metadata()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | test_utils.h | 66 unsigned bs = sparse_file_block_size(sparse); in Rep() local 68 return android::base::StringPrintf("[block_size=%u, len=%u]", bs, len); in Rep()
|
D | main.cpp | 541 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/apex/apexd/ |
D | Android.bp | 247 "dd if=/dev/zero of=$(genDir)/apex_payload.img conv=notrunc bs=1024 seek=16 count=1 && " +
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 1529 dd if=/dev/zero of=${img} bs=4096 count=16 2>/dev/null &&
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 710 isoCode:"bs"
|