Home
last modified time | relevance | path

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

/external/python/cpython3/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.h17 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in return_self()
36 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs()
37 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs()
68 q = STRINGLIB_STR(u); in stringlib_expandtabs()
70 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs()
110 memset(STRINGLIB_STR(u), fill, left); in pad()
111 memcpy(STRINGLIB_STR(u) + left, in pad()
112 STRINGLIB_STR(self), in pad()
115 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
198 p = STRINGLIB_STR(s); in stringlib_zfill()
[all …]
Dfind.h67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in STRINGLIB()
68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in STRINGLIB()
Djoin.h10 char *sepstr = STRINGLIB_STR(sep); in STRINGLIB()
104 p = STRINGLIB_STR(res); in STRINGLIB()
Dundef.h6 #undef STRINGLIB_STR
Ducs1lib.h19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
Ducs2lib.h19 #define STRINGLIB_STR PyUnicode_2BYTE_DATA macro
Ducs4lib.h19 #define STRINGLIB_STR PyUnicode_4BYTE_DATA macro
Dunicodedefs.h21 #define STRINGLIB_STR PyUnicode_AS_UNICODE macro
Dasciilib.h19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
Dstringdefs.h21 #define STRINGLIB_STR PyBytes_AS_STRING macro
DREADME.txt28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
/external/python/cpython2/Objects/stringlib/
Dctype.h9 return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isspace()
15 return _Py_bytes_isalpha(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalpha()
21 return _Py_bytes_isalnum(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalnum()
27 return _Py_bytes_isdigit(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isdigit()
33 return _Py_bytes_islower(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_islower()
39 return _Py_bytes_isupper(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isupper()
45 return _Py_bytes_istitle(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_istitle()
58 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower()
70 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper()
82 _Py_bytes_title(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_title()
[all …]
Dtransmogrify.h27 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs()
28 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs()
59 q = STRINGLIB_STR(u); in stringlib_expandtabs()
61 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs()
98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad()
109 memset(STRINGLIB_STR(u), fill, left); in pad()
110 Py_MEMCPY(STRINGLIB_STR(u) + left, in pad()
111 STRINGLIB_STR(self), in pad()
114 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust()
[all …]
Dstring_format.h142 output->ptr = STRINGLIB_STR(output->obj); in output_initialize()
158 STRINGLIB_CHAR *startptr = STRINGLIB_STR(output->obj); in output_extend()
164 startptr = STRINGLIB_STR(output->obj); in output_extend()
627 STRINGLIB_STR(result), STRINGLIB_LEN(result)); in render_field()
920 STRINGLIB_STR(tmp), STRINGLIB_LEN(tmp)); in output_markup()
1007 count = output.ptr - STRINGLIB_STR(output.obj); in build_string()
1040 SubString_init(&input, STRINGLIB_STR(self), STRINGLIB_LEN(self)); in do_string_format()
1199 STRINGLIB_STR(self), in formatter_parser()
1340 if (!field_name_split(STRINGLIB_STR(self), in formatter_field_name_split()
Dfind.h89 STRINGLIB_STR(str), STRINGLIB_LEN(str), in stringlib_contains_obj()
90 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in stringlib_contains_obj()
Dformatter.h719 p = fill_padding(STRINGLIB_STR(result), len, in format_string_internal()
723 memcpy(p, STRINGLIB_STR(value), len * sizeof(STRINGLIB_CHAR)); in format_string_internal()
865 pnumeric_chars = STRINGLIB_STR(tmp); in format_int_or_long_internal()
904 fill_number(STRINGLIB_STR(result), &spec, pnumeric_chars, n_digits, in format_int_or_long_internal()
1058 fill_number(STRINGLIB_STR(result), &spec, p, n_digits, NULL, in format_float_internal()
1273 p = fill_padding(STRINGLIB_STR(result), in format_complex_internal()
Dunicodedefs.h21 #define STRINGLIB_STR PyUnicode_AS_UNICODE macro
Dstringdefs.h21 #define STRINGLIB_STR PyString_AS_STRING macro
DREADME.txt28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
/external/python/cpython3/Objects/
Dbytearrayobject.c1093 #define STRINGLIB_STR PyByteArray_AS_STRING macro
/external/python/cpython2/Objects/
Dbytearrayobject.c1140 #define STRINGLIB_STR PyByteArray_AS_STRING macro