/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 | 27 static_assert ( std::is_same<decltype( "Hi"sv), std::string_view>::value, "" ); in main() 28 static_assert ( std::is_same<decltype( u8"Hi"sv), std::string_view>::value, "" ); in main() 29 static_assert ( std::is_same<decltype( L"Hi"sv), std::wstring_view>::value, "" ); in main() 30 static_assert ( std::is_same<decltype( u"Hi"sv), std::u16string_view>::value, "" ); in main() 31 static_assert ( std::is_same<decltype( U"Hi"sv), std::u32string_view>::value, "" ); in main() 38 foo = ""sv; assert( foo.size() == 0); in main() 39 foo = u8""sv; assert( foo.size() == 0); in main() 40 Lfoo = L""sv; assert(Lfoo.size() == 0); in main() 41 ufoo = u""sv; assert(ufoo.size() == 0); in main() 42 Ufoo = U""sv; assert(Ufoo.size() == 0); in main() [all …]
|
/external/curl/tests/certs/scripts/ |
D | genserv.sh | 30 if [ ! -f $PREFIX-sv.prm ] ; then 31 echo No configuration file $PREFIX-sv.prm 66 $OPENSSL dhparam -2 -out $PREFIX-sv.dhp $KEYSIZE 71 …$OPENSSL req -config $PREFIX-sv.prm -newkey rsa:$KEYSIZE -keyout $PREFIX-sv.key -out $PREFIX-sv.cs… 75 $OPENSSL rsa -in $PREFIX-sv.key -out $PREFIX-sv.key -passin pass:secret 79 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform DER -out $PREFIX-sv.pub.der 82 $OPENSSL rsa -in $PREFIX-sv.key -pubout -outform PEM -out $PREFIX-sv.pub.pem 86 …PREFIX-sv.prm -days $DURATION -CA $CAPREFIX-ca.cacert -CAkey $CAPREFIX-ca.key -in $PREFIX-sv.csr … 92 …NSSL pkcs12 -export -des3 -out $PREFIX-sv.p12 -caname $CAPREFIX -name $PREFIX -inkey $PREFIX-sv.ke… 96 $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() 51 util_sprintf(buf, "svga_sampler_view<%s,[%u,%u]>", res, sv->min_lod, sv->max_lod); in svga_debug_describe_sampler_view() 62 struct svga_sampler_view *sv = NULL; in svga_get_tex_sampler_view() local 96 svga_sampler_view_reference(&sv, tex->cached_view); in svga_get_tex_sampler_view() 100 svga_validate_sampler_view(svga_context(pipe), sv); in svga_get_tex_sampler_view() 101 return sv; in svga_get_tex_sampler_view() 106 sv = CALLOC_STRUCT(svga_sampler_view); in svga_get_tex_sampler_view() 107 pipe_reference_init(&sv->reference, 1); in svga_get_tex_sampler_view() 112 sv->texture = pt; in svga_get_tex_sampler_view() [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/experimental/string.view/string.view.nonmem/ |
D | quoted.pass.cpp | 36 std::experimental::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::experimental::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::experimental::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::experimental::string_view sv {p}; in round_trip_e() local [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/strace/tests-mx32/ |
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()
|
D | sendfile.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 89 sv[1], reg_in, (unsigned long) p_off, in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 97 sv[1], reg_in, (unsigned long) alen, in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 103 sv[1], reg_in, (unsigned long) alen, in main() [all …]
|
D | sendfile64.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 86 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) in main() 89 sv[1], reg_in, (unsigned long) alen, in main() 92 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, stb.st_size + 1) in main() 95 sv[1], reg_in, (unsigned long) alen, in main() 101 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1) == -1); in main() 103 " = -1 EINVAL (%m)\n", sv[1], reg_in); in main() [all …]
|
/external/strace/tests-m32/ |
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()
|
D | sendfile.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 89 sv[1], reg_in, (unsigned long) p_off, in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 97 sv[1], reg_in, (unsigned long) alen, in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 103 sv[1], reg_in, (unsigned long) alen, in main() [all …]
|
D | sendfile64.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 86 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) in main() 89 sv[1], reg_in, (unsigned long) alen, in main() 92 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, stb.st_size + 1) in main() 95 sv[1], reg_in, (unsigned long) alen, in main() 101 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1) == -1); in main() 103 " = -1 EINVAL (%m)\n", sv[1], reg_in); in main() [all …]
|
/external/strace/tests/ |
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()
|
D | sendfile.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 89 sv[1], reg_in, (unsigned long) p_off, in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 97 sv[1], reg_in, (unsigned long) alen, in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 103 sv[1], reg_in, (unsigned long) alen, in main() [all …]
|
D | sendfile64.c | 51 int sv[2]; in main() local 52 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main() 80 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) in main() 83 sv[1], reg_in, (unsigned long) alen, in main() 86 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) in main() 89 sv[1], reg_in, (unsigned long) alen, in main() 92 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, stb.st_size + 1) in main() 95 sv[1], reg_in, (unsigned long) alen, in main() 101 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1) == -1); in main() 103 " = -1 EINVAL (%m)\n", sv[1], reg_in); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
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 …]
|
D | T_size_size.pass.cpp | 30 test(SV sv, unsigned pos, unsigned n) in test() argument 34 if (pos <= sv.size()) in test() 36 S s2(sv, pos, n); in test() 38 assert(pos <= sv.size()); in test() 39 unsigned rlen = std::min<unsigned>(sv.size() - pos, n); in test() 41 assert(T::compare(s2.data(), sv.data() + pos, rlen) == 0); in test() 50 S s2(sv, pos, n); in test() 55 assert(pos > sv.size()); in test() 63 test(SV sv, unsigned pos, unsigned n, const typename S::allocator_type& a) in test() argument 67 if (pos <= sv.size()) in test() [all …]
|
/external/libdrm/tests/ |
D | setversion.c | 43 drm_set_version_t sv, version; in main() local 66 sv = version; in main() 67 sv.drm_di_major++; in main() 68 ret = ioctl(fd, DRM_IOCTL_SET_VERSION, &sv); in main() 72 sv = version; in main() 73 sv.drm_di_major++; in main() 74 ret = ioctl(fd, DRM_IOCTL_SET_VERSION, &sv); in main() 78 sv = version; in main() 79 sv.drm_dd_major++; in main() 80 ret = ioctl(fd, DRM_IOCTL_SET_VERSION, &sv); in main() [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 …]
|
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/ |
D | options.h | 62 DRI_CONF_DESC(sv,"Felsökning") 71 DRI_CONF_DESC(sv,"Inaktivera 3D-accelerering") \ 81 DRI_CONF_DESC(sv,"Visa prestandarutor") \ 93 DRI_CONF_DESC(sv,"Bildkvalitet") 136 DRI_CONF_DESC_BEGIN(sv,"Färgdjup för texturer") \ 151 DRI_CONF_DESC(sv,"Initialt maximalt värde för anisotropisk texturfiltrering") \ 161 DRI_CONF_DESC(sv,"Förbjud negativ LOD-kompensation för texturer") \ 171 DRI_CONF_DESC(sv,"Aktivera S3TC-texturkomprimering även om programvarustöd saknas") \ 198 DRI_CONF_DESC_BEGIN(sv,"Initial färgminskningsmetod") \ 228 DRI_CONF_DESC_BEGIN(sv,"Färgavrundningsmetod") \ [all …]
|
/external/libcxx/test/std/strings/string.view/string.view.io/ |
D | stream_insert.pass.cpp | 28 string_view sv("some text"); in main() local 29 out << sv; in main() 31 assert(sv == out.str()); in main() 36 string_view sv(s); in main() local 38 out << sv; in main() 44 wstring_view sv(L"some text"); in main() local 45 out << sv; in main() 47 assert(sv == out.str()); in main() 52 wstring_view sv(s); in main() local 54 out << sv; in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.io/ |
D | stream_insert.pass.cpp | 28 string_view sv("some text"); in main() local 29 out << sv; in main() 31 assert(sv == out.str()); in main() 36 string_view sv(s); in main() local 38 out << sv; in main() 44 wstring_view sv(L"some text"); in main() local 45 out << sv; in main() 47 assert(sv == out.str()); in main() 52 wstring_view sv(s); in main() local 54 out << sv; in main()
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair01.c | 59 int sv[2]; variable 67 int *sv; /* socket descriptor vector */ member 73 0, SOCK_STREAM, 0, sv, -1, EAFNOSUPPORT, "invalid domain"}, { 74 PF_INET, 75, 0, sv, -1, EINVAL, "invalid type"}, { 75 PF_UNIX, SOCK_DGRAM, 0, sv, 0, 0, "UNIX domain dgram"}, { 76 PF_INET, SOCK_RAW, 0, sv, -1, ESOCKTNOSUPPORT, 86 PF_INET, SOCK_DGRAM, 17, sv, -1, EOPNOTSUPP, "UDP socket"}, { 87 PF_INET, SOCK_DGRAM, 6, sv, -1, ESOCKTNOSUPPORT, "TCP dgram"}, { 88 PF_INET, SOCK_STREAM, 6, sv, -1, EOPNOTSUPP, "TCP socket"}, { 89 PF_INET, SOCK_STREAM, 1, sv, -1, ESOCKTNOSUPPORT, "ICMP stream"},}; [all …]
|