Searched defs:sb (Results 126 - 150 of 608) sorted by relevance

1234567891011>>

/external/libcap-ng/libcap-ng-0.7/utils/
H A Dfilecap.c45 const struct stat *sb,
49 if (S_ISREG(sb->st_mode) == 0)
44 check_file(const char *fpath, const struct stat *sb, int typeflag_unused __attribute__ ((unused)), struct FTW *s_unused __attribute__ ((unused))) argument
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
H A Drotate.pass.cpp40 const int sb = static_cast<int>(sizeof(ib)/sizeof(ib[0])); local
41 r = std::rotate(Iter(ib), Iter(ib), Iter(ib+sb));
42 assert(base(r) == ib+sb);
45 r = std::rotate(Iter(ib), Iter(ib+1), Iter(ib+sb));
49 r = std::rotate(Iter(ib), Iter(ib+sb), Iter(ib+sb));
236 const int sb = static_cast<int>(sizeof(ib)/sizeof(ib[0])); local
237 for (int i = 0; i < sb; ++i)
239 r = std::rotate(Iter(ib), Iter(ib), Iter(ib+sb));
240 assert(base(r) == ib+sb);
[all...]
/external/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/
H A Dmismatch.pass.cpp67 const unsigned sb = sizeof(ib)/sizeof(ib[0]); ((void)sb); // unused in C++11 local
79 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+sb))
82 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib+sb))
H A Dmismatch_pred.pass.cpp77 const unsigned sb = sizeof(ib)/sizeof(ib[0]); ((void)sb); // unused in C++11 local
95 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ())
97 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib + sb), EQ())
100 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), std::ref(bcp))
102 assert(bcp.count() > 0 && bcp.count() < std::min(sa, sb));
109 assert(std::mismatch(ia, ia + sa, ib, ib + sb, EQ()) ==
/external/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/
H A Dincludes.pass.cpp43 const unsigned sb = sizeof(ib)/sizeof(ib[0]); local
54 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb)));
55 assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa)));
H A Dincludes_comp.pass.cpp46 const unsigned sb = sizeof(ib)/sizeof(ib[0]); local
57 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb), std::less<int>()));
58 assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa), std::less<int>()));
/external/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/
H A Dset_difference.pass.cpp33 const int sb = sizeof(ib)/sizeof(ib[0]); local
38 Iter2(ib), Iter2(ib+sb), OutIter(ic));
43 ce = std::set_difference(Iter1(ib), Iter1(ib+sb),
H A Dset_difference_comp.pass.cpp35 const int sb = sizeof(ib)/sizeof(ib[0]); local
40 Iter2(ib), Iter2(ib+sb), OutIter(ic), std::less<int>());
45 ce = std::set_difference(Iter1(ib), Iter1(ib+sb),
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
H A Dbasic_ios.pass.cpp64 testbuf<char> sb; local
65 std::ostream os(&sb);
H A Dostream.pass.cpp64 testbuf<char> sb; local
65 std::ostream os(&sb);
67 assert(sb.str() == "testing...");
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dpointer.pass.cpp85 testbuf<char> sb; local
86 std::ostream os(&sb);
87 const void* n = &sb;
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.manip/
H A Dendl.pass.cpp65 testbuf<char> sb; local
66 std::ostream os(&sb);
68 assert(sb.str() == "\n");
73 testbuf<wchar_t> sb; local
74 std::wostream os(&sb);
76 assert(sb.str() == L"\n");
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
H A Dimbue.pass.cpp90 testbuf sb; local
91 std::ios ios(&sb);
98 assert(sb.getloc().name() == std::string(LOCALE_en_US_UTF_8));
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Doverflow.pass.cpp31 explicit test_buf(std::streambuf* sb) : base(sb) {} argument
H A Dpbackfail.pass.cpp31 explicit test_buf(std::streambuf* sb) : base(sb) {} argument
H A Dunderflow.pass.cpp31 explicit test_buf(std::streambuf* sb) : base(sb) {} argument
/external/libmtp/examples/
H A Dsendfile.c52 struct stat sb; local
57 if ( stat(from_path, &sb) == -1 ) {
63 filesize = sb.st_size;
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/
H A DDebugServer.java53 private void listItem(StringBuilder sb, Map.Entry<String, ? extends Object> entry) { argument
54 sb.append("<li><code><b>").append(entry.getKey()).append("</b> = ").append(entry.getValue()).append("</code></li>");
61 StringBuilder sb = new StringBuilder();
62 sb.append("<html>");
63 sb.append("<head><title>Debug Server</title></head>");
64 sb.append("<body>");
65 sb.append("<h1>Debug Server</h1>");
67 sb.append("<p><blockquote><b>URI</b> = ").append(String.valueOf(session.getUri())).append("<br />");
69 sb.append("<b>Method</b> = ").append(String.valueOf(session.getMethod())).append("</blockquote></p>");
71 sb
[all...]
/external/pdfium/fxbarcode/datamatrix/
H A DBC_X12Encoder.cpp82 int32_t CBC_X12Encoder::encodeChar(wchar_t c, WideString& sb, int32_t& e) { argument
84 sb += (wchar_t)'\0';
86 sb += (wchar_t)'\1';
88 sb += (wchar_t)'\2';
90 sb += (wchar_t)'\3';
92 sb += (wchar_t)(c - 48 + 4);
94 sb += (wchar_t)(c - 65 + 14);
/external/squashfs-tools/kernel/fs/squashfs/
H A Dfragment.c50 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, argument
53 struct squashfs_sb_info *msblk = sb->s_fs_info;
60 size = squashfs_read_metadata(sb, &fragment_entry, &start_block,
75 __le64 *squashfs_read_fragment_index_table(struct super_block *sb, argument
89 err = squashfs_read_table(sb, fragment_index, fragment_table_start,
H A Did.c47 int squashfs_get_id(struct super_block *sb, unsigned int index, argument
50 struct squashfs_sb_info *msblk = sb->s_fs_info;
57 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset,
70 __le64 *squashfs_read_id_index_table(struct super_block *sb, argument
86 err = squashfs_read_table(sb, id_table, id_table_start, length);
H A Dsymlink.c49 struct super_block *sb = inode->i_sb; local
50 struct squashfs_sb_info *msblk = sb->s_fs_info;
66 bytes = squashfs_read_metadata(sb, NULL, &block, &offset,
84 entry = squashfs_cache_get(sb, msblk->block_cache, block, 0);
/external/strace/
H A Dipc_sem.c50 const struct sembuf *sb = elem_buf; local
52 tprintf("{%u, %d, ", sb->sem_num, sb->sem_op);
53 printflags(semop_flags, (unsigned short) sb->sem_flg, "SEM_???");
65 struct sembuf sb; local
66 print_array(tcp, addr, count, &sb, sizeof(sb),
/external/strace/tests/
H A Dnlattr_tc_stats.c85 static const struct gnet_stats_basic sb = { local
90 memcpy(buf, &sb, sizeof(buf));
94 PRINT_FIELD_U("{", sb, bytes);
95 PRINT_FIELD_U(", ", sb, packets);
/external/strace/tests-m32/
H A Dnlattr_tc_stats.c85 static const struct gnet_stats_basic sb = { local
90 memcpy(buf, &sb, sizeof(buf));
94 PRINT_FIELD_U("{", sb, bytes);
95 PRINT_FIELD_U(", ", sb, packets);

Completed in 605 milliseconds

1234567891011>>