Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 145) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
D__init__.py1110 def debug(self, msg, *args, **kwargs): argument
1120 self._log(DEBUG, msg, args, **kwargs)
1122 def info(self, msg, *args, **kwargs): argument
1132 self._log(INFO, msg, args, **kwargs)
1134 def warning(self, msg, *args, **kwargs): argument
1144 self._log(WARNING, msg, args, **kwargs)
1148 def error(self, msg, *args, **kwargs): argument
1158 self._log(ERROR, msg, args, **kwargs)
1166 def critical(self, msg, *args, **kwargs): argument
1176 self._log(CRITICAL, msg, args, **kwargs)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
DEiffel.py39 def method(self, *args, **kwargs): argument
41 pre(self, *args, **kwargs)
42 x = func(self, *args, **kwargs)
44 post(self, x, *args, **kwargs)
58 def __call__(self, *args, **kwargs): argument
59 return self._descr.callmethod(self._inst, args, kwargs)
74 def callmethod(self, inst, args, kwargs): argument
76 self._pre(inst, *args, **kwargs)
77 x = self._func(inst, *args, **kwargs)
79 self._post(inst, x, *args, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dstring.py546 def format(*args, **kwargs): argument
554 if 'format_string' in kwargs:
555 format_string = kwargs.pop('format_string')
559 return self.vformat(format_string, args, kwargs)
561 def vformat(self, format_string, args, kwargs): argument
563 result = self._vformat(format_string, args, kwargs, used_args, 2)
564 self.check_unused_args(used_args, args, kwargs)
567 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth): argument
585 obj, arg_used = self.get_field(field_name, args, kwargs)
592 format_spec = self._vformat(format_spec, args, kwargs,
[all …]
DUserDict.py4 def __init__(self, dict=None, **kwargs): argument
8 if len(kwargs):
9 self.update(kwargs)
46 def update(self, dict=None, **kwargs): argument
56 if len(kwargs):
57 self.data.update(kwargs)
151 def update(self, other=None, **kwargs): argument
164 if kwargs:
165 self.update(kwargs)
Dargparse.py1054 def add_parser(self, name, **kwargs): argument
1056 if kwargs.get('prog') is None:
1057 kwargs['prog'] = '%s %s' % (self._prog_prefix, name)
1060 if 'help' in kwargs:
1061 help = kwargs.pop('help')
1066 parser = self._parser_class(**kwargs)
1160 def __init__(self, **kwargs): argument
1161 for name in kwargs:
1162 setattr(self, name, kwargs[name])
1244 def set_defaults(self, **kwargs): argument
[all …]
Ddummy_thread.py27 def start_new_thread(function, args, kwargs={}): argument
42 if type(kwargs) != type(dict()):
47 function(*args, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstring.py544 def format(self, format_string, *args, **kwargs): argument
545 return self.vformat(format_string, args, kwargs)
547 def vformat(self, format_string, args, kwargs): argument
549 result = self._vformat(format_string, args, kwargs, used_args, 2)
550 self.check_unused_args(used_args, args, kwargs)
553 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth): argument
571 obj, arg_used = self.get_field(field_name, args, kwargs)
578 format_spec = self._vformat(format_spec, args, kwargs,
587 def get_value(self, key, args, kwargs): argument
591 return kwargs[key]
[all …]
DUserDict.py4 def __init__(self, dict=None, **kwargs): argument
8 if len(kwargs):
9 self.update(kwargs)
46 def update(self, dict=None, **kwargs): argument
56 if len(kwargs):
57 self.data.update(kwargs)
151 def update(self, other=None, **kwargs): argument
164 if kwargs:
165 self.update(kwargs)
Dargparse.py1052 def add_parser(self, name, **kwargs): argument
1054 if kwargs.get('prog') is None:
1055 kwargs['prog'] = '%s %s' % (self._prog_prefix, name)
1058 if 'help' in kwargs:
1059 help = kwargs.pop('help')
1064 parser = self._parser_class(**kwargs)
1151 def __init__(self, **kwargs): argument
1152 for name in kwargs:
1153 setattr(self, name, kwargs[name])
1231 def set_defaults(self, **kwargs): argument
[all …]
Ddummy_thread.py27 def start_new_thread(function, args, kwargs={}): argument
42 if type(kwargs) != type(dict()):
47 function(*args, **kwargs)
Dweakref.py180 def update(self, dict=None, **kwargs): argument
187 if len(kwargs):
188 self.update(kwargs)
371 def update(self, dict=None, **kwargs): argument
378 if len(kwargs):
379 self.update(kwargs)
Dtextwrap.py335 def wrap(text, width=70, **kwargs): argument
345 w = TextWrapper(width=width, **kwargs)
348 def fill(text, width=70, **kwargs): argument
357 w = TextWrapper(width=width, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_importlib.py35 def import_state(**kwargs): argument
50 if attr in kwargs:
51 new_value = kwargs[attr]
52 del kwargs[attr]
56 if len(kwargs):
58 'unrecognized arguments: {0}'.format(kwargs.keys()))
Dscript_helper.py65 def spawn_python(*args, **kwargs): argument
70 **kwargs)
82 def run_python(*args, **kwargs): argument
84 p = spawn_python(*args, **kwargs)
86 p = spawn_python('-O', *args, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Darchive_util.py221 kwargs = {'dry_run': dry_run}
230 kwargs[arg] = val
233 kwargs['owner'] = owner
234 kwargs['group'] = group
237 filename = func(base_name, base_dir, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DCalls.py125 kwargs = dict(c=3,d=4,e=5)
131 f(1,b=i,**kwargs)
132 f(*args,**kwargs)
136 f(1,b=i,**kwargs)
137 f(*args,**kwargs)
141 f(1,b=i,**kwargs)
142 f(*args,**kwargs)
146 f(1,b=i,**kwargs)
147 f(*args,**kwargs)
151 f(1,b=i,**kwargs)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Dast.txt86 self.varargs = self.kwargs = None
90 self.kwargs = 1
93 self.varargs = self.kwargs = None
97 self.kwargs = 1
101 self.varargs = self.kwargs = None
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmodule.c47 kwargs) in module_connect() argument
64 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOi", kwlist, in module_connect()
74 result = PyObject_Call(factory, args, kwargs); in module_connect()
87 kwargs) in module_complete() argument
94 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete()
117 kwargs) in module_enable_shared_cache() argument
123 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
Dcache.h64 int pysqlite_node_init(pysqlite_Node* self, PyObject* args, PyObject* kwargs);
67 int pysqlite_cache_init(pysqlite_Cache* self, PyObject* args, PyObject* kwargs);
Dconnection.h124 PyObject* pysqlite_connection_cursor(pysqlite_Connection* self, PyObject* args, PyObject* kwargs);
130 int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject* kwargs);
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Logger/
DLog.py107 def Info(msg, *args, **kwargs): argument
108 _INFO_LOGGER.info(msg, *args, **kwargs)
113 def Quiet(msg, *args, **kwargs): argument
114 _ERROR_LOGGER.error(msg, *args, **kwargs)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dsignals.py46 def inner(*args, **kwargs): argument
50 return method(*args, **kwargs)
Dcase.py60 def skip_wrapper(*args, **kwargs): argument
88 def wrapper(*args, **kwargs): argument
90 func(*args, **kwargs)
221 def addCleanup(self, function, *args, **kwargs): argument
227 self._cleanups.append((function, args, kwargs))
380 function, args, kwargs = self._cleanups.pop(-1)
382 function(*args, **kwargs)
399 function, args, kwargs = self._cleanups.pop(-1)
400 function(*args, **kwargs)
444 def assertRaises(self, excClass, callableObj=None, *args, **kwargs): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dstring_format.h49 build_string(SubString *input, PyObject *args, PyObject *kwargs,
481 get_field_object(SubString *input, PyObject *args, PyObject *kwargs, in get_field_object() argument
502 if ((kwargs == NULL) || (obj = PyDict_GetItem(kwargs, key)) == NULL) { in get_field_object()
887 OutputString *output, PyObject *args, PyObject *kwargs, in output_markup() argument
897 fieldobj = get_field_object(field_name, args, kwargs, auto_number); in output_markup()
914 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
948 do_markup(SubString *input, PyObject *args, PyObject *kwargs, in do_markup() argument
970 args, kwargs, recursion_depth, auto_number)) in do_markup()
982 build_string(SubString *input, PyObject *args, PyObject *kwargs, in build_string() argument
1005 if (!do_markup(input, args, kwargs, &output, recursion_depth, in build_string()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dstring_format.h49 build_string(SubString *input, PyObject *args, PyObject *kwargs,
478 get_field_object(SubString *input, PyObject *args, PyObject *kwargs, in get_field_object() argument
499 if ((kwargs == NULL) || (obj = PyDict_GetItem(kwargs, key)) == NULL) { in get_field_object()
884 OutputString *output, PyObject *args, PyObject *kwargs, in output_markup() argument
894 fieldobj = get_field_object(field_name, args, kwargs, auto_number); in output_markup()
911 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
945 do_markup(SubString *input, PyObject *args, PyObject *kwargs, in do_markup() argument
967 args, kwargs, recursion_depth, auto_number)) in do_markup()
979 build_string(SubString *input, PyObject *args, PyObject *kwargs, in build_string() argument
1002 if (!do_markup(input, args, kwargs, &output, recursion_depth, in build_string()
[all …]

123456