/third_party/vulkan-loader/scripts/ |
H A D | loader_extension_generator.py | 1017 funcs = '' 1058 funcs += '\n// ---- Core %s trampoline/terminators\n\n' % version.name 1060 funcs += '\n// ---- %s extension trampoline/terminators\n\n' % ext_cmd.ext_name 1064 funcs += '#if defined(%s)\n' % ext_cmd.protect 1124 funcs += tramp_header 1127 funcs += ' const VkLayerInstanceDispatchTable *disp;\n' 1128 funcs += ' VkPhysicalDevice unwrapped_phys_dev = loader_unwrap_physical_device(%s);\n' % (phys_dev_var_name) 1129 funcs += ' if (VK_NULL_HANDLE == unwrapped_phys_dev) {\n' 1130 funcs += ' loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,\n' 1131 funcs [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-draw.cc | 38 * @funcs: draw functions object 46 hb_draw_funcs_set_move_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_move_to_func() argument 49 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_move_to_func() 50 funcs->move_to = move_to; in hb_draw_funcs_set_move_to_func() 55 * @funcs: draw functions object 63 hb_draw_funcs_set_line_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_line_to_func() argument 66 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_line_to_func() 67 funcs->line_to = line_to; in hb_draw_funcs_set_line_to_func() 72 * @funcs: draw functions object 80 hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_quadratic_to_func() argument 98 hb_draw_funcs_set_cubic_to_func(hb_draw_funcs_t *funcs, hb_draw_cubic_to_func_t cubic_to) hb_draw_funcs_set_cubic_to_func() argument 115 hb_draw_funcs_set_close_path_func(hb_draw_funcs_t *funcs, hb_draw_close_path_func_t close_path) hb_draw_funcs_set_close_path_func() argument 152 hb_draw_funcs_t *funcs; hb_draw_funcs_create() local 175 hb_draw_funcs_reference(hb_draw_funcs_t *funcs) hb_draw_funcs_reference() argument 190 hb_draw_funcs_destroy(hb_draw_funcs_t *funcs) hb_draw_funcs_destroy() argument 206 hb_draw_funcs_make_immutable(hb_draw_funcs_t *funcs) hb_draw_funcs_make_immutable() argument 224 hb_draw_funcs_is_immutable(hb_draw_funcs_t *funcs) hb_draw_funcs_is_immutable() argument 242 hb_font_draw_glyph(hb_font_t *font, hb_codepoint_t glyph, const hb_draw_funcs_t *funcs, void *user_data) hb_font_draw_glyph() argument [all...] |
H A D | hb-draw.h | 61 hb_draw_funcs_set_move_to_func (hb_draw_funcs_t *funcs, 65 hb_draw_funcs_set_line_to_func (hb_draw_funcs_t *funcs, 69 hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t *funcs, 73 hb_draw_funcs_set_cubic_to_func (hb_draw_funcs_t *funcs, 77 hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *funcs, 84 hb_draw_funcs_reference (hb_draw_funcs_t *funcs); 87 hb_draw_funcs_destroy (hb_draw_funcs_t *funcs); 90 hb_draw_funcs_make_immutable (hb_draw_funcs_t *funcs); 93 hb_draw_funcs_is_immutable (hb_draw_funcs_t *funcs);
|
H A D | hb-draw.hh | 47 funcs = funcs_; in draw_helper_t() 65 funcs->line_to (x, y, user_data); in line_to() 77 if (funcs->is_quadratic_to_set) in quadratic_to() 78 funcs->quadratic_to (control_x, control_y, to_x, to_y, user_data); in quadratic_to() 80 funcs->cubic_to (roundf ((current_x + 2.f * control_x) / 3.f), in quadratic_to() 99 funcs->cubic_to (control1_x, control1_y, control2_x, control2_y, to_x, to_y, user_data); in cubic_to() 109 funcs->line_to (path_start_x, path_start_y, user_data); in end_path() 110 funcs->close_path (user_data); in end_path() 124 funcs->move_to (path_start_x, path_start_y, user_data); in start_path() 134 const hb_draw_funcs_t *funcs; member [all...] |
H A D | hb-ot-font.cc | 262 hb_font_funcs_t *funcs = hb_font_funcs_create (); in create() local 264 hb_font_funcs_set_font_h_extents_func (funcs, hb_ot_get_font_h_extents, nullptr, nullptr); in create() 265 hb_font_funcs_set_font_v_extents_func (funcs, hb_ot_get_font_v_extents, nullptr, nullptr); in create() 266 hb_font_funcs_set_nominal_glyph_func (funcs, hb_ot_get_nominal_glyph, nullptr, nullptr); in create() 267 hb_font_funcs_set_nominal_glyphs_func (funcs, hb_ot_get_nominal_glyphs, nullptr, nullptr); in create() 268 hb_font_funcs_set_variation_glyph_func (funcs, hb_ot_get_variation_glyph, nullptr, nullptr); in create() 269 hb_font_funcs_set_glyph_h_advances_func (funcs, hb_ot_get_glyph_h_advances, nullptr, nullptr); in create() 270 hb_font_funcs_set_glyph_v_advances_func (funcs, hb_ot_get_glyph_v_advances, nullptr, nullptr); in create() 271 //hb_font_funcs_set_glyph_h_origin_func (funcs, hb_ot_get_glyph_h_origin, nullptr, nullptr); in create() 272 hb_font_funcs_set_glyph_v_origin_func (funcs, hb_ot_get_glyph_v_origi in create() [all...] |
H A D | hb-glib.cc | 227 hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr); in create() local 229 hb_unicode_funcs_set_combining_class_func (funcs, hb_glib_unicode_combining_class, nullptr, nullptr); in create() 230 hb_unicode_funcs_set_general_category_func (funcs, hb_glib_unicode_general_category, nullptr, nullptr); in create() 231 hb_unicode_funcs_set_mirroring_func (funcs, hb_glib_unicode_mirroring, nullptr, nullptr); in create() 232 hb_unicode_funcs_set_script_func (funcs, hb_glib_unicode_script, nullptr, nullptr); in create() 233 hb_unicode_funcs_set_compose_func (funcs, hb_glib_unicode_compose, nullptr, nullptr); in create() 234 hb_unicode_funcs_set_decompose_func (funcs, hb_glib_unicode_decompose, nullptr, nullptr); in create() 236 hb_unicode_funcs_make_immutable (funcs); in create() 240 return funcs; in create()
|
H A D | hb-icu.cc | 247 hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr); in create() local 249 hb_unicode_funcs_set_combining_class_func (funcs, hb_icu_unicode_combining_class, nullptr, nullptr); in create() 250 hb_unicode_funcs_set_general_category_func (funcs, hb_icu_unicode_general_category, nullptr, nullptr); in create() 251 hb_unicode_funcs_set_mirroring_func (funcs, hb_icu_unicode_mirroring, nullptr, nullptr); in create() 252 hb_unicode_funcs_set_script_func (funcs, hb_icu_unicode_script, nullptr, nullptr); in create() 253 hb_unicode_funcs_set_compose_func (funcs, hb_icu_unicode_compose, user_data, nullptr); in create() 254 hb_unicode_funcs_set_decompose_func (funcs, hb_icu_unicode_decompose, user_data, nullptr); in create() 256 hb_unicode_funcs_make_immutable (funcs); in create() 260 return funcs; in create()
|
H A D | hb-ucd.cc | 212 hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr); in create() local 214 hb_unicode_funcs_set_combining_class_func (funcs, hb_ucd_combining_class, nullptr, nullptr); in create() 215 hb_unicode_funcs_set_general_category_func (funcs, hb_ucd_general_category, nullptr, nullptr); in create() 216 hb_unicode_funcs_set_mirroring_func (funcs, hb_ucd_mirroring, nullptr, nullptr); in create() 217 hb_unicode_funcs_set_script_func (funcs, hb_ucd_script, nullptr, nullptr); in create() 218 hb_unicode_funcs_set_compose_func (funcs, hb_ucd_compose, nullptr, nullptr); in create() 219 hb_unicode_funcs_set_decompose_func (funcs, hb_ucd_decompose, nullptr, nullptr); in create() 221 hb_unicode_funcs_make_immutable (funcs); in create() 225 return funcs; in create()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_mem_alloc_wrapper.cpp | 23 VmaVulkanFunctions funcs = {}; in InitAllocator() local 24 funcs.vkGetPhysicalDeviceProperties = vkGetPhysicalDeviceProperties; in InitAllocator() 25 funcs.vkGetPhysicalDeviceMemoryProperties = vkGetPhysicalDeviceMemoryProperties; in InitAllocator() 26 funcs.vkAllocateMemory = vkAllocateMemory; in InitAllocator() 27 funcs.vkFreeMemory = vkFreeMemory; in InitAllocator() 28 funcs.vkMapMemory = vkMapMemory; in InitAllocator() 29 funcs.vkUnmapMemory = vkUnmapMemory; in InitAllocator() 30 funcs.vkFlushMappedMemoryRanges = vkFlushMappedMemoryRanges; in InitAllocator() 31 funcs.vkInvalidateMappedMemoryRanges = vkInvalidateMappedMemoryRanges; in InitAllocator() 32 funcs in InitAllocator() [all...] |
/third_party/vulkan-loader/tests/framework/ |
H A D | test_environment.cpp | 39 void init_vulkan_functions(VulkanFunctions& funcs) { in init_vulkan_functions() argument 43 #define GPA(name) funcs.loader.get_symbol(#name) in init_vulkan_functions() 47 funcs.vkGetInstanceProcAddr = GPA(vkGetInstanceProcAddr); in init_vulkan_functions() 48 funcs.vkEnumerateInstanceExtensionProperties = GPA(vkEnumerateInstanceExtensionProperties); in init_vulkan_functions() 49 funcs.vkEnumerateInstanceLayerProperties = GPA(vkEnumerateInstanceLayerProperties); in init_vulkan_functions() 50 funcs.vkEnumerateInstanceVersion = GPA(vkEnumerateInstanceVersion); in init_vulkan_functions() 51 funcs.vkCreateInstance = GPA(vkCreateInstance); in init_vulkan_functions() 52 funcs.vkDestroyInstance = GPA(vkDestroyInstance); in init_vulkan_functions() 53 funcs.vkEnumeratePhysicalDevices = GPA(vkEnumeratePhysicalDevices); in init_vulkan_functions() 54 funcs in init_vulkan_functions() [all...] |
/third_party/libdrm/freedreno/ |
H A D | freedreno_ringbuffer.c | 48 ring = pipe->funcs->ringbuffer_new(pipe, size, flags); in fd_ringbuffer_new_flags() 54 ring->start = ring->funcs->hostptr(ring); in fd_ringbuffer_new_flags() 80 ring->funcs->destroy(ring); in fd_ringbuffer_del() 109 if (ring->funcs->reset) in fd_ringbuffer_reset() 110 ring->funcs->reset(ring); in fd_ringbuffer_reset() 115 return ring->funcs->flush(ring, ring->last_start, -1, NULL); in fd_ringbuffer_flush() 121 return ring->funcs->flush(ring, ring->last_start, in_fence_fd, out_fence_fd); in fd_ringbuffer_flush2() 126 assert(ring->funcs->grow); /* unsupported on kgsl */ in fd_ringbuffer_grow() 132 ring->funcs->grow(ring, ring->size); in fd_ringbuffer_grow() 134 ring->start = ring->funcs in fd_ringbuffer_grow() [all...] |
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1parse.h | 87 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l ) 91 if ( (p)->funcs.release ) \ 92 (p)->funcs.release( p ); \ 96 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) 97 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) 99 #define T1_ToInt( p ) (p)->root.funcs.to_int( &(p)->root ) 100 #define T1_ToFixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) 103 (p)->root.funcs.to_coord_array( &(p)->root, m, c ) 105 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) 107 (p)->root.funcs [all...] |
/third_party/libdrm/radeon/ |
H A D | radeon_bo.c | 49 bo = bom->funcs->bo_open(bom, handle, size, alignment, domains, flags); in radeon_bo_open() 57 boi->bom->funcs->bo_ref(boi); in radeon_bo_ref() 67 return boi->bom->funcs->bo_unref(boi); in radeon_bo_unref() 73 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map() 79 return boi->bom->funcs->bo_unmap(boi); in radeon_bo_unmap() 85 if (!boi->bom->funcs->bo_wait) in radeon_bo_wait() 87 return boi->bom->funcs->bo_wait(boi); in radeon_bo_wait() 93 return boi->bom->funcs->bo_is_busy(boi, domain); in radeon_bo_is_busy() 101 return boi->bom->funcs->bo_set_tiling(boi, tiling_flags, pitch); in radeon_bo_set_tiling() 109 return boi->bom->funcs in radeon_bo_get_tiling() [all...] |
H A D | radeon_cs.c | 9 struct radeon_cs_int *csi = csm->funcs->cs_create(csm, ndw); in radeon_cs_create() 20 return csi->csm->funcs->cs_write_reloc(csi, in radeon_cs_write_reloc() 32 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin() 40 return csi->csm->funcs->cs_end(csi, file, func, line); in radeon_cs_end() 46 return csi->csm->funcs->cs_emit(csi); in radeon_cs_emit() 52 return csi->csm->funcs->cs_destroy(csi); in radeon_cs_destroy() 58 return csi->csm->funcs->cs_erase(csi); in radeon_cs_erase() 64 return csi->csm->funcs->cs_need_flush(csi); in radeon_cs_need_flush() 70 csi->csm->funcs->cs_print(csi, file); in radeon_cs_print()
|
/third_party/musl/src/thread/ |
H A D | pthread_atfork.c | 16 } *funcs, *gwpfuncs; variable 23 if (!funcs) return; in __fork_handler() 26 for (p=funcs; p; p = p->next) { in __fork_handler() 28 funcs = p; in __fork_handler() 36 for (p=funcs; p; p = p->prev) { in __fork_handler() 39 funcs = p; in __fork_handler() 65 new->next = funcs; in pthread_atfork() 70 if (funcs) funcs->prev = new; in pthread_atfork() 71 funcs in pthread_atfork() [all...] |
/third_party/skia/third_party/externals/freetype/src/cid/ |
H A D | cidparse.h | 103 (p)->root.funcs.skip_spaces( &(p)->root ) 105 (p)->root.funcs.skip_PS_token( &(p)->root ) 107 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root ) 108 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) 111 (p)->root.funcs.to_coord_array( &(p)->root, m, c ) 113 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) 115 (p)->root.funcs.to_token( &(p)->root, t ) 117 (p)->root.funcs.to_token_array( &(p)->root, t, m, c ) 120 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 ) 122 (p)->root.funcs [all...] |
H A D | cidobjs.c | 76 T1_Hints_Funcs funcs; in FT_LOCAL_DEF() local 79 funcs = pshinter->get_t1_funcs( module ); in FT_LOCAL_DEF() 80 slot->internal->glyph_hints = (void*)funcs; in FT_LOCAL_DEF() 119 PSH_Globals_Funcs funcs; in cid_size_done() local 122 funcs = cid_size_get_globals_funcs( size ); in cid_size_done() 123 if ( funcs ) in cid_size_done() 124 funcs->destroy( (PSH_Globals)cidsize->internal->module_data ); in cid_size_done() 136 PSH_Globals_Funcs funcs = cid_size_get_globals_funcs( size ); in FT_LOCAL_DEF() local 139 if ( funcs ) in FT_LOCAL_DEF() 147 error = funcs in FT_LOCAL_DEF() 162 PSH_Globals_Funcs funcs; FT_LOCAL() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-draw.c | 163 static hb_draw_funcs_t *funcs; variable 169 g_assert (!hb_font_draw_glyph (hb_font_get_empty (), 3, funcs, NULL)); in test_hb_draw_empty() 187 g_assert (!hb_font_draw_glyph (font, 4, funcs, &user_data)); in test_hb_draw_glyf() 190 g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); in test_hb_draw_glyf() 220 g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); in test_hb_draw_glyf() 246 g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); in test_hb_draw_cff1() 269 g_assert (hb_font_draw_glyph (font, 1, funcs, &user_data)); in test_hb_draw_cff1_rline() 294 g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); in test_hb_draw_cff2() 308 g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); in test_hb_draw_cff2() 334 g_assert (hb_font_draw_glyph (font, 0, funcs, in test_hb_draw_ttf_parser_tests() [all...] |
/third_party/libinput/src/ |
H A D | filter-custom.c | 205 } funcs; member 214 return f->funcs.fallback; in custom_accelerator_get_custom_function() 216 return f->funcs.motion ? f->funcs.motion : f->funcs.fallback; in custom_accelerator_get_custom_function() 218 return f->funcs.scroll ? f->funcs.scroll : f->funcs.fallback; in custom_accelerator_get_custom_function() 221 return f->funcs.fallback; in custom_accelerator_get_custom_function() 266 custom_accel_function_destroy(f->funcs in custom_accelerator_destroy() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 6241 FuncSet funcs; 6243 m_stmt->getUsedFuncs(funcs); 6244 for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it) 6248 if (!funcs.empty()) 6843 GenFuncCaseFactory (const GenFuncs<Sig>& funcs, const string& name, bool modularOp = false) 6844 : m_funcs (funcs) 7022 void addScalarFactory (BuiltinFuncs& funcs, string name = "", bool modularOp = false) 7027 funcs.addFactory(SharedPtr<const CaseFactory>(new GenFuncCaseFactory<typename F::Sig>(makeVectorizedFuncs<F>(), name, modularOp))); 7032 MovePtr<BuiltinFuncs> funcs (ne [all...] |
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_ringbuffer.h | 143 const struct fd_ringbuffer_funcs *funcs; member 163 ring->funcs->destroy(ring); in fd_ringbuffer_del() 176 assert(ring->funcs->grow); /* unsupported on kgsl */ in fd_ringbuffer_grow() 181 ring->funcs->grow(ring, ring->size); in fd_ringbuffer_grow() 187 return ring->funcs->check_size(ring); in fd_ringbuffer_check_size() 222 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc() 228 if (!ring->funcs->cmd_count) in fd_ringbuffer_cmd_count() 230 return ring->funcs->cmd_count(ring); in fd_ringbuffer_cmd_count() 238 return ring->funcs->emit_reloc_ring(ring, target, cmd_idx); in fd_ringbuffer_emit_reloc_ring_full()
|
H A D | freedreno_ringbuffer.c | 36 struct fd_submit *submit = pipe->funcs->submit_new(pipe); in fd_submit_new() 53 submit->funcs->destroy(submit); in fd_submit_del() 68 return submit->funcs->flush(submit, in_fence_fd, out_fence); in fd_submit_flush() 81 submit->funcs->new_ringbuffer(submit, size, flags); in fd_submit_new_ringbuffer() 94 return pipe->funcs->ringbuffer_new_object(pipe, size); in fd_ringbuffer_new_object()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_query_hw.c | 112 if (hq->funcs && hq->funcs->destroy_query) { in nv50_hw_destroy_query() 113 hq->funcs->destroy_query(nv50, hq); in nv50_hw_destroy_query() 128 if (hq->funcs && hq->funcs->begin_query) in nv50_hw_begin_query() 129 return hq->funcs->begin_query(nv50, hq); in nv50_hw_begin_query() 203 if (hq->funcs && hq->funcs->end_query) { in nv50_hw_end_query() 204 hq->funcs->end_query(nv50, hq); in nv50_hw_end_query() 282 if (hq->funcs in nv50_hw_get_query_result() [all...] |
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-promise-object.c | 461 ecma_promise_resolving_functions_t *funcs, /**< [out] resolving functions */ in ecma_promise_create_resolving_functions() 465 funcs->resolve = ecma_promise_create_resolving_functions_helper (object_p, in ecma_promise_create_resolving_functions() 469 funcs->reject = ecma_promise_create_resolving_functions_helper (object_p, in ecma_promise_create_resolving_functions() 480 value_p = ecma_create_named_data_property (ecma_get_object_from_value (funcs->resolve), in ecma_promise_create_resolving_functions() 486 value_p = ecma_create_named_data_property (ecma_get_object_from_value (funcs->reject), in ecma_promise_create_resolving_functions() 499 ecma_promise_free_resolving_functions (ecma_promise_resolving_functions_t *funcs) /**< points to the functions */ in ecma_promise_free_resolving_functions() argument 501 ecma_free_value (funcs->resolve); in ecma_promise_free_resolving_functions() 502 ecma_free_value (funcs->reject); in ecma_promise_free_resolving_functions() 545 ecma_promise_resolving_functions_t funcs; in ecma_op_create_promise_object() local 546 ecma_promise_create_resolving_functions (object_p, &funcs, fals in ecma_op_create_promise_object() 460 ecma_promise_create_resolving_functions(ecma_object_t *object_p, ecma_promise_resolving_functions_t *funcs, bool create_already_resolved) ecma_promise_create_resolving_functions() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_cache.c | 58 const struct ir3_cache_funcs *funcs; member 63 ir3_cache_create(const struct ir3_cache_funcs *funcs, void *data) in ir3_cache_create() argument 68 cache->funcs = funcs; in ir3_cache_create() 82 cache->funcs->destroy_state(cache->data, entry->data); in ir3_cache_destroy() 156 struct ir3_program_state *state = cache->funcs->create_state( in ir3_cache_lookup() 184 cache->funcs->destroy_state(cache->data, entry->data); in ir3_cache_invalidate()
|