Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 25 of 912) sorted by relevance

12345678910>>...37

/external/pigweed/pw_tokenizer/pw_tokenizer_private/
Dvarint_decoding_test_data.h32 TestCase("%d", "0", "%u", "0", "\x00"sv),
33 TestCase("%d", "-32768", "%u", "4294934528", "\xff\xff\x03"sv),
34 TestCase("%d", "-32767", "%u", "4294934529", "\xfd\xff\x03"sv),
35 TestCase("%d", "32766", "%u", "32766", "\xfc\xff\x03"sv),
36 TestCase("%d", "32767", "%u", "32767", "\xfe\xff\x03"sv),
37 TestCase("%d", "-2147483648", "%u", "2147483648", "\xff\xff\xff\xff\x0f"sv),
38 TestCase("%d", "-2147483647", "%u", "2147483649", "\xfd\xff\xff\xff\x0f"sv),
39 TestCase("%d", "2147483646", "%u", "2147483646", "\xfc\xff\xff\xff\x0f"sv),
40 TestCase("%d", "2147483647", "%u", "2147483647", "\xfe\xff\xff\xff\x0f"sv),
41 …9223372036854775808", "%llu", "9223372036854775808", "\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01"sv),
[all …]
Dtokenized_string_decoding_test_data.h32 TestCase("%s", "SFO", "\x03\x53\x46\x4f"sv),
33 TestCase("%s", "KSJC", "\x04\x4b\x53\x4a\x43"sv),
34 TestCase("%s", "", "\x00"sv),
35 TestCase("%5s%s", " nofun", "\x02\x6e\x6f\x03\x66\x75\x6e"sv),
36 TestCase("%5s%s", "abcdef", "\x06\x61\x62\x63\x64\x65\x66\x00"sv),
37 TestCase("%5s%s", " abcdef", "\x00\x06\x61\x62\x63\x64\x65\x66"sv),
38 …74\x65\x6c\x05\x38\x30\x35\x38\x36\x07\x74\x6f\x61\x73\x74\x65\x72\x01\x20\x04\x6f\x76\x65\x6e"sv),
39 …61\x74\x69\x63\x07\x20\x70\x65\x6e\x63\x69\x6c\x01\x20\x09\x73\x68\x61\x72\x70\x65\x6e\x65\x72"sv),
42 TestCase("%s-%s", "so-", "\x02\x73\x6f\x00"sv),
43 TestCase("%s-%s", "-cool", "\x00\x04\x63\x6f\x6f\x6c"sv),
[all …]
/external/perfetto/src/trace_processor/containers/
Dnullable_vector_unittest.cc26 NullableVector<int64_t> sv; in TEST() local
27 sv.Append(10); in TEST()
28 sv.Append(20); in TEST()
29 sv.AppendNull(); in TEST()
30 sv.Append(40); in TEST()
32 ASSERT_FALSE(sv.IsDense()); in TEST()
33 ASSERT_EQ(sv.size(), 4u); in TEST()
34 ASSERT_EQ(sv.Get(0), base::Optional<int64_t>(10)); in TEST()
35 ASSERT_EQ(sv.Get(1), base::Optional<int64_t>(20)); in TEST()
36 ASSERT_EQ(sv.Get(2), base::nullopt); in TEST()
[all …]
/external/curl/tests/certs/
DMakefile.am29 Server-localhost-sv.prm \
30 Server-localhost.nn-sv.prm \
31 Server-localhost0h-sv.prm
39 Server-localhost-sv.crl \
40 Server-localhost-sv.crt \
41 Server-localhost-sv.csr \
42 Server-localhost-sv.der \
43 Server-localhost-sv.dhp \
44 Server-localhost-sv.key \
45 Server-localhost-sv.pem \
[all …]
/external/pigweed/pw_tokenizer/
Ddetokenize_test.cc51 EXPECT_EQ(detok_.Detokenize("\1\0\0\0"sv).BestString(), "One"); in TEST_F()
52 EXPECT_EQ(detok_.Detokenize("\5\0\0\0"sv).BestString(), "TWO"); in TEST_F()
53 EXPECT_EQ(detok_.Detokenize("\xff\x00\x00\x00"sv).BestString(), "333"); in TEST_F()
54 EXPECT_EQ(detok_.Detokenize("\xff\xee\xee\xdd"sv).BestString(), "FOUR"); in TEST_F()
61 EXPECT_TRUE(detok_.Detokenize("\1\0"sv).BestString().empty()); in TEST_F()
62 EXPECT_TRUE(detok_.Detokenize("\1\0\0"sv).BestString().empty()); in TEST_F()
63 EXPECT_TRUE(detok_.Detokenize("\0\0\0"sv).BestString().empty()); in TEST_F()
67 EXPECT_FALSE(detok_.Detokenize("\0\0\0\0"sv).ok()); in TEST_F()
68 EXPECT_TRUE(detok_.Detokenize("\0\0\0\0"sv).BestString().empty()); in TEST_F()
69 EXPECT_TRUE(detok_.Detokenize("\2\0\0\0"sv).BestString().empty()); in TEST_F()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.view/string_view.literals/
Dliteral.pass.cpp29 static_assert ( std::is_same<decltype( "Hi"sv), std::string_view>::value, "" ); in main()
30 static_assert ( std::is_same<decltype( u8"Hi"sv), u8string_view>::value, "" ); in main()
31 static_assert ( std::is_same<decltype( L"Hi"sv), std::wstring_view>::value, "" ); in main()
32 static_assert ( std::is_same<decltype( u"Hi"sv), std::u16string_view>::value, "" ); in main()
33 static_assert ( std::is_same<decltype( U"Hi"sv), std::u32string_view>::value, "" ); in main()
42 foo = ""sv; assert( foo.size() == 0); in main()
43 u8foo = u8""sv; assert(u8foo.size() == 0); in main()
44 Lfoo = L""sv; assert( Lfoo.size() == 0); in main()
45 ufoo = u""sv; assert( ufoo.size() == 0); in main()
46 Ufoo = U""sv; assert( Ufoo.size() == 0); in main()
[all …]
/external/libcxx/test/std/strings/string.view/string_view.literals/
Dliteral.pass.cpp31 static_assert ( std::is_same<decltype( "Hi"sv), std::string_view>::value, "" ); in main()
32 static_assert ( std::is_same<decltype( u8"Hi"sv), u8string_view>::value, "" ); in main()
33 static_assert ( std::is_same<decltype( L"Hi"sv), std::wstring_view>::value, "" ); in main()
34 static_assert ( std::is_same<decltype( u"Hi"sv), std::u16string_view>::value, "" ); in main()
35 static_assert ( std::is_same<decltype( U"Hi"sv), std::u32string_view>::value, "" ); in main()
44 foo = ""sv; assert( foo.size() == 0); in main()
45 u8foo = u8""sv; assert(u8foo.size() == 0); in main()
46 Lfoo = L""sv; assert( Lfoo.size() == 0); in main()
47 ufoo = u""sv; assert( ufoo.size() == 0); in main()
48 Ufoo = U""sv; assert( Ufoo.size() == 0); in main()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c154 struct etna_sampler_view *sv = CALLOC_STRUCT(etna_sampler_view); in etna_create_sampler_view_state() local
165 if (!sv) in etna_create_sampler_view_state()
170 free(sv); in etna_create_sampler_view_state()
174 sv->base = *so; in etna_create_sampler_view_state()
175 pipe_reference_init(&sv->base.reference, 1); in etna_create_sampler_view_state()
176 sv->base.texture = NULL; in etna_create_sampler_view_state()
177 pipe_resource_reference(&sv->base.texture, prsc); in etna_create_sampler_view_state()
178 sv->base.context = pctx; in etna_create_sampler_view_state()
181 sv->TE_SAMPLER_CONFIG0 = in etna_create_sampler_view_state()
182 VIVS_TE_SAMPLER_CONFIG0_TYPE(translate_texture_target(sv->base.target)) | in etna_create_sampler_view_state()
[all …]
Detnaviv_texture_desc.c130 struct etna_sampler_view_desc *sv = CALLOC_STRUCT(etna_sampler_view_desc); in etna_create_sampler_view_desc() local
139 if (!sv) in etna_create_sampler_view_desc()
144 free(sv); in etna_create_sampler_view_desc()
148 sv->base = *so; in etna_create_sampler_view_desc()
149 pipe_reference_init(&sv->base.reference, 1); in etna_create_sampler_view_desc()
150 sv->base.texture = NULL; in etna_create_sampler_view_desc()
151 pipe_resource_reference(&sv->base.texture, prsc); in etna_create_sampler_view_desc()
152 sv->base.context = pctx; in etna_create_sampler_view_desc()
155 uint32_t target_hw = translate_texture_target(sv->base.target); in etna_create_sampler_view_desc()
158 free(sv); in etna_create_sampler_view_desc()
[all …]
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py101 sv = supervisor.Supervisor(logdir=logdir)
102 sess = sv.prepare_or_wait_for_session("")
106 sv.stop()
112 sv = supervisor.Supervisor(logdir=logdir)
113 with sv.managed_session(""):
117 self.assertTrue(sv.should_stop())
123 sv = supervisor.Supervisor(logdir=logdir)
126 with sv.managed_session("") as sess:
134 self.assertTrue(sv.should_stop())
141 sv = supervisor.Supervisor(logdir=logdir)
[all …]
/external/curl/tests/certs/scripts/
Dgenserv.sh32 if [ ! -f $PREFIX-sv.prm ] ; then
33 echo No configuration file $PREFIX-sv.prm
68 $OPENSSL dhparam -2 -out $PREFIX-sv.dhp $KEYSIZE
73 …$OPENSSL req -config $PREFIX-sv.prm -newkey rsa:$KEYSIZE -keyout $PREFIX-sv.key -out $PREFIX-sv.cs…
77 $OPENSSL rsa -in $PREFIX-sv.key -out $PREFIX-sv.key -passin pass:secret
81 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform DER -out $PREFIX-sv.pub.der
84 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform PEM -out $PREFIX-sv.pub.pem
88 …FIX-sv.prm -days $DURATION -CA $CAPREFIX-ca.cacert -CAkey $CAPREFIX-ca.key -in $PREFIX-sv.csr -re…
94 …NSSL pkcs12 -export -des3 -out $PREFIX-sv.p12 -caname $CAPREFIX -name $PREFIX -inkey $PREFIX-sv.ke…
98 $OPENSSL x509 -noout -text -hash -in $PREFIX-sv.crt -nameopt multiline
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_sampler_view.c47 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv) in svga_debug_describe_sampler_view() argument
50 debug_describe_resource(res, sv->texture); in svga_debug_describe_sampler_view()
52 res, sv->min_lod, sv->max_lod); in svga_debug_describe_sampler_view()
64 struct svga_sampler_view *sv = NULL; in svga_get_tex_sampler_view() local
98 svga_sampler_view_reference(&sv, tex->cached_view); in svga_get_tex_sampler_view()
102 svga_validate_sampler_view(svga_context(pipe), sv); in svga_get_tex_sampler_view()
103 return sv; in svga_get_tex_sampler_view()
108 sv = CALLOC_STRUCT(svga_sampler_view); in svga_get_tex_sampler_view()
109 if (!sv) in svga_get_tex_sampler_view()
112 pipe_reference_init(&sv->reference, 1); in svga_get_tex_sampler_view()
[all …]
/external/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
Dstring_view_deduction.pass.cpp44 std::string_view sv = "12345678901234"; in main() local
45 std::basic_string s1(sv); in main()
50 assert(s1.size() == sv.size()); in main()
51 assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0); in main()
55 std::string_view sv = "12345678901234"; in main() local
56 std::basic_string s1{sv, std::allocator<char>{}}; in main()
61 assert(s1.size() == sv.size()); in main()
62 assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0); in main()
65 std::wstring_view sv = L"12345678901234"; in main() local
66 std::basic_string s1{sv, test_allocator<wchar_t>{}}; in main()
[all …]
/external/libcxx/test/std/strings/basic.string/string.cons/
Dstring_view_deduction.pass.cpp45 std::string_view sv = "12345678901234"; in main() local
46 std::basic_string s1(sv); in main()
51 assert(s1.size() == sv.size()); in main()
52 assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0); in main()
56 std::string_view sv = "12345678901234"; in main() local
57 std::basic_string s1{sv, std::allocator<char>{}}; in main()
62 assert(s1.size() == sv.size()); in main()
63 assert(s1.compare(0, s1.size(), sv.data(), s1.size()) == 0); in main()
66 std::wstring_view sv = L"12345678901234"; in main() local
67 std::basic_string s1{sv, test_allocator<wchar_t>{}}; in main()
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_os.h453 #define KMP_COMPARE_AND_STORE_RET32(p, cv, sv) \
454 InterlockedCompareExchange((volatile long *)(p), (long)(sv), (long)(cv))
478 kmp_int8 sv);
480 kmp_int16 sv);
482 kmp_int32 sv);
484 kmp_int64 sv);
486 kmp_int8 sv);
488 kmp_int16 cv, kmp_int16 sv);
490 kmp_int32 cv, kmp_int32 sv);
492 kmp_int64 cv, kmp_int64 sv);
[all …]
/external/mesa3d/prebuilt-intermediates/xmlpool/
Doptions.h63 DRI_CONF_DESC(sv,"Felsökning")
72 DRI_CONF_DESC(sv,"Enable flushing batchbuffer after each draw call") \
82 DRI_CONF_DESC(sv,"Enable flushing GPU caches with each draw call") \
92 DRI_CONF_DESC(sv,"Disable throttling on first batch after flush") \
102 DRI_CONF_DESC(sv,"Force GLSL extension default behavior to 'warn'") \
112 DRI_CONF_DESC(sv,"Disable dual source blending") \
127 DRI_CONF_DESC(sv,"Identify dual color blending sources by location rather than index") \
137 DRI_CONF_DESC(sv,"Disable backslash-based line continuations in GLSL source") \
147 … DRI_CONF_DESC(sv,"Force a default GLSL version for shaders that lack an explicit #version line") \
157 DRI_CONF_DESC(sv,"Allow GLSL #extension directives in the middle of shaders") \
[all …]
/external/strace/tests-m32/
Dso_peercred.c98 int sv[2]; in main() local
99 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
104 get_peercred(sv[0], peercred, len); in main()
105 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
113 get_peercred(sv[0], peercred, len); in main()
115 sv[0], so_str(), peercred, errstr); in main()
119 get_peercred(sv[0], peercred, len); in main()
120 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
132 get_peercred(sv[0], pid_truncated, len); in main()
133 printf("getsockopt(%d, %s, {pid=", sv[0], so_str()); in main()
[all …]
/external/strace/tests/
Dso_peercred.c98 int sv[2]; in main() local
99 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
104 get_peercred(sv[0], peercred, len); in main()
105 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
113 get_peercred(sv[0], peercred, len); in main()
115 sv[0], so_str(), peercred, errstr); in main()
119 get_peercred(sv[0], peercred, len); in main()
120 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
132 get_peercred(sv[0], pid_truncated, len); in main()
133 printf("getsockopt(%d, %s, {pid=", sv[0], so_str()); in main()
[all …]
/external/strace/tests-mx32/
Dso_peercred.c98 int sv[2]; in main() local
99 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
104 get_peercred(sv[0], peercred, len); in main()
105 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
113 get_peercred(sv[0], peercred, len); in main()
115 sv[0], so_str(), peercred, errstr); in main()
119 get_peercred(sv[0], peercred, len); in main()
120 printf("getsockopt(%d, %s", sv[0], so_str()); in main()
132 get_peercred(sv[0], pid_truncated, len); in main()
133 printf("getsockopt(%d, %s, {pid=", sv[0], so_str()); in main()
[all …]
/external/libaom/libaom/aom_dsp/
Dssim.c211 static double ssimv_similarity(const Ssimv *sv, int64_t n) { in ssimv_similarity() argument
216 const double l = 1.0 * (2 * sv->sum_s * sv->sum_r + c1) / in ssimv_similarity()
217 (sv->sum_s * sv->sum_s + sv->sum_r * sv->sum_r + c1); in ssimv_similarity()
221 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity()
222 (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + in ssimv_similarity()
223 n * sv->sum_sq_r - sv->sum_r * sv->sum_r + c2); in ssimv_similarity()
242 static double ssimv_similarity2(const Ssimv *sv, int64_t n) { in ssimv_similarity2() argument
247 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2()
252 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity2()
253 (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + in ssimv_similarity2()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dssim.c218 static double ssimv_similarity(const Ssimv *sv, int64_t n) { in ssimv_similarity() argument
223 const double l = 1.0 * (2 * sv->sum_s * sv->sum_r + c1) / in ssimv_similarity()
224 (sv->sum_s * sv->sum_s + sv->sum_r * sv->sum_r + c1); in ssimv_similarity()
228 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity()
229 (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + in ssimv_similarity()
230 n * sv->sum_sq_r - sv->sum_r * sv->sum_r + c2); in ssimv_similarity()
249 static double ssimv_similarity2(const Ssimv *sv, int64_t n) { in ssimv_similarity2() argument
254 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2()
259 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity2()
260 (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + in ssimv_similarity2()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp35 std::string_view sv {p}; in round_trip() local
37 ss << std::quoted(sv); in round_trip()
40 assert ( s == sv ); in round_trip()
48 std::string_view sv {p}; in round_trip_ws() local
50 ss << std::quoted(sv); in round_trip_ws()
53 assert ( s == sv ); in round_trip_ws()
59 std::string_view sv {p}; in round_trip_d() local
61 ss << std::quoted(sv, delim); in round_trip_d()
64 assert ( s == sv ); in round_trip_d()
69 std::string_view sv {p}; in round_trip_e() local
[all …]
/external/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp36 std::string_view sv {p}; in round_trip() local
38 ss << std::quoted(sv); in round_trip()
41 assert ( s == sv ); in round_trip()
49 std::string_view sv {p}; in round_trip_ws() local
51 ss << std::quoted(sv); in round_trip_ws()
54 assert ( s == sv ); in round_trip_ws()
60 std::string_view sv {p}; in round_trip_d() local
62 ss << std::quoted(sv, delim); in round_trip_d()
65 assert ( s == sv ); in round_trip_d()
70 std::string_view sv {p}; in round_trip_e() local
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
DT_size_size.pass.cpp25 test(S s, SV sv, typename S::size_type pos, typename S::size_type n, S expected) in test() argument
27 if (pos <= sv.size()) in test()
29 s.append(sv, pos, n); in test()
38 s.append(sv, pos, n); in test()
43 assert(pos > sv.size()); in test()
51 test_npos(S s, SV sv, typename S::size_type pos, S expected) in test_npos() argument
53 if (pos <= sv.size()) in test_npos()
55 s.append(sv, pos); in test_npos()
64 s.append(sv, pos); in test_npos()
69 assert(pos > sv.size()); in test_npos()
[all …]
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
DT_size_size.pass.cpp24 test(S s, SV sv, typename S::size_type pos, typename S::size_type n, S expected) in test() argument
26 if (pos <= sv.size()) in test()
28 s.append(sv, pos, n); in test()
37 s.append(sv, pos, n); in test()
42 assert(pos > sv.size()); in test()
50 test_npos(S s, SV sv, typename S::size_type pos, S expected) in test_npos() argument
52 if (pos <= sv.size()) in test_npos()
54 s.append(sv, pos); in test_npos()
63 s.append(sv, pos); in test_npos()
68 assert(pos > sv.size()); in test_npos()
[all …]

12345678910>>...37