Home
last modified time | relevance | path

Searched refs:as_function (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/bindgen/ir/
Ditem_kind.rs55 pub(crate) fn as_function(&self) -> Option<&Function> { in as_function() method
64 self.as_function().is_some() in is_function()
70 self.as_function().expect("Not a function") in expect_function()
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dir_basic_block.cpp80 } else if ((ir_function = ir->as_function())) { in call_for_basic_blocks()
H A Dopt_dead_code.cpp173 ir_function *f = ir->as_function(); in do_dead_code_unlinked()
H A Dlinker.cpp635 if (inst->as_function()) in move_non_declarations()
1577 ir_function *const f = node->as_function(); in link_intrastage_shaders()
H A Dir.cpp2244 ir_function *fn = ir->as_function(); in steal_memory()
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_sugared_value.cpp27 std::optional<StrongFunctionPtr> as_function(const py::object& obj) { in as_function() function
1204 if (auto callee = as_function(obj)) { in toSugaredValue()
1369 if (auto callee = as_function(compiled_fn)) { in toSugaredValue()
H A Dpython_sugared_value.h30 std::optional<StrongFunctionPtr> as_function(const py::object& obj);