/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | find.h | 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find() argument 19 if (sub_len == 0) in stringlib_find() 22 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_SEARCH); in stringlib_find() 32 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind() argument 39 if (sub_len == 0) in stringlib_rfind() 42 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in stringlib_rfind() 67 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find_slice() argument 71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice() 76 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind_slice() argument 80 return stringlib_rfind(str + start, end - start, sub, sub_len, start); in stringlib_rfind_slice()
|
D | count.h | 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_count() argument 19 if (sub_len == 0) in stringlib_count() 22 count = fastsearch(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in stringlib_count()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
D | find.h | 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find() argument 19 if (sub_len == 0) in stringlib_find() 22 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_SEARCH); in stringlib_find() 32 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind() argument 39 if (sub_len == 0) in stringlib_rfind() 42 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in stringlib_rfind() 67 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find_slice() argument 71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice() 76 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind_slice() argument 80 return stringlib_rfind(str + start, end - start, sub, sub_len, start); in stringlib_rfind_slice()
|
D | count.h | 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_count() argument 19 if (sub_len == 0) in stringlib_count() 22 count = fastsearch(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in stringlib_count()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | stropmodule.c | 1089 const char *sub, Py_ssize_t sub_len, /* substitution string */ in mymemreplace() argument 1109 new_len = len + nfound*(sub_len - pat_len); in mymemreplace() 1137 memcpy(new_s, sub, sub_len); in mymemreplace() 1138 new_s += sub_len; in mymemreplace() 1164 Py_ssize_t len,pat_len,sub_len,out_len; in strop_replace() local 1170 &str, &len, &pat, &pat_len, &sub, &sub_len, in strop_replace() 1183 new_s = mymemreplace(str,len,pat,pat_len,sub,sub_len,count,&out_len); in strop_replace()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | stropmodule.c | 1091 const char *sub, Py_ssize_t sub_len, /* substitution string */ in mymemreplace() argument 1111 new_len = len + nfound*(sub_len - pat_len); in mymemreplace() 1139 memcpy(new_s, sub, sub_len); in mymemreplace() 1140 new_s += sub_len; in mymemreplace() 1166 Py_ssize_t len,pat_len,sub_len,out_len; in strop_replace() local 1172 &str, &len, &pat, &pat_len, &sub, &sub_len, in strop_replace() 1185 new_s = mymemreplace(str,len,pat,pat_len,sub,sub_len,count,&out_len); in strop_replace()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | stringobject.c | 1711 Py_ssize_t sub_len; in string_find_internal() local 1720 sub_len = PyString_GET_SIZE(subobj); in string_find_internal() 1727 else if (PyObject_AsCharBuffer(subobj, &sub, &sub_len)) in string_find_internal() 1735 sub, sub_len, start, end); in string_find_internal() 1739 sub, sub_len, start, end); in string_find_internal() 2124 Py_ssize_t sub_len; in string_count() local 2132 sub_len = PyString_GET_SIZE(sub_obj); in string_count() 2144 else if (PyObject_AsCharBuffer(sub_obj, &sub, &sub_len)) in string_count() 2150 stringlib_count(str + start, end - start, sub, sub_len, PY_SSIZE_T_MAX) in string_count()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | stringobject.c | 1694 Py_ssize_t sub_len; in string_find_internal() local 1703 sub_len = PyString_GET_SIZE(subobj); in string_find_internal() 1710 else if (PyObject_AsCharBuffer(subobj, &sub, &sub_len)) in string_find_internal() 1718 sub, sub_len, start, end); in string_find_internal() 1722 sub, sub_len, start, end); in string_find_internal() 2107 Py_ssize_t sub_len; in string_count() local 2115 sub_len = PyString_GET_SIZE(sub_obj); in string_count() 2127 else if (PyObject_AsCharBuffer(sub_obj, &sub, &sub_len)) in string_count() 2133 stringlib_count(str + start, end - start, sub, sub_len, PY_SSIZE_T_MAX) in string_count()
|