/system/bt/embdrv/sbc/decoder/srce/ |
D | bitstream-decode.c | 40 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, in OI_BITSTREAM_ReadInit() argument 43 bs->value = ((OI_INT32)buffer[0] << 16) | ((OI_INT32)buffer[1] << 8) | (buffer[2]); in OI_BITSTREAM_ReadInit() 44 bs->ptr.r = buffer + 3; in OI_BITSTREAM_ReadInit() 45 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit() 48 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) in OI_BITSTREAM_ReadUINT() argument 52 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT() 57 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) in OI_BITSTREAM_ReadUINT4Aligned() argument 61 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned() 62 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned() 64 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned() [all …]
|
D | decoder-private.c | 136 OI_BITSTREAM *bs) in OI_SBC_ReadScalefactors() argument 157 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 | 104 OI_BITSTREAM bs; in DecodeBody() local 124 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody() 131 OI_SBC_ReadSamplesJoint(context, &bs); in DecodeBody() 133 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 OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits); 49 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs); 51 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs); 53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM *bs, 60 PRIVATE void OI_BITSTREAM_WriteUINT8Aligned(OI_BITSTREAM *bs, 66 PRIVATE void OI_BITSTREAM_Write2xUINT4Aligned(OI_BITSTREAM *bs, 74 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) argument 75 #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) argument
|
D | oi_codec_sbc_private.h | 210 …d OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *b, OI_BITSTREAM *bs);
|
/system/extras/verity/ |
D | verify_boot_signature.c | 130 static int read_signature(int fd, off64_t offset, BootSignature **bs) in read_signature() argument 134 if (!bs) { in read_signature() 147 if ((*bs = ASN1_item_d2i_bio(ASN1_ITEM_rptr(BootSignature), in, bs)) == NULL) { in read_signature() 164 static int validate_signature_block(const BootSignature *bs, uint64_t length) in validate_signature_block() argument 170 if (!bs) { in validate_signature_block() 183 ASN1_INTEGER_to_BN(bs->formatVersion, &value); in validate_signature_block() 198 ASN1_INTEGER_to_BN(bs->authenticatedAttributes->length, &value); in validate_signature_block() 313 static int verify_signature(int fd, uint64_t length, const BootSignature *bs) in verify_signature() argument 320 if (!bs) { in verify_signature() 324 if (hash_image(fd, length, bs->authenticatedAttributes, digest) == -1) { in verify_signature() [all …]
|
/system/connectivity/shill/net/ |
D | byte_string_unittest.cc | 160 ByteString bs(kTest2, sizeof(kTest2)); in TEST_F() local 163 bs.Resize(sizeof(kTest2) + kSizeExtension); in TEST_F() 164 EXPECT_EQ(sizeof(kTest2) + kSizeExtension, bs.GetLength()); in TEST_F() 165 ASSERT_NE(nullptr, bs.GetData()); in TEST_F() 166 EXPECT_EQ(0, memcmp(bs.GetData(), kTest2, sizeof(kTest2))); in TEST_F() 168 EXPECT_EQ(0, bs.GetData()[i]); in TEST_F() 172 bs.Resize(sizeof(kTest2) - kSizeReduction); in TEST_F() 173 EXPECT_EQ(sizeof(kTest2) - kSizeReduction, bs.GetLength()); in TEST_F() 174 EXPECT_EQ(0, memcmp(bs.GetData(), kTest2, sizeof(kTest2) - kSizeReduction)); in TEST_F() 178 ByteString bs(kTest2, sizeof(kTest2)); in TEST_F() local [all …]
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 48 dd if=/dev/zero bs=1024 count=16 status=none | tr '\0' '\141' | 50 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \ 62 sudo dd of="${mntdir}"/sparse-16k-last_block bs=1 \ 69 sudo dd of="${mntdir}"/sparse-10000blocks bs=1 \ 76 echo "a" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=100 status=none 77 echo "b" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=10000 status=none 81 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/core/toolbox/ |
D | newfs_msdos.c | 106 struct bs { struct 254 struct bs *bs; in newfs_msdos_main() local 659 x1 = sizeof(struct bs); in newfs_msdos_main() 702 bs = (struct bs *)img; in newfs_msdos_main() 703 mk1(bs->jmp[0], 0xeb); in newfs_msdos_main() 704 mk1(bs->jmp[1], x1 - 2); in newfs_msdos_main() 705 mk1(bs->jmp[2], 0x90); in newfs_msdos_main() 706 setstr(bs->oem, opt_O ? opt_O : "BSD 4.4", in newfs_msdos_main() 707 sizeof(bs->oem)); in newfs_msdos_main()
|
/system/core/libpixelflinger/codeflinger/ |
D | GGLAssembler.cpp | 620 const int bs = mBlendSrc; in isAlphaSourceNeeded() local 622 return bs==GGL_SRC_ALPHA_SATURATE || in isAlphaSourceNeeded() 623 bs==GGL_SRC_ALPHA || bs==GGL_ONE_MINUS_SRC_ALPHA || in isAlphaSourceNeeded()
|
/system/connectivity/shill/mobile_operator_db/ |
D | serviceproviders.prototxt | 2026 country : "bs"
|