Searched refs:kwargs (Results 1 - 25 of 217) sorted by relevance

123456789

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
H A Ddbobj.py39 def __init__(self, *args, **kwargs):
40 self._cobj = db.DBEnv(*args, **kwargs)
42 def close(self, *args, **kwargs):
43 return self._cobj.close(*args, **kwargs)
44 def open(self, *args, **kwargs):
45 return self._cobj.open(*args, **kwargs)
46 def remove(self, *args, **kwargs):
47 return self._cobj.remove(*args, **kwargs)
48 def set_shm_key(self, *args, **kwargs):
49 return self._cobj.set_shm_key(*args, **kwargs)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
H A Ddbobj.py39 def __init__(self, *args, **kwargs):
40 self._cobj = db.DBEnv(*args, **kwargs)
42 def close(self, *args, **kwargs):
43 return self._cobj.close(*args, **kwargs)
44 def open(self, *args, **kwargs):
45 return self._cobj.open(*args, **kwargs)
46 def remove(self, *args, **kwargs):
47 return self._cobj.remove(*args, **kwargs)
48 def set_shm_key(self, *args, **kwargs):
49 return self._cobj.set_shm_key(*args, **kwargs)
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
H A DdynOptionMenuWidget.py11 unlike OptionMenu, our kwargs can include highlightthickness
13 def __init__(self, master, variable, value, *values, **kwargs):
14 #get a copy of kwargs before OptionMenu.__init__ munges them
15 kwargsCopy=copy.copy(kwargs)
16 if 'highlightthickness' in kwargs.keys():
17 del(kwargs['highlightthickness'])
18 OptionMenu.__init__(self, master, variable, value, *values, **kwargs)
22 self.command=kwargs.get('command')
H A Drpc.py169 how, (oid, methodname, args, kwargs) = request
188 ret = method(*args, **kwargs)
193 request_queue.put((seq, (method, args, kwargs)))
208 def remotecall(self, oid, methodname, args, kwargs):
210 seq = self.asynccall(oid, methodname, args, kwargs)
213 def remotequeue(self, oid, methodname, args, kwargs):
215 seq = self.asyncqueue(oid, methodname, args, kwargs)
218 def asynccall(self, oid, methodname, args, kwargs):
219 request = ("CALL", (oid, methodname, args, kwargs))
224 self.debug(("asynccall:%d:" % seq), oid, methodname, args, kwargs)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
H A DdynOptionMenuWidget.py11 unlike OptionMenu, our kwargs can include highlightthickness
13 def __init__(self, master, variable, value, *values, **kwargs):
14 #get a copy of kwargs before OptionMenu.__init__ munges them
15 kwargsCopy=copy.copy(kwargs)
16 if 'highlightthickness' in kwargs.keys():
17 del(kwargs['highlightthickness'])
18 OptionMenu.__init__(self, master, variable, value, *values, **kwargs)
22 self.command=kwargs.get('command')
H A Drpc.py169 how, (oid, methodname, args, kwargs) = request
188 ret = method(*args, **kwargs)
193 request_queue.put((seq, (method, args, kwargs)))
208 def remotecall(self, oid, methodname, args, kwargs):
210 seq = self.asynccall(oid, methodname, args, kwargs)
213 def remotequeue(self, oid, methodname, args, kwargs):
215 seq = self.asyncqueue(oid, methodname, args, kwargs)
218 def asynccall(self, oid, methodname, args, kwargs):
219 request = ("CALL", (oid, methodname, args, kwargs))
224 self.debug(("asynccall:%d:" % seq), oid, methodname, args, kwargs)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/utils/
H A Ddecorators.py46 def _not_implemented_for(f,*args,**kwargs):
63 return f(*args,**kwargs)
104 def _require(f,*args,**kwargs):
111 return f(*args,**kwargs)
165 def another_function(arg, **kwargs):
166 path = kwargs['path']
199 def _open_file(func, *args, **kwargs):
201 # Note that since we have used @decorator, *args, and **kwargs have
204 # func(x, y, a=1, b=2, **kwargs) if called as func(0,1,b=5,c=10) would
205 # have args=(0,1,1,5) and kwargs
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/
H A D__init__.py1127 def debug(self, msg, *args, **kwargs):
1137 self._log(DEBUG, msg, args, **kwargs)
1139 def info(self, msg, *args, **kwargs):
1149 self._log(INFO, msg, args, **kwargs)
1151 def warning(self, msg, *args, **kwargs):
1161 self._log(WARNING, msg, args, **kwargs)
1165 def error(self, msg, *args, **kwargs):
1175 self._log(ERROR, msg, args, **kwargs)
1177 def exception(self, msg, *args, **kwargs):
1181 kwargs['exc_inf
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/
H A D__init__.py1127 def debug(self, msg, *args, **kwargs):
1137 self._log(DEBUG, msg, args, **kwargs)
1139 def info(self, msg, *args, **kwargs):
1149 self._log(INFO, msg, args, **kwargs)
1151 def warning(self, msg, *args, **kwargs):
1161 self._log(WARNING, msg, args, **kwargs)
1165 def error(self, msg, *args, **kwargs):
1175 self._log(ERROR, msg, args, **kwargs)
1177 def exception(self, msg, *args, **kwargs):
1181 kwargs['exc_inf
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Ddummy_thread.py27 def start_new_thread(function, args, kwargs={}):
31 tuple and ``kwargs`` is a dictionary. If an exception is raised
42 if type(kwargs) != type(dict()):
47 function(*args, **kwargs)
H A Dstring.py544 def format(self, format_string, *args, **kwargs):
545 return self.vformat(format_string, args, kwargs)
547 def vformat(self, format_string, args, kwargs):
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):
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):
591 return kwargs[ke
[all...]
H A DUserDict.py4 def __init__(self, dict=None, **kwargs):
8 if len(kwargs):
9 self.update(kwargs)
46 def update(self, dict=None, **kwargs):
56 if len(kwargs):
57 self.data.update(kwargs)
151 def update(self, other=None, **kwargs):
164 if kwargs:
165 self.update(kwargs)
H A Dargparse.py1052 def add_parser(self, name, **kwargs):
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):
1152 for name in kwargs:
1153 setattr(self, name, kwargs[name])
1231 def set_defaults(self, **kwargs)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Ddummy_thread.py27 def start_new_thread(function, args, kwargs={}):
31 tuple and ``kwargs`` is a dictionary. If an exception is raised
42 if type(kwargs) != type(dict()):
47 function(*args, **kwargs)
H A Dstring.py544 def format(self, format_string, *args, **kwargs):
545 return self.vformat(format_string, args, kwargs)
547 def vformat(self, format_string, args, kwargs):
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):
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):
591 return kwargs[ke
[all...]
H A DUserDict.py4 def __init__(self, dict=None, **kwargs):
8 if len(kwargs):
9 self.update(kwargs)
46 def update(self, dict=None, **kwargs):
56 if len(kwargs):
57 self.data.update(kwargs)
151 def update(self, other=None, **kwargs):
164 if kwargs:
165 self.update(kwargs)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_importlib.py35 def import_state(**kwargs):
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()))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_importlib.py35 def import_state(**kwargs):
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()))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
H A Dsignals.py60 def inner(*args, **kwargs):
64 return method(*args, **kwargs)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
H A Dsignals.py60 def inner(*args, **kwargs):
64 return method(*args, **kwargs)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/drawing/
H A Dnx_pylab.py856 def draw_circular(G, **kwargs):
858 draw(G,circular_layout(G),**kwargs)
860 def draw_random(G, **kwargs):
862 draw(G,random_layout(G),**kwargs)
864 def draw_spectral(G, **kwargs):
866 draw(G,spectral_layout(G),**kwargs)
868 def draw_spring(G, **kwargs):
870 draw(G,spring_layout(G),**kwargs)
872 def draw_shell(G, **kwargs):
874 nlist = kwargs
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
H A 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)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
H A 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)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
H A Dquery.py26 def __init__(self, policy, **kwargs):
36 for name in sorted(kwargs.keys(), reverse=True):
41 setattr(self, name, kwargs[name])
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/
H A Dquery.py26 def __init__(self, policy, **kwargs):
36 for name in sorted(kwargs.keys(), reverse=True):
41 setattr(self, name, kwargs[name])

Completed in 618 milliseconds

123456789