/external/libcxx/test/std/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 | 50 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");
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
PowerHAL.cpp | 36 sp<IBinder> bs = defaultServiceManager()->checkService(serviceName); local 37 if (bs == NULL) { 40 mPowerManager = interface_cast<IPowerManager>(bs);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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 | 50 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/testng/src/main/java/org/testng/internal/annotations/ |
AnnotationHelper.java | 58 IConfigurationAnnotation bs = (IConfigurationAnnotation) finder.findAnnotation(ctor, IBeforeSuite.class); local 69 if (bs != null || as != null || bt != null || at != null || bg != null || ag != null 72 result = createConfiguration(bs, as, bt, at, bg, ag, bc, ac, bm, am); 82 IConfigurationAnnotation bs = (IConfigurationAnnotation) finder.findAnnotation(m, IBeforeSuite.class); local 93 if (bs != null || as != null || bt != null || at != null || bg != null || ag != null 96 result = createConfiguration(bs, as, bt, at, bg, ag, bc, ac, bm, am); 103 private static IConfigurationAnnotation createConfiguration(IConfigurationAnnotation bs, IConfigurationAnnotation as, 109 if (bs != null) { 111 finishInitialize(result, bs); 154 private static void finishInitialize(ConfigurationAnnotation result, IConfigurationAnnotation bs) { [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 28 BitSet bs = new BitSet(); local 29 assertEquals("{}", bs.toString()); 30 bs.set(2); 31 assertEquals("{2}", bs.toString()); 32 bs.set(4); 33 bs.set(10); 34 assertEquals("{2, 4, 10}", bs.toString()); 37 private static void assertBitSet(BitSet bs, long[] longs, String s) { 39 assertEquals(bs.toString(), ((longs[i / 64] & (1L << (i % 64))) != 0), bs.get(i)) 146 BitSet bs = new BitSet(); local 165 BitSet bs; local 243 BitSet bs = BitSet.valueOf(bytes); local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
BitSetBenchmark.java | 27 private BitSet bs; field in class:BitSetBenchmark 31 bs = new BitSet(size); 36 if (!bs.isEmpty()) throw new RuntimeException(); 41 bs.set(bs.size() - 1); 43 if (bs.isEmpty()) throw new RuntimeException(); 49 bs.get(i % size); 55 bs.clear(i % size); 61 bs.set(i % size); 67 bs.set(i % size, true) [all...] |
/external/boringssl/src/crypto/x509v3/ |
v3_bitst.c | 111 ASN1_BIT_STRING *bs; local 114 if(!(bs = M_ASN1_BIT_STRING_new())) { 123 if(!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) { 125 M_ASN1_BIT_STRING_free(bs); 134 M_ASN1_BIT_STRING_free(bs); 138 return bs;
|
/external/ceres-solver/internal/ceres/ |
visibility_test.cc | 61 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.cols.resize(num_cols) 141 CompressedRowBlockStructure bs; local [all...] |
/external/pdfium/xfa/src/fxbarcode/datamatrix/ |
BC_DataMatrixReader.cpp | 63 CFX_ByteString bs = Decode(image, 0, e);
local 65 return bs;
|
/external/testng/src/test/java/test/configuration/ |
SuiteFactoryOnceSample1Test.java | 12 public void bs() { method in class:SuiteFactoryOnceSample1Test
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
Sample.java | 31 public void bs() {} method in class:Sample
|
/ndk/sources/android/support/src/wcstox/ |
intscan.c | 99 int bs = "\0\1\2\4\7\3\6\5"[(0x17*base)>>5&7]; local 101 x = x<<bs | val[c]; 102 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) 103 y = y<<bs | val[c];
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
BitSetTest.java | 29 BitSet bs = new BitSet(); local 31 assertEquals("Created BitSet of incorrect size", 64, bs.size()); 32 assertEquals("New BitSet had invalid string representation", "{}", bs 37 BitSet bs = new BitSet(128); local 40 assertEquals("Created BitSet of incorrect size", 128, bs.size()); 42 + bs.toString(), "{}", bs.toString()); 46 bs = new BitSet(89); 47 assertEquals("Failed to round BitSet element size", 128, bs.size()); 50 bs = new BitSet(-9) 57 BitSet bs = (BitSet) eightbs.clone(); local 62 BitSet bs; local 81 BitSet bs = (BitSet) eightbs.clone(); local 97 BitSet bs = new BitSet(3400); local 125 BitSet bs = new BitSet(0); local 171 BitSet bs = new BitSet(16); local 355 BitSet bs = new BitSet(); local 399 BitSet bs, resultbs, correctbs; local 547 BitSet bs = new BitSet(); local 601 BitSet bs = new BitSet(16); local 741 BitSet bs = new BitSet(); local 818 BitSet bs = new BitSet(16); local 969 BitSet bs = new BitSet(500); local 1023 BitSet bs = new BitSet(128); local 1049 BitSet bs = (BitSet) eightbs.clone(); local 1080 BitSet bs = new BitSet(128); local 1097 BitSet bs = (BitSet) eightbs.clone(); local 1130 BitSet bs = new BitSet(); local 1143 BitSet bs = new BitSet(500); local 1195 BitSet bs = new BitSet(500); local 1262 BitSet bs = new BitSet(500); local 1272 BitSet bs = new BitSet(500); local 1282 BitSet bs = new BitSet(500); local 1310 BitSet bs = new BitSet(500); local 1339 BitSet bs = new BitSet(500); local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
FullBackupTest.java | 63 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 64 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); 82 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 83 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); 99 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 100 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); 128 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 129 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); 221 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 222 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap) 232 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 243 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 256 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 270 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local 285 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); local [all...] |
/external/clang/test/CodeGen/ |
object-size.cpp | 36 struct C { int i; B bs[1]; } *c; member in struct:C 39 gi = __builtin_object_size(&c->bs[0], 0); 41 gi = __builtin_object_size(&c->bs[0], 1); 43 gi = __builtin_object_size(&c->bs[0], 2); 45 gi = __builtin_object_size(&c->bs[0], 3); 48 gi = __builtin_object_size((A*)&c->bs[0], 0); 50 gi = __builtin_object_size((A*)&c->bs[0], 1); 52 gi = __builtin_object_size((A*)&c->bs[0], 2); 54 gi = __builtin_object_size((A*)&c->bs[0], 3); 57 gi = __builtin_object_size(&c->bs[0].buf[0], 0) [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/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417Reader.cpp | 88 CFX_ByteString bs = Decode(image, FALSE, 0, e);
local 90 return bs;
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCodeReader.cpp | 78 CFX_ByteString bs = Decode(&bitmap, hints, e);
local 80 return bs;
89 CFX_ByteString bs = Decode(&bitmap, hints, e);
local 91 return bs;
94 CFX_ByteString bs = Decode(image, 0, e);
local 96 return bs;
|
/external/testng/src/test/java/test/hook/ |
BaseConfigurable.java | 20 public void bs() { method in class:BaseConfigurable
|
ConfigurableSuccessWithListenerTest.java | 20 public void bs() { method in class:ConfigurableSuccessWithListenerTest
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/writer/ |
FlagSetTest.java | 28 BitSet bs = new BitSet(); local 29 bs.set(7); 30 FlagSet flagSet = new FlagSet(bs, 3); 39 BitSet bs = new BitSet(); local 40 bs.set(FlagSet.sBucketSize + 2); 41 FlagSet flagSet = new FlagSet(bs, 3); 50 BitSet bs = new BitSet(); local 51 bs.set(5); 52 bs.set(FlagSet.sBucketSize + 2); 53 bs.set(FlagSet.sBucketSize * 2 + 10) 63 BitSet bs = new BitSet(); local [all...] |