Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 25 of 1033) sorted by relevance

12345678910>>...42

/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c969 _x11_swapchain_result(struct x11_swapchain *chain, VkResult result, in _x11_swapchain_result() argument
973 if (chain->status < 0) in _x11_swapchain_result()
974 return chain->status; in _x11_swapchain_result()
982 chain->status = result; in _x11_swapchain_result()
995 if (chain->status != VK_SUBOPTIMAL_KHR) { in _x11_swapchain_result()
1000 chain->status = result; in _x11_swapchain_result()
1005 return chain->status; in _x11_swapchain_result()
1007 #define x11_swapchain_result(chain, result) \ argument
1008 _x11_swapchain_result(chain, result, __FILE__, __LINE__)
1013 struct x11_swapchain *chain = (struct x11_swapchain *)wsi_chain; in x11_get_wsi_image() local
[all …]
Dwsi_common_win32.c53 struct wsi_win32_swapchain *chain; member
306 struct wsi_win32_swapchain *chain, in wsi_win32_image_init() argument
311 assert(chain->base.use_buffer_blit); in wsi_win32_image_init()
312 VkResult result = wsi_create_image(&chain->base, &chain->base.image_info, in wsi_win32_image_init()
318 chain->wnd = win32_surface->hwnd; in wsi_win32_image_init()
319 chain->chain_dc = GetDC(chain->wnd); in wsi_win32_image_init()
321 image->dc = CreateCompatibleDC(chain->chain_dc); in wsi_win32_image_init()
342 image->chain = chain; in wsi_win32_image_init()
348 wsi_win32_image_finish(struct wsi_win32_swapchain *chain, in wsi_win32_image_finish() argument
355 wsi_destroy_image(&chain->base, &image->base); in wsi_win32_image_finish()
[all …]
Dwsi_common_wayland.c953 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_get_wsi_image() local
954 return &chain->images[image_index].base; in wsi_wl_swapchain_get_wsi_image()
962 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_acquire_next_image() local
965 int wl_fd = wl_display_get_fd(chain->display->wl_display); in wsi_wl_swapchain_acquire_next_image()
974 int ret = wl_display_dispatch_queue_pending(chain->display->wl_display, in wsi_wl_swapchain_acquire_next_image()
975 chain->display->queue); in wsi_wl_swapchain_acquire_next_image()
980 for (uint32_t i = 0; i < chain->base.image_count; i++) { in wsi_wl_swapchain_acquire_next_image()
981 if (!chain->images[i].busy) { in wsi_wl_swapchain_acquire_next_image()
984 chain->images[i].busy = true; in wsi_wl_swapchain_acquire_next_image()
996 ret = wl_display_prepare_read_queue(chain->display->wl_display, in wsi_wl_swapchain_acquire_next_image()
[all …]
Dwsi_common.c271 struct wsi_swapchain *chain, in wsi_swapchain_init() argument
280 memset(chain, 0, sizeof(*chain)); in wsi_swapchain_init()
282 vk_object_base_init(device, &chain->base, VK_OBJECT_TYPE_SWAPCHAIN_KHR); in wsi_swapchain_init()
284 chain->wsi = wsi; in wsi_swapchain_init()
285 chain->device = _device; in wsi_swapchain_init()
286 chain->alloc = *pAllocator; in wsi_swapchain_init()
288 chain->use_buffer_blit = use_buffer_blit || (WSI_DEBUG & WSI_DEBUG_BUFFER); in wsi_swapchain_init()
290 chain->use_buffer_blit = true; in wsi_swapchain_init()
292 chain->buffer_blit_queue = VK_NULL_HANDLE; in wsi_swapchain_init()
294 chain->buffer_blit_queue = wsi->get_buffer_blit_queue(_device); in wsi_swapchain_init()
[all …]
Dwsi_common_drm.c109 prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, in prepare_signal_dma_buf_from_semaphore() argument
114 if (!(chain->wsi->semaphore_export_handle_types & in prepare_signal_dma_buf_from_semaphore()
137 result = chain->wsi->CreateSemaphore(chain->device, &semaphore_info, in prepare_signal_dma_buf_from_semaphore()
138 &chain->alloc, in prepare_signal_dma_buf_from_semaphore()
139 &chain->dma_buf_semaphore); in prepare_signal_dma_buf_from_semaphore()
147 wsi_prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, in wsi_prepare_signal_dma_buf_from_semaphore() argument
153 if (unlikely(chain->signal_dma_buf_from_semaphore == 0)) { in wsi_prepare_signal_dma_buf_from_semaphore()
154 result = prepare_signal_dma_buf_from_semaphore(chain, image); in wsi_prepare_signal_dma_buf_from_semaphore()
156 chain->signal_dma_buf_from_semaphore = (int)result - 1; in wsi_prepare_signal_dma_buf_from_semaphore()
158 result = (VkResult)(chain->signal_dma_buf_from_semaphore + 1); in wsi_prepare_signal_dma_buf_from_semaphore()
[all …]
Dwsi_common_private.h68 VkResult (*create_mem)(const struct wsi_swapchain *chain,
72 VkResult (*finish_create)(const struct wsi_swapchain *chain,
146 struct wsi_swapchain *chain,
156 void wsi_swapchain_finish(struct wsi_swapchain *chain);
168 wsi_configure_native_image(const struct wsi_swapchain *chain,
176 wsi_configure_prime_image(UNUSED const struct wsi_swapchain *chain,
182 wsi_configure_cpu_image(const struct wsi_swapchain *chain,
189 wsi_create_buffer_image_mem(const struct wsi_swapchain *chain,
196 wsi_finish_create_buffer_image(const struct wsi_swapchain *chain,
201 wsi_configure_buffer_image(UNUSED const struct wsi_swapchain *chain,
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireExtensionTests.cpp36 clientExt.chain.sType = WGPUSType_PrimitiveDepthClampingState; in TEST_F()
37 clientExt.chain.next = nullptr; in TEST_F()
43 renderPipelineDesc.primitive.nextInChain = &clientExt.chain; in TEST_F()
51 EXPECT_EQ(ext->chain.sType, clientExt.chain.sType); in TEST_F()
53 EXPECT_EQ(ext->chain.next, nullptr); in TEST_F()
69 clientExt2.chain.sType = WGPUSType_PrimitiveDepthClampingState; in TEST_F()
70 clientExt2.chain.next = nullptr; in TEST_F()
74 clientExt1.chain.sType = WGPUSType_PrimitiveDepthClampingState; in TEST_F()
75 clientExt1.chain.next = &clientExt2.chain; in TEST_F()
81 renderPipelineDesc.primitive.nextInChain = &clientExt1.chain; in TEST_F()
[all …]
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstparsebin.c268 GstParseChain * chain);
338 GstParseChain *chain; member
414 static void gst_parse_chain_free (GstParseChain * chain);
420 GstParseChain * chain);
421 static gboolean gst_parse_chain_is_complete (GstParseChain * chain);
422 static gboolean gst_parse_chain_expose (GstParseChain * chain,
426 static void build_fallback_collection (GstParseChain * chain,
428 static gboolean gst_parse_chain_is_drained (GstParseChain * chain);
434 #define CHAIN_MUTEX_LOCK(chain) G_STMT_START { \ argument
435 GST_LOG_OBJECT (chain->parsebin, \
[all …]
Dgstdecodebin2.c351 GstDecodeChain * chain);
353 static void flush_chain (GstDecodeChain * chain, gboolean flushing);
449 GstDecodeChain *chain; member
546 static GstDecodeChain *gst_decode_chain_ref (GstDecodeChain * chain);
547 static void gst_decode_chain_unref (GstDecodeChain * chain);
548 static void gst_decode_chain_free (GstDecodeChain * chain);
554 GstDecodeChain * chain);
555 static gboolean gst_decode_chain_is_complete (GstDecodeChain * chain);
556 static gboolean gst_decode_chain_expose (GstDecodeChain * chain,
559 static gboolean gst_decode_chain_is_drained (GstDecodeChain * chain);
[all …]
Dgstplaysink.c100 GstPlayChain chain; member
116 GstPlayChain chain; member
124 GstPlayChain chain; member
137 GstPlayChain chain; member
153 GstPlayChain chain; member
777 disconnect_audio_chain (GstPlayAudioChain * chain, GstPlaySink * playsink) in disconnect_audio_chain() argument
779 if (chain) { in disconnect_audio_chain()
780 if (chain->notify_volume_id) in disconnect_audio_chain()
781 g_signal_handler_disconnect (chain->volume, chain->notify_volume_id); in disconnect_audio_chain()
782 if (chain->notify_mute_id) in disconnect_audio_chain()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglmixerbin.c78 _free_input_chain (struct input_chain *chain) in _free_input_chain() argument
80 if (!chain) in _free_input_chain()
83 chain->ghost_pad = NULL; in _free_input_chain()
85 if (chain->upload) { in _free_input_chain()
86 gst_element_set_state (chain->upload, GST_STATE_NULL); in _free_input_chain()
87 gst_bin_remove (GST_BIN (chain->self), chain->upload); in _free_input_chain()
88 chain->upload = NULL; in _free_input_chain()
91 if (chain->in_convert) { in _free_input_chain()
92 gst_element_set_state (chain->in_convert, GST_STATE_NULL); in _free_input_chain()
93 gst_bin_remove (GST_BIN (chain->self), chain->in_convert); in _free_input_chain()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_buf.c91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() argument
95 *chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in buf_chain_new()
96 if (*chain == NULL) { in buf_chain_new()
100 (*chain)->next = NULL; in buf_chain_new()
102 rv = nghttp2_buf_init2(&(*chain)->buf, chunk_length, mem); in buf_chain_new()
104 nghttp2_mem_free(mem, *chain); in buf_chain_new()
111 static void buf_chain_del(nghttp2_buf_chain *chain, nghttp2_mem *mem) { in buf_chain_del() argument
112 nghttp2_buf_free(&chain->buf, mem); in buf_chain_del()
113 nghttp2_mem_free(mem, chain); in buf_chain_del()
131 nghttp2_buf_chain *chain; in nghttp2_bufs_init3() local
[all …]
/third_party/node/deps/nghttp2/lib/
Dnghttp2_buf.c91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() argument
95 *chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in buf_chain_new()
96 if (*chain == NULL) { in buf_chain_new()
100 (*chain)->next = NULL; in buf_chain_new()
102 rv = nghttp2_buf_init2(&(*chain)->buf, chunk_length, mem); in buf_chain_new()
104 nghttp2_mem_free(mem, *chain); in buf_chain_new()
111 static void buf_chain_del(nghttp2_buf_chain *chain, nghttp2_mem *mem) { in buf_chain_del() argument
112 nghttp2_buf_free(&chain->buf, mem); in buf_chain_del()
113 nghttp2_mem_free(mem, chain); in buf_chain_del()
131 nghttp2_buf_chain *chain; in nghttp2_bufs_init3() local
[all …]
/third_party/openssl/crypto/ec/curve448/
Dscalar.c53 c448_dsword_t chain = 0; in sc_subx() local
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
59 out->limb[i] = (c448_word_t)chain; in sc_subx()
60 chain >>= WBITS; in sc_subx()
62 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */ in sc_subx()
64 chain = 0; in sc_subx()
66 chain = (chain + out->limb[i]) + (p->limb[i] & borrow); in sc_subx()
67 out->limb[i] = (c448_word_t)chain; in sc_subx()
68 chain >>= WBITS; in sc_subx()
83 c448_dword_t chain = 0; in sc_montmul() local
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-converter.c165 typedef gboolean (*AudioChainFunc) (AudioChain * chain, gpointer user_data);
166 typedef gpointer *(*AudioChainAllocFunc) (AudioChain * chain, gsize num_samples,
198 AudioChain *chain; in audio_chain_new() local
200 chain = g_slice_new0 (AudioChain); in audio_chain_new()
201 chain->prev = prev; in audio_chain_new()
204 chain->inc = 1; in audio_chain_new()
205 chain->blocks = convert->current_channels; in audio_chain_new()
207 chain->inc = convert->current_channels; in audio_chain_new()
208 chain->blocks = 1; in audio_chain_new()
210 chain->finfo = gst_audio_format_get_info (convert->current_format); in audio_chain_new()
[all …]
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
DChainUtils.h24 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out);
34 MaybeError ValidateSTypes(const ChainedStruct* chain,
38 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, T sType) {
39 DAWN_INVALID_IF(chain->sType != sType,
40 "Unsupported sType (%s). Expected (%s)", chain->sType, sType);
45 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, T sType, Args... sTypes) {
46 if (chain->sType == sType) {
49 return ValidateSingleSTypeInner(chain, sTypes...);
55 MaybeError ValidateSingleSType(const ChainedStruct* chain, T sType) {
56 if (chain == nullptr) {
[all …]
DChainUtils.cpp23 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out) {
24 for (; chain; chain = chain->nextInChain) {
25 if (chain->sType == wgpu::SType::{{as_cppEnum(value.name)}}) {
26 *out = static_cast<const {{as_cppEnum(value.name)}}*>(chain);
34 MaybeError ValidateSTypes(const ChainedStruct* chain,
37 for (; chain; chain = chain->nextInChain) {
38 if (allSTypes.find(chain->sType) != allSTypes.end()) {
41 allSTypes.insert(chain->sType);
/third_party/ffmpeg/libavformat/
Drtpenc_mpegts.c38 MuxChain *chain = s->priv_data; in rtp_mpegts_write_close() local
40 if (chain->mpegts_ctx) { in rtp_mpegts_write_close()
41 av_write_trailer(chain->mpegts_ctx); in rtp_mpegts_write_close()
42 ffio_free_dyn_buf(&chain->mpegts_ctx->pb); in rtp_mpegts_write_close()
43 avformat_free_context(chain->mpegts_ctx); in rtp_mpegts_write_close()
45 if (chain->rtp_ctx) { in rtp_mpegts_write_close()
46 av_write_trailer(chain->rtp_ctx); in rtp_mpegts_write_close()
47 avformat_free_context(chain->rtp_ctx); in rtp_mpegts_write_close()
50 av_packet_free(&chain->pkt); in rtp_mpegts_write_close()
57 MuxChain *chain = s->priv_data; in rtp_mpegts_write_header() local
[all …]
/third_party/gn/src/gn/
Dheader_checker_unittest.cc100 HeaderChecker::Chain chain; in TEST_F() local
101 EXPECT_FALSE(checker->IsDependencyOf(&a_, &a_, &chain, &is_permitted)); in TEST_F()
104 chain.clear(); in TEST_F()
106 EXPECT_TRUE(checker->IsDependencyOf(&b_, &a_, &chain, &is_permitted)); in TEST_F()
107 ASSERT_EQ(2u, chain.size()); in TEST_F()
108 EXPECT_EQ(HeaderChecker::ChainLink(&b_, true), chain[0]); in TEST_F()
109 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[1]); in TEST_F()
114 chain.clear(); in TEST_F()
116 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F()
117 ASSERT_EQ(3u, chain.size()); in TEST_F()
[all …]
/third_party/mesa3d/src/freedreno/rnn/
Drnn.c82 xmlNode *chain = attr->children; in getcontent() local
85 while (chain) { in getcontent()
86 if (chain->type == XML_TEXT_NODE) in getcontent()
87 size += strlen(chain->content); in getcontent()
88 chain = chain->next; in getcontent()
91 chain = attr->children; in getcontent()
92 while (chain) { in getcontent()
93 if (chain->type == XML_TEXT_NODE) { in getcontent()
94 char* sp = chain->content; in getcontent()
103 chain = chain->next; in getcontent()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11compositorbin.cpp718 GstD3D11CompositorBinChain *chain = in gst_d3d11_compositor_bin_dispose() local
721 if (self->compositor && chain->ghost_pad && chain->ghost_pad->target) { in gst_d3d11_compositor_bin_dispose()
723 chain->ghost_pad->target); in gst_d3d11_compositor_bin_dispose()
724 gst_d3d11_compositor_bin_pad_unset_target (chain->ghost_pad); in gst_d3d11_compositor_bin_dispose()
807 GstD3D11CompositorBinChain *chain; in gst_d3d11_compositor_bin_input_chain_new() local
810 chain = g_new0 (GstD3D11CompositorBinChain, 1); in gst_d3d11_compositor_bin_input_chain_new()
812 chain->self = self; in gst_d3d11_compositor_bin_input_chain_new()
814 chain->upload = gst_element_factory_make ("d3d11upload", NULL); in gst_d3d11_compositor_bin_input_chain_new()
815 chain->convert = gst_element_factory_make ("d3d11colorconvert", NULL); in gst_d3d11_compositor_bin_input_chain_new()
818 gst_bin_add_many (GST_BIN (self), chain->upload, chain->convert, NULL); in gst_d3d11_compositor_bin_input_chain_new()
[all …]
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggdemux.c125 GstOggChain * chain);
127 GstOggChain * chain, GstEvent * event);
129 static void gst_ogg_chain_mark_discont (GstOggChain * chain);
143 static GstOggPad *gst_ogg_chain_get_stream (GstOggChain * chain,
204 pad->chain = NULL; in gst_ogg_pad_dispose()
510 GstOggChain *chain; in gst_ogg_demux_chain_peer() local
872 if ((chain = pad->chain)) { in gst_ogg_demux_chain_peer()
875 if (chain->segment_start != GST_CLOCK_TIME_NONE) in gst_ogg_demux_chain_peer()
876 chain_start = chain->segment_start; in gst_ogg_demux_chain_peer()
878 current_time = current_time - chain_start + chain->begin_time; in gst_ogg_demux_chain_peer()
[all …]
/third_party/openssl/test/
Dbio_prefix_text.c40 static BIO **chain = NULL; variable
86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes)) in run_pipe()
99 chain = OPENSSL_zalloc(sizeof(*chain) * n); in setup_bio_chain()
101 if (chain != NULL) { in setup_bio_chain()
112 chain[i] = BIO_push(curr, next); in setup_bio_chain()
113 if (chain[i] == NULL) in setup_bio_chain()
115 next = chain[i]; in setup_bio_chain()
118 return chain != NULL; in setup_bio_chain()
122 OPENSSL_free(chain); in setup_bio_chain()
128 if (chain != NULL) { in cleanup()
[all …]
/third_party/typescript/src/services/refactors/
DconvertToOptionalChainExpression.ts156 …function getMatchingStart(chain: Expression, subchain: Expression): PropertyAccessExpression | Ele…
160 return chainStartsWith(chain, subchain) ? subchain : undefined;
166 function chainStartsWith(chain: Node, subchain: Node): boolean {
168 …while (isCallExpression(chain) || isPropertyAccessExpression(chain) || isElementAccessExpression(c…
169 if (getTextOfChainNode(chain) === getTextOfChainNode(subchain)) break;
170 chain = chain.expression;
173 while ((isPropertyAccessExpression(chain) && isPropertyAccessExpression(subchain)) ||
174 (isElementAccessExpression(chain) && isElementAccessExpression(subchain))) {
175 if (getTextOfChainNode(chain) !== getTextOfChainNode(subchain)) return false;
176 chain = chain.expression;
[all …]
/third_party/cef/libcef_dll/cpptoc/
Dx509certificate_cpptoc.cc169 cef_binary_value_t** chain) { in x509certificate_get_derencoded_issuer_chain() argument
178 DCHECK(chainCount && (*chainCount == 0 || chain)); in x509certificate_get_derencoded_issuer_chain()
179 if (!chainCount || (*chainCount > 0 && !chain)) in x509certificate_get_derencoded_issuer_chain()
184 if (chainCount && *chainCount > 0 && chain) { in x509certificate_get_derencoded_issuer_chain()
186 chainList.push_back(CefBinaryValueCppToC::Unwrap(chain[i])); in x509certificate_get_derencoded_issuer_chain()
194 if (chainCount && chain) { in x509certificate_get_derencoded_issuer_chain()
198 chain[i] = CefBinaryValueCppToC::Wrap(chainList[i]); in x509certificate_get_derencoded_issuer_chain()
207 cef_binary_value_t** chain) { in x509certificate_get_pemencoded_issuer_chain() argument
216 DCHECK(chainCount && (*chainCount == 0 || chain)); in x509certificate_get_pemencoded_issuer_chain()
217 if (!chainCount || (*chainCount > 0 && !chain)) in x509certificate_get_pemencoded_issuer_chain()
[all …]

12345678910>>...42