/external/qemu/slirp-android/ |
H A D | sbuf.h | 11 #define sbflush(sb) sbdrop((sb),(sb)->sb_cc) 12 #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc)
|
/external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
H A D | pbackfail.pass.cpp | 39 testbuf<char> sb("123", std::ios_base::in); 40 assert(sb.sgetc() == '1'); 41 assert(sb.snextc() == '2'); 42 assert(sb.snextc() == '3'); 43 assert(sb.sgetc() == '3'); 44 assert(sb.snextc() == std::char_traits<char>::eof()); 45 assert(sb.pbackfail('3') == '3'); 46 assert(sb.pbackfail('3') == std::char_traits<char>::eof()); 47 assert(sb.pbackfail('2') == '2'); 48 assert(sb [all...] |
H A D | seekpos.pass.cpp | 24 std::stringbuf sb("0123456789", std::ios_base::in); 25 assert(sb.pubseekpos(3, std::ios_base::out) == -1); 26 assert(sb.pubseekpos(3, std::ios_base::in | std::ios_base::out) == -1); 27 assert(sb.pubseekpos(3, std::ios_base::in) == 3); 28 assert(sb.sgetc() == '3'); 31 std::stringbuf sb("0123456789", std::ios_base::out); 32 assert(sb.pubseekpos(3, std::ios_base::in) == -1); 33 assert(sb.pubseekpos(3, std::ios_base::out | std::ios_base::in) == -1); 34 assert(sb.pubseekpos(3, std::ios_base::out) == 3); 35 assert(sb [all...] |
H A D | seekoff.pass.cpp | 24 std::stringbuf sb("0123456789", std::ios_base::in); 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 27 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::out) == -1); 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 30 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::in | std::ios_base::out) == -1); 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 32 assert(sb.sgetc() == '3'); 33 assert(sb [all...] |
/external/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
H A D | seekpos.pass.cpp | 24 std::strstreambuf sb(buf, 0); 25 assert(sb.pubseekpos(3, std::ios_base::out) == -1); 26 assert(sb.pubseekpos(3, std::ios_base::in | std::ios_base::out) == -1); 27 assert(sb.pubseekpos(3, std::ios_base::in) == 3); 28 assert(sb.sgetc() == '3'); 32 std::strstreambuf sb(buf, 0, buf); 33 assert(sb.pubseekpos(3, std::ios_base::in) == 3); 34 assert(sb.pubseekpos(3, std::ios_base::out | std::ios_base::in) == 3); 35 assert(sb.pubseekpos(3, std::ios_base::out) == 3); 36 assert(sb [all...] |
H A D | seekoff.pass.cpp | 24 std::strstreambuf sb(buf, 0); 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 27 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::out) == -1); 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 30 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::in | std::ios_base::out) == -1); 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 32 assert(sb.sgetc() == '3'); 33 assert(sb [all...] |
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/ |
H A D | DebugServer.java | 23 StringBuilder sb = new StringBuilder(); 24 sb.append("<html>"); 25 sb.append("<head><title>Debug Server</title></head>"); 26 sb.append("<body>"); 27 sb.append("<h1>Debug Server</h1>"); 29 sb.append("<p><blockquote><b>URI</b> = ").append( 32 sb.append("<b>Method</b> = ").append( 35 sb.append("<h3>Headers</h3><p><blockquote>"). 38 sb.append("<h3>Parms</h3><p><blockquote>"). 41 sb 75 listItem(StringBuilder sb, Map.Entry entry) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | 2007-04-24-str-const.c | 13 sb(void) function
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
H A D | ReferenceUtil.java | 43 StringBuilder sb = new StringBuilder(); 44 sb.append(methodReference.getName()); 45 sb.append('('); 47 sb.append(paramType); 49 sb.append(')'); 50 sb.append(methodReference.getReturnType()); 51 return sb.toString(); 55 StringBuilder sb = new StringBuilder(); 56 sb.append(methodReference.getDefiningClass()); 57 sb [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
H A D | nouveau_statebuf.h | 17 #define sb_data(sb, v) do {assert((sb).p != (sb).pend); *(sb).p++ = (v);} while(0) 20 #define sb_data(sb, v) *(sb).p++ = (v) 28 #define sb_method(sb, v, n) sb_data(sb, sb_header(SUBC_3D(v), n)); 30 #define sb_len(sb, var) ((sb) [all...] |
/external/jsilver/src/com/google/streamhtmlparser/util/ |
H A D | CharacterRecorder.java | 58 private final StringBuilder sb; field in class:CharacterRecorder 68 sb = new StringBuilder(RECORDING_BUFFER_SIZE); 81 sb = new StringBuilder(RECORDING_BUFFER_SIZE); 82 sb.append(aCharacterRecorder.getContent()); 91 sb.setLength(0); 110 if (recording && (sb.length() < RECORDING_BUFFER_SIZE)) { 111 sb.append(input); 120 sb.setLength(0); 139 return sb.toString(); 161 sb [all...] |
H A D | EntityResolver.java | 119 private final StringBuilder sb; field in class:EntityResolver 133 sb = new StringBuilder(); 146 sb = new StringBuilder(); 147 sb.replace(0, sb.length(), aEntityResolver.sb.toString()); 158 sb.setLength(0); 172 sb.length(), sb.toString()); 197 Preconditions.checkState(status != Status.NOT_STARTED || sb [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_statebuf.h | 17 #define sb_data(sb, v) do {assert((sb).p != (sb).pend); *(sb).p++ = (v);} while(0) 20 #define sb_data(sb, v) *(sb).p++ = (v) 28 #define sb_method(sb, v, n) sb_data(sb, sb_header(SUBC_3D(v), n)); 30 #define sb_len(sb, var) ((sb) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSQLiteQueryBuilder.java | 19 StringBuilder sb = new StringBuilder("SELECT "); 22 sb.append("DISTINCT "); 26 sb.append(Join.join(", ", (Object[]) columns)); 28 sb.append("*"); 31 sb.append(" FROM "); 32 sb.append(tables); 34 conditionallyAppend(sb, " WHERE ", where); 35 conditionallyAppend(sb, " GROUP BY ", groupBy); 36 conditionallyAppend(sb, " HAVING ", having); 37 conditionallyAppend(sb, " ORDE 43 conditionallyAppend(StringBuilder sb, String keyword, String value) argument [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | XMLTokener.java | 66 StringBuffer sb = new StringBuffer(); 72 sb.append(c); 73 i = sb.length() - 3; 74 if (i >= 0 && sb.charAt(i) == ']' && 75 sb.charAt(i + 1) == ']' && sb.charAt(i + 2) == '>') { 76 sb.setLength(i); 77 return sb.toString(); 94 StringBuffer sb; 104 sb [all...] |
/external/smack/src/org/xbill/DNS/utils/ |
H A D | hexdump.java | 24 StringBuffer sb = new StringBuffer(); 26 sb.append(length + "b"); 28 sb.append(" (" + description + ")"); 29 sb.append(':'); 31 int prefixlen = sb.toString().length(); 33 sb.append('\t'); 38 sb.append('\n'); 40 sb.append('\t'); 43 sb.append(hex[(value >> 4)]); 44 sb [all...] |
/external/libcxx/test/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/ |
H A D | rdbuf.pass.cpp | 24 std::strstreambuf* sb = in.rdbuf(); local 25 assert(sb->sgetc() == '1');
|
/external/libcxx/test/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/ |
H A D | rdbuf.pass.cpp | 24 std::strstreambuf* sb = out.rdbuf(); local 25 assert(sb->sputc('a') == 'a');
|
/external/libcxx/test/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/ |
H A D | rdbuf.pass.cpp | 24 std::strstreambuf* sb = out.rdbuf(); local 25 assert(sb->sputc('a') == 'a');
|
/external/libcxx/test/input.output/iostream.format/std.manip/ |
H A D | setprecision.pass.cpp | 27 testbuf<char> sb; local 28 std::istream is(&sb); 33 testbuf<char> sb; local 34 std::ostream os(&sb); 39 testbuf<wchar_t> sb; local 40 std::wistream is(&sb); 45 testbuf<wchar_t> sb; local 46 std::wostream os(&sb);
|
H A D | setw.pass.cpp | 27 testbuf<char> sb; local 28 std::istream is(&sb); 33 testbuf<char> sb; local 34 std::ostream os(&sb); 39 testbuf<wchar_t> sb; local 40 std::wistream is(&sb); 45 testbuf<wchar_t> sb; local 46 std::wostream os(&sb);
|
H A D | setfill.pass.cpp | 27 testbuf<char> sb; local 28 std::ostream os(&sb); 33 testbuf<wchar_t> sb; local 34 std::wostream os(&sb);
|
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.manip/ |
H A D | flush.pass.cpp | 45 testbuf<char> sb; local 46 std::ostream os(&sb); 52 testbuf<wchar_t> sb; local 53 std::wostream os(&sb);
|
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.cons/ |
H A D | copy.fail.cpp | 24 std::streambuf sb = get(); local
|
/external/qemu/distrib/ext4_utils/src/ |
H A D | ext4_utils.c | 117 aux_info.sb = calloc(info.block_size, 1); 121 if (!aux_info.sb) 138 free(aux_info.sb); 146 struct ext4_super_block *sb = aux_info.sb; local 148 sb->s_inodes_count = info.inodes_per_group * aux_info.groups; 149 sb->s_blocks_count_lo = aux_info.len_blocks; 150 sb->s_r_blocks_count_lo = 0; 151 sb->s_free_blocks_count_lo = 0; 152 sb 264 ext4_parse_sb_info(struct ext4_super_block *sb) argument [all...] |