Home
last modified time | relevance | path

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

12345

/external/bison/lib/
Dargmatch.c83 argmatch (const char *arg, const char *const *arglist, in argmatch() argument
94 for (i = 0; arglist[i]; i++) in argmatch()
96 if (!strncmp (arglist[i], arg, arglen)) in argmatch()
98 if (strlen (arglist[i]) == arglen) in argmatch()
145 argmatch_valid (const char *const *arglist, in argmatch_valid() argument
154 for (i = 0; arglist[i]; i++) in argmatch_valid()
158 fprintf (stderr, "\n - %s", quote (arglist[i])); in argmatch_valid()
163 fprintf (stderr, ", %s", quote (arglist[i])); in argmatch_valid()
176 const char *arg, const char *const *arglist, in __xargmatch_internal() argument
180 ptrdiff_t res = argmatch (arg, arglist, vallist, valsize); in __xargmatch_internal()
[all …]
Dargmatch.h42 ptrdiff_t argmatch (char const *arg, char const *const *arglist,
68 void argmatch_valid (char const *const *arglist,
80 char const *arg, char const *const *arglist,
95 char const *const *arglist,
/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/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/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/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/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/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/syslinux/gnu-efi/gnu-efi-3.0/apps/
DFreePages.c88 CHAR16 arglist[MAX_ARGS+1] = {0}; in efi_main() local
116 CopyMem(arglist, info->LoadOptions, info->LoadOptionsSize); in efi_main()
118 Print(L"arglist = <%s>\n", arglist); in efi_main()
124 argc = argify(arglist, info->LoadOptionsSize, argv); in efi_main()
DAllocPages.c114 CHAR16 arglist[MAX_ARGS+1] = {0}; in efi_main() local
146 CopyMem(arglist, info->LoadOptions, info->LoadOptionsSize); in efi_main()
148 Print(L"arglist = <%s>\n", arglist); in efi_main()
154 argc = argify(arglist, info->LoadOptionsSize, argv); in efi_main()
/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/ae/
Daescan.py29 def destination(self, type, name, arglist): argument
32 if arglist:
33 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/python/cpython2/Mac/Modules/qdoffs/
Dqdoffsscan.py23 def destination(self, type, name, arglist): argument
26 if arglist:
27 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/menu/
Dmenuscan.py23 def destination(self, type, name, arglist): argument
26 if arglist:
27 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