Home
last modified time | relevance | path

Searched refs:arglist (Results 1 – 25 of 125) sorted by relevance

12345

/external/autotest/client/cros/cellular/pseudomodem/
Dclient.py116 arglist = args.split(' ', 1)
117 if len(arglist) != 2:
122 arglist[0], arglist[1],
147 arglist = args.split(' ')
148 if len(arglist) < 1:
151 if arglist[0] == 'pco':
152 if len(arglist) == 1:
153 arglist.append('')
154 elif len(arglist) != 2:
157 pco_value = arglist[1]
[all …]
/external/python/cpython2/Demo/classes/
DRange.py8 def handleargs(arglist): argument
12 if len(arglist) == 1:
13 return 0, int(arglist[0]), 1
14 elif len(arglist) == 2:
15 return int(arglist[0]), int(arglist[1]), 1
16 elif len(arglist) == 3:
17 if arglist[2] == 0:
19 return tuple(int(x) for x in arglist)
21 raise TypeError("range() accepts 1-3 arguments, given", len(arglist))
/external/libdaemon/libdaemon/
Ddlog.c51 void daemon_logv(int prio, const char* template, va_list arglist) { in daemon_logv() argument
58 vsyslog(prio | LOG_DAEMON, template, arglist); in daemon_logv()
65 vfprintf(stderr, template, arglist); in daemon_logv()
70 vfprintf(stdout, template, arglist); in daemon_logv()
79 va_list arglist; in daemon_log() local
81 va_start(arglist, template); in daemon_log()
82 daemon_logv(prio, template, arglist); in daemon_log()
83 va_end(arglist); in daemon_log()
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_metaclass.py170 if node.children[3].type == syms.arglist:
171 arglist = node.children[3]
175 arglist = Node(syms.arglist, [parent])
176 node.set_child(3, arglist)
180 arglist = Node(syms.arglist, [])
181 node.insert_child(3, arglist)
185 arglist = Node(syms.arglist, [])
187 node.insert_child(2, arglist)
197 if arglist.children:
198 arglist.append_child(Leaf(token.COMMA, ','))
[all …]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py170 if node.children[3].type == syms.arglist:
171 arglist = node.children[3]
175 arglist = Node(syms.arglist, [parent])
176 node.set_child(3, arglist)
180 arglist = Node(syms.arglist, [])
181 node.insert_child(3, arglist)
185 arglist = Node(syms.arglist, [])
187 node.insert_child(2, arglist)
197 if arglist.children:
198 arglist.append_child(Leaf(token.COMMA, u','))
[all …]
/external/libffi/testsuite/libffi.call/
Dpyobjc-tc.c39 ffi_type* arglist[6]; in main() local
74 arglist[0] = &ffi_type_sint; in main()
75 arglist[1] = &ffi_type_pointer; in main()
76 arglist[2] = &point_type; in main()
77 arglist[3] = &rect_type; in main()
78 arglist[4] = &ffi_type_sint; in main()
79 arglist[5] = NULL; in main()
82 5, &ffi_type_sint, arglist); in main()
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dpyobjc-tc.c39 ffi_type* arglist[6]; in main() local
74 arglist[0] = &ffi_type_sint; in main()
75 arglist[1] = &ffi_type_pointer; in main()
76 arglist[2] = &point_type; in main()
77 arglist[3] = &rect_type; in main()
78 arglist[4] = &ffi_type_sint; in main()
79 arglist[5] = NULL; in main()
82 5, &ffi_type_sint, arglist); in main()
/external/python/cpython2/Mac/Modules/cf/
Dcfscan.py54 def destination(self, type, name, arglist): argument
57 if arglist and name[:13] != 'CFPreferences':
58 t, n, m = arglist[0]
63 if t == 'CFAllocatorRef' and m == 'InMode' and len(arglist) > 1:
64 t, n, m = arglist[1]
/external/python/cpython2/Mac/Modules/cg/
Dcgscan.py32 def destination(self, type, name, arglist): argument
35 if arglist:
36 t, n, m = arglist[0]
41 if t == 'CFAllocatorRef' and m == 'InMode' and len(arglist) > 1:
42 t, n, m = arglist[1]
/external/python/cpython2/Tools/bgen/bgen/
Dscantools.py610 arglist = self.extractarglist(args)
611 arglist = self.repairarglist(name, arglist)
612 if self.unmanageable(type, name, arglist):
619 self.generate(type, name, arglist, modifiers)
621 self.generate(type, name, arglist)
644 arglist = []
647 arglist.append(arg)
648 return arglist
676 def repairarglist(self, functionname, arglist): argument
677 arglist = arglist[:]
[all …]
/external/python/cpython2/Mac/Modules/file/
Dfilescan.py27 def destination(self, type, name, arglist): argument
30 if arglist:
32 if len(arglist) > 2:
33 t, n, m = arglist[1]
39 t, n, m = arglist[0]
/external/openssh/
Dmisc.h74 typedef struct arglist arglist; typedef
75 struct arglist { struct
80 void addargs(arglist *, char *, ...) argument
82 void replacearg(arglist *, u_int, char *, ...)
84 void freeargs(arglist *);
/external/python/cpython2/PC/os2emx/
Dpythonpm.c34 } arglist; typedef
58 arglist args; in main()
106 arglist *args; in PythonThread()
112 args = (arglist *)argl; in PythonThread()
/external/python/cpython2/Tools/scripts/
Dtexcheck.py199 optitems, arglist = getopt.getopt(args, "k:mdhs:v")
205 if len(arglist) < 1:
209 for i, filespec in enumerate(arglist):
211 arglist[i:i+1] = glob.glob(filespec)
216 for filename in arglist:
222 print 'Cannot open file %s.' % arglist[0]
/external/ply/ply/ply/
Dcpp.py143 def __init__(self,name,value,arglist=None,variadic=False): argument
146 self.arglist = arglist
149 self.vararg = arglist[-1]
401 if macro.value[i].type == self.t_ID and macro.value[i].value in macro.arglist:
402 argnum = macro.arglist.index(macro.value[i].value)
501 if not m.arglist:
515 if not m.variadic and len(args) != len(m.arglist):
516 … self.error(self.source,t.lineno,"Macro %s requires %d arguments" % (t.value,len(m.arglist)))
518 elif m.variadic and len(args) < len(m.arglist)-1:
519 if len(m.arglist) > 2:
[all …]
/external/python/cpython2/Mac/Modules/ibcarbon/
DIBCarbonscan.py26 def destination(self, type, name, arglist): argument
29 if arglist:
30 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/scrap/
Dscrapscan.py29 def destination(self, type, name, arglist): argument
32 if arglist:
33 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/res/
Dresscan.py28 def destination(self, type, name, arglist): argument
31 if arglist:
32 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/qdoffs/
Dqdoffsscan.py23 def destination(self, type, name, arglist): argument
26 if arglist:
27 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/menu/
Dmenuscan.py23 def destination(self, type, name, arglist): argument
26 if arglist:
27 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/evt/
Devtscan.py27 def destination(self, type, name, arglist): argument
30 if arglist:
31 t, n, m = arglist[0]
/external/ltp/testcases/misc/math/float/iperb/
Dgeniperb.c59 char *arglist[] = { func_name, NULL }; in create_file() local
60 execvp(arglist[0], arglist); in create_file()
/external/python/cpython2/Mac/Modules/ae/
Daescan.py29 def destination(self, type, name, arglist): argument
32 if arglist:
33 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/snd/
Dsndscan.py26 def destination(self, type, name, arglist): argument
29 if arglist:
30 t, n, m = arglist[0]
/external/python/cpython2/Mac/Modules/te/
Dtescan.py27 def destination(self, type, name, arglist): argument
30 if arglist:
31 t, n, m = arglist[-1]

12345