HomeSort by relevance Sort by last modified time
    Searched defs:bs (Results 1 - 25 of 531) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 54 std::string bs = myconv.to_bytes(L"\xDA83"); local
55 assert(bs == "byte error");
69 std::string bs = myconv.to_bytes(L"\xDA83"); local
70 assert(bs == "byte error");
  /frameworks/native/services/surfaceflinger/DisplayHardware/
PowerHAL.cpp 38 sp<IBinder> bs = defaultServiceManager()->checkService(serviceName); local
39 if (bs == NULL) {
42 mPowerManager = interface_cast<IPowerManager>(bs);
  /prebuilts/ndk/r11/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");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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 51 std::string bs = myconv.to_bytes(L"\xDA83"); local
52 assert(bs == "byte error");
64 std::string bs = myconv.to_bytes(L"\xDA83"); local
65 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/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 113 ASN1_BIT_STRING *bs; local
116 if (!(bs = M_ASN1_BIT_STRING_new())) {
125 if (!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) {
127 M_ASN1_BIT_STRING_free(bs);
136 M_ASN1_BIT_STRING_free(bs);
140 return bs;
  /external/skia/tests/
Sk4x4fTest.cpp 44 uint8_t bs[16] = {0,1,2,3, 4,5,6,7, 8,9,10,11, 12,13,14,15}; local
45 f = Sk4x4f::Transpose(bs);
53 REPORTER_ASSERT(r, 0 == memcmp(bs, bs_back, sizeof(bs)));
  /external/syslinux/com32/gpllib/zzjson/
zzjson_print.c 14 int c, bs; local
17 bs = 1;
21 if (*s == 'u') bs = 0; // copy \uHHHH verbatim
29 default: bs = 0; break;
31 if (bs) PUTC('\\');
  /external/syslinux/gpxe/src/image/
efi_image.c 37 EFI_BOOT_SERVICES *bs = efi_systab->BootServices; local
44 if ( ( efirc = bs->LoadImage ( FALSE, efi_image_handle, NULL,
54 if ( ( efirc = bs->StartImage ( handle, &exit_data_size,
65 bs->UnloadImage ( handle );
77 EFI_BOOT_SERVICES *bs = efi_systab->BootServices; local
82 if ( ( efirc = bs->LoadImage ( FALSE, efi_image_handle, NULL,
98 bs->UnloadImage ( handle );
  /external/syslinux/gpxe/src/interface/efi/
efi_umalloc.c 45 EFI_BOOT_SERVICES *bs = efi_systab->BootServices; local
57 if ( ( efirc = bs->AllocatePages ( AllocateAnyPages,
85 if ( ( efirc = bs->FreePages ( phys_addr, old_pages ) ) != 0 ){
  /external/syslinux/libfat/
open.c 29 struct fat_bootsect *bs; local
42 bs = libfat_get_sector(fs, 0);
43 if (!bs)
46 if (read16(&bs->bsBytesPerSec) != LIBFAT_SECTOR_SIZE)
50 if ((uint8_t) (1 << i) == read8(&bs->bsSecPerClust))
58 sectors = read16(&bs->bsSectors);
60 sectors = read32(&bs->bsHugeSectors);
64 fs->fat = read16(&bs->bsResSectors);
65 fatsize = read16(&bs->bsFATsecs);
67 fatsize = read32(&bs->u.fat32.bpb_fatsz32)
    [all...]
  /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
  /prebuilts/ndk/r11/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];
  /prebuilts/ndk/r13/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/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());
53 private static void assertBitSet(BitSet bs, long[] longs, String s) {
55 assertEquals(bs.toString(), ((longs[i / 64] & (1L << (i % 64))) != 0), bs.get(i))
162 BitSet bs = new BitSet(); local
181 BitSet bs; local
259 BitSet bs = BitSet.valueOf(bytes); local
    [all...]
  /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...]

Completed in 780 milliseconds

1 2 3 4 5 6 7 8 91011>>