Home
last modified time | relevance | path

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

12345678910>>...19

/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/mockito/cglib-and-asm/src/org/mockito/asm/util/
DCheckSignatureAdapter.java96 private final SignatureVisitor sv; field in CheckSignatureAdapter
107 public CheckSignatureAdapter(final int type, final SignatureVisitor sv) { in CheckSignatureAdapter() argument
110 this.sv = sv; in CheckSignatureAdapter()
123 if (sv != null) { in visitFormalTypeParameter()
124 sv.visitFormalTypeParameter(name); in visitFormalTypeParameter()
133 SignatureVisitor v = sv == null ? null : sv.visitClassBound(); in visitClassBound()
141 SignatureVisitor v = sv == null ? null : sv.visitInterfaceBound(); in visitInterfaceBound()
153 SignatureVisitor v = sv == null ? null : sv.visitSuperclass(); in visitSuperclass()
161 SignatureVisitor v = sv == null ? null : sv.visitInterface(); in visitInterface()
174 SignatureVisitor v = sv == null ? null : sv.visitParameterType(); in visitParameterType()
[all …]
/external/curl/tests/certs/scripts/
Dgenserv.sh30 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/
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()
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/libcxx/test/std/experimental/string.view/string.view.nonmem/
Dquoted.pass.cpp34 std::experimental::string_view sv {p}; in round_trip() local
36 ss << std::quoted(sv); in round_trip()
39 assert ( s == sv ); in round_trip()
47 std::experimental::string_view sv {p}; in round_trip_ws() local
49 ss << std::quoted(sv); in round_trip_ws()
52 assert ( s == sv ); in round_trip_ws()
58 std::experimental::string_view sv {p}; in round_trip_d() local
60 ss << std::quoted(sv, delim); in round_trip_d()
63 assert ( s == sv ); in round_trip_d()
68 std::experimental::string_view sv {p}; in round_trip_e() local
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dssim.c239 static double ssimv_similarity(const Ssimv *sv, int64_t n) { in ssimv_similarity() argument
244 const double l = 1.0 * (2 * sv->sum_s * sv->sum_r + c1) / in ssimv_similarity()
245 (sv->sum_s * sv->sum_s + sv->sum_r * sv->sum_r + c1); in ssimv_similarity()
249 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) in ssimv_similarity()
250 / (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + n * sv->sum_sq_r in ssimv_similarity()
251 - sv->sum_r * sv->sum_r + c2); in ssimv_similarity()
270 static double ssimv_similarity2(const Ssimv *sv, int64_t n) { in ssimv_similarity2() argument
275 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2()
280 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) in ssimv_similarity2()
281 / (n * sv->sum_sq_s - sv->sum_s * sv->sum_s + in ssimv_similarity2()
[all …]
/external/libdrm/tests/
Dsetversion.c43 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/strace/tests/
Dsendfile.c54 int sv[2]; in main() local
55 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
86 if (syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) != (long) alen) in main()
89 sv[1], reg_in, (unsigned long) alen, in main()
93 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main()
95 sv[1], reg_in, (unsigned long) p_off, in main()
98 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main()
103 sv[1], reg_in, (unsigned long) alen, in main()
106 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main()
110 sv[1], reg_in, (unsigned long) alen, in main()
[all …]
Dsendfile64.c54 int sv[2]; in main() local
55 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
86 if (syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) != (long) alen) in main()
89 sv[1], reg_in, (unsigned long) alen, in main()
93 if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) != (long) alen) in main()
96 sv[1], reg_in, (unsigned long) alen, in main()
99 if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, stb.st_size + 1) in main()
103 sv[1], reg_in, (unsigned long) alen, in main()
109 if (!syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1)) in main()
113 sv[1], reg_in); in main()
[all …]
Dscm_rights.c50 int sv[2]; in main() local
51 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == 0); in main()
53 assert(setsockopt(sv[0], SOL_SOCKET, SO_PASSCRED, &one, sizeof(one)) == 0); in main()
59 assert(close(sv[0]) == 0); in main()
60 assert(dup2(sv[1], 1) == 1); in main()
61 assert(close(sv[1]) == 0); in main()
92 assert(close(sv[1]) == 0); in main()
93 assert(dup2(sv[0], 0) == 0); in main()
94 assert(close(sv[0]) == 0); in main()
Dmmsg.c44 int sv[2]; in main() local
86 assert(socketpair(AF_UNIX, SOCK_DGRAM, 0, sv) == 0); in main()
88 assert(dup2(sv[W], W) == W); in main()
89 assert(close(sv[W]) == 0); in main()
90 assert(dup2(sv[R], R) == R); in main()
91 assert(close(sv[R]) == 0); in main()
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
Doptions.h62 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/experimental/string.view/string.view.io/
Dstream_insert.pass.cpp28 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/mesa3d/src/gallium/drivers/nv30/
Dnv30_fragtex.c43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv30_fragtex_validate() local
48 if (ss && sv) { in nv30_fragtex_validate()
49 const struct nv30_texfmt *fmt = nv30_texfmt(pscreen, sv->pipe.format); in nv30_fragtex_validate()
50 struct pipe_resource *pt = sv->pipe.texture; in nv30_fragtex_validate()
53 u32 filter = sv->filt | (ss->filt & sv->filt_mask); in nv30_fragtex_validate()
54 u32 format = sv->fmt | ss->fmt; in nv30_fragtex_validate()
61 if (sv->base_lod) in nv30_fragtex_validate()
63 max_lod = sv->base_lod; in nv30_fragtex_validate()
64 min_lod = sv->base_lod; in nv30_fragtex_validate()
66 max_lod = MIN2(ss->max_lod + sv->base_lod, sv->high_lod); in nv30_fragtex_validate()
[all …]
/external/libcxx/test/std/experimental/string.view/string.view.access/
Dat.pass.cpp23 std::experimental::basic_string_view<CharT> sv ( s, len ); in test() local
24 assert ( sv.length() == len ); in test()
26 assert ( sv.at(i) == s[i] ); in test()
27 assert ( &sv.at(i) == s + i ); in test()
30 try { sv.at(len); } catch ( const std::out_of_range & ) { return ; } in test()
51 constexpr std::experimental::basic_string_view<char> sv ( "ABC", 2 ); in main() local
52 static_assert ( sv.length() == 2, "" ); in main()
53 static_assert ( sv.at(0) == 'A', "" ); in main()
54 static_assert ( sv.at(1) == 'B', "" ); in main()
Dindex.pass.cpp20 std::experimental::basic_string_view<CharT> sv ( s, len ); in test() local
21 assert ( sv.length() == len ); in test()
23 assert ( sv[i] == s[i] ); in test()
24 assert ( &sv[i] == s + i ); in test()
45 constexpr std::experimental::basic_string_view<char> sv ( "ABC", 2 ); in main() local
46 static_assert ( sv.length() == 2, "" ); in main()
47 static_assert ( sv[0] == 'A', "" ); in main()
48 static_assert ( sv[1] == 'B', "" ); in main()
Dfront.pass.cpp20 std::experimental::basic_string_view<CharT> sv ( s, len ); in test() local
21 assert ( sv.length() == len ); in test()
22 assert ( sv.front() == s[0] ); in test()
23 return &sv.front() == s; in test()
43 constexpr std::experimental::basic_string_view<char> sv ( "ABC", 2 ); in main() local
44 static_assert ( sv.length() == 2, "" ); in main()
45 static_assert ( sv.front() == 'A', "" ); in main()
Dback.pass.cpp20 std::experimental::basic_string_view<CharT> sv ( s, len ); in test() local
21 assert ( sv.length() == len ); in test()
22 assert ( sv.back() == s[len-1] ); in test()
23 return &sv.back() == s + len - 1; in test()
43 constexpr std::experimental::basic_string_view<char> sv ( "ABC", 2 ); in main() local
44 static_assert ( sv.length() == 2, "" ); in main()
45 static_assert ( sv.back() == 'B', "" ); in main()
Ddata.pass.cpp20 std::experimental::basic_string_view<CharT> sv ( s, len ); in test() local
21 assert ( sv.length() == len ); in test()
22 assert ( sv.data() == s ); in test()
43 constexpr std::experimental::basic_string_view<char> sv( s, 2 ); in main() local
44 static_assert( sv.length() == 2, "" ); in main()
45 static_assert( sv.data() == s, "" ); in main()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCacheTest.java40 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testStrongCacheValue() local
41 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
42 assertTrue("strong CacheValue get()==same", sv.get() == this); in testStrongCacheValue()
46 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this); in testStrongCacheValue()
58 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testSoftCacheValue() local
59 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
60 Object v = sv.get(); in testSoftCacheValue()
62 assertTrue("soft CacheValue reset==same", sv.resetIfCleared(this) == this); in testSoftCacheValue()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCacheTest.java44 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testStrongCacheValue() local
45 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
46 assertTrue("strong CacheValue get()==same", sv.get() == this); in testStrongCacheValue()
50 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this); in testStrongCacheValue()
62 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testSoftCacheValue() local
63 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
64 Object v = sv.get(); in testSoftCacheValue()
66 assertTrue("soft CacheValue reset==same", sv.resetIfCleared(this) == this); in testSoftCacheValue()
/external/libchrome/sandbox/linux/suid/
Dsandbox.c82 int sv[2]; in SpawnChrootHelper() local
83 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == -1) { in SpawnChrootHelper()
103 close(sv[0]); in SpawnChrootHelper()
104 close(sv[1]); in SpawnChrootHelper()
117 if (close(sv[1])) in SpawnChrootHelper()
124 bytes = read(sv[0], &msg, 1); in SpawnChrootHelper()
148 bytes = write(sv[0], &reply, 1); in SpawnChrootHelper()
162 if (close(sv[0])) { in SpawnChrootHelper()
163 close(sv[1]); in SpawnChrootHelper()
171 int printed = snprintf(desc_str, sizeof(desc_str), "%u", sv[1]); in SpawnChrootHelper()
[all …]
/external/bison/lib/
Dquotearg.c734 struct slotvec *sv = slotvec; in quotearg_free() local
737 free (sv[i].val); in quotearg_free()
738 if (sv[0].val != slot0) in quotearg_free()
740 free (sv[0].val); in quotearg_free()
744 if (sv != &slotvec0) in quotearg_free()
746 free (sv); in quotearg_free()
767 struct slotvec *sv = slotvec; in quotearg_n_options() local
780 bool preallocated = (sv == &slotvec0); in quotearg_n_options()
782 if (xalloc_oversized (n1, sizeof *sv)) in quotearg_n_options()
785 slotvec = sv = xrealloc (preallocated ? NULL : sv, n1 * sizeof *sv); in quotearg_n_options()
[all …]
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c226 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfaceGetBitsYCbCr() local
227 if (!sv) continue; in vlVdpVideoSurfaceGetBitsYCbCr()
231 for (j = 0; j < sv->texture->depth0; ++j) { in vlVdpVideoSurfaceGetBitsYCbCr()
239 transfer = pipe->get_transfer(pipe, sv->texture, 0, PIPE_TRANSFER_READ, &box); in vlVdpVideoSurfaceGetBitsYCbCr()
252 util_copy_rect(destination_data[i] + destination_pitches[i] * j, sv->texture->format, in vlVdpVideoSurfaceGetBitsYCbCr()
253 destination_pitches[i] * sv->texture->depth0, 0, 0, in vlVdpVideoSurfaceGetBitsYCbCr()
320 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfacePutBitsYCbCr() local
321 if (!sv || !source_pitches[i]) continue; in vlVdpVideoSurfacePutBitsYCbCr()
325 for (j = 0; j < sv->texture->depth0; ++j) { in vlVdpVideoSurfacePutBitsYCbCr()
331 pipe->transfer_inline_write(pipe, sv->texture, 0, in vlVdpVideoSurfacePutBitsYCbCr()
[all …]
/external/libcxx/test/std/experimental/string.view/string.view.iterators/
Dbegin.pass.cpp61 constexpr string_view sv { "123", 3 }; in main() local
66 static_assert ( *sv.begin() == sv[0], "" ); in main()
71 static_assert ( *sv.cbegin() == sv[0], "" ); in main()

12345678910>>...19