/external/perfetto/src/trace_processor/containers/ |
D | nullable_vector_unittest.cc | 26 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/ |
D | Makefile.am | 29 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/libcxx/test/std/strings/string.view/string_view.literals/ |
D | literal.pass.cpp | 31 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/ |
D | etnaviv_texture_state.c | 154 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 …]
|
D | etnaviv_texture_desc.c | 130 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/autotest/site_utils/ |
D | stable_version_classify_unittest.py | 10 from autotest_lib.site_utils import stable_version_classify as sv unknown 19 sv.classify_board('xxx-board', _config_override=fc), 20 sv.FROM_AFE, 23 sv.classify_model('xxx-model', _config_override=fc), 24 sv.FROM_AFE 30 sv.classify_board('xxx-board', _config_override=fc), 31 sv.FROM_AFE, 34 sv.classify_model('xxx-model', _config_override=fc), 35 sv.FROM_AFE 41 sv.classify_board('xxx-board', _config_override=fc), [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | supervisor_test.py | 101 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("") as sess: 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/ |
D | genserv.sh | 32 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/ |
D | svga_sampler_view.c | 47 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/libcxx/test/std/strings/basic.string/string.cons/ |
D | string_view_deduction.pass.cpp | 45 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 …]
|
D | string_view.pass.cpp | 26 test(std::basic_string_view<charT> sv) in test() argument 32 S s2(sv); in test() 34 assert(s2.size() == sv.size()); in test() 35 assert(T::compare(s2.data(), sv.data(), sv.size()) == 0); in test() 41 s2 = sv; in test() 43 assert(s2.size() == sv.size()); in test() 44 assert(T::compare(s2.data(), sv.data(), sv.size()) == 0); in test() 52 test(std::basic_string_view<charT> sv, const A& a) in test() argument 57 S s2(sv, a); in test() 59 assert(s2.size() == sv.size()); in test() [all …]
|
/external/mesa3d/prebuilt-intermediates/xmlpool/ |
D | options.h | 63 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/ |
D | so_peercred.c | 98 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 …]
|
D | erestartsys.c | 38 static int sv[2]; variable 43 close(sv[1]); in handler() 44 sv[1] = -1; in handler() 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 70 if (recvfrom(sv[0], &sv[1], sizeof(sv[1]), 0, NULL, NULL)) in main() 75 sv[0], &sv[1], (int) sizeof(sv[1])); in main() 77 sv[0], (int) sizeof(sv[1])); in main()
|
/external/strace/tests-mx32/ |
D | so_peercred.c | 98 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 …]
|
D | erestartsys.c | 38 static int sv[2]; variable 43 close(sv[1]); in handler() 44 sv[1] = -1; in handler() 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 70 if (recvfrom(sv[0], &sv[1], sizeof(sv[1]), 0, NULL, NULL)) in main() 75 sv[0], &sv[1], (int) sizeof(sv[1])); in main() 77 sv[0], (int) sizeof(sv[1])); in main()
|
/external/strace/tests-m32/ |
D | so_peercred.c | 98 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 …]
|
D | erestartsys.c | 38 static int sv[2]; variable 43 close(sv[1]); in handler() 44 sv[1] = -1; in handler() 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 70 if (recvfrom(sv[0], &sv[1], sizeof(sv[1]), 0, NULL, NULL)) in main() 75 sv[0], &sv[1], (int) sizeof(sv[1])); in main() 77 sv[0], (int) sizeof(sv[1])); in main()
|
/external/libaom/libaom/aom_dsp/ |
D | ssim.c | 211 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/ |
D | ssim.c | 218 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/libcxx/test/std/strings/string.view/string.view.nonmem/ |
D | quoted.pass.cpp | 36 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/ |
D | T_size_size.pass.cpp | 25 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/grpc-grpc/test/core/iomgr/ |
D | fd_posix_test.cc | 98 static void server_init(server* sv) { in server_init() argument 99 sv->read_bytes_total = 0; in server_init() 100 sv->done = 0; in server_init() 106 server* sv; /* not owned by a single session */ member 117 server* sv = se->sv; in session_shutdown_cb() local 121 grpc_fd_shutdown(sv->em_fd, in session_shutdown_cb() 143 se->sv->read_bytes_total += read_total; in session_read_cb() 172 server* sv = static_cast<server*>(arg); in listen_shutdown_cb() local 174 grpc_fd_orphan(sv->em_fd, nullptr, nullptr, "b"); in listen_shutdown_cb() 177 sv->done = 1; in listen_shutdown_cb() [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | endpoint_pair_posix.cc | 41 static void create_sockets(int sv[2]) { in create_sockets() 43 grpc_create_socketpair_if_unix(sv); in create_sockets() 44 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets() 45 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 46 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets() 47 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 48 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[0]) == GRPC_ERROR_NONE); in create_sockets() 49 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[1]) == GRPC_ERROR_NONE); in create_sockets() 54 int sv[2]; in grpc_iomgr_create_endpoint_pair() local 57 create_sockets(sv); in grpc_iomgr_create_endpoint_pair() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
D | T_size_size.pass.cpp | 24 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.assign(sv, pos, n); in test() 37 s.assign(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.assign(sv, pos); in test_npos() 63 s.assign(sv, pos); in test_npos() 68 assert(pos > sv.size()); in test_npos() [all …]
|