/external/autotest/client/cros/cellular/pseudomodem/ |
D | client.py | 116 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/ |
D | Range.py | 8 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/ |
D | dlog.c | 51 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/ |
D | fix_metaclass.py | 170 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/ |
D | fix_metaclass.py | 170 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/ |
D | pyobjc-tc.c | 39 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/ |
D | pyobjc-tc.c | 39 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/ |
D | cfscan.py | 54 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/ |
D | cgscan.py | 32 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/ |
D | scantools.py | 610 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/ |
D | filescan.py | 27 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/ |
D | misc.h | 74 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/ |
D | pythonpm.c | 34 } arglist; typedef 58 arglist args; in main() 106 arglist *args; in PythonThread() 112 args = (arglist *)argl; in PythonThread()
|
/external/python/cpython2/Tools/scripts/ |
D | texcheck.py | 199 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/ |
D | cpp.py | 143 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/ |
D | IBCarbonscan.py | 26 def destination(self, type, name, arglist): argument 29 if arglist: 30 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/scrap/ |
D | scrapscan.py | 29 def destination(self, type, name, arglist): argument 32 if arglist: 33 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/res/ |
D | resscan.py | 28 def destination(self, type, name, arglist): argument 31 if arglist: 32 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/qdoffs/ |
D | qdoffsscan.py | 23 def destination(self, type, name, arglist): argument 26 if arglist: 27 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/menu/ |
D | menuscan.py | 23 def destination(self, type, name, arglist): argument 26 if arglist: 27 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/evt/ |
D | evtscan.py | 27 def destination(self, type, name, arglist): argument 30 if arglist: 31 t, n, m = arglist[0]
|
/external/ltp/testcases/misc/math/float/iperb/ |
D | geniperb.c | 59 char *arglist[] = { func_name, NULL }; in create_file() local 60 execvp(arglist[0], arglist); in create_file()
|
/external/python/cpython2/Mac/Modules/ae/ |
D | aescan.py | 29 def destination(self, type, name, arglist): argument 32 if arglist: 33 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/snd/ |
D | sndscan.py | 26 def destination(self, type, name, arglist): argument 29 if arglist: 30 t, n, m = arglist[0]
|
/external/python/cpython2/Mac/Modules/te/ |
D | tescan.py | 27 def destination(self, type, name, arglist): argument 30 if arglist: 31 t, n, m = arglist[-1]
|