| /third_party/mesa3d/src/vulkan/wsi/ |
| H A D | wsi_common_x11.c | 961 * the combined status. The chain status will eventually be returned from 969 _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() 976 /* If we have a new error, mark it as permanent on the chain and return. */ 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, resul in _x11_swapchain_result() 1013 struct x11_swapchain *chain = (struct x11_swapchain *)wsi_chain; x11_get_wsi_image() local 1021 x11_handle_dri3_present_event(struct x11_swapchain *chain, xcb_present_generic_event_t *event) x11_handle_dri3_present_event() argument 1114 x11_acquire_next_image_poll_x11(struct x11_swapchain *chain, uint32_t *image_index, uint64_t timeout) x11_acquire_next_image_poll_x11() argument 1183 x11_acquire_next_image_from_queue(struct x11_swapchain *chain, uint32_t *image_index_out, uint64_t timeout) x11_acquire_next_image_from_queue() argument 1213 x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index, uint64_t target_msc) x11_present_to_x11_dri3() argument 1293 x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index, uint64_t target_msc) x11_present_to_x11_sw() argument 1344 x11_present_to_x11(struct x11_swapchain *chain, uint32_t image_index, uint64_t target_msc) x11_present_to_x11() argument 1363 struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain; x11_acquire_next_image() local 1416 struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain; x11_queue_present() local 1486 x11_driver_owned_images(const struct x11_swapchain *chain) x11_driver_owned_images() argument 1509 struct x11_swapchain *chain = state; x11_manage_fifo_queues() local 1639 x11_image_init(VkDevice device_h, struct x11_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks* pAllocator, struct x11_image *image) x11_image_init() argument 1775 x11_image_finish(struct x11_swapchain *chain, const VkAllocationCallbacks* pAllocator, struct x11_image *image) x11_image_finish() argument 1881 struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain; x11_swapchain_destroy() local 1952 struct x11_swapchain *chain; x11_surface_create_swapchain() local [all...] |
| H A D | wsi_common_win32.c | 53 struct wsi_win32_swapchain *chain; member 306 struct wsi_win32_swapchain *chain, in wsi_win32_image_init() 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 in wsi_win32_image_init() 305 wsi_win32_image_init(VkDevice device_h, struct wsi_win32_swapchain *chain, const VkSwapchainCreateInfoKHR *create_info, const VkAllocationCallbacks *allocator, struct wsi_win32_image *image) wsi_win32_image_init() argument 348 wsi_win32_image_finish(struct wsi_win32_swapchain *chain, const VkAllocationCallbacks *allocator, struct wsi_win32_image *image) wsi_win32_image_finish() argument 362 struct wsi_win32_swapchain *chain = wsi_win32_swapchain_destroy() local 379 struct wsi_win32_swapchain *chain = wsi_win32_get_wsi_image() local 390 struct wsi_win32_swapchain *chain = wsi_win32_acquire_next_image() local 406 struct wsi_win32_swapchain *chain = (struct wsi_win32_swapchain *) drv_chain; wsi_win32_queue_present() local 442 struct wsi_win32_swapchain *chain; wsi_win32_surface_create_swapchain() local [all...] |
| H A D | wsi_common_wayland.c | 953 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 in wsi_wl_swapchain_acquire_next_image() 1035 struct wsi_wl_swapchain *chain = data; frame_handle_done() local 1052 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; wsi_wl_swapchain_queue_present() local 1135 wsi_wl_image_init(struct wsi_wl_swapchain *chain, struct wsi_wl_image *image, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks* pAllocator) wsi_wl_image_init() argument 1216 wsi_wl_swapchain_images_free(struct wsi_wl_swapchain *chain) wsi_wl_swapchain_images_free() argument 1232 wsi_wl_swapchain_chain_free(struct wsi_wl_swapchain *chain, const VkAllocationCallbacks *pAllocator) wsi_wl_swapchain_chain_free() argument 1252 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; wsi_wl_swapchain_destroy() local 1271 struct wsi_wl_swapchain *chain; wsi_wl_surface_create_swapchain() local [all...] |
| H A D | wsi_common.c | 271 struct wsi_swapchain *chain, in wsi_swapchain_init() 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 in wsi_swapchain_init() 270 wsi_swapchain_init(const struct wsi_device *wsi, struct wsi_swapchain *chain, VkDevice _device, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, bool use_buffer_blit) wsi_swapchain_init() argument 384 wsi_swapchain_finish(struct wsi_swapchain *chain) wsi_swapchain_finish() argument 413 wsi_configure_image(const struct wsi_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, VkExternalMemoryHandleTypeFlags handle_types, struct wsi_image_info *info) wsi_configure_image() argument 515 wsi_destroy_image_info(const struct wsi_swapchain *chain, struct wsi_image_info *info) wsi_destroy_image_info() argument 525 wsi_create_image(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_image() argument 566 wsi_destroy_image(const struct wsi_swapchain *chain, struct wsi_image *image) wsi_destroy_image() argument 887 wsi_signal_semaphore_for_image(struct vk_device *device, const struct wsi_swapchain *chain, const struct wsi_image *image, VkSemaphore _semaphore) wsi_signal_semaphore_for_image() argument 919 wsi_signal_fence_for_image(struct vk_device *device, const struct wsi_swapchain *chain, const struct wsi_image *image, VkFence _fence) wsi_signal_fence_for_image() argument 1337 wsi_create_buffer_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image, VkExternalMemoryHandleTypeFlags handle_types, bool implicit_sync) wsi_create_buffer_image_mem() argument 1447 wsi_finish_create_buffer_image(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_finish_create_buffer_image() argument 1548 wsi_configure_buffer_image(UNUSED const struct wsi_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, uint32_t stride_align, uint32_t size_align, struct wsi_image_info *info) wsi_configure_buffer_image() argument 1586 wsi_create_cpu_linear_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_cpu_linear_image_mem() argument 1651 wsi_create_cpu_buffer_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_cpu_buffer_image_mem() argument 1671 wsi_configure_cpu_image(const struct wsi_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, uint8_t *(alloc_shm)(struct wsi_image *image, unsigned size), struct wsi_image_info *info) wsi_configure_cpu_image() argument [all...] |
| H A D | wsi_common_drm.c | 109 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 in wsi_prepare_signal_dma_buf_from_semaphore() 165 wsi_signal_dma_buf_from_semaphore(const struct wsi_swapchain *chain, const struct wsi_image *image) wsi_signal_dma_buf_from_semaphore() argument 203 wsi_create_sync_for_dma_buf_wait(const struct wsi_swapchain *chain, const struct wsi_image *image, enum vk_sync_features req_features, struct vk_sync **sync_out) wsi_create_sync_for_dma_buf_wait() argument 321 wsi_configure_native_image(const struct wsi_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, uint32_t num_modifier_lists, const uint32_t *num_modifiers, const uint64_t *const *modifiers, struct wsi_image_info *info) wsi_configure_native_image() argument 462 wsi_create_native_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_native_image_mem() argument 565 wsi_create_prime_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_prime_image_mem() argument 595 wsi_configure_prime_image(UNUSED const struct wsi_swapchain *chain, const VkSwapchainCreateInfoKHR *pCreateInfo, bool use_modifier, struct wsi_image_info *info) wsi_configure_prime_image() argument [all...] |
| H A D | wsi_common_private.h | 68 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...] |
| H A D | wsi_common_display.c | 137 struct wsi_display_swapchain *chain; member 1083 struct wsi_display_swapchain *chain = in wsi_display_image_init() local 1085 struct wsi_display *wsi = chain->wsi; in wsi_display_image_init() 1099 VkResult result = wsi_create_image(&chain->base, &chain->base.image_info, in wsi_display_image_init() 1113 image->chain = chain; in wsi_display_image_init() 1138 wsi_destroy_image(&chain->base, &image->base); in wsi_display_image_init() 1148 struct wsi_display_swapchain *chain = in wsi_display_image_finish() local 1150 struct wsi_display *wsi = chain in wsi_display_image_finish() 1162 struct wsi_display_swapchain *chain = wsi_display_swapchain_destroy() local 1178 struct wsi_display_swapchain *chain = wsi_display_get_wsi_image() local 1187 struct wsi_display_swapchain *chain = active_image->chain; wsi_display_idle_old_displaying() local 1212 struct wsi_display_swapchain *chain = image->chain; wsi_display_page_flip_handler2() local 1354 struct wsi_display_swapchain *chain = wsi_display_acquire_next_image() local 1795 struct wsi_display_swapchain *chain = _wsi_display_queue_next() local 1901 struct wsi_display_swapchain *chain = wsi_display_queue_present() local 1946 struct wsi_display_swapchain *chain = wsi_display_surface_create_swapchain() local [all...] |
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
| H A D | WireExtensionTests.cpp | 36 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 in TEST_F() [all...] |
| /third_party/nghttp2/lib/ |
| H A D | nghttp2_buf.c | 91 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 160 nghttp2_buf_chain *chain; nghttp2_bufs_realloc() local 185 nghttp2_buf_chain *chain, *next_chain; nghttp2_bufs_free() local 204 nghttp2_buf_chain *chain; nghttp2_bufs_wrap_init() local 305 nghttp2_buf_chain *chain; bufs_alloc_chain() local 435 nghttp2_buf_chain *chain; nghttp2_bufs_remove() local 470 nghttp2_buf_chain *chain; nghttp2_bufs_remove_copy() local 487 nghttp2_buf_chain *chain, *ci; nghttp2_bufs_reset() local 522 nghttp2_buf_chain *chain; nghttp2_bufs_next_present() local [all...] |
| /third_party/node/deps/nghttp2/lib/ |
| H A D | nghttp2_buf.c | 91 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 160 nghttp2_buf_chain *chain; nghttp2_bufs_realloc() local 185 nghttp2_buf_chain *chain, *next_chain; nghttp2_bufs_free() local 204 nghttp2_buf_chain *chain; nghttp2_bufs_wrap_init() local 305 nghttp2_buf_chain *chain; bufs_alloc_chain() local 435 nghttp2_buf_chain *chain; nghttp2_bufs_remove() local 470 nghttp2_buf_chain *chain; nghttp2_bufs_remove_copy() local 487 nghttp2_buf_chain *chain, *ci; nghttp2_bufs_reset() local 522 nghttp2_buf_chain *chain; nghttp2_bufs_next_present() local [all...] |
| /third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/ |
| H A D | ChainUtils.h | 24 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out); 28 // Verifies that |chain| only contains ChainedStructs of types enumerated in 30 // |oneOfConstraints| defines a set of sTypes that cannot coexist in the same chain. 32 // ValidateSTypes(chain, { { ShaderModuleSPIRVDescriptor, ShaderModuleWGSLDescriptor } })) 33 // ValidateSTypes(chain, { { Extension1 }, { Extension2 } }) 34 MaybeError ValidateSTypes(const ChainedStruct* chain, 38 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, T sType) { in ValidateSingleSTypeInner() argument 39 DAWN_INVALID_IF(chain->sType != sType, in ValidateSingleSTypeInner() 40 "Unsupported sType (%s). Expected (%s)", chain->sType, sType); in ValidateSingleSTypeInner() 45 MaybeError ValidateSingleSTypeInner(const ChainedStruct* chain, argument 55 ValidateSingleSType(const ChainedStruct* chain, T sType) ValidateSingleSType() argument 67 ValidateSingleSType(const ChainedStruct* chain, T sType, Args... sTypes) ValidateSingleSType() argument [all...] |
| H A D | ChainUtils.cpp | 23 void FindInChain(const ChainedStruct* chain, const {{as_cppEnum(value.name)}}** out) { in FindInChain() argument 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, in ValidateSTypes() argument 37 for (; chain; chain = chain in ValidateSTypes() [all...] |
| /third_party/node/deps/openssl/openssl/crypto/ec/curve448/ |
| H A D | scalar.c | 53 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() 83 c448_dword_t chain = 0; sc_montmul() local 127 c448_dword_t chain = 0; ossl_curve448_scalar_add() local 229 c448_dword_t chain = 0; ossl_curve448_scalar_halve() local [all...] |
| /third_party/openssl/crypto/ec/curve448/ |
| H A D | scalar.c | 53 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() 83 c448_dword_t chain = 0; sc_montmul() local 127 c448_dword_t chain = 0; ossl_curve448_scalar_add() local 229 c448_dword_t chain = 0; ossl_curve448_scalar_halve() local [all...] |
| /third_party/ffmpeg/libavformat/ |
| H A D | rtpenc_mpegts.c | 38 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 in rtp_mpegts_write_header() local 140 MuxChain *chain = s->priv_data; rtp_mpegts_write_packet() local [all...] |
| /third_party/mesa3d/src/freedreno/rnn/ |
| H A D | rnn.c | 82 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 in getcontent() 112 xmlNode *chain = attr->children; getattrib() local 239 xmlNode *chain = node->children; parsevalue() local 278 xmlNode *chain = node->children; parsespectype() local 343 xmlNode *chain = node->children; parseenum() local 374 xmlNode *chain = node->children; parsebitfield() local 448 xmlNode *chain = node->children; parsebitset() local 541 xmlNode *chain = node->children; trydelem() local 609 xmlNode *chain = node->children; trydelem() local 652 xmlNode *chain = node->children; parsegroup() local 728 xmlNode *chain = node->children; parsedomain() local 754 xmlNode *chain = node->children; parsecopyright() local 942 xmlNode *chain = root->children; rnn_parsefile() local [all...] |
| /third_party/openssl/test/ |
| H A D | bio_prefix_text.c | 21 * This program sets up a chain of BIO_f_filter() on top of bio_out, how 24 * text from bio_in and prints it out through the BIO chain. 40 static BIO **chain = NULL; variable 53 * idx is the index to the BIO_f_filter chain(), where 0 is closest 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[ in setup_bio_chain() [all...] |
| H A D | cmp_protect_test.c | 29 STACK_OF(X509) *chain; 46 sk_X509_free(fixture->chain); in tear_down() 330 /* The cert chain tests use EC certs so we skip them in no-ec builds */ 336 STACK_OF(X509) *chain = in execute_cmp_build_cert_chain_test() 340 if (TEST_ptr(chain)) { in execute_cmp_build_cert_chain_test() 341 /* Check whether chain built is equal to the expected one */ in execute_cmp_build_cert_chain_test() 342 ret = TEST_int_eq(0, STACK_OF_X509_cmp(chain, fixture->chain)); in execute_cmp_build_cert_chain_test() 343 sk_X509_pop_free(chain, X509_free); in execute_cmp_build_cert_chain_test() 352 chain in execute_cmp_build_cert_chain_test() [all...] |
| /third_party/gn/src/gn/ |
| H A D | header_checker_unittest.cc | 66 // Some headers that are automatically set up with a public dependency chain. 86 // chain so that A -> P -> C. A will depend on C via two different paths. in TEST_F() 100 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() local 109 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[1]); in TEST_F() local 114 chain in TEST_F() 118 EXPECT_EQ(HeaderChecker::ChainLink(&c_, true), chain[0]); TEST_F() local 119 EXPECT_EQ(HeaderChecker::ChainLink(&b_, true), chain[1]); TEST_F() local 120 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[2]); TEST_F() local 137 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]); TEST_F() local 138 EXPECT_EQ(HeaderChecker::ChainLink(&p, true), chain[1]); TEST_F() local 139 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[2]); TEST_F() local 148 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]); TEST_F() local 149 EXPECT_EQ(HeaderChecker::ChainLink(&p, true), chain[1]); TEST_F() local 261 HeaderChecker::Chain chain; TEST_F() local 267 EXPECT_EQ(HeaderChecker::ChainLink(&d_, false), chain[0]); TEST_F() local 268 EXPECT_EQ(HeaderChecker::ChainLink(&z, false), chain[1]); TEST_F() local 269 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[2]); TEST_F() local 281 EXPECT_EQ(HeaderChecker::ChainLink(&d_, true), chain[0]); TEST_F() local 282 EXPECT_EQ(HeaderChecker::ChainLink(&c_, true), chain[1]); TEST_F() local 283 EXPECT_EQ(HeaderChecker::ChainLink(&b_, true), chain[2]); TEST_F() local 284 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[3]); TEST_F() local [all...] |
| H A D | header_checker.cc | 57 // Given a reverse dependency chain where the target chain[0]'s includes are 58 // being used by chain[end] and not all deps are public, returns the string 60 std::string GetDependencyChainPublicError(const HeaderChecker::Chain& chain) { in GetDependencyChainPublicError() argument 63 chain[chain.size() - 1].target->label().GetUserVisibleName(false) + in GetDependencyChainPublicError() 65 chain[0].target->label().GetUserVisibleName(false) + "\n"; in GetDependencyChainPublicError() 67 // Invalid chains should always be 0 (no chain) or more than two in GetDependencyChainPublicError() 70 DCHECK(chain.size() != 1 && chain in GetDependencyChainPublicError() 384 Chain chain; // Prevent reallocating in the loop. CheckInclude() local 517 IsDependencyOf(const Target* search_for, const Target* search_from, Chain* chain, bool* is_permitted) const IsDependencyOf() argument [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
| H A D | NumberFormatterImpl.java | 184 MicroPropsGenerator chain = micros; in macrosToMicroGenerator() 281 chain = usagePrefsHandler = new UsagePrefsHandler(macros.loc, macros.unit, macros.usage, chain); in macrosToMicroGenerator() 283 chain = new UnitConversionHandler(macros.unit, chain); in macrosToMicroGenerator() 288 chain = new MultiplierFormatHandler(macros.scale, chain); in macrosToMicroGenerator() 356 chain = ((ScientificNotation) macros.notation).withLocaleData(micros.symbols, safe, chain); in macrosToMicroGenerator() 409 chain in macrosToMicroGenerator() [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | number_formatimpl.cpp | 126 const MicroPropsGenerator* chain = &fMicros; in macrosToMicroGenerator() local 256 new UsagePrefsHandler(macros.locale, macros.unit, macros.usage.fValue, chain, status); in macrosToMicroGenerator() 258 chain = fUsagePrefsHandler.getAlias(); in macrosToMicroGenerator() 260 auto unitConversionHandler = new UnitConversionHandler(macros.unit, chain, status); in macrosToMicroGenerator() 262 chain = fUnitConversionHandler.getAlias(); in macrosToMicroGenerator() 267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator() 268 chain = &fMicros.helpers.multiplier; in macrosToMicroGenerator() 336 auto newScientificHandler = new ScientificHandler(¯os.notation, fMicros.symbols, chain); in macrosToMicroGenerator() 342 chain = fScientificHandler.getAlias(); in macrosToMicroGenerator() 396 resolvePluralRules(macros.rules, macros.locale, status), chain, statu in macrosToMicroGenerator() [all...] |
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | number_formatimpl.cpp | 126 const MicroPropsGenerator* chain = &fMicros; in macrosToMicroGenerator() local 256 new UsagePrefsHandler(macros.locale, macros.unit, macros.usage.fValue, chain, status); in macrosToMicroGenerator() 258 chain = fUsagePrefsHandler.getAlias(); in macrosToMicroGenerator() 260 auto unitConversionHandler = new UnitConversionHandler(macros.unit, chain, status); in macrosToMicroGenerator() 262 chain = fUnitConversionHandler.getAlias(); in macrosToMicroGenerator() 267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator() 268 chain = &fMicros.helpers.multiplier; in macrosToMicroGenerator() 336 auto newScientificHandler = new ScientificHandler(¯os.notation, fMicros.simple.symbols, chain); in macrosToMicroGenerator() 342 chain = fScientificHandler.getAlias(); in macrosToMicroGenerator() 396 resolvePluralRules(macros.rules, macros.locale, status), chain, statu in macrosToMicroGenerator() [all...] |
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | number_formatimpl.cpp | 126 const MicroPropsGenerator* chain = &fMicros; in macrosToMicroGenerator() local 256 new UsagePrefsHandler(macros.locale, macros.unit, macros.usage.fValue, chain, status); in macrosToMicroGenerator() 258 chain = fUsagePrefsHandler.getAlias(); in macrosToMicroGenerator() 260 auto unitConversionHandler = new UnitConversionHandler(macros.unit, chain, status); in macrosToMicroGenerator() 262 chain = fUnitConversionHandler.getAlias(); in macrosToMicroGenerator() 267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator() 268 chain = &fMicros.helpers.multiplier; in macrosToMicroGenerator() 336 auto newScientificHandler = new ScientificHandler(¯os.notation, fMicros.symbols, chain); in macrosToMicroGenerator() 342 chain = fScientificHandler.getAlias(); in macrosToMicroGenerator() 388 resolvePluralRules(macros.rules, macros.locale, status), chain, statu in macrosToMicroGenerator() [all...] |
| /third_party/node/deps/openssl/openssl/ssl/ |
| H A D | ssl_cert.c | 125 if (cpk->chain) { in ssl_cert_dup() 126 rpk->chain = X509_chain_up_ref(cpk->chain); in ssl_cert_dup() 127 if (!rpk->chain) { in ssl_cert_dup() 225 sk_X509_pop_free(cpk->chain, X509_free); in ssl_cert_clear_certs() 226 cpk->chain = NULL; in ssl_cert_clear_certs() 261 int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set0_chain() argument 268 for (i = 0; i < sk_X509_num(chain); i++) { in ssl_cert_set0_chain() 269 X509 *x = sk_X509_value(chain, i); in ssl_cert_set0_chain() 277 sk_X509_pop_free(cpk->chain, X509_fre in ssl_cert_set0_chain() 282 ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) ssl_cert_set1_chain() argument 982 ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain, int ref) ssl_cert_set_cert_store() argument 996 ssl_cert_get_cert_store(CERT *c, X509_STORE **pstore, int chain) ssl_cert_get_cert_store() argument [all...] |