/libcore/luni/src/test/java/libcore/java/io/ |
ObjectOutputStreamTest.java | 27 StringBuilder sb = new StringBuilder(); local 29 sb.append('a'); 31 String s = sb.toString();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/ext.manip/ |
put_money.pass.cpp | 54 testbuf<char> sb; local 55 std::ostream os(&sb); 60 assert(sb.str() == "-$1,234,567.89"); 63 testbuf<char> sb; local 64 std::ostream os(&sb); 69 assert(sb.str() == "-USD 1,234,567.89"); 72 testbuf<wchar_t> sb; local 73 std::wostream os(&sb); 78 assert(sb.str() == L"-$1,234,567.89"); 81 testbuf<wchar_t> sb; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
bool.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "1"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "true"); 84 testbuf<char> sb; local [all...] |
double.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "-10.5");
|
float.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "-10.5");
|
int.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fffffff6");
|
long.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fffffff6");
|
long_double.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "-10.5");
|
long_long.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fffffffffffffff6");
|
short.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "-10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fff6");
|
unsigned_int.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fff6");
|
unsigned_long.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fffffff6");
|
unsigned_long_long.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fffffffffffffff6");
|
unsigned_short.pass.cpp | 62 testbuf<char> sb; local 63 std::ostream os(&sb); 66 assert(sb.str() == "0"); 69 testbuf<char> sb; local 70 std::ostream os(&sb); 73 assert(sb.str() == "10"); 76 testbuf<char> sb; local 77 std::ostream os(&sb); 81 assert(sb.str() == "fff6");
|
/system/extras/tests/ext4/ |
corrupt_gdt_free_blocks.c | 19 struct ext4_super_block sb; local 39 if (read(fd, &sb, sizeof(sb)) != sizeof(sb)) { 44 if (sb.s_magic != 0xEF53) { 50 if ((sb.s_log_block_size != 1) && (sb.s_log_block_size != 2)) { 55 block_size = 1 << (10 + sb.s_log_block_size); 56 num_bgs = DIV_ROUND_UP(sb.s_blocks_count_lo, sb.s_blocks_per_group) [all...] |
/external/dropbear/libtommath/ |
bn_mp_add.c | 21 int sa, sb, res; local 25 sb = b->sign; 28 if (sa == sb) { 39 c->sign = sb;
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/blockparser/ |
Statement.java | 41 StringBuilder sb = new StringBuilder(); local 42 sb.append(getIndent(indent)); 43 sb.append(line); 45 sb.append(" {\n"); 47 sb.append(statement.toString(indent+4)); 48 sb.append("\n"); 50 sb.append(getIndent(indent)); 51 sb.append("}"); 53 return sb.toString();
|
/frameworks/base/services/java/com/android/server/am/ |
BroadcastFilter.java | 64 StringBuilder sb = new StringBuilder(); local 65 sb.append("BroadcastFilter{"); 66 sb.append(Integer.toHexString(System.identityHashCode(this))); 67 sb.append(" u"); 68 sb.append(owningUserId); 69 sb.append(' '); 70 sb.append(receiverList); 71 sb.append('}'); 72 return sb.toString();
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceRequest.java | 77 StringBuffer sb = new StringBuffer(); local 78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0)); 79 sb.append(WifiP2pServiceInfo.bin2HexStr(st.getBytes())); 80 return new WifiP2pUpnpServiceRequest(sb.toString());
|
/libcore/luni/src/main/java/java/security/cert/ |
CollectionCertStoreParameters.java | 98 StringBuilder sb = local 100 sb.append(getCollection().toString()); 101 sb.append("\n]"); 102 return sb.toString();
|
/libcore/luni/src/main/java/java/util/logging/ |
SimpleFormatter.java | 47 StringBuilder sb = new StringBuilder(); local 48 sb.append(MessageFormat.format("{0, date} {0, time} ", 50 sb.append(r.getSourceClassName()).append(" "); 51 sb.append(r.getSourceMethodName()).append(System.lineSeparator()); 52 sb.append(r.getLevel().getName()).append(": "); 53 sb.append(formatMessage(r)).append(System.lineSeparator()); 55 sb.append("Throwable occurred: "); 62 sb.append(sw.toString()); 67 return sb.toString();
|
/external/smack/src/org/xbill/DNS/ |
SIGBase.java | 86 StringBuffer sb = new StringBuffer(); local 87 sb.append (Type.string(covered)); 88 sb.append (" "); 89 sb.append (alg); 90 sb.append (" "); 91 sb.append (labels); 92 sb.append (" "); 93 sb.append (origttl); 94 sb.append (" "); 96 sb.append ("(\n\t") [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageStats.java | 83 final StringBuilder sb = new StringBuilder("PackageStats{"); local 84 sb.append(Integer.toHexString(System.identityHashCode(this))); 85 sb.append(" "); 86 sb.append(packageName); 88 sb.append(" code="); 89 sb.append(codeSize); 92 sb.append(" data="); 93 sb.append(dataSize); 96 sb.append(" cache="); 97 sb.append(cacheSize) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/dece/ |
TrickPlayBox.java | 70 final StringBuilder sb = new StringBuilder();
local 71 sb.append("Entry");
72 sb.append("{picType=").append(getPicType());
73 sb.append(",dependencyLevel=").append(getDependencyLevel());
74 sb.append('}');
75 return sb.toString();
102 final StringBuilder sb = new StringBuilder();
local 103 sb.append("TrickPlayBox");
104 sb.append("{entries=").append(entries);
105 sb.append('}'); [all...] |
/libcore/luni/src/main/java/java/lang/ |
RealToString.java | 50 private static String resultOrSideEffect(AbstractStringBuilder sb, String s) { 51 if (sb != null) { 52 sb.append0(s); 62 public void appendDouble(AbstractStringBuilder sb, double d) { 63 convertDouble(sb, d); 66 private String convertDouble(AbstractStringBuilder sb, double inputNumber) { 89 return resultOrSideEffect(sb, quickResult); 115 AbstractStringBuilder dst = (sb != null) ? sb : new StringBuilder(26); 122 return (sb != null) ? null : dst.toString() [all...] |