/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | stropmodule.c | 172 Py_ssize_t i, reslen = 0, slen = 0, sz = 100; in strop_joinfields() local 218 slen = PyString_GET_SIZE(item); in strop_joinfields() 219 if (slen > PY_SSIZE_T_MAX - reslen || in strop_joinfields() 226 while (reslen + slen + seplen >= sz) { in strop_joinfields() 237 memcpy(p, PyString_AS_STRING(item), slen); in strop_joinfields() 238 p += slen; in strop_joinfields() 239 reslen += slen; in strop_joinfields() 262 slen = PyString_GET_SIZE(item); in strop_joinfields() 263 if (slen > PY_SSIZE_T_MAX - reslen || in strop_joinfields() 271 while (reslen + slen + seplen >= sz) { in strop_joinfields() [all …]
|
D | binascii.c | 335 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num) in binascii_find_valid() argument 344 while ((slen > 0) && (ret == -1)) { in binascii_find_valid() 354 slen--; in binascii_find_valid()
|
D | pyexpat.c | 896 int slen; in xmlparse_Parse() local 899 if (!PyArg_ParseTuple(args, "s#|i:Parse", &s, &slen, &isFinal)) in xmlparse_Parse() 902 return get_parse_result(self, XML_Parse(self->itself, s, slen, isFinal)); in xmlparse_Parse()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | stropmodule.c | 172 Py_ssize_t i, reslen = 0, slen = 0, sz = 100; in strop_joinfields() local 218 slen = PyString_GET_SIZE(item); in strop_joinfields() 219 if (slen > PY_SSIZE_T_MAX - reslen || in strop_joinfields() 226 while (reslen + slen + seplen >= sz) { in strop_joinfields() 237 memcpy(p, PyString_AS_STRING(item), slen); in strop_joinfields() 238 p += slen; in strop_joinfields() 239 reslen += slen; in strop_joinfields() 262 slen = PyString_GET_SIZE(item); in strop_joinfields() 263 if (slen > PY_SSIZE_T_MAX - reslen || in strop_joinfields() 271 while (reslen + slen + seplen >= sz) { in strop_joinfields() [all …]
|
D | binascii.c | 333 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num) in binascii_find_valid() argument 342 while ((slen > 0) && (ret == -1)) { in binascii_find_valid() 352 slen--; in binascii_find_valid()
|
D | pyexpat.c | 896 int slen; in xmlparse_Parse() local 899 if (!PyArg_ParseTuple(args, "s#|i:Parse", &s, &slen, &isFinal)) in xmlparse_Parse() 902 return get_parse_result(self, XML_Parse(self->itself, s, slen, isFinal)); in xmlparse_Parse()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | vsnprintf_ss.c | 120 vsnprintf_ss(char *sbuf, size_t slen, const char *fmt0, va_list ap) 148 tailp = sbuf + slen;
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
D | EDKII_openssl-1.0.2j.patch | 96 c.slen = length; 100 if (func(&(b),&c.p,c.slen) == NULL) \ 103 c.slen-=(c.p-c.q); 108 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ 111 c.slen-=(c.p-c.q); 116 if (func(&(b),&c.p,c.slen) < 0) \ 119 c.slen-=(c.p-c.q); 125 if (func(&(b),&c.p,c.slen) == NULL) \ 128 c.slen-=(c.p-c.q);\ 133 if (d2i_ASN1_SET(&(r),&c.p,c.slen,(char *(*)())func,\ [all …]
|
/device/linaro/hikey/power/ |
D | power_hikey.c | 128 static int sysfs_read(const char *path, char *s, int slen) in sysfs_read() argument 138 len = read(fd, s, slen); in sysfs_read()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_logging.py | 834 slen = struct.unpack(">L", chunk)[0] 835 chunk = self.connection.recv(slen) 836 while len(chunk) < slen: 837 chunk = chunk + self.connection.recv(slen - len(chunk)) 1791 slen = struct.pack('>L', len(text)) 1792 s = slen + text
|
D | test_bigmem.py | 152 slen, remainder = divmod(size, tabsize) 153 s = ' \t' * slen
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
D | config.py | 812 slen = struct.unpack(">L", chunk)[0] 813 chunk = self.connection.recv(slen) 814 while len(chunk) < slen: 815 chunk = chunk + conn.recv(slen - len(chunk))
|
D | handlers.py | 528 slen = struct.pack(">L", len(s)) 529 return slen + s
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
D | regcomp.c | 464 int rlen, r, len, prev_len, slen, ambig; in compile_length_string_node() local 478 slen = 1; in compile_length_string_node() 484 slen++; in compile_length_string_node() 487 r = add_compile_string_length(prev, prev_len, slen, reg, ambig); in compile_length_string_node() 490 slen = 1; in compile_length_string_node() 495 r = add_compile_string_length(prev, prev_len, slen, reg, ambig); in compile_length_string_node() 512 int r, len, prev_len, slen, ambig; in compile_string_node() local 527 slen = 1; in compile_string_node() 532 slen++; in compile_string_node() 535 r = add_compile_string(prev, prev_len, slen, reg, ambig); in compile_string_node() [all …]
|
D | regparse.c | 234 int slen, term_len, i; in strdup_with_null() local 237 slen = (int)(end - s); in strdup_with_null() 240 r = (UChar* )xmalloc(slen + term_len); in strdup_with_null() 242 xmemcpy(r, s, slen); in strdup_with_null() 245 r[slen + i] = (UChar )0; in strdup_with_null()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | intobject.c | 360 Py_ssize_t slen; in PyInt_FromString() local 385 slen = strlen(s) < 200 ? strlen(s) : 200; in PyInt_FromString() 386 sobj = PyString_FromStringAndSize(s, slen); in PyInt_FromString()
|
D | stringobject.c | 2870 Py_ssize_t slen; in _string_tailmatch() local 2876 slen = PyString_GET_SIZE(substr); in _string_tailmatch() 2883 else if (PyObject_AsCharBuffer(substr, &sub, &slen)) in _string_tailmatch() 2891 if (start+slen > len) in _string_tailmatch() 2895 if (end-start < slen || start > len) in _string_tailmatch() 2898 if (end-slen > start) in _string_tailmatch() 2899 start = end - slen; in _string_tailmatch() 2901 if (end-start >= slen) in _string_tailmatch() 2902 return ! memcmp(str+start, sub, slen); in _string_tailmatch()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | intobject.c | 346 Py_ssize_t slen; in PyInt_FromString() local 371 slen = strlen(s) < 200 ? strlen(s) : 200; in PyInt_FromString() 372 sobj = PyString_FromStringAndSize(s, slen); in PyInt_FromString()
|
D | stringobject.c | 2851 Py_ssize_t slen; in _string_tailmatch() local 2857 slen = PyString_GET_SIZE(substr); in _string_tailmatch() 2864 else if (PyObject_AsCharBuffer(substr, &sub, &slen)) in _string_tailmatch() 2872 if (start+slen > len) in _string_tailmatch() 2876 if (end-start < slen || start > len) in _string_tailmatch() 2879 if (end-slen > start) in _string_tailmatch() 2880 start = end - slen; in _string_tailmatch() 2882 if (end-start >= slen) in _string_tailmatch() 2883 return ! memcmp(str+start, sub, slen); in _string_tailmatch()
|
D | longobject.c | 1719 Py_ssize_t slen; in PyLong_FromString() local 1979 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200; in PyLong_FromString() 1980 strobj = PyString_FromStringAndSize(orig_str, slen); in PyLong_FromString()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/ |
D | longobject.c | 1719 Py_ssize_t slen; in PyLong_FromString() local 1979 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200; in PyLong_FromString() 1980 strobj = PyString_FromStringAndSize(orig_str, slen); in PyLong_FromString()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/ |
D | longobject.c | 1733 Py_ssize_t slen; in PyLong_FromString() local 1993 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200; in PyLong_FromString() 1994 strobj = PyString_FromStringAndSize(orig_str, slen); in PyLong_FromString()
|