Home
last modified time | relevance | path

Searched refs:func_dict (Results 1 – 8 of 8) sorted by relevance

/external/llvm/utils/
Dupdate_llc_test_checks.py75 def build_function_body_dictionary(raw_tool_output, prefixes, func_dict, verbose): argument
89 if func in func_dict[prefix] and func_dict[prefix][func] != scrubbed_body:
94 func_dict[prefix][func] = None
97 func_dict[prefix][func] = scrubbed_body
100 def add_checks(output_lines, prefix_list, func_dict, func_name): argument
106 if not func_dict[checkprefix][func_name]:
113 func_body = func_dict[checkprefix][func_name].splitlines()
188 func_dict = {}
191 func_dict.update({prefix: dict()})
198 build_function_body_dictionary(raw_tool_output, prefixes, func_dict, args.verbose)
[all …]
Dupdate_test_checks.py113 def build_function_body_dictionary(raw_tool_output, prefixes, func_dict, verbose, tool_basename): argument
131 if func in func_dict[prefix] and func_dict[prefix][func] != scrubbed_body:
136 func_dict[prefix][func] = None
139 func_dict[prefix][func] = scrubbed_body
188 def add_checks(output_lines, prefix_list, func_dict, func_name, tool_basename): argument
200 if not func_dict[checkprefix][func_name]:
208 func_body = func_dict[checkprefix][func_name].splitlines()
326 func_dict = {}
329 func_dict.update({prefix: dict()})
336 … build_function_body_dictionary(raw_tool_output, prefixes, func_dict, args.verbose, tool_basename)
[all …]
/external/python/cpython2/Objects/
Dfuncobject.c38 op->func_dict = NULL; in PyFunction_New()
189 if (op->func_dict == NULL) { in func_get_dict()
190 op->func_dict = PyDict_New(); in func_get_dict()
191 if (op->func_dict == NULL) in func_get_dict()
194 Py_INCREF(op->func_dict); in func_get_dict()
195 return op->func_dict; in func_get_dict()
217 tmp = op->func_dict; in func_set_dict()
219 op->func_dict = value; in func_set_dict()
457 Py_XDECREF(op->func_dict); in func_dealloc()
479 Py_VISIT(f->func_dict); in func_traverse()
[all …]
/external/python/cpython2/Include/
Dfuncobject.h29 PyObject *func_dict; /* The __dict__ attribute, a dict or NULL */ member
/external/python/cpython2/Lib/test/
Dtest_funcattrs.py270 self.assertIs(d, self.b.func_dict)
279 self.assertEqual(self.b.func_dict['known_attr'], 7)
294 del self.b.func_dict
/external/python/cpython2/Doc/reference/
Ddatamodel.rst495 single: func_dict (function attribute)
535 | :attr:`func_dict` | attributes. | |
/external/python/cpython2/Misc/
Dcheatsheet1257 func_dict (dict, R/W): same as __dict__ contains the namespace supporting
DHISTORY7131 - A function's __dict__ (aka func_dict) will now always be a
8083 (a.k.a. func_dict) which hold the function attributes. Methods get