Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 2310) sorted by relevance

12345678910>>...93

/external/perfetto/src/base/
Dstring_splitter_unittest.cc31 StringSplitter ss("", 'x'); in TEST() local
32 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
33 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
34 EXPECT_FALSE(ss.Next()); in TEST()
35 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
36 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
39 StringSplitter ss(std::string(), 'x'); in TEST() local
40 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
41 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
42 EXPECT_FALSE(ss.Next()); in TEST()
[all …]
/external/icu/icu4c/source/data/zone/
DtzdbNames.txt16 ss{"ACT"}
20 ss{"AFT"}
24 ss{"CAT"}
28 ss{"EAT"}
31 ss{"WAT"}
35 ss{"SAST"}
39 ss{"WAT"}
43 ss{"AKTT"}
47 ss{"AKST"}
51 ss{"AHST"}
[all …]
/external/webrtc/webrtc/
Dconfig.cc17 std::stringstream ss; in ToString() local
18 ss << "{ulpfec_payload_type: " << ulpfec_payload_type; in ToString()
19 ss << ", red_payload_type: " << red_payload_type; in ToString()
20 ss << '}'; in ToString()
21 return ss.str(); in ToString()
25 std::stringstream ss; in ToString() local
26 ss << "{name: " << name; in ToString()
27 ss << ", id: " << id; in ToString()
28 ss << '}'; in ToString()
29 return ss.str(); in ToString()
[all …]
/external/u-boot/drivers/spi/
Dsh_spi.c43 static void clear_fifo(struct sh_spi *ss) in clear_fifo() argument
45 sh_spi_set_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo()
46 sh_spi_clear_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo()
49 static int recvbuf_wait(struct sh_spi *ss) in recvbuf_wait() argument
51 while (sh_spi_read(&ss->regs->cr1) & SH_SPI_RBE) { in recvbuf_wait()
59 static int write_fifo_empty_wait(struct sh_spi *ss) in write_fifo_empty_wait() argument
61 while (!(sh_spi_read(&ss->regs->cr1) & SH_SPI_TBE)) { in write_fifo_empty_wait()
69 static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs) in sh_spi_set_cs() argument
78 sh_spi_clear_bit(SH_SPI_SSS0 | SH_SPI_SSS1, &ss->regs->cr4); in sh_spi_set_cs()
79 sh_spi_set_bit(val, &ss->regs->cr4); in sh_spi_set_cs()
[all …]
Dsh_qspi.c76 static void sh_qspi_init(struct sh_qspi_slave *ss) in sh_qspi_init() argument
80 writeb(SPCR_MSTR, &ss->regs->spcr); in sh_qspi_init()
83 writeb(0x00, &ss->regs->sslp); in sh_qspi_init()
86 writeb(SPPCR_IO3FV|SPPCR_IO2FV, &ss->regs->sppcr); in sh_qspi_init()
89 writeb(0x01, &ss->regs->spbr); in sh_qspi_init()
92 writeb(0x00, &ss->regs->spdcr); in sh_qspi_init()
95 writeb(0x00, &ss->regs->spckd); in sh_qspi_init()
98 writeb(0x00, &ss->regs->sslnd); in sh_qspi_init()
101 writeb(0x00, &ss->regs->spnd); in sh_qspi_init()
104 writew(SPCMD_INIT2, &ss->regs->spcmd0); in sh_qspi_init()
[all …]
/external/libcxx/test/std/input.output/string.streams/stringstream.members/
Dstr.pass.cpp23 std::stringstream ss(" 123 456 "); in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == " 123 456 "); in main()
28 ss >> i; in main()
30 ss >> i; in main()
32 ss << i << ' ' << 123; in main()
33 assert(ss.str() == "456 1236 "); in main()
34 ss.str("5466 89 "); in main()
35 ss >> i; in main()
[all …]
/external/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.members/
Dstr.pass.cpp23 std::ostringstream ss(" 123 456"); in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == " 123 456"); in main()
28 ss << i; in main()
29 assert(ss.str() == "0123 456"); in main()
30 ss << 456; in main()
31 assert(ss.str() == "0456 456"); in main()
32 ss.str(" 789"); in main()
33 assert(ss.str() == " 789"); in main()
[all …]
/external/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/
Dstring.pass.cpp24 std::ostringstream ss(" 123 456"); in main() local
25 assert(ss.rdbuf() != 0); in main()
26 assert(ss.good()); in main()
27 assert(ss.str() == " 123 456"); in main()
29 ss << i << ' ' << 567; in main()
30 assert(ss.str() == "234 5676"); in main()
33 std::ostringstream ss(" 123 456", std::ios_base::in); in main() local
34 assert(ss.rdbuf() != 0); in main()
35 assert(ss.good()); in main()
36 assert(ss.str() == " 123 456"); in main()
[all …]
Ddefault.pass.cpp23 std::ostringstream ss; in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == ""); in main()
29 std::ostringstream ss(std::ios_base::out); in main() local
30 assert(ss.rdbuf() != 0); in main()
31 assert(ss.good()); in main()
32 assert(ss.str() == ""); in main()
35 std::wostringstream ss; in main() local
36 assert(ss.rdbuf() != 0); in main()
[all …]
/external/libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/
Dstring.pass.cpp24 std::istringstream ss(" 123 456"); in main() local
25 assert(ss.rdbuf() != 0); in main()
26 assert(ss.good()); in main()
27 assert(ss.str() == " 123 456"); in main()
29 ss >> i; in main()
31 ss >> i; in main()
35 std::istringstream ss(" 123 456", std::ios_base::out); in main() local
36 assert(ss.rdbuf() != 0); in main()
37 assert(ss.good()); in main()
38 assert(ss.str() == " 123 456"); in main()
[all …]
Ddefault.pass.cpp23 std::istringstream ss; in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == ""); in main()
29 std::istringstream ss(std::ios_base::in); in main() local
30 assert(ss.rdbuf() != 0); in main()
31 assert(ss.good()); in main()
32 assert(ss.str() == ""); in main()
35 std::wistringstream ss; in main() local
36 assert(ss.rdbuf() != 0); in main()
[all …]
/external/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp34 std::stringstream ss; in round_trip() local
35 bool skippingws = is_skipws ( &ss ); in round_trip()
38 ss << std::quoted(sv); in round_trip()
40 ss >> std::quoted(s); in round_trip()
42 assert ( skippingws == is_skipws ( &ss )); in round_trip()
46 std::stringstream ss; in round_trip_ws() local
47 std::noskipws ( ss ); in round_trip_ws()
48 bool skippingws = is_skipws ( &ss ); in round_trip_ws()
51 ss << std::quoted(sv); in round_trip_ws()
53 ss >> std::quoted(s); in round_trip_ws()
[all …]
/external/libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/
Dstr.pass.cpp23 std::istringstream ss(" 123 456"); in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == " 123 456"); in main()
28 ss >> i; in main()
30 ss >> i; in main()
32 ss.str(" 789"); in main()
33 ss.clear(); in main()
34 assert(ss.good()); in main()
35 assert(ss.str() == " 789"); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/x86/
Dmov_ss_trap.c47 unsigned short ss; variable
67 dr0 = (unsigned long)&ss; in enable_watchpoint()
148 asm volatile ("mov %%ss, %[ss]" : [ss] "=m" (ss)); in main()
149 printf("\tSS = 0x%hx, &SS = 0x%p\n", ss, &ss); in main()
159 asm volatile ("mov %[ss], %[tmp]" : [tmp] "=r" (nr) : [ss] "m" (ss)); in main()
162 asm volatile ("mov %[ss], %%ss; int3" :: [ss] "m" (ss)); in main()
165 asm volatile ("mov %[ss], %%ss; .byte 0xcd, 0x3" :: [ss] "m" (ss)); in main()
168 asm volatile ("mov %[ss], %%ss; .byte 0x2e, 0x2e; int3" :: [ss] "m" (ss)); in main()
171 asm volatile ("mov %[ss], %%ss; .fill 14,1,0x2e; int3" :: [ss] "m" (ss)); in main()
175 asm volatile ("mov %[ss], %%ss; int $4" :: [ss] "m" (ss)); in main()
[all …]
/external/ppp/pppd/
Dchap-new.c121 static void chap_generate_challenge(struct chap_server_state *ss);
122 static void chap_handle_response(struct chap_server_state *ss, int code,
172 struct chap_server_state *ss = &server; in chap_lowerup() local
175 ss->flags |= LOWERUP; in chap_lowerup()
176 if (ss->flags & AUTH_STARTED) in chap_lowerup()
177 chap_timeout(ss); in chap_lowerup()
184 struct chap_server_state *ss = &server; in chap_lowerdown() local
187 if (ss->flags & TIMEOUT_PENDING) in chap_lowerdown()
188 UNTIMEOUT(chap_timeout, ss); in chap_lowerdown()
189 ss->flags = 0; in chap_lowerdown()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp89 std::ostringstream ss; in GenerateShaderCode() local
90 ss << R"( in GenerateShaderCode()
98 ss << capabilities_and_extensions; in GenerateShaderCode()
99 ss << "%extinst = OpExtInstImport \"GLSL.std.450\"\n"; in GenerateShaderCode()
100 ss << "OpMemoryModel Logical GLSL450\n"; in GenerateShaderCode()
101 ss << "OpEntryPoint " << execution_model << " %main \"main\"" in GenerateShaderCode()
114 ss << "OpExecutionMode %main OriginUpperLeft\n"; in GenerateShaderCode()
117 ss << R"( in GenerateShaderCode()
256 ss << body; in GenerateShaderCode()
258 ss << R"( in GenerateShaderCode()
[all …]
/external/libcxx/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/
Dmove.pass.cpp26 std::stringstream ss; in main() local
27 ss = std::move(ss0); in main()
28 assert(ss.rdbuf() != 0); in main()
29 assert(ss.good()); in main()
30 assert(ss.str() == " 123 456 "); in main()
32 ss >> i; in main()
34 ss >> i; in main()
36 ss << i << ' ' << 123; in main()
37 assert(ss.str() == "456 1236 "); in main()
41 std::wstringstream ss; in main() local
[all …]
Dmember_swap.pass.cpp24 std::stringstream ss; in main() local
25 ss.swap(ss0); in main()
26 assert(ss.rdbuf() != 0); in main()
27 assert(ss.good()); in main()
28 assert(ss.str() == " 123 456 "); in main()
30 ss >> i; in main()
32 ss >> i; in main()
34 ss << i << ' ' << 123; in main()
35 assert(ss.str() == "456 1236 "); in main()
41 std::wstringstream ss; in main() local
[all …]
Dnonmember_swap.pass.cpp27 std::stringstream ss; in main() local
28 swap(ss, ss0); in main()
29 assert(ss.rdbuf() != 0); in main()
30 assert(ss.good()); in main()
31 assert(ss.str() == " 123 456 "); in main()
33 ss >> i; in main()
35 ss >> i; in main()
37 ss << i << ' ' << 123; in main()
38 assert(ss.str() == "456 1236 "); in main()
44 std::wstringstream ss; in main() local
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.3/
Dmisc_utils.h69 std::stringstream &ss, struct rsn_pmksa_cache_entry *pmksa_entry) { in serializePmkCacheEntry() argument
70 ss.write((char *) &pmksa_entry->pmk_len, sizeof(pmksa_entry->pmk_len)); in serializePmkCacheEntry()
71 ss.write((char *) pmksa_entry->pmk, pmksa_entry->pmk_len); in serializePmkCacheEntry()
72 ss.write((char *) pmksa_entry->pmkid, PMKID_LEN); in serializePmkCacheEntry()
73 ss.write((char *) pmksa_entry->aa, ETH_ALEN); in serializePmkCacheEntry()
75 ss.write((char *) &pmksa_entry->akmp, sizeof(pmksa_entry->akmp)); in serializePmkCacheEntry()
76 ss.write((char *) &pmksa_entry->reauth_time, sizeof(pmksa_entry->reauth_time)); in serializePmkCacheEntry()
77 ss.write((char *) &pmksa_entry->expiration, sizeof(pmksa_entry->expiration)); in serializePmkCacheEntry()
78 ss.write((char *) &pmksa_entry->opportunistic, sizeof(pmksa_entry->opportunistic)); in serializePmkCacheEntry()
80 ss.write((char *) &byte, sizeof(byte)); in serializePmkCacheEntry()
[all …]
/external/libcxx/test/std/input.output/string.streams/stringstream.cons/
Ddefault.pass.cpp23 std::stringstream ss; in main() local
24 assert(ss.rdbuf() != 0); in main()
25 assert(ss.good()); in main()
26 assert(ss.str() == ""); in main()
29 std::stringstream ss(std::ios_base::in); in main() local
30 assert(ss.rdbuf() != 0); in main()
31 assert(ss.good()); in main()
32 assert(ss.str() == ""); in main()
35 std::wstringstream ss; in main() local
36 assert(ss.rdbuf() != 0); in main()
[all …]
Dmove.pass.cpp26 std::stringstream ss(std::move(ss0)); in main() local
27 assert(ss.rdbuf() != 0); in main()
28 assert(ss.good()); in main()
29 assert(ss.str() == " 123 456 "); in main()
31 ss >> i; in main()
33 ss >> i; in main()
35 ss << i << ' ' << 123; in main()
36 assert(ss.str() == "456 1236 "); in main()
40 std::wstringstream ss(std::move(ss0)); in main() local
41 assert(ss.rdbuf() != 0); in main()
[all …]
/external/igt-gpu-tools/lib/
Dgpu_cmds.c89 struct gen7_surface_state *ss; in gen7_fill_surface_state() local
100 ss = intel_batchbuffer_subdata_alloc(batch, sizeof(*ss), 64); in gen7_fill_surface_state()
101 offset = intel_batchbuffer_subdata_offset(batch, ss); in gen7_fill_surface_state()
103 ss->ss0.surface_type = SURFACE_2D; in gen7_fill_surface_state()
104 ss->ss0.surface_format = format; in gen7_fill_surface_state()
105 ss->ss0.render_cache_read_write = 1; in gen7_fill_surface_state()
108 ss->ss0.tiled_mode = 2; in gen7_fill_surface_state()
110 ss->ss0.tiled_mode = 3; in gen7_fill_surface_state()
112 ss->ss1.base_addr = buf->bo->offset; in gen7_fill_surface_state()
114 intel_batchbuffer_subdata_offset(batch, ss) + 4, in gen7_fill_surface_state()
[all …]
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/
Dquoted.pass.cpp33 std::basic_stringstream<CharT, Traits> ss; in both_ways() local
34 bool skippingws = is_skipws ( ss ); in both_ways()
36 ss << q; in both_ways()
37 ss >> q; in both_ways()
42 std::basic_stringstream<CharT, Traits> ss; in round_trip() local
43 bool skippingws = is_skipws ( ss ); in round_trip()
45 ss << std::quoted(p); in round_trip()
47 ss >> std::quoted(s); in round_trip()
49 assert ( skippingws == is_skipws ( ss )); in round_trip()
55 std::basic_stringstream<CharT, Traits> ss; in round_trip_ws() local
[all …]
/external/perfetto/src/profiling/
Ddeobfuscator.cc28 base::StringSplitter ss(std::move(line), ' '); in ParseClass() local
30 if (!ss.Next()) { in ParseClass()
34 std::string deobfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseClass()
36 if (!ss.Next() || ss.cur_token_size() != 2 || in ParseClass()
37 strncmp("->", ss.cur_token(), 2) != 0) { in ParseClass()
42 if (!ss.Next()) { in ParseClass()
46 std::string obfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseClass()
57 if (ss.Next()) { in ParseClass()
67 base::StringSplitter ss(std::move(line), ' '); in ParseMember() local
69 if (!ss.Next()) { in ParseMember()
[all …]

12345678910>>...93