Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata_unittest.cpp74 auto func_dict = pdfium::MakeRetain<CPDF_Dictionary>(); in CreateType0FunctionStream() local
75 func_dict->SetNewFor<CPDF_Number>("FunctionType", 0); in CreateType0FunctionStream()
77 CPDF_Array* domain_array = func_dict->SetNewFor<CPDF_Array>("Domain"); in CreateType0FunctionStream()
81 CPDF_Array* range_array = func_dict->SetNewFor<CPDF_Array>("Range"); in CreateType0FunctionStream()
85 CPDF_Array* size_array = func_dict->SetNewFor<CPDF_Array>("Size"); in CreateType0FunctionStream()
88 func_dict->SetNewFor<CPDF_Number>("BitsPerSample", 8); in CreateType0FunctionStream()
95 std::move(func_dict)); in CreateType0FunctionStream()
99 auto func_dict = pdfium::MakeRetain<CPDF_Dictionary>(); in CreateType2FunctionDict() local
100 func_dict->SetNewFor<CPDF_Number>("FunctionType", 2); in CreateType2FunctionDict()
101 func_dict->SetNewFor<CPDF_Number>("N", 1); in CreateType2FunctionDict()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/UpdateTestChecks/
Dcommon.py99 …dy_dictionary(function_re, scrubber, scrubber_args, raw_tool_output, prefixes, func_dict, verbose): argument
119 if func in func_dict[prefix] and str(func_dict[prefix][func]) != scrubbed_body:
120 if func_dict[prefix][func] and func_dict[prefix][func].extrascrub == scrubbed_extra:
121 func_dict[prefix][func].scrub = scrubbed_extra
128 func_dict[prefix][func] = None
131 func_dict[prefix][func] = function_body(scrubbed_body, scrubbed_extra)
192 def add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_format,… argument
201 if func_name not in func_dict[checkprefix] or not func_dict[checkprefix][func_name]:
212 func_body = str(func_dict[checkprefix][func_name]).splitlines()
259 def add_ir_checks(output_lines, comment_marker, prefix_list, func_dict, func_name): argument
[all …]
Dasm.py202 def build_function_body_dictionary_for_triple(args, raw_tool_output, triple, prefixes, func_dict): argument
252 func_dict, args.verbose)
256 def add_asm_checks(output_lines, comment_marker, prefix_list, func_dict, func_name): argument
259 …common.add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_for…
/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/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_mir_test_checks.py182 func_dict, verbose): argument
191 if func in func_dict[prefix] and func_dict[prefix][func] != body:
194 func_dict[prefix][func] = body
197 def add_checks_for_function(test, output_lines, run_list, func_dict, func_name, argument
204 if not func_dict[prefix][func_name]:
212 func_dict[prefix][func_name].splitlines())
304 func_dict = {}
307 func_dict.update({prefix: dict()})
319 prefixes, func_dict, verbose)
372 func_dict, func_name, single_bb=False,
[all …]
Dupdate_cc_test_checks.py113 def get_function_body(args, filename, clang_args, prefixes, triple_in_cmd, func_dict): argument
120 raw_tool_output, prefixes, func_dict, args.verbose)
193 func_dict = {}
197 func_dict.update({prefix: dict()})
203 get_function_body(args, filename, clang_args, prefixes, triple_in_cmd, func_dict)
229 common.add_ir_checks(output_lines, '//', run_list, func_dict, mangled)
Dupdate_test_checks.py116 func_dict = {}
119 func_dict.update({prefix: dict()})
128 raw_tool_output, prefixes, func_dict, args.verbose)
149 common.add_ir_checks(output_lines, ';', prefix_list, func_dict, func_name)
Dupdate_llc_test_checks.py103 func_dict = {}
107 func_dict.update({prefix: dict()})
118 triple_in_cmd or triple_in_ir or 'x86', prefixes, func_dict)
140 asm.add_asm_checks(output_lines, ';', run_list, func_dict, func_name)
Dupdate_analyze_test_checks.py116 func_dict = {}
119 func_dict.update({prefix: dict()})
131 raw_tool_output, prefixes, func_dict, args.verbose)
152 common.add_analyze_checks(output_lines, ';', prefix_list, func_dict, func_name)
/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/cpython3/Objects/
Dfuncobject.c52 op->func_dict = NULL; in PyFunction_NewWithQualName()
583 Py_CLEAR(op->func_dict); in func_clear()
618 Py_VISIT(f->func_dict); in func_traverse()
684 offsetof(PyFunctionObject, func_dict), /* tp_dictoffset */
/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/cpython3/Include/
Dfuncobject.h30 PyObject *func_dict; /* The __dict__ attribute, a dict or NULL */ member
/external/python/cpython3/Doc/whatsnew/
D3.0.rst786 :attr:`func_dict`, :attr:`func_doc`, :attr:`func_globals`,
/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
/external/python/cpython3/Misc/
DHISTORY24510 - A function's __dict__ (aka func_dict) will now always be a
25462 (a.k.a. func_dict) which hold the function attributes. Methods get