Searched defs:bs (Results 1 - 25 of 195) sorted by relevance

12345678

/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
H A Dto_bytes.pass.cpp28 std::string bs = myconv.to_bytes(ws[0]); local
29 assert(bs == "\xF1\x80\x80\x83");
30 bs = myconv.to_bytes(ws.c_str());
31 assert(bs == "\xF1\x80\x80\x83");
32 bs = myconv.to_bytes(ws);
33 assert(bs == "\xF1\x80\x80\x83");
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size());
35 assert(bs == "\xF1\x80\x80\x83");
36 bs = myconv.to_bytes(L"");
37 assert(bs
[all...]
H A Dconverted.pass.cpp26 std::string bs = myconv.to_bytes(L"\x40003"); local
28 bs = myconv.to_bytes(L"\x40003\x65");
H A Dctor_err_string.pass.cpp50 std::string bs = myconv.to_bytes(L"\xDA83"); local
51 assert(bs == "byte error");
63 std::string bs = myconv.to_bytes(L"\xDA83"); local
64 assert(bs == "byte error");
/external/aac/libAACdec/src/
H A Drvlcbit.cpp106 UCHAR rvlcReadBitFromBitstream (HANDLE_FDK_BITSTREAM bs, argument
111 INT readBitOffset = *pPosition-FDKgetBitCnt(bs);
114 FDKpushBiDirectional(bs, readBitOffset);
118 bit = FDKreadBits(bs, 1);
123 bit = FDKreadBits(bs, 1);
124 FDKpushBack(bs, 2);
H A Daacdec_hcr_bit.cpp124 UINT HcrGetABitFromBitstream(HANDLE_FDK_BITSTREAM bs, argument
133 readBitOffset = *pLeftStartOfSegment-FDKgetBitCnt(bs);
135 FDKpushBiDirectional(bs, readBitOffset);
138 bit = FDKreadBits(bs, 1);
143 readBitOffset = *pRightStartOfSegment-FDKgetBitCnt(bs);
145 FDKpushBiDirectional(bs, readBitOffset);
149 bit = FDKreadBits(bs, 1);
150 FDKpushBack(bs, 2);
H A Dchannelinfo.cpp98 HANDLE_FDK_BITSTREAM bs,
113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits);
124 AAC_DECODER_ERROR IcsRead(HANDLE_FDK_BITSTREAM bs, argument
139 FDKreadBits(bs,1);
141 pIcsInfo->WindowSequence = (UCHAR) FDKreadBits(bs,2);
142 pIcsInfo->WindowShape = (UCHAR) FDKreadBits(bs,1);
157 ErrorStatus = IcsReadMaxSfb(bs, pIcsInfo, pSamplingRateInfo);
166 if ((UCHAR)FDKreadBits(bs,1) != 0 ) /* UCHAR PredictorDataPresent */
181 pIcsInfo->ScaleFactorGrouping = (UCHAR) FDKreadBits(bs,7);
97 IcsReadMaxSfb( HANDLE_FDK_BITSTREAM bs, CIcsInfo *pIcsInfo, const SamplingRateInfo *pSamplingRateInfo ) argument
H A Dpulsedata.cpp98 HANDLE_FDK_BITSTREAM bs,
111 if ((PulseData->PulseDataPresent = (UCHAR) FDKreadBit(bs)) != 0) {
116 PulseData->NumberPulse = (UCHAR) FDKreadBits(bs,2);
117 PulseData->PulseStartBand = (UCHAR) FDKreadBits(bs,6);
126 PulseData->PulseOffset[i] = (UCHAR) FDKreadBits(bs,5);
127 PulseData->PulseAmp[i] = (UCHAR) FDKreadBits(bs,4);
97 CPulseData_Read( HANDLE_FDK_BITSTREAM bs, CPulseData *const PulseData, const SHORT *sfb_startlines, const void *pIcsInfo, const SHORT frame_length ) argument
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Dbitstream-decode.c40 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, argument
43 bs->value = ((OI_INT32)buffer[0] << 16) | ((OI_INT32)buffer[1] << 8) | (buffer[2]);
44 bs->ptr.r = buffer + 3;
45 bs->bitPtr = 8;
48 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) argument
52 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr);
57 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) argument
61 OI_ASSERT(bs
77 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dvisibility_test.cc61 CompressedRowBlockStructure bs; local
65 bs.rows.push_back(CompressedRow());
66 CompressedRow& row = bs.rows.back();
75 bs.rows.push_back(CompressedRow());
76 CompressedRow& row = bs.rows.back();
85 bs.rows.push_back(CompressedRow());
86 CompressedRow& row = bs.rows.back();
95 bs.rows.push_back(CompressedRow());
96 CompressedRow& row = bs.rows.back();
102 bs
141 CompressedRowBlockStructure bs; local
[all...]
H A Ddetect_structure.cc38 void DetectStructure(const CompressedRowBlockStructure& bs, argument
43 const int num_row_blocks = bs.rows.size();
51 const CompressedRow& row = bs.rows[r];
71 *e_block_size = bs.cols[e_block_id].size;
73 *e_block_size != bs.cols[e_block_id].size) {
76 << bs.cols[e_block_id].size;
83 *f_block_size = bs.cols[f_block_id].size;
87 if (*f_block_size != bs.cols[row.cells[c].block_id].size) {
90 << bs.cols[row.cells[c].block_id].size;
H A Dpartitioned_matrix_view_test.cc148 const CompressedRowBlockStructure* bs = block_diagonal_ee->block_structure(); local
152 EXPECT_EQ(bs->cols.size(), 2);
153 EXPECT_EQ(bs->rows.size(), 2);
162 const CompressedRowBlockStructure* bs = block_diagonal_ff->block_structure(); local
166 EXPECT_EQ(bs->cols.size(), 3);
167 EXPECT_EQ(bs->rows.size(), 3);
H A Dblock_jacobi_preconditioner.cc71 const CompressedRowBlockStructure* bs = A.block_structure(); local
76 for (int r = 0; r < bs->rows.size(); ++r) {
77 const int row_block_size = bs->rows[r].block.size;
78 const vector<Cell>& cells = bs->rows[r].cells;
80 const int col_block_size = bs->cols[cells[c].block_id].size;
105 for (int c = 0; c < bs->cols.size(); ++c) {
/external/stlport/test/compiler/
H A Deh.cc36 BigStruct *bs = all.allocate(1024*1024*1024); local
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dt_bitst.c62 int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, argument
69 if(ASN1_BIT_STRING_get_bit(bs, bnam->bitnum)) {
79 int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, argument
85 if(bs) {
86 if(!ASN1_BIT_STRING_set_bit(bs, bitnum, value))
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/
H A Decdsa_asn1.c73 ASN1_INTEGER bs; local
104 bs.length = group_order_size;
105 bs.data = buf;
106 bs.type = V_ASN1_INTEGER;
110 i = i2d_ASN1_INTEGER(&bs, NULL);
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_bitst.c110 ASN1_BIT_STRING *bs; local
113 if(!(bs = M_ASN1_BIT_STRING_new())) {
122 if(!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) {
124 M_ASN1_BIT_STRING_free(bs);
133 M_ASN1_BIT_STRING_free(bs);
137 return bs;
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_enc.c138 int bs,i,j,k,mac_size=0; local
195 bs=EVP_CIPHER_block_size(ds->cipher);
197 if ((bs != 1) && send)
199 i=bs-((int)l%bs);
231 if (l == 0 || l%bs != 0)
246 if ((bs != 1) && !send)
247 return tls1_cbc_remove_padding(s, rec, bs, mac_size);
/external/clang/test/CodeGenCXX/
H A Ddefault-arguments.cpp37 B bs[2]; local
41 B bs[2]; member in struct:C
63 B *bs = new B[2]; local
64 delete bs;
/external/openssl/crypto/asn1/
H A Dt_bitst.c64 int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, argument
71 if(ASN1_BIT_STRING_get_bit(bs, bnam->bitnum)) {
81 int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, argument
87 if(bs) {
88 if(!ASN1_BIT_STRING_set_bit(bs, bitnum, value))
/external/openssl/crypto/x509v3/
H A Dv3_bitst.c109 ASN1_BIT_STRING *bs; local
112 if(!(bs = M_ASN1_BIT_STRING_new())) {
121 if(!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) {
124 M_ASN1_BIT_STRING_free(bs);
134 M_ASN1_BIT_STRING_free(bs);
138 return bs;
/external/openssl/ssl/
H A Dd1_enc.c142 int bs,i,j,k,mac_size=0; local
199 bs=EVP_CIPHER_block_size(ds->cipher);
201 if ((bs != 1) && send)
203 i=bs-((int)l%bs);
240 if (l == 0 || l%bs != 0)
255 if ((bs != 1) && !send)
256 return tls1_cbc_remove_padding(s, rec, bs, mac_size);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
H A DPack.java5 public static int bigEndianToInt(byte[] bs, int off) argument
7 int n = bs[ off] << 24;
8 n |= (bs[++off] & 0xff) << 16;
9 n |= (bs[++off] & 0xff) << 8;
10 n |= (bs[++off] & 0xff);
14 public static void bigEndianToInt(byte[] bs, int off, int[] ns) argument
18 ns[i] = bigEndianToInt(bs, off);
25 byte[] bs = new byte[4];
26 intToBigEndian(n, bs, 0);
27 return bs;
30 intToBigEndian(int n, byte[] bs, int off) argument
45 intToBigEndian(int[] ns, byte[] bs, int off) argument
54 bigEndianToLong(byte[] bs, int off) argument
61 bigEndianToLong(byte[] bs, int off, long[] ns) argument
77 longToBigEndian(long n, byte[] bs, int off) argument
90 longToBigEndian(long[] ns, byte[] bs, int off) argument
99 littleEndianToInt(byte[] bs, int off) argument
108 littleEndianToInt(byte[] bs, int off, int[] ns) argument
124 intToLittleEndian(int n, byte[] bs, int off) argument
139 intToLittleEndian(int[] ns, byte[] bs, int off) argument
148 littleEndianToLong(byte[] bs, int off) argument
155 littleEndianToLong(byte[] bs, int off, long[] ns) argument
171 longToLittleEndian(long n, byte[] bs, int off) argument
184 longToLittleEndian(long[] ns, byte[] bs, int off) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeNonMacCommon.cpp74 IntSize bs = buttonSize(scrollbar); local
79 if (scrollbar->width() <= 2 * bs.width() + 1)
81 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
83 if (scrollbar->height() <= 2 * bs.height() + 1)
85 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * bs.height());
/external/fio/profiles/
H A Dtiobench.c7 static unsigned int bs = 4096; variable
28 unsigned int bs; member in struct:tiobench_options
49 .off1 = offsetof(struct tiobench_options, bs),
101 sprintf(bs_idx, "bs=%u", bs);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeWrapEngine.java343 private static byte[] reverse(byte[] bs) argument
345 byte[] result = new byte[bs.length];
346 for (int i = 0; i < bs.length; i++)
348 result[i] = bs[bs.length - (i + 1)];

Completed in 745 milliseconds

12345678