/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale.convenience/conversions/conversions.string/ |
to_bytes.pass.cpp | 28 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.size() == 0) [all...] |
converted.pass.cpp | 26 std::string bs = myconv.to_bytes(L"\x40003"); local 28 bs = myconv.to_bytes(L"\x40003\x65");
|
ctor_err_string.pass.cpp | 46 std::string bs = myconv.to_bytes(L"\xDA83"); local 47 assert(bs == "byte error"); 59 std::string bs = myconv.to_bytes(L"\xDA83"); local 60 assert(bs == "byte error");
|
/libcore/benchmarks/src/benchmarks/regression/ |
BitSetBenchmark.java | 27 private BitSet bs; field in class:BitSetBenchmark 30 bs = new BitSet(size); 35 if (!bs.isEmpty()) throw new RuntimeException(); 40 bs.set(bs.size() - 1); 42 if (bs.isEmpty()) throw new RuntimeException(); 48 bs.get(i % size); 54 bs.clear(i % size); 60 bs.set(i % size); 66 bs.set(i % size, true) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 27 BitSet bs = new BitSet(); local 28 assertEquals("{}", bs.toString()); 29 bs.set(2); 30 assertEquals("{2}", bs.toString()); 31 bs.set(4); 32 bs.set(10); 33 assertEquals("{2, 4, 10}", bs.toString()); 36 private static void assertBitSet(BitSet bs, long[] longs, String s) { 38 assertEquals(bs.toString(), ((longs[i / 64] & (1L << (i % 64))) != 0), bs.get(i)) 145 BitSet bs = new BitSet(); local 164 BitSet bs; local [all...] |
/external/smack/src/org/jivesoftware/smack/util/ |
Base32Encoder.java | 45 ByteArrayOutputStream bs = new ByteArrayOutputStream(); local 51 bs.write((byte) c); 55 while (bs.size() % 8 != 0) 56 bs.write('8'); 58 byte[] in = bs.toByteArray(); 60 bs.reset(); 61 DataOutputStream ds = new DataOutputStream(bs); 99 return new String(bs.toByteArray());
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
FontSizePreview.java | 61 BrowserSettings bs = BrowserSettings.getInstance(); local 62 ws.setMinimumFontSize(bs.getMinimumFontSize()); 63 ws.setTextZoom(bs.getTextZoom());
|
InvertedContrastPreview.java | 82 BrowserSettings bs = BrowserSettings.getInstance(); local 84 bs.useInvertedRendering() ? "true" : "false"); 86 Float.toString(bs.getInvertedContrast()));
|
/external/ceres-solver/internal/ceres/ |
visibility_test.cc | 56 CompressedRowBlockStructure bs; local 60 bs.rows.push_back(CompressedRow()); 61 CompressedRow& row = bs.rows.back(); 70 bs.rows.push_back(CompressedRow()); 71 CompressedRow& row = bs.rows.back(); 80 bs.rows.push_back(CompressedRow()); 81 CompressedRow& row = bs.rows.back(); 90 bs.rows.push_back(CompressedRow()); 91 CompressedRow& row = bs.rows.back(); 97 bs.cols.resize(num_cols) 136 CompressedRowBlockStructure bs; local [all...] |
partitioned_matrix_view_test.cc | 162 const CompressedRowBlockStructure* bs = block_diagonal_ee->block_structure(); 166 EXPECT_EQ(bs->cols.size(), 2); 167 EXPECT_EQ(bs->rows.size(), 2); 179 const CompressedRowBlockStructure* bs = block_diagonal_ff->block_structure(); local 183 EXPECT_EQ(bs->cols.size(), 3); 184 EXPECT_EQ(bs->rows.size(), 3);
|
block_jacobi_preconditioner.cc | 72 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; 81 const int col_block_size = bs->cols[cells[c].block_id].size; 104 for (int c = 0; c < bs->cols.size(); ++c) {
|
/external/openssl/crypto/x509v3/ |
v3_bitst.c | 109 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/stlport/test/compiler/ |
eh.cc | 36 BigStruct *bs = all.allocate(1024*1024*1024); local
|
/external/smack/src/org/xbill/DNS/utils/ |
base16.java | 47 ByteArrayOutputStream bs = new ByteArrayOutputStream(); local 51 bs.write(raw[i]); 53 byte [] in = bs.toByteArray(); 58 bs.reset(); 59 DataOutputStream ds = new DataOutputStream(bs); 70 return bs.toByteArray();
|
base32.java | 149 ByteArrayOutputStream bs = new ByteArrayOutputStream(); local 156 bs.write((byte) c); 161 if (bs.size() % 8 != 0) 164 while (bs.size() % 8 != 0) 165 bs.write('='); 168 byte [] in = bs.toByteArray(); 170 bs.reset(); 171 DataOutputStream ds = new DataOutputStream(bs); 210 return bs.toByteArray();
|
base64.java | 96 ByteArrayOutputStream bs = new ByteArrayOutputStream(); local 100 bs.write(raw[i]); 102 byte [] in = bs.toByteArray(); 107 bs.reset(); 108 DataOutputStream ds = new DataOutputStream(bs); 142 return bs.toByteArray();
|
/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 27 BitSet bs = new BitSet(); local 29 assertEquals("Created BitSet of incorrect size", 64, bs.size()); 30 assertEquals("New BitSet had invalid string representation", "{}", bs.toString()); 34 BitSet bs = new BitSet(128); local 37 assertEquals("Created BitSet of incorrect size", 128, bs.size()); 39 + bs.toString(), bs.toString().equals("{}")); 43 bs = new BitSet(89); 44 assertEquals("Failed to round BitSet element size", 128, bs.size()); 47 bs = new BitSet(-9) 54 BitSet bs = (BitSet) eightbs.clone(); local 60 BitSet bs; local 76 BitSet bs = (BitSet) eightbs.clone(); local 92 BitSet bs = new BitSet(3400); local 118 BitSet bs = new BitSet(0); local 156 BitSet bs = new BitSet(16); local 322 BitSet bs = new BitSet(); local 359 BitSet bs, resultbs, correctbs; local 507 BitSet bs = new BitSet(); local 559 BitSet bs = new BitSet(16); local 694 BitSet bs = new BitSet(); local 771 BitSet bs = new BitSet(16); local 922 BitSet bs = new BitSet(500); local 976 BitSet bs = new BitSet(128); local 994 BitSet bs = (BitSet) eightbs.clone(); local 1009 BitSet bs = new BitSet(128); local 1026 BitSet bs = (BitSet) eightbs.clone(); local 1059 BitSet bs = new BitSet(); local 1072 BitSet bs = new BitSet(500); local 1124 BitSet bs = new BitSet(500); local 1191 BitSet bs = new BitSet(500); local 1201 BitSet bs = new BitSet(500); local 1211 BitSet bs = new BitSet(500); local 1239 BitSet bs = new BitSet(500); local [all...] |
/external/clang/test/CodeGenCXX/ |
default-arguments.cpp | 37 B bs[2]; local 41 B bs[2]; member in struct:C 63 B *bs = new B[2]; local 64 delete bs;
|
/external/openssl/ssl/ |
d1_enc.c | 142 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);
|
s2_enc.c | 125 int bs; local 142 bs=ds->cipher->block_size; 143 /* This should be using (bs-1) and bs instead of 7 and 8, but 145 if (bs == 8)
|
/external/webkit/Source/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 80 IntSize bs = buttonSize(scrollbar); local 89 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness); 93 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * bs.height());
|
/frameworks/native/cmds/servicemanager/ |
bctest.c | 10 void *svcmgr_lookup(struct binder_state *bs, void *target, const char *name) 21 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE)) 27 binder_acquire(bs, ptr); 29 binder_done(bs, &msg, &reply); 34 int svcmgr_publish(struct binder_state *bs, void *target, const char *name, void *ptr) 46 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE)) 51 binder_done(bs, &msg, &reply); 61 struct binder_state *bs; local 64 bs = binder_open(128*1024); 70 void *ptr = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr") [all...] |
/external/icu4c/test/perf/usetperf/ |
usetperf.cpp | 46 BitSet bs; member in class:CmdOp 52 bs.clearAll(); 55 bs.set((int32_t) cp); 70 if (bs.get((int32_t) cp)) {
|
/external/openssl/crypto/dsa/ |
dsa_lib.c | 252 ASN1_INTEGER bs; local 259 bs.length=(i+7)/8; 260 bs.data=buf; 261 bs.type=V_ASN1_INTEGER; 265 i=i2d_ASN1_INTEGER(&bs,NULL);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
BitSetTest.java | 33 BitSet bs = new BitSet(); local 36 assertEquals("Created BitSet of incorrect size", 64, bs.size()); 37 assertEquals("New BitSet had invalid string representation", "{}", bs 46 BitSet bs = new BitSet(128); local 49 assertEquals("Created BitSet of incorrect size", 128, bs.size()); 51 + bs.toString(), "{}", bs.toString()); 55 bs = new BitSet(89); 56 assertEquals("Failed to round BitSet element size", 128, bs.size()); 59 bs = new BitSet(-9) 78 BitSet bs; local 89 BitSet bs; local 112 BitSet bs = (BitSet) eightbs.clone(); local 131 BitSet bs = new BitSet(3400); local 165 BitSet bs = new BitSet(0); local 214 BitSet bs = new BitSet(16); local 404 BitSet bs = new BitSet(); local 452 BitSet bs, resultbs, correctbs; local 587 BitSet bs = new BitSet(); local 668 BitSet bs = new BitSet(16); local 810 BitSet bs = new BitSet(); local 856 BitSet bs = new BitSet(); local 873 BitSet bs = new BitSet(16); local 1044 BitSet bs = new BitSet(500); local 1120 BitSet bs = new BitSet(128); local 1151 BitSet bs = (BitSet) eightbs.clone(); local 1186 BitSet bs = new BitSet(128); local 1210 BitSet bs = (BitSet) eightbs.clone(); local 1259 BitSet bs = new BitSet(); local 1276 BitSet bs = new BitSet(500); local 1358 BitSet bs = new BitSet(500); local 1449 BitSet bs = new BitSet(500); local 1481 BitSet bs = new BitSet(500); local 1510 BitSet bs = new BitSet(500); local 1523 BitSet bs = new BitSet(500); local [all...] |