Home
last modified time | relevance | path

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

12345678910>>...47

/third_party/boost/libs/container/test/
Dstring_view_compat_test.cpp21 boost::string_view sv(s); in conversion_test() local
22 BOOST_TEST(s.data() == sv.data() && s.size() == sv.size()); in conversion_test()
27 BOOST_TEST(s.data() == sv.data() && s.size() == csv.size()); in conversion_test()
35 boost::string_view sv(s.to_view<boost::string_view>()); in to_view_test() local
36 BOOST_TEST(s.data() == sv.data() && s.size() == sv.size()); in to_view_test()
46 const boost::string_view sv = "same text"; in equal_test() local
49 BOOST_TEST(sv == s); in equal_test()
50 BOOST_TEST(s == sv); in equal_test()
57 const boost::string_view sv = "same text"; in unequal_test() local
60 BOOST_TEST(!(sv != s)); in unequal_test()
[all …]
/third_party/eudev/hwdb/
D20-pci-classes.hwdb5 pci:v*d*sv*sd*bc00*
8 pci:v*d*sv*sd*bc00sc00*
11 pci:v*d*sv*sd*bc00sc01*
14 pci:v*d*sv*sd*bc01*
17 pci:v*d*sv*sd*bc01sc00*
20 pci:v*d*sv*sd*bc01sc01*
23 pci:v*d*sv*sd*bc01sc01i00*
26 pci:v*d*sv*sd*bc01sc01i05*
29 pci:v*d*sv*sd*bc01sc01i0A*
32 pci:v*d*sv*sd*bc01sc01i0F*
[all …]
/third_party/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 …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c155 struct etna_sampler_view *sv = CALLOC_STRUCT(etna_sampler_view); in etna_create_sampler_view_state() local
166 if (!sv) in etna_create_sampler_view_state()
171 free(sv); in etna_create_sampler_view_state()
175 sv->base = *so; in etna_create_sampler_view_state()
176 pipe_reference_init(&sv->base.reference, 1); in etna_create_sampler_view_state()
177 sv->base.texture = NULL; in etna_create_sampler_view_state()
178 pipe_resource_reference(&sv->base.texture, prsc); in etna_create_sampler_view_state()
179 sv->base.context = pctx; in etna_create_sampler_view_state()
182 sv->config0 = in etna_create_sampler_view_state()
183 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 …]
/third_party/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 …]
/third_party/boost/libs/test/test/writing-test-ts/
Dboost_check_equal-str-test.cpp155 std::string_view sv = "sv"; in BOOST_AUTO_TEST_CASE() local
157 BOOST_TEST((!bp::is_cstring< decltype(sv) >::value)); in BOOST_AUTO_TEST_CASE()
160 BOOST_TEST_CHECK(sv == sv); in BOOST_AUTO_TEST_CASE()
161 BOOST_TEST_CHECK(str != sv); in BOOST_AUTO_TEST_CASE()
162 BOOST_TEST_CHECK(sv != str); in BOOST_AUTO_TEST_CASE()
165 BOOST_TEST_CHECK(str >= sv); in BOOST_AUTO_TEST_CASE()
166 BOOST_TEST_CHECK(sv <= str); in BOOST_AUTO_TEST_CASE()
167 BOOST_TEST_CHECK(str > sv); in BOOST_AUTO_TEST_CASE()
168 BOOST_TEST_CHECK(sv < str); in BOOST_AUTO_TEST_CASE()
170 BOOST_TEST_CHECK(str <= sv, boost::test_tools::lexicographic()); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/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 …]
Dsvga_state_sampler.c79 struct svga_pipe_sampler_view *sv = in svga_check_sampler_view_resource_collision() local
82 if (sv && res == svga_resource_handle(sv->base.texture)) { in svga_check_sampler_view_resource_collision()
127 struct svga_pipe_sampler_view *sv) in svga_validate_pipe_sampler_view() argument
131 if (sv->id == SVGA3D_INVALID_ID) { in svga_validate_pipe_sampler_view()
133 struct pipe_resource *texture = sv->base.texture; in svga_validate_pipe_sampler_view()
138 enum pipe_format viewFormat = sv->base.format; in svga_validate_pipe_sampler_view()
172 unsigned elem_size = util_format_get_blocksize(sv->base.format); in svga_validate_pipe_sampler_view()
174 viewDesc.buffer.firstElement = sv->base.u.buf.offset / elem_size; in svga_validate_pipe_sampler_view()
175 viewDesc.buffer.numElements = sv->base.u.buf.size / elem_size; in svga_validate_pipe_sampler_view()
178 viewDesc.tex.mostDetailedMip = sv->base.u.tex.first_level; in svga_validate_pipe_sampler_view()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c48 st_remove_private_references(struct st_sampler_view *sv) in st_remove_private_references() argument
50 if (sv->private_refcount) { in st_remove_private_references()
51 assert(sv->private_refcount > 0); in st_remove_private_references()
52 p_atomic_add(&sv->view->reference.count, -sv->private_refcount); in st_remove_private_references()
53 sv->private_refcount = 0; in st_remove_private_references()
59 get_sampler_view_reference(struct st_sampler_view *sv, in get_sampler_view_reference() argument
62 if (unlikely(sv->private_refcount <= 0)) { in get_sampler_view_reference()
63 assert(sv->private_refcount == 0); in get_sampler_view_reference()
66 sv->private_refcount = 100000000; in get_sampler_view_reference()
67 p_atomic_add(&view->reference.count, sv->private_refcount); in get_sampler_view_reference()
[all …]
/third_party/grpc/test/core/iomgr/
Dfd_posix_test.cc98 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 …]
Dtcp_posix_test.cc65 static void create_sockets(int sv[2]) { in create_sockets()
67 GPR_ASSERT(socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == 0); in create_sockets()
68 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
69 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
70 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
71 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
74 static void create_inet_sockets(int sv[2]) { in create_inet_sockets()
103 sv[0] = server; in create_inet_sockets()
104 sv[1] = client; in create_inet_sockets()
105 int flags = fcntl(sv[0], F_GETFL, 0); in create_inet_sockets()
[all …]
/third_party/boost/boost/geometry/index/detail/
Dvarray.hpp178 varray & operator=(varray<Value, C> & sv) in operator =() argument
181 this->operator=(static_cast<const ::boost::rv<other> &>(const_cast<const other &>(sv))); in operator =()
301 namespace sv = varray_detail; in varray()
302 sv::uninitialized_copy(other.begin(), other.end(), this->begin()); // may throw in varray()
325 namespace sv = varray_detail; in varray()
326 sv::uninitialized_copy(other.begin(), other.end(), this->begin()); // may throw in varray()
484 namespace sv = varray_detail; in ~varray()
485 sv::destroy(this->begin(), this->end()); in ~varray()
556 namespace sv = varray_detail; in resize()
561 sv::destroy(this->begin() + count, this->end()); in resize()
[all …]
/third_party/grpc/src/core/lib/iomgr/
Dendpoint_pair_posix.cc44 static void create_sockets(int sv[2]) { in create_sockets()
46 grpc_create_socketpair_if_unix(sv); in create_sockets()
47 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
48 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
49 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
50 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
51 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[0]) == GRPC_ERROR_NONE); in create_sockets()
52 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[1]) == GRPC_ERROR_NONE); in create_sockets()
57 int sv[2]; in grpc_iomgr_create_endpoint_pair() local
59 create_sockets(sv); in grpc_iomgr_create_endpoint_pair()
[all …]
Dendpoint_pair_windows.cc36 static void create_sockets(SOCKET sv[2]) { in create_sockets()
69 sv[1] = cli_sock; in create_sockets()
70 sv[0] = svr_sock; in create_sockets()
75 SOCKET sv[2]; in grpc_iomgr_create_endpoint_pair() local
77 create_sockets(sv); in grpc_iomgr_create_endpoint_pair()
79 p.client = grpc_tcp_create(grpc_winsocket_create(sv[1], "endpoint:client"), in grpc_iomgr_create_endpoint_pair()
81 p.server = grpc_tcp_create(grpc_winsocket_create(sv[0], "endpoint:server"), in grpc_iomgr_create_endpoint_pair()
/third_party/boost/libs/container/bench/detail/
Dvarray.hpp241 varray & operator=(varray<Value, C, S> & sv) in operator =() argument
244 this->operator=(static_cast<const ::boost::rv<other> &>(const_cast<const other &>(sv))); in operator =()
365 namespace sv = varray_detail; in varray()
366 sv::uninitialized_copy(other.begin(), other.end(), this->begin()); // may throw in varray()
389 namespace sv = varray_detail; in varray()
390 sv::uninitialized_copy(other.begin(), other.end(), this->begin()); // may throw in varray()
553 namespace sv = varray_detail; in ~varray()
554 sv::destroy(this->begin(), this->end()); in ~varray()
625 namespace sv = varray_detail; in resize()
630 sv::destroy(this->begin() + count, this->end()); in resize()
[all …]
/third_party/glib/gio/tests/
Dunix-fd.c56 gint sv[3]; in test_fds() local
67 s = socketpair (PF_UNIX, SOCK_STREAM, 0, sv); in test_fds()
69 sv[2] = -1; in test_fds()
71 list = g_unix_fd_list_new_from_array (sv, -1); in test_fds()
86 g_assert_cmpint (stolen[0], ==, sv[0]); in test_fds()
87 g_assert_cmpint (stolen[1], ==, sv[1]); in test_fds()
88 g_assert_cmpint (stolen[2], ==, sv[2]); in test_fds()
91 g_unix_fd_message_append_fd (message, sv[0], &err); in test_fds()
93 s = close (sv[0]); in test_fds()
95 g_unix_fd_message_append_fd (message, sv[1], &err); in test_fds()
[all …]
/third_party/ffmpeg/libavformat/
Drtpdec_svq3.c43 static int svq3_parse_packet (AVFormatContext *s, PayloadContext *sv, in svq3_parse_packet() argument
81 ffio_free_dyn_buf(&sv->pktbuf); in svq3_parse_packet()
82 if ((res = avio_open_dyn_buf(&sv->pktbuf)) < 0) in svq3_parse_packet()
84 sv->timestamp = *timestamp; in svq3_parse_packet()
87 if (!sv->pktbuf) in svq3_parse_packet()
90 avio_write(sv->pktbuf, buf, len); in svq3_parse_packet()
93 int ret = ff_rtp_finalize_packet(pkt, &sv->pktbuf, st->index); in svq3_parse_packet()
97 *timestamp = sv->timestamp; in svq3_parse_packet()
104 static void svq3_close_context(PayloadContext *sv) in svq3_close_context() argument
106 ffio_free_dyn_buf(&sv->pktbuf); in svq3_close_context()
/third_party/mesa3d/src/gallium/drivers/nouveau/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 …]
/third_party/freetype/docs/reference/assets/javascripts/lunr/
Dlunr.sv.js17sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemme… function
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/
DCacheTest.java48 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testStrongCacheValue() local
49 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
50 assertTrue("strong CacheValue get()==same", sv.get() == this); in testStrongCacheValue()
54 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this); in testStrongCacheValue()
67 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testSoftCacheValue() local
68 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
69 Object v = sv.get(); in testSoftCacheValue()
71 assertTrue("soft CacheValue reset==same", sv.resetIfCleared(this) == this); in testSoftCacheValue()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCacheTest.java45 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testStrongCacheValue() local
46 assertFalse("strong CacheValue not isNull()", sv.isNull()); in testStrongCacheValue()
47 assertTrue("strong CacheValue get()==same", sv.get() == this); in testStrongCacheValue()
51 assertTrue("strong CacheValue reset==same", sv.resetIfCleared("") == this); in testStrongCacheValue()
64 CacheValue<Object> sv = CacheValue.<Object>getInstance(this); in testSoftCacheValue() local
65 assertFalse("soft CacheValue not isNull()", sv.isNull()); in testSoftCacheValue()
66 Object v = sv.get(); in testSoftCacheValue()
68 assertTrue("soft CacheValue reset==same", sv.resetIfCleared(this) == this); in testSoftCacheValue()
/third_party/weston/shared/
Dos-compatibility.c72 os_socketpair_cloexec(int domain, int type, int protocol, int *sv) in os_socketpair_cloexec() argument
77 ret = socketpair(domain, type | SOCK_CLOEXEC, protocol, sv); in os_socketpair_cloexec()
82 ret = socketpair(domain, type, protocol, sv); in os_socketpair_cloexec()
86 sv[0] = set_cloexec_or_close(sv[0]); in os_socketpair_cloexec()
87 sv[1] = set_cloexec_or_close(sv[1]); in os_socketpair_cloexec()
89 if (sv[0] != -1 && sv[1] != -1) in os_socketpair_cloexec()
92 close(sv[0]); in os_socketpair_cloexec()
93 close(sv[1]); in os_socketpair_cloexec()
/third_party/boost/boost/multiprecision/detail/
Dbitscan.hpp179 boost::uint64_t sv[2]; in find_msb() member
183 if (val.sv[1]) in find_msb()
184 return find_msb(val.sv[1], mpl::int_<3>()) + 64; in find_msb()
185 return find_msb(val.sv[0], mpl::int_<3>()); in find_msb()
187 if (val.sv[0]) in find_msb()
188 return find_msb(val.sv[0], mpl::int_<3>()) + 64; in find_msb()
189 return find_msb(val.sv[1], mpl::int_<3>()); in find_msb()
197 boost::uint64_t sv[2]; in find_lsb() member
201 if (val.sv[0] == 0) in find_lsb()
202 return find_lsb(val.sv[1], mpl::int_<3>()) + 64; in find_lsb()
[all …]
/third_party/grpc/test/core/end2end/fixtures/
Dh2_fd.cc42 static void create_sockets(int sv[2]) { in create_sockets()
44 grpc_create_socketpair_if_unix(sv); in create_sockets()
45 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
46 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
47 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
48 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
49 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[0]) == GRPC_ERROR_NONE); in create_sockets()
50 GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[1]) == GRPC_ERROR_NONE); in create_sockets()

12345678910>>...47