Home
last modified time | relevance | path

Searched refs:funcname (Results 1 – 25 of 146) sorted by relevance

123456

/external/python/cpython3/Tools/c-analyzer/c_analyzer/common/
Dinfo.py38 def __new__(cls, filename, funcname, name): argument
42 funcname=str(funcname) if funcname else None,
60 if self.funcname:
63 if not NAME_RE.match(self.funcname) and self.funcname != UNKNOWN:
72 return self.funcname is not None
100 if other.funcname == UNKNOWN:
102 elif self.funcname != UNKNOWN:
110 if self.funcname == UNKNOWN:
112 elif other.funcname != UNKNOWN:
122 if self.funcname == UNKNOWN:
[all …]
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/
Dnaive.py56 def parse_variable(srcline, funcname=None): argument
82 funcname = None
85 if funcname:
87 funcname = None
92 funcname = prev.split('(')[0].split()[-1]
98 info = parse_variable(line, funcname)
107 yield ID(filename, funcname, name), decl
110 def _match_varid(variable, name, funcname, ignored=None): argument
117 if funcname == UNKNOWN:
118 if not variable.funcname:
[all …]
Dfind.py19 for kind, funcname, name, decl in _iter_decls(filename,
24 varid = handle_id(filename, funcname, name)
73 if varid.funcname:
74 if varid.funcname == UNKNOWN:
77 elif not varid.funcname:
94 if id.funcname == UNKNOWN:
96 elif id.funcname:
/external/python/cpython2/Python/
Ddynload_next.c38 char funcname[258]; in _PyImport_GetDynLoadFunc() local
46 PyOS_snprintf(funcname, sizeof(funcname), "_init%.200s", shortname); in _PyImport_GetDynLoadFunc()
49 if (NSIsSymbolNameDefined(funcname)) { in _PyImport_GetDynLoadFunc()
50 theSym = NSLookupAndBindSymbol(funcname); in _PyImport_GetDynLoadFunc()
93 if (!NSIsSymbolNameDefined(funcname)) { in _PyImport_GetDynLoadFunc()
98 funcname); in _PyImport_GetDynLoadFunc()
101 theSym = NSLookupAndBindSymbol(funcname); in _PyImport_GetDynLoadFunc()
103 theSym = NSLookupSymbolInModule(newModule, funcname); in _PyImport_GetDynLoadFunc()
108 funcname); in _PyImport_GetDynLoadFunc()
Ddynload_atheos.c22 char funcname[258]; in _PyImport_GetDynLoadFunc() local
37 PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); in _PyImport_GetDynLoadFunc()
39 printf("get_symbol_address %s\n", funcname); in _PyImport_GetDynLoadFunc()
40 if (get_symbol_address(lib, funcname, -1, &p) < 0) { in _PyImport_GetDynLoadFunc()
43 perror(funcname); in _PyImport_GetDynLoadFunc()
Ddynload_hpux.c28 char funcname[258]; in _PyImport_GetDynLoadFunc() local
47 PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, shortname); in _PyImport_GetDynLoadFunc()
49 printf("shl_findsym %s\n", funcname); in _PyImport_GetDynLoadFunc()
50 if (shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p) == -1) { in _PyImport_GetDynLoadFunc()
55 perror(funcname); in _PyImport_GetDynLoadFunc()
Ddynload_beos.c164 char funcname[258]; in _PyImport_GetDynLoadFunc() local
209 PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); in _PyImport_GetDynLoadFunc()
211 printf( "get_image_symbol( %s )\n", funcname ); in _PyImport_GetDynLoadFunc()
214 retval = get_image_symbol( the_id, funcname, B_SYMBOL_TYPE_TEXT, &p ); in _PyImport_GetDynLoadFunc()
221 printf( "get_image_symbol( %s ) failed", funcname ); in _PyImport_GetDynLoadFunc()
233 "Bad index for %.180s", funcname ); in _PyImport_GetDynLoadFunc()
238 "Unknown error looking up %.180s", funcname ); in _PyImport_GetDynLoadFunc()
Ddynload_dl.c22 char funcname[258]; in _PyImport_GetDynLoadFunc() local
24 PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); in _PyImport_GetDynLoadFunc()
25 return dl_loadmod(Py_GetProgramName(), pathname, funcname); in _PyImport_GetDynLoadFunc()
Ddynload_os2.c25 char funcname[258]; in _PyImport_GetDynLoadFunc() local
41 PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); in _PyImport_GetDynLoadFunc()
42 rc = DosQueryProcAddr(hDLL, 0L, funcname, &p); in _PyImport_GetDynLoadFunc()
/external/python/cpython3/Tools/c-analyzer/cpython/
D_generate.py22 def _parse_global(line, funcname=None): argument
36 elif funcname:
66 funcname = line.split('(')[1].split(',')[0]
68 ('op_id', funcname, '_Py_static_string(op_id, OPSTR)'),
69 ('rop_id', funcname, '_Py_static_string(op_id, OPSTR)'),
73 funcname, name = (v.strip() for v in line.split('(')[1].split(')')[0].split(','))
75 ('PyId_' + name, funcname, f'_Py_IDENTIFIER({name})'),
83 def _pop_cached(varcache, filename, funcname, name, *, argument
100 if funcname == UNKNOWN:
108 return cached.pop((filename, funcname, name), None)
[all …]
/external/python/pycparser/examples/
Dfunc_calls.py22 def __init__(self, funcname): argument
23 self.funcname = funcname
26 if node.name.name == self.funcname:
27 print('%s called at %s' % (self.funcname, node.name.coord))
33 def show_func_calls(filename, funcname): argument
35 v = FuncCallVisitor(funcname)
/external/python/cpython3/Tools/c-analyzer/c_analyzer/variables/
Dknown.py25 filename, funcname, name, kind, declaration = row
26 if not funcname or funcname == '-':
27 funcname = None
28 id = ID(filename, funcname, name)
69 if varid.funcname == UNKNOWN:
72 if not varid.funcname:
80 if not varid.funcname:
/external/python/cpython3/Objects/
Dclassobject.c124 PyObject *funcname; in method_reduce() local
127 funcname = _PyObject_GetAttrId(func, &PyId___name__); in method_reduce()
128 if (funcname == NULL) { in method_reduce()
132 self, funcname); in method_reduce()
279 PyObject *funcname, *result; in method_repr() local
282 if (_PyObject_LookupAttrId(func, &PyId___qualname__, &funcname) < 0 || in method_repr()
283 (funcname == NULL && in method_repr()
284 _PyObject_LookupAttrId(func, &PyId___name__, &funcname) < 0)) in method_repr()
289 if (funcname != NULL && !PyUnicode_Check(funcname)) { in method_repr()
290 Py_DECREF(funcname); in method_repr()
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dcall_stack.stp15 funcname = user_string($arg2);
17 if (funcname == "start") {
25 funcname = user_string($arg2);
30 basename(filename), funcname, lineno);
36 funcname = user_string($arg2);
38 if (funcname == "start") {
Dgc.stp5 funcname = user_string($arg2);
7 if (funcname == "start") {
21 funcname = user_string($arg2);
23 if (funcname == "start") {
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_common/
Dtest_info.py42 funcname=None,
55 funcname=None,
68 funcname='func',
83 funcname=value,
98 funcname=PseudoStr('func'),
108 funcname=Object(),
128 filename, funcname, name = id
130 values = (filename, funcname, name)
138 self.assertEqual(id.funcname, 'b')
144 funcname='func',
/external/python/cpython3/Include/
Dmodsupport.h62 PyAPI_FUNC(int) _PyArg_NoKeywords(const char *funcname, PyObject *kwargs);
63 PyAPI_FUNC(int) _PyArg_NoKwnames(const char *funcname, PyObject *kwnames);
64 PyAPI_FUNC(int) _PyArg_NoPositional(const char *funcname, PyObject *args);
65 #define _PyArg_NoKeywords(funcname, kwargs) \ argument
66 ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
67 #define _PyArg_NoKwnames(funcname, kwnames) \ argument
68 ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
69 #define _PyArg_NoPositional(funcname, args) \ argument
70 ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
75 #define _PyArg_CheckPositional(funcname, nargs, min, max) \ argument
[all …]
/external/python/cpython3/Python/
Ddynload_hpux.c60 char funcname[258]; in _PyImport_FindSharedFuncptr() local
61 PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, in _PyImport_FindSharedFuncptr()
64 printf("shl_findsym %s\n", funcname); in _PyImport_FindSharedFuncptr()
68 if (shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p) == -1) { in _PyImport_FindSharedFuncptr()
73 perror(funcname); in _PyImport_FindSharedFuncptr()
Ddynload_dl.c19 char funcname[258]; in _PyImport_FindSharedFuncptr() local
21 PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname); in _PyImport_FindSharedFuncptr()
22 return dl_loadmod(Py_GetProgramName(), pathname, funcname); in _PyImport_FindSharedFuncptr()
Ddynload_shlib.c66 char funcname[258]; in _PyImport_FindSharedFuncptr() local
76 PyOS_snprintf(funcname, sizeof(funcname), in _PyImport_FindSharedFuncptr()
88 funcname); in _PyImport_FindSharedFuncptr()
131 p = (dl_funcptr) dlsym(handle, funcname); in _PyImport_FindSharedFuncptr()
/external/python/cpython2/Lib/hotshot/
Dlog.py103 filename, funcname = self._decode_location(fileno, lineno)
104 t = (filename, lineno, funcname)
115 filename, firstlineno, funcname = self._stack[-1]
116 return what, (filename, lineno, funcname), tdelta
151 filename = funcname = None
153 filename, funcname = self._funcmap[(fileno, lineno)]
156 funcname = None
157 self._funcmap[(fileno, lineno)] = (filename, funcname)
158 return filename, funcname
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dsse_check.h20 #define SSE_OR_PORTABLE(funcname, ...) Sse##funcname(__VA_ARGS__) argument
25 #define SSE_OR_PORTABLE(funcname, ...) Portable##funcname(__VA_ARGS__) argument
Dneon_check.h32 #define NEON_OR_PORTABLE(funcname, ...) Neon##funcname(__VA_ARGS__) argument
36 #define NEON_OR_PORTABLE(funcname, ...) Portable##funcname(__VA_ARGS__) argument
/external/deqp/modules/gles3/scripts/
Dgen-invalid-texture-funcs.py57 def __init__(self, funcname, args): argument
58 self.name = string.join([s.lower() for s in [funcname] + args], "_")
59 self.funcname = funcname
65 lookup = self.funcname + "(s"
/external/python/cffi/cffi/
Dvengine_gen.py397 funcname = '_cffi_%s_%s' % (category, name)
398 self.export_symbols.append(funcname)
402 prnt('int %s(char *out_error)' % funcname)
409 prnt('int %s(long long *out_value)' % funcname)
425 prnt(tp.get_c_name(' %s%s(void)' % (extra, funcname), name))
438 funcname = '_cffi_const_%s' % name
441 self._load_known_int_constant(module, funcname)
446 function = module.load_function(BFunc, funcname)
459 function = module.load_function(BFunc, funcname)
493 def _load_known_int_constant(self, module, funcname): argument
[all …]

123456