/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | binary_parse_test.cpp | 273 auto ctx = spvtools::Context(SPV_ENV_UNIVERSAL_1_1); in TEST_F() local 274 ctx.SetMessageConsumer(nullptr); in TEST_F() 280 spvBinaryParse(ctx.CContext(), &client_, words.data(), words.size(), in TEST_F() 287 auto ctx = spvtools::Context(SPV_ENV_UNIVERSAL_1_1); in TEST_F() local 289 ctx.SetMessageConsumer([&invocation](spv_message_level_t, const char*, in TEST_F() 296 spvBinaryParse(ctx.CContext(), &client_, words.data(), words.size(), in TEST_F() 304 auto ctx = spvtools::Context(SPV_ENV_UNIVERSAL_1_1); in TEST_F() local 306 ctx.SetMessageConsumer( in TEST_F() 322 spvBinaryParse(ctx.CContext(), &client_, words.data(), words.size(), in TEST_F() 330 auto ctx in TEST_F() local 348 auto ctx = spvtools::Context(SPV_ENV_UNIVERSAL_1_1); TEST_F() local [all...] |
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_dx12.cpp | 90 static void ImGui_ImplDX12_SetupRenderState(ImDrawData* draw_data, ID3D12GraphicsCommandList* ctx, ImGui_ImplDX12_RenderBuffers* fr) in ImGui_ImplDX12_SetupRenderState() argument 120 ctx->RSSetViewports(1, &vp); in ImGui_ImplDX12_SetupRenderState() 130 ctx->IASetVertexBuffers(0, 1, &vbv); in ImGui_ImplDX12_SetupRenderState() 136 ctx->IASetIndexBuffer(&ibv); in ImGui_ImplDX12_SetupRenderState() 137 ctx->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); in ImGui_ImplDX12_SetupRenderState() 138 ctx->SetPipelineState(bd->pPipelineState); in ImGui_ImplDX12_SetupRenderState() 139 ctx->SetGraphicsRootSignature(bd->pRootSignature); in ImGui_ImplDX12_SetupRenderState() 140 ctx->SetGraphicsRoot32BitConstants(0, 16, &vertex_constant_buffer, 0); in ImGui_ImplDX12_SetupRenderState() 144 ctx->OMSetBlendFactor(blend_factor); in ImGui_ImplDX12_SetupRenderState() 156 void ImGui_ImplDX12_RenderDrawData(ImDrawData* draw_data, ID3D12GraphicsCommandList* ctx) in ImGui_ImplDX12_RenderDrawData() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_entry_lite.h | 238 const char* _InternalParse(const char* ptr, ParseContext* ctx) final { 239 while (!ctx->Done(&ptr)) { 246 ptr = KeyTypeHandler::Read(ptr, ctx, key); 251 ptr = ValueTypeHandler::Read(ptr, ctx, value); 256 ctx->SetLastTag(tag); 260 ctx); 395 const char* _InternalParse(const char* ptr, ParseContext* ctx) { in _InternalParse() argument 396 if (PROTOBUF_PREDICT_TRUE(!ctx->Done(&ptr) && *ptr == kKeyTag)) { in _InternalParse() 397 ptr = KeyTypeHandler::Read(ptr + 1, ctx, &key_); in _InternalParse() 401 if (PROTOBUF_PREDICT_TRUE(!ctx in _InternalParse() 437 ParseWithEnumValidation(const char* ptr, ParseContext* ctx, bool (*is_valid)(int), uint32 field_num, InternalMetadata* metadata) ParseWithEnumValidation() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemFillUpdateCopyBufferTests.cpp | 78 FillUpdateCopyBufferTestInstance (Context& ctx, 113 virtual TestInstance* createInstance (Context& ctx) const in createInstance() 115 return new FillUpdateCopyBufferTestInstance<T>(ctx, m_fillValue, m_validator, m_cmdType, m_cmdBufferType); in createInstance() 137 FillUpdateCopyBufferTestInstance<T>::FillUpdateCopyBufferTestInstance (Context& ctx, in FillUpdateCopyBufferTestInstance() argument 142 : ProtectedTestInstance (ctx) in FillUpdateCopyBufferTestInstance() 153 ProtectedContext& ctx (m_protectedContext); in iterate() 154 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in iterate() 155 const vk::VkDevice device = ctx.getDevice(); in iterate() 156 const vk::VkQueue queue = ctx.getQueue(); in iterate() 157 const deUint32 queueFamilyIndex = ctx in iterate() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | tree-log.c | 99 struct btrfs_log_ctx *ctx); 139 struct btrfs_log_ctx *ctx) in start_log_trans() 177 if (ctx && !ctx->logging_new_name) { in start_log_trans() 179 list_add_tail(&ctx->list, &root->log_ctxs[index]); in start_log_trans() 180 ctx->log_transid = root->log_transid; in start_log_trans() 3019 struct btrfs_log_ctx *ctx) in btrfs_remove_log_ctx() 3021 if (!ctx) in btrfs_remove_log_ctx() 3025 list_del_init(&ctx->list); in btrfs_remove_log_ctx() 3036 struct btrfs_log_ctx *ctx; in btrfs_remove_all_log_ctxs() local 137 start_log_trans(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_log_ctx *ctx) start_log_trans() argument 3018 btrfs_remove_log_ctx(struct btrfs_root *root, struct btrfs_log_ctx *ctx) btrfs_remove_log_ctx() argument 3059 btrfs_sync_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_log_ctx *ctx) btrfs_sync_log() argument 3578 log_dir_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, int key_type, struct btrfs_log_ctx *ctx, u64 min_offset, u64 *last_offset_ret) log_dir_items() argument 3786 log_directory_changes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx) log_directory_changes() argument 4134 log_extent_csums(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_root *log_root, const struct extent_map *em, struct btrfs_log_ctx *ctx) log_extent_csums() argument 4241 log_one_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_root *root, const struct extent_map *em, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_one_extent() argument 4455 btrfs_log_changed_extents(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) btrfs_log_changed_extents() argument 4924 log_conflicting_inodes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx, u64 ino, u64 parent) log_conflicting_inodes() argument 5095 copy_inode_items_to_log(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_key *min_key, const struct btrfs_key *max_key, struct btrfs_path *path, struct btrfs_path *dst_path, const u64 logged_isize, const bool recursive_logging, const int inode_only, struct btrfs_log_ctx *ctx, bool *need_log_inode_item) copy_inode_items_to_log() argument 5260 btrfs_log_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, int inode_only, struct btrfs_log_ctx *ctx) btrfs_log_inode() argument 5655 log_new_dir_dentries(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *start_inode, struct btrfs_log_ctx *ctx) log_new_dir_dentries() argument 5786 btrfs_log_all_parents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_log_ctx *ctx) btrfs_log_all_parents() argument 5907 log_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_new_ancestors() argument 5972 log_new_ancestors_fast(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, struct btrfs_log_ctx *ctx) log_new_ancestors_fast() argument 6010 log_all_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, struct btrfs_log_ctx *ctx) log_all_new_ancestors() argument 6099 btrfs_log_inode_parent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, int inode_only, struct btrfs_log_ctx *ctx) btrfs_log_inode_parent() argument 6249 btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, struct dentry *dentry, struct btrfs_log_ctx *ctx) btrfs_log_dentry_safe() argument 6526 struct btrfs_log_ctx ctx; btrfs_log_new_name() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 81 dc->ctx 84 dc->ctx->logger 169 static int get_seamless_boot_stream_count(struct dc_state *ctx) in get_seamless_boot_stream_count() argument 174 for (i = 0; i < ctx->stream_count; i++) in get_seamless_boot_stream_count() 175 if (ctx->streams[i]->apply_seamless_boot_optimization) in get_seamless_boot_stream_count() 187 struct dc_bios *bios = dc->ctx->dc_bios; in create_links() 215 link_init_params.ctx = dc->ctx; in create_links() 236 link_init_params.ctx = dc->ctx; in create_links() 1395 enable_timing_multisync( struct dc *dc, struct dc_state *ctx) enable_timing_multisync() argument 1419 program_timing_sync( struct dc *dc, struct dc_state *ctx) program_timing_sync() argument 2715 stream_get_status( struct dc_state *ctx, struct dc_stream_state *stream) stream_get_status() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_texture.c | 134 static void r600_copy_to_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_to_staging_texture() argument 136 struct r600_common_context *rctx = (struct r600_common_context*)ctx; in r600_copy_to_staging_texture() 142 r600_copy_region_with_blit(ctx, dst, 0, 0, 0, 0, in r600_copy_to_staging_texture() 147 rctx->dma_copy(ctx, dst, 0, 0, 0, 0, src, transfer->level, in r600_copy_to_staging_texture() 152 static void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_from_staging_texture() argument 154 struct r600_common_context *rctx = (struct r600_common_context*)ctx; in r600_copy_from_staging_texture() 163 r600_copy_region_with_blit(ctx, dst, transfer->level, in r600_copy_from_staging_texture() 169 rctx->dma_copy(ctx, dst, transfer->level, in r600_copy_from_staging_texture() 320 struct pipe_context *ctx = &rctx->b; in r600_eliminate_fast_color_clear() local 322 if (ctx in r600_eliminate_fast_color_clear() 470 r600_texture_get_handle(struct pipe_screen* screen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *whandle, unsigned usage) r600_texture_get_handle() argument 1149 r600_init_flushed_depth_texture(struct pipe_context *ctx, struct pipe_resource *texture, struct r600_texture **staging) r600_init_flushed_depth_texture() argument 1283 r600_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) r600_texture_transfer_map() argument 1468 r600_texture_transfer_unmap(struct pipe_context *ctx, struct pipe_transfer* transfer) r600_texture_transfer_unmap() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_test_kern6.c | 11 int dump_bpf_hash_map(struct bpf_iter__bpf_map_elem *ctx) in dump_bpf_hash_map() argument 13 void *value = ctx->value; in dump_bpf_hash_map()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_intr.h | 17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | test_overhead_raw_tp_kern.c | 7 int prog(struct bpf_raw_tracepoint_args *ctx) in prog() argument 13 int prog2(struct bpf_raw_tracepoint_args *ctx) in prog2() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
H A D | rv2_clk_mgr.c | 37 void rv2_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr, struct pp_smu_funcs *pp_smu) in rv2_clk_mgr_construct() argument 40 rv1_clk_mgr_construct(ctx, clk_mgr, pp_smu); in rv2_clk_mgr_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
H A D | rv2_clk_mgr.c | 37 void rv2_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr, struct pp_smu_funcs *pp_smu) in rv2_clk_mgr_construct() argument 40 rv1_clk_mgr_construct(ctx, clk_mgr, pp_smu); in rv2_clk_mgr_construct()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_intr.h | 17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_load_detect.h | 15 struct drm_modeset_acquire_ctx *ctx); 18 struct drm_modeset_acquire_ctx *ctx);
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_test_kern6.c | 11 int dump_bpf_hash_map(struct bpf_iter__bpf_map_elem *ctx) in dump_bpf_hash_map() argument 13 void *value = ctx->value; in dump_bpf_hash_map()
|
H A D | kprobe_multi_override.c | 9 int test_override(struct pt_regs *ctx) in test_override() argument 11 bpf_override_return(ctx, 123); in test_override()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | tracex7.bpf.c | 6 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1() argument 10 bpf_override_return(ctx, rc); in bpf_prog1()
|
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | videodsp_init.c | 26 av_cold void ff_videodsp_init_aarch64(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_aarch64() argument 31 ctx->prefetch = ff_prefetch_aarch64; in ff_videodsp_init_aarch64()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | program.h | 37 _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader, 45 link_shaders(struct gl_context *ctx, struct gl_shader_program *prog);
|
/third_party/mesa3d/src/mesa/main/ |
H A D | scissor.h | 35 _mesa_set_scissor(struct gl_context *ctx, unsigned idx, 40 _mesa_init_scissor(struct gl_context *ctx);
|
/third_party/mesa3d/src/mesa/program/ |
H A D | programopt.h | 41 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog); 44 _mesa_append_fog_code(struct gl_context *ctx, struct gl_program *fprog,
|
/third_party/lwip/src/include/netif/ppp/polarssl/ |
H A D | arc4.h | 60 * \param ctx ARC4 context to be initialized 64 void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen ); 69 * \param ctx ARC4 context 73 void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_context.h | 42 fd2_context(struct fd_context *ctx) in fd2_context() argument 44 return (struct fd2_context *)ctx; in fd2_context()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_transfer.h | 32 r300_texture_transfer_map(struct pipe_context *ctx, 40 r300_texture_transfer_unmap(struct pipe_context *ctx,
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | IBufferMessage.cs | 46 void InternalMergeFrom(ref ParseContext ctx); in InternalMergeFrom() argument 52 void InternalWriteTo(ref WriteContext ctx); in InternalWriteTo() argument
|