Home
last modified time | relevance | path

Searched refs:STRINGLIB_STR (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Objects/stringlib/
Dctype.h10 return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isspace()
16 return _Py_bytes_isalpha(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalpha()
22 return _Py_bytes_isalnum(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalnum()
28 return _Py_bytes_isascii(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isascii()
34 return _Py_bytes_isdigit(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isdigit()
40 return _Py_bytes_islower(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_islower()
46 return _Py_bytes_isupper(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isupper()
52 return _Py_bytes_istitle(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_istitle()
65 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower()
77 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper()
[all …]
Dtransmogrify.h24 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in return_self()
48 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs_impl()
49 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs_impl()
80 q = STRINGLIB_STR(u); in stringlib_expandtabs_impl()
82 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs_impl()
122 memset(STRINGLIB_STR(u), fill, left); in pad()
123 memcpy(STRINGLIB_STR(u) + left, in pad()
124 STRINGLIB_STR(self), in pad()
127 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
240 p = STRINGLIB_STR(s); in stringlib_zfill_impl()
[all …]
Dfind.h67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in STRINGLIB()
68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in STRINGLIB()
Djoin.h10 const char *sepstr = STRINGLIB_STR(sep); in STRINGLIB()
116 p = STRINGLIB_STR(res); in STRINGLIB()
Dundef.h6 #undef STRINGLIB_STR
Ducs4lib.h18 #define STRINGLIB_STR PyUnicode_4BYTE_DATA macro
Ducs1lib.h18 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
Ducs2lib.h18 #define STRINGLIB_STR PyUnicode_2BYTE_DATA macro
Dasciilib.h18 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
Dunicodedefs.h20 #define STRINGLIB_STR PyUnicode_AS_UNICODE macro
Dstringdefs.h20 #define STRINGLIB_STR PyBytes_AS_STRING macro
DREADME.txt28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
/third_party/python/Objects/
Dbytearrayobject.c1082 #define STRINGLIB_STR PyByteArray_AS_STRING macro