Home
last modified time | relevance | path

Searched refs:STRINGLIB_NEW (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dpartition.h32 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len)); in stringlib_partition()
33 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_partition()
34 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0)); in stringlib_partition()
46 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos)); in stringlib_partition()
50 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos)); in stringlib_partition()
82 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(NULL, 0)); in stringlib_rpartition()
83 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_rpartition()
84 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str, str_len)); in stringlib_rpartition()
96 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos)); in stringlib_rpartition()
100 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos)); in stringlib_rpartition()
Dtransmogrify.h58 u = STRINGLIB_NEW(NULL, i + j); in stringlib_expandtabs()
98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad()
105 u = STRINGLIB_NEW(NULL, in pad()
140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust()
170 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_rjust()
201 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_center()
236 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_zfill()
243 return STRINGLIB_NEW( in stringlib_zfill()
Dctype.h55 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower()
67 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_upper()
79 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_title()
91 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_capitalize()
103 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_swapcase()
Dunicodedefs.h23 #define STRINGLIB_NEW PyUnicode_FromUnicode macro
Dstringdefs.h23 #define STRINGLIB_NEW PyString_FromStringAndSize macro
Dstring_format.h84 return STRINGLIB_NEW(str->ptr, str->end - str->ptr); in SubString_new_object()
92 return STRINGLIB_NEW(NULL, 0); in SubString_new_object_or_empty()
94 return STRINGLIB_NEW(str->ptr, str->end - str->ptr); in SubString_new_object_or_empty()
138 output->obj = STRINGLIB_NEW(NULL, size); in output_initialize()
603 format_spec_object = STRINGLIB_NEW(format_spec_start, in render_field()
1131 conversion_str = STRINGLIB_NEW(&conversion, 1); in formatteriter_next()
DREADME.txt24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t)
Dsplit.h24 sub = STRINGLIB_NEW((data) + (left), \
36 sub = STRINGLIB_NEW((data) + (left), \
Dformatter.h714 result = STRINGLIB_NEW(NULL, total); in format_string_internal()
892 result = STRINGLIB_NEW(NULL, n_total); in format_int_or_long_internal()
1041 result = STRINGLIB_NEW(NULL, n_total); in format_float_internal()
1251 result = STRINGLIB_NEW(NULL, total); in format_complex_internal()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dpartition.h32 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len)); in stringlib_partition()
33 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_partition()
34 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0)); in stringlib_partition()
46 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos)); in stringlib_partition()
50 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos)); in stringlib_partition()
82 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(NULL, 0)); in stringlib_rpartition()
83 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_rpartition()
84 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str, str_len)); in stringlib_rpartition()
96 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos)); in stringlib_rpartition()
100 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos)); in stringlib_rpartition()
Dtransmogrify.h54 u = STRINGLIB_NEW(NULL, i + j); in stringlib_expandtabs()
98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad()
105 u = STRINGLIB_NEW(NULL, in pad()
140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust()
170 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_rjust()
201 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_center()
236 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_zfill()
243 return STRINGLIB_NEW( in stringlib_zfill()
Dctype.h55 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower()
67 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_upper()
79 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_title()
91 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_capitalize()
103 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_swapcase()
Dunicodedefs.h23 #define STRINGLIB_NEW PyUnicode_FromUnicode macro
Dstringdefs.h23 #define STRINGLIB_NEW PyString_FromStringAndSize macro
Dstring_format.h84 return STRINGLIB_NEW(str->ptr, str->end - str->ptr); in SubString_new_object()
92 return STRINGLIB_NEW(NULL, 0); in SubString_new_object_or_empty()
94 return STRINGLIB_NEW(str->ptr, str->end - str->ptr); in SubString_new_object_or_empty()
138 output->obj = STRINGLIB_NEW(NULL, size); in output_initialize()
600 format_spec_object = STRINGLIB_NEW(format_spec_start, in render_field()
1128 conversion_str = STRINGLIB_NEW(&conversion, 1); in formatteriter_next()
DREADME.txt24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t)
Dsplit.h24 sub = STRINGLIB_NEW((data) + (left), \
36 sub = STRINGLIB_NEW((data) + (left), \
Dformatter.h714 result = STRINGLIB_NEW(NULL, total); in format_string_internal()
891 result = STRINGLIB_NEW(NULL, n_total); in format_int_or_long_internal()
1045 result = STRINGLIB_NEW(NULL, n_total); in format_float_internal()
1260 result = STRINGLIB_NEW(NULL, total); in format_complex_internal()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbytearrayobject.c1115 #define STRINGLIB_NEW PyByteArray_FromStringAndSize macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbytearrayobject.c1111 #define STRINGLIB_NEW PyByteArray_FromStringAndSize macro