Searched refs:slen (Results 1 - 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A DStringIO.py219 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 DStringIO.py219 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 Dstropmodule.c172 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 Dbinascii.c333 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num) argument
342 while ((slen > 0) && (ret == -1)) {
352 slen--;
H A Dpyexpat.c896 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 Dstropmodule.c172 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 Dbinascii.c335 binascii_find_valid(unsigned char *s, Py_ssize_t slen, int num) argument
344 while ((slen > 0) && (ret == -1)) {
354 slen--;
H A Dpyexpat.c896 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 Dvsnprintf_ss.c120 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 Dtest_logging.py834 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 Dtest_bigmem.py152 slen, remainder = divmod(size, tabsize)
153 s = ' \t' * slen
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
H A Dregcomp.c464 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 Dregparse.c234 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 Dpower_hikey.c124 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 Dconfig.py812 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 Dhandlers.py528 slen = struct.pack(">L", len(s))
529 return slen + s
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dintobject.c360 Py_ssize_t slen; local
385 slen = strlen(s) < 200 ? strlen(s) : 200;
386 sobj = PyString_FromStringAndSize(s, slen);
H A Dstringobject.c2870 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 Dintobject.c346 Py_ssize_t slen; local
371 slen = strlen(s) < 200 ? strlen(s) : 200;
372 sobj = PyString_FromStringAndSize(s, slen);
H A Dstringobject.c2851 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 Dlongobject.c1719 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 Dlongobject.c1719 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 Dlongobject.c1733 Py_ssize_t slen; local
1993 slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
1994 strobj = PyString_FromStringAndSize(orig_str, slen);

Completed in 150 milliseconds