Home
last modified time | relevance | path

Searched refs:arglen (Results 1 – 17 of 17) sorted by relevance

/external/libvterm/src/
Dparser.c19 static void do_string_csi(VTerm *vt, const char *args, size_t arglen, char command) in do_string_csi() argument
27 for( ; i < arglen; i++) { in do_string_csi()
38 for( ; i < arglen; i++) in do_string_csi()
52 for(i = leaderlen; i < arglen && argi < argcount; i++) { in do_string_csi()
76 for( ; i < arglen; i++) { in do_string_csi()
86 if(i < arglen) { in do_string_csi()
87 fprintf(stderr, "libvterm: TODO unhandled CSI bytes \"%.*s\"\n", (int)(arglen - i), args + i); in do_string_csi()
103 fprintf(stderr, "libvterm: Unhandled CSI %.*s %c\n", (int)arglen, args, command); in do_string_csi()
/external/syslinux/com32/mboot/
Dmboot.c97 int arglen; in get_modules() local
128 arglen = 0; in get_modules()
130 arglen += strlen(*argx) + 1; in get_modules()
132 if (arglen == 0) { in get_modules()
136 mp->cmdline = p = malloc(arglen); in get_modules()
/external/strace/tests/
Dthreads-execve.c106 arglen(char **args) in arglen() function
142 environ, arglen(environ), leader); in thread()
149 environ, arglen(environ), in thread()
158 environ, arglen(environ), in thread()
192 environ, arglen(environ)); in main()
/external/strace/tests-m32/
Dthreads-execve.c106 arglen(char **args) in arglen() function
142 environ, arglen(environ), leader); in thread()
149 environ, arglen(environ), in thread()
158 environ, arglen(environ), in thread()
192 environ, arglen(environ)); in main()
/external/strace/tests-mx32/
Dthreads-execve.c106 arglen(char **args) in arglen() function
142 environ, arglen(environ), leader); in thread()
149 environ, arglen(environ), in thread()
158 environ, arglen(environ), in thread()
192 environ, arglen(environ)); in main()
/external/bison/lib/
Dargmatch.c87 size_t arglen; /* Length of ARG. */ in argmatch() local
91 arglen = strlen (arg); in argmatch()
96 if (!strncmp (arglist[i], arg, arglen)) in argmatch()
98 if (strlen (arglist[i]) == arglen) in argmatch()
/external/toybox/toys/posix/
Dfind.c77 int dir, plus, arglen, argsize, curly; member
108 newargs = xmalloc(sizeof(char *)*(aa->arglen+bb->namecount+1)); in flush_exec()
110 memcpy(newargs, aa->argstart, sizeof(char *)*aa->arglen); in flush_exec()
111 newargs[aa->arglen] = 0; in flush_exec()
113 int pos = aa->curly, rest = aa->arglen - aa->curly; in flush_exec()
119 rest = aa->arglen - aa->curly - 1; in flush_exec()
464 aa->arglen = len; in do_find()
475 ss += aa->arglen + 1; in do_find()
/external/python/cpython2/Modules/
Dbinascii.c1044 Py_ssize_t arglen; in binascii_hexlify() local
1052 arglen = parg.len; in binascii_hexlify()
1054 assert(arglen >= 0); in binascii_hexlify()
1055 if (arglen > PY_SSIZE_T_MAX / 2) { in binascii_hexlify()
1060 retval = PyString_FromStringAndSize(NULL, arglen*2); in binascii_hexlify()
1068 for (i=j=0; i < arglen; i++) { in binascii_hexlify()
1107 Py_ssize_t arglen; in binascii_unhexlify() local
1115 arglen = parg.len; in binascii_unhexlify()
1117 assert(arglen >= 0); in binascii_unhexlify()
1123 if (arglen % 2) { in binascii_unhexlify()
[all …]
Dsocketmodule.c2931 int arglen; local
2934 arglen = PyTuple_Size(args);
2935 switch(arglen) {
2944 " arguments (%d given)", arglen);
/external/libusb/tests/
Dtestlib.c174 size_t arglen; in libusb_testlib_run_tests() local
191 arglen = strlen(argv[j]); in libusb_testlib_run_tests()
193 arglen >=2 ) { in libusb_testlib_run_tests()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc199 int arglen = internal_strlen(arg); in StartSymbolizerSubprocess() local
205 CHECK(arglen > 0 && arg[arglen - 1] != '\\' && in StartSymbolizerSubprocess()
/external/syslinux/com32/rosh/
Drosh.c338 int i, arglen, curpos; /* index, argument length, current position in rosh_argcat() local
343 arglen = strlen(argv[i]); in rosh_argcat()
345 if ((curpos + arglen) > (cmdlen - 1)) in rosh_argcat()
346 arglen = (cmdlen - 1) - curpos; in rosh_argcat()
347 memcpy(cmdstr + curpos, argv[i], arglen); in rosh_argcat()
348 curpos += arglen; in rosh_argcat()
/external/libusb/examples/
Dxusb.c978 size_t i, arglen; in main() local
996 arglen = strlen(argv[j]); in main()
998 && (arglen >= 2) ) { in main()
1062 for (i=0; i<arglen; i++) { in main()
1066 if (i != arglen) { in main()
/external/pcre/dist2/src/
Dpcre2_compile.c3033 int32_t arglen = 0; in process_verb_name() local
3125 arglen += i; in process_verb_name()
3127 if (x > 0xffff) arglen++; in process_verb_name()
3146 arglen++; in process_verb_name()
3148 if ((unsigned int)arglen > MAX_MARK) in process_verb_name()
3160 return arglen; in process_verb_name()
5886 int arglen = 0; in compile_branch() local
5911 arglen = 0; in compile_branch()
5915 arglen++; /* along, to avoid the */ in compile_branch()
5916 if ((unsigned int)arglen > MAX_MARK) /* possibility of overflow. */ in compile_branch()
[all …]
Dpcre2grep.c3029 int arglen = (argequals == NULL)? in main() local
3031 if (oplen == arglen && strncmp(arg, op->long_name, oplen) == 0) in main()
3033 option_data = arg + arglen; in main()
3053 int arglen = (argequals == NULL || equals == NULL)? in main() local
3059 if (strncmp(arg, buff1, arglen) == 0 || in main()
3060 strncmp(arg, buff2, arglen) == 0) in main()
/external/python/cpython2/Objects/
Dstringobject.c3927 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument
3930 if (argidx < arglen) { in getnextarg()
3932 if (arglen < 0) in getnextarg()
4249 Py_ssize_t arglen, argidx; in PyString_Format() local
4270 arglen = PyTuple_GET_SIZE(args); in PyString_Format()
4274 arglen = -1; in PyString_Format()
4356 arglen = -1; in PyString_Format()
4370 v = getnextarg(args, arglen, &argidx); in PyString_Format()
4408 v = getnextarg(args, arglen, &argidx); in PyString_Format()
4453 v = getnextarg(args, arglen, &argidx); in PyString_Format()
[all …]
Dunicodeobject.c8111 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument
8114 if (argidx < arglen) { in getnextarg()
8116 if (arglen < 0) in getnextarg()
8361 Py_ssize_t fmtcnt, rescnt, reslen, arglen, argidx; in PyUnicode_Format() local
8384 arglen = PyTuple_Size(args); in PyUnicode_Format()
8388 arglen = -1; in PyUnicode_Format()
8474 arglen = -1; in PyUnicode_Format()
8488 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format()
8525 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format()
8568 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format()
[all …]