/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A 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
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A 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
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
H A D | stropmodule.c | 172 Py_ssize_t i, reslen = 0, slen = 0, sz = 100;
local 218 slen = PyString_GET_SIZE(item);
219 if (slen > PY_SSIZE_T_MAX - reslen ||
226 while (reslen + slen + seplen >= sz) {
237 memcpy(p, PyString_AS_STRING(item), slen);
238 p += slen;
239 reslen += slen;
262 slen = PyString_GET_SIZE(item);
263 if (slen > PY_SSIZE_T_MAX - reslen ||
271 while (reslen + slen [all...] |
H A D | binascii.c | 333 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num)
argument 342 while ((slen > 0) && (ret == -1)) {
352 slen--;
|
H A D | pyexpat.c | 896 int slen;
899 if (!PyArg_ParseTuple(args, "s#|i:Parse", &s, &slen, &isFinal))
902 return get_parse_result(self, XML_Parse(self->itself, s, slen, isFinal));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | stropmodule.c | 172 Py_ssize_t i, reslen = 0, slen = 0, sz = 100;
local 218 slen = PyString_GET_SIZE(item);
219 if (slen > PY_SSIZE_T_MAX - reslen ||
226 while (reslen + slen + seplen >= sz) {
237 memcpy(p, PyString_AS_STRING(item), slen);
238 p += slen;
239 reslen += slen;
262 slen = PyString_GET_SIZE(item);
263 if (slen > PY_SSIZE_T_MAX - reslen ||
271 while (reslen + slen [all...] |
H A D | binascii.c | 335 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num)
argument 344 while ((slen > 0) && (ret == -1)) {
354 slen--;
|
H A D | pyexpat.c | 896 int slen;
899 if (!PyArg_ParseTuple(args, "s#|i:Parse", &s, &slen, &isFinal))
902 return get_parse_result(self, XML_Parse(self->itself, s, slen, isFinal));
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
H A 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/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A 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
|
H A D | test_bigmem.py | 152 slen, remainder = divmod(size, tabsize)
153 s = ' \t' * slen
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
H A D | regcomp.c | 464 int rlen, r, len, prev_len, slen, ambig;
local 478 slen = 1;
484 slen++;
487 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
490 slen = 1;
495 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
512 int r, len, prev_len, slen, ambig;
local 527 slen = 1;
532 slen++;
535 r = add_compile_string(prev, prev_len, slen, re 3267 expand_case_fold_string_alt(int item_num, OnigCaseFoldCodeItem items[], UChar *p, int slen, UChar *end, regex_t* reg, Node **rnode) argument 4604 int slen = (int)(sn->end - sn->s); local [all...] |
H A D | regparse.c | 234 int slen, term_len, i;
local 237 slen = (int)(end - s);
240 r = (UChar* )xmalloc(slen + term_len);
242 xmemcpy(r, s, slen);
245 r[slen + i] = (UChar )0;
|
/device/linaro/hikey/power/ |
H A D | power_hikey.c | 124 static int sysfs_read(const char *path, char *s, int slen) argument 134 len = read(fd, s, slen);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
H A 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))
|
H A D | handlers.py | 528 slen = struct.pack(">L", len(s))
529 return slen + s
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | intobject.c | 360 Py_ssize_t slen;
local 385 slen = strlen(s) < 200 ? strlen(s) : 200;
386 sobj = PyString_FromStringAndSize(s, slen);
|
H A D | stringobject.c | 2870 Py_ssize_t slen;
local 2876 slen = PyString_GET_SIZE(substr);
2883 else if (PyObject_AsCharBuffer(substr, &sub, &slen))
2891 if (start+slen > len)
2895 if (end-start < slen || start > len)
2898 if (end-slen > start)
2899 start = end - slen;
2901 if (end-start >= slen)
2902 return ! memcmp(str+start, sub, slen);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | intobject.c | 346 Py_ssize_t slen;
local 371 slen = strlen(s) < 200 ? strlen(s) : 200;
372 sobj = PyString_FromStringAndSize(s, slen);
|
H A D | stringobject.c | 2851 Py_ssize_t slen;
local 2857 slen = PyString_GET_SIZE(substr);
2864 else if (PyObject_AsCharBuffer(substr, &sub, &slen))
2872 if (start+slen > len)
2876 if (end-start < slen || start > len)
2879 if (end-slen > start)
2880 start = end - slen;
2882 if (end-start >= slen)
2883 return ! memcmp(str+start, sub, slen);
|
H A D | longobject.c | 1719 Py_ssize_t slen;
local 1979 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
1980 strobj = PyString_FromStringAndSize(orig_str, slen);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/ |
H A D | longobject.c | 1719 Py_ssize_t slen;
local 1979 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
1980 strobj = PyString_FromStringAndSize(orig_str, slen);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/ |
H A D | longobject.c | 1733 Py_ssize_t slen;
local 1993 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
1994 strobj = PyString_FromStringAndSize(orig_str, slen);
|