/external/python/cpython3/Python/ |
D | pystrhex.c | 7 static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, in _Py_strhex_impl() argument 11 assert(arglen >= 0); in _Py_strhex_impl() 50 if (bytes_per_sep_group && arglen > 0) { in _Py_strhex_impl() 52 resultlen = (arglen - 1) / abs_bytes_per_sep; in _Py_strhex_impl() 55 if (arglen >= PY_SSIZE_T_MAX / 2 - resultlen) { in _Py_strhex_impl() 58 resultlen += arglen * 2; in _Py_strhex_impl() 60 if ((size_t)abs_bytes_per_sep >= (size_t)arglen) { in _Py_strhex_impl() 88 for (i = j = 0; i < arglen; ++i) { in _Py_strhex_impl() 98 Py_ssize_t chunks = (arglen - 1) / abs_bytes_per_sep; in _Py_strhex_impl() 112 while (i < arglen) { in _Py_strhex_impl() [all …]
|
/external/python/cpython3/Include/ |
D | pystrhex.h | 10 PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 12 PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 14 PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObje… 15 PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const …
|
/external/strace/tests-mx32/ |
D | threads-execve.c | 106 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/ |
D | threads-execve.c | 106 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/ |
D | threads-execve.c | 106 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/python/cpython3/Include/internal/ |
D | pycore_fileutils.h | 17 Py_ssize_t arglen, 33 Py_ssize_t arglen,
|
/external/python/cpython2/Modules/ |
D | binascii.c | 1044 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 …]
|
D | socketmodule.c | 2931 int arglen; local 2934 arglen = PyTuple_Size(args); 2935 switch(arglen) { 2944 " arguments (%d given)", arglen);
|
/external/libusb/tests/ |
D | testlib.c | 94 size_t arglen = strlen(argstr); in libusb_testlib_run_tests() local 97 if (arglen == 2) { in libusb_testlib_run_tests()
|
/external/toybox/toys/posix/ |
D | find.c | 88 int dir, plus, arglen, argsize, curly; member 119 newargs = xmalloc(sizeof(char *)*(aa->arglen+bb->namecount+1)); in flush_exec() 121 memcpy(newargs, aa->argstart, sizeof(char *)*aa->arglen); in flush_exec() 122 newargs[aa->arglen] = 0; in flush_exec() 124 int pos = aa->curly, rest = aa->arglen - aa->curly; in flush_exec() 130 rest = aa->arglen - aa->curly - 1; in flush_exec() 538 aa->arglen = len; in do_find() 549 ss += aa->arglen + 1; in do_find()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_win.cc | 199 int arglen = internal_strlen(arg); in StartSymbolizerSubprocess() local 205 CHECK(arglen > 0 && arg[arglen - 1] != '\\' && in StartSymbolizerSubprocess()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_win.cpp | 229 int arglen = internal_strlen(arg); in StartSymbolizerSubprocess() local 235 CHECK(arglen > 0 && arg[arglen - 1] != '\\' && in StartSymbolizerSubprocess()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 382 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument 385 if (argidx < arglen) { in getnextarg() 387 if (arglen < 0) in getnextarg() 596 Py_ssize_t arglen, argidx; in _PyBytes_FormatEx() local 619 arglen = PyTuple_GET_SIZE(args); in _PyBytes_FormatEx() 623 arglen = -1; in _PyBytes_FormatEx() 716 arglen = -1; in _PyBytes_FormatEx() 734 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() 774 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() 818 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() [all …]
|
D | stringobject.c | 3924 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument 3927 if (argidx < arglen) { in getnextarg() 3929 if (arglen < 0) in getnextarg() 4246 Py_ssize_t arglen, argidx; in PyString_Format() local 4267 arglen = PyTuple_GET_SIZE(args); in PyString_Format() 4271 arglen = -1; in PyString_Format() 4353 arglen = -1; in PyString_Format() 4367 v = getnextarg(args, arglen, &argidx); in PyString_Format() 4405 v = getnextarg(args, arglen, &argidx); in PyString_Format() 4450 v = getnextarg(args, arglen, &argidx); in PyString_Format() [all …]
|
D | unicodeobject.c | 8107 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument 8110 if (argidx < arglen) { in getnextarg() 8112 if (arglen < 0) in getnextarg() 8357 Py_ssize_t fmtcnt, rescnt, reslen, arglen, argidx; in PyUnicode_Format() local 8380 arglen = PyTuple_Size(args); in PyUnicode_Format() 8384 arglen = -1; in PyUnicode_Format() 8470 arglen = -1; in PyUnicode_Format() 8484 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() 8521 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() 8564 v = getnextarg(args, arglen, &argidx); in PyUnicode_Format() [all …]
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 375 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx) in getnextarg() argument 378 if (argidx < arglen) { in getnextarg() 380 if (arglen < 0) in getnextarg() 588 Py_ssize_t arglen, argidx; in _PyBytes_FormatEx() local 611 arglen = PyTuple_GET_SIZE(args); in _PyBytes_FormatEx() 615 arglen = -1; in _PyBytes_FormatEx() 705 arglen = -1; in _PyBytes_FormatEx() 723 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() 763 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() 807 v = getnextarg(args, arglen, &argidx); in _PyBytes_FormatEx() [all …]
|
D | unicodeobject.c | 2676 Py_ssize_t length, fill, arglen; in unicode_fromformat_write_str() local 2690 arglen = Py_MAX(length, width); in unicode_fromformat_write_str() 2696 if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) in unicode_fromformat_write_str() 2847 Py_ssize_t arglen; in unicode_fromformat_arg() local 2885 arglen = Py_MAX(precision, width); in unicode_fromformat_arg() 2886 if (_PyUnicodeWriter_Prepare(writer, arglen, 127) == -1) in unicode_fromformat_arg() 5261 _Py_DecodeUTF8_surrogateescape(const char *arg, Py_ssize_t arglen, in _Py_DecodeUTF8_surrogateescape() argument 5265 int res = _Py_DecodeUTF8Ex(arg, arglen, in _Py_DecodeUTF8_surrogateescape() 14392 Py_ssize_t arglen, argidx; member 14416 if (argidx < ctx->arglen) { in unicode_format_getnextarg() [all …]
|
D | bytearrayobject.c | 2114 Py_ssize_t arglen = PyByteArray_GET_SIZE(self); in bytearray_hex_impl() local 2115 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytearray_hex_impl()
|
/external/python/cpython3/Modules/ |
D | binascii.c | 1222 Py_ssize_t arglen; in binascii_a2b_hex_impl() local 1229 arglen = hexstr->len; in binascii_a2b_hex_impl() 1231 assert(arglen >= 0); in binascii_a2b_hex_impl() 1237 if (arglen % 2) { in binascii_a2b_hex_impl() 1246 retval = PyBytes_FromStringAndSize(NULL, (arglen/2)); in binascii_a2b_hex_impl() 1251 for (i=j=0; i < arglen; i += 2) { in binascii_a2b_hex_impl()
|
D | socketmodule.c | 4324 Py_ssize_t arglen; in sock_sendto() local 4330 arglen = PyTuple_Size(args); in sock_sendto() 4331 switch (arglen) { in sock_sendto() 4346 arglen); in sock_sendto()
|
/external/libusb/examples/ |
D | xusb.c | 979 size_t i, arglen; in main() local 997 arglen = strlen(argv[j]); in main() 999 && (arglen >= 2) ) { in main() 1063 for (i=0; i<arglen; i++) { in main() 1067 if (i != arglen) { in main()
|
/external/libfuse/lib/ |
D | fuse_opt.c | 173 int arglen = strlen(arg); in match_template() local 180 if (arglen >= tlen && strncmp(arg, t, tlen) == 0) { in match_template()
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 2663 arglen = len(args) 2665 if arglen > len(self._input_signature): 2669 len(self._input_signature), arglen)) 2685 for i in range(arglen, len(self._arg_names))) 2689 for i in range(arglen, len(self._arg_names)) 2703 self._arg_indices_to_default_values) if index >= arglen 2707 range(arglen)) 2711 if index < arglen: 3243 arglen = len(args) 3245 arglen = len(self.input_signature) [all …]
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 3873 int arglen = (argequals == NULL)? in main() local 3875 if (oplen == arglen && strncmp(arg, op->long_name, oplen) == 0) in main() 3877 option_data = arg + arglen; in main() 3898 int arglen = (argequals == NULL || equals == NULL)? in main() local 3912 if (strncmp(arg, buff1, arglen) == 0 || in main() 3913 strncmp(arg, buff2, arglen) == 0) in main()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 1554 unsigned long arglen, argnum; in HandlePacket_A() local 1559 arglen = strtoul(buf, &c, 10); in HandlePacket_A() 1560 if (errno != 0 && arglen == 0) { in HandlePacket_A() 1583 buf = buf + arglen; in HandlePacket_A()
|