Home
last modified time | relevance | path

Searched refs:function_record (Results 1 – 5 of 5) sorted by relevance

/external/python/pybind11/include/pybind11/
Dattr.h141 struct function_record {
142 function_record()
166 void (*free_data) (function_record *ptr) = nullptr;
217 function_record *next = nullptr;
308 inline function_call::function_call(const function_record &f, handle p) :
327 static void init(const T &, function_record *) { }
335 static void init(const name &n, function_record *r) { r->name = const_cast<char *>(n.value); }
340 static void init(const doc &n, function_record *r) { r->doc = const_cast<char *>(n.value); }
345 static void init(const char *d, function_record *r) { r->doc = const_cast<char *>(d); }
352 static void init(const return_value_policy &p, function_record *r) { r->policy = p; }
[all …]
Dpybind11.h120 void operator()(detail::function_record * rec) { destruct(rec, false); } in PYBIND11_NAMESPACE_BEGIN()
122 …using unique_function_record = std::unique_ptr<detail::function_record, InitializingFunctionRecord… in PYBIND11_NAMESPACE_BEGIN()
126 return unique_function_record(new detail::function_record()); in PYBIND11_NAMESPACE_BEGIN()
154 rec->free_data = [](function_record *r) { ((capture *) &r->data)->~capture(); }; in PYBIND11_NAMESPACE_BEGIN()
157 rec->free_data = [](function_record *r) { delete ((capture *) r->data[0]); }; in PYBIND11_NAMESPACE_BEGIN()
376 detail::function_record *chain = nullptr, *chain_start = rec; in PYBIND11_NAMESPACE_BEGIN()
380 chain = (detail::function_record *) rec_capsule; in PYBIND11_NAMESPACE_BEGIN()
401 destruct((detail::function_record *) ptr); in PYBIND11_NAMESPACE_BEGIN()
499 static void destruct(detail::function_record *rec, bool free_strings = true) { in PYBIND11_NAMESPACE_BEGIN()
507 detail::function_record *next = rec->next; in PYBIND11_NAMESPACE_BEGIN()
[all …]
Dfunctional.h47 auto rec = (function_record *) c;
Dcast.h1960 struct function_record;
1964 function_call(const function_record &f, handle p); // Implementation in attr.h
1967 const function_record &func;
/external/mesa3d/src/compiler/glsl/
Dlower_jumps.cpp210 struct function_record struct
218 function_record(ir_function_signature* p_signature = 0, in function_record() function
275 struct function_record function;
976 function_record saved_function = this->function; in visit()
978 this->function = function_record(ir, lower_return); in visit()