Home
last modified time | relevance | path

Searched refs:PyString_AS_STRING (Results 1 – 25 of 1246) sorted by relevance

12345678910>>...50

/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dstringobject.c821 *s = PyString_AS_STRING(obj); in PyString_AsStringAndSize()
949 p = PyString_AS_STRING(v); in PyString_Repr()
1649 p = PyString_AS_STRING(res); in string_join()
1977 s = PyString_AS_STRING(newobj); in string_lower()
2010 s = PyString_AS_STRING(newobj); in string_upper()
2311 PyString_AS_STRING(self), in return_self()
2866 str = PyString_AS_STRING(self); in _string_tailmatch()
3269 PyString_AS_STRING(self), in string_zfill()
3281 p = PyString_AS_STRING(s); in string_zfill()
3705 Py_MEMCPY(PyString_AS_STRING(pnew), PyString_AS_STRING(tmp), n+1); in str_subtype_new()
[all …]
/dports/lang/python27/Python-2.7.18/Objects/
H A Dstringobject.c837 *s = PyString_AS_STRING(obj); in PyString_AsStringAndSize()
966 p = PyString_AS_STRING(v); in PyString_Repr()
1678 p = PyString_AS_STRING(res); in string_join()
2006 s = PyString_AS_STRING(newobj); in string_lower()
2039 s = PyString_AS_STRING(newobj); in string_upper()
2342 PyString_AS_STRING(self), in return_self()
2401 self_s = PyString_AS_STRING(self); in replace_interleave()
2888 str = PyString_AS_STRING(self); in _string_tailmatch()
3305 p = PyString_AS_STRING(s); in string_zfill()
3729 Py_MEMCPY(PyString_AS_STRING(pnew), PyString_AS_STRING(tmp), n+1); in str_subtype_new()
[all …]
H A Dexceptions.c1182 PyString_AS_STRING(str), in SyntaxError_str()
1187 PyString_AS_STRING(str), in SyntaxError_str()
1191 PyString_AS_STRING(str), in SyntaxError_str()
1658 PyString_AS_STRING(encoding_str), in UnicodeEncodeError_str()
1661 PyString_AS_STRING(reason_str)); in UnicodeEncodeError_str()
1666 PyString_AS_STRING(encoding_str), in UnicodeEncodeError_str()
1669 PyString_AS_STRING(reason_str)); in UnicodeEncodeError_str()
1745 PyString_AS_STRING(reason_str)); in UnicodeDecodeError_str()
1753 PyString_AS_STRING(reason_str)); in UnicodeDecodeError_str()
1845 PyString_AS_STRING(reason_str)); in UnicodeTranslateError_str()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Objects/
H A Dstringobject.c837 *s = PyString_AS_STRING(obj); in PyString_AsStringAndSize()
966 p = PyString_AS_STRING(v); in PyString_Repr()
1678 p = PyString_AS_STRING(res); in string_join()
2006 s = PyString_AS_STRING(newobj); in string_lower()
2039 s = PyString_AS_STRING(newobj); in string_upper()
2342 PyString_AS_STRING(self), in return_self()
2401 self_s = PyString_AS_STRING(self); in replace_interleave()
2888 str = PyString_AS_STRING(self); in _string_tailmatch()
3305 p = PyString_AS_STRING(s); in string_zfill()
3729 Py_MEMCPY(PyString_AS_STRING(pnew), PyString_AS_STRING(tmp), n+1); in str_subtype_new()
[all …]
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/python/
H A Dcore.hpp54 #ifndef PyString_AS_STRING
55 #define PyString_AS_STRING (char *) _PyUnicode_COMPACT_DATA macro
73 oss << PyString_AS_STRING(repr); in PyObject_TypePrettyPrinter()
133 oss << PyString_AS_STRING(repr); in PyObject_TypePrettyPrinter()
157 oss << PyString_AS_STRING(key) << '=' << PyString_AS_STRING(vrepr); in raise_invalid_argument()
/dports/lang/python27/Python-2.7.18/PC/
H A D_subprocess.c356 p = PyString_AS_STRING(out); in getenvironment()
370 if (strlen(PyString_AS_STRING(key)) != ksize || in getenvironment()
371 strlen(PyString_AS_STRING(value)) != vsize) in getenvironment()
378 if (ksize == 0 || strchr(PyString_AS_STRING(key) + 1, '=') != NULL) { in getenvironment()
382 totalsize = (p - PyString_AS_STRING(out)) + ksize + 1 + in getenvironment()
385 size_t offset = p - PyString_AS_STRING(out); in getenvironment()
388 p = PyString_AS_STRING(out) + offset; in getenvironment()
390 memcpy(p, PyString_AS_STRING(key), ksize); in getenvironment()
393 memcpy(p, PyString_AS_STRING(value), vsize); in getenvironment()
400 _PyString_Resize(&out, p - PyString_AS_STRING(out)); in getenvironment()
[all …]
/dports/lang/python-legacy/Python-2.7.18/PC/
H A D_subprocess.c356 p = PyString_AS_STRING(out); in getenvironment()
370 if (strlen(PyString_AS_STRING(key)) != ksize || in getenvironment()
371 strlen(PyString_AS_STRING(value)) != vsize) in getenvironment()
378 if (ksize == 0 || strchr(PyString_AS_STRING(key) + 1, '=') != NULL) { in getenvironment()
382 totalsize = (p - PyString_AS_STRING(out)) + ksize + 1 + in getenvironment()
385 size_t offset = p - PyString_AS_STRING(out); in getenvironment()
388 p = PyString_AS_STRING(out) + offset; in getenvironment()
390 memcpy(p, PyString_AS_STRING(key), ksize); in getenvironment()
393 memcpy(p, PyString_AS_STRING(value), vsize); in getenvironment()
400 _PyString_Resize(&out, p - PyString_AS_STRING(out)); in getenvironment()
[all …]
/dports/devel/dulwich/dulwich-0.19.16/dulwich/
H A D_pack.c27 #define PyString_AS_STRING PyBytes_AS_STRING macro
28 #define PyString_AS_STRING PyBytes_AS_STRING macro
114 src_buf = (uint8_t *)PyString_AS_STRING(py_src_buf); in py_apply_delta()
117 delta = (uint8_t *)PyString_AS_STRING(py_delta); in py_apply_delta()
137 out = (uint8_t *)PyString_AS_STRING(ret); in py_apply_delta()
242 cmp = memcmp(PyString_AS_STRING(file_sha), sha, 20); in py_bisect_find_sha()
/dports/devel/libunit/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/www/unit/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/www/unit-perl/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/www/unit-php/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/www/unit-python/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/www/unit-java/unit-1.26.1/src/python/
H A Dnxt_python.h22 #define PyString_AS_STRING PyUnicode_DATA macro
30 #define PyBytes_AS_STRING PyString_AS_STRING
32 #define PyUnicode_AsUTF8 PyString_AS_STRING
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A Dbinascii.c215 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_uu()
301 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_uu()
326 (unsigned char *)PyString_AS_STRING(rv))); in binascii_b2a_uu()
390 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_base64()
497 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_base64()
562 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_hqx()
640 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rlecode_hqx()
704 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_hqx()
764 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rledecode_hqx()
1065 retbuf = PyString_AS_STRING(retval); in binascii_hexlify()
[all …]
/dports/lang/python27/Python-2.7.18/Modules/
H A Dbinascii.c215 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_uu()
301 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_uu()
326 (unsigned char *)PyString_AS_STRING(rv))); in binascii_b2a_uu()
390 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_base64()
497 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_base64()
562 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_hqx()
640 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rlecode_hqx()
704 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_hqx()
764 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rledecode_hqx()
1065 retbuf = PyString_AS_STRING(retval); in binascii_hexlify()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dbinascii.c215 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_uu()
301 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_uu()
325 (unsigned char *)PyString_AS_STRING(rv))) < 0) { in binascii_b2a_uu()
392 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_base64()
501 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_base64()
568 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_hqx()
649 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rlecode_hqx()
715 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_hqx()
777 out_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_rledecode_hqx()
1080 retbuf = PyString_AS_STRING(retval); in binascii_hexlify()
[all …]
H A Dzlibmodule.c233 zst.next_out = (Byte *)PyString_AS_STRING(result_str); in PyZlib_decompress()
276 zst.next_out = (unsigned char *)PyString_AS_STRING(result_str) \ in PyZlib_decompress()
426 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal); in PyZlib_objcompress()
437 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal) \ in PyZlib_objcompress()
505 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal); in PyZlib_objdecompress()
529 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal) \ in PyZlib_objdecompress()
622 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal); in PyZlib_flush()
633 self->zst.next_out = (unsigned char *)PyString_AS_STRING(RetVal) \ in PyZlib_flush()
808 self->zst.next_out = (Byte *)PyString_AS_STRING(retval); in PyZlib_unflush()
819 self->zst.next_out = (Byte *)PyString_AS_STRING(retval) + length; in PyZlib_unflush()
/dports/devel/py-simpleparse/SimpleParse-2.2.2/simpleparse/stt/TextTools/mxTextTools/
H A DmxTextTools.c508 PyString_AS_STRING(text),
560 PyString_AS_STRING(text),
638 PyString_AS_STRING(text),
3036 st = PyString_AS_STRING(o); in mxTextTools_Join()
3101 hex = PyString_AS_STRING(w); in mxTextTools_HexStringFromString()
3133 str = PyString_AS_STRING(w); in mxTextTools_StringFromHexString()
3465 tx = PyString_AS_STRING(text); in mxTextTools_CharSplit()
3639 tx = PyString_AS_STRING(text); in mxTextTools_SplitAt()
3789 tx = PyString_AS_STRING(text); in mxTextTools_Suffix()
3943 tx = PyString_AS_STRING(text); in mxTextTools_Prefix()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Mac/Modules/
H A D_scproxy.c33 PyString_AS_STRING(result), in cfstring_to_pystring()
41 strlen(PyString_AS_STRING(result))); in cfstring_to_pystring()
147 PyString_AS_STRING(h), in set_proxy()
151 PyString_AS_STRING(h)); in set_proxy()
/dports/lang/python27/Python-2.7.18/Mac/Modules/
H A D_scproxy.c33 PyString_AS_STRING(result), in cfstring_to_pystring()
41 strlen(PyString_AS_STRING(result))); in cfstring_to_pystring()
147 PyString_AS_STRING(h), in set_proxy()
151 PyString_AS_STRING(h)); in set_proxy()
/dports/devel/py-omniorb/omniORBpy-4.2.4/modules/
H A Domnipy_sysdep.h44 # define String_AS_STRING(o) PyString_AS_STRING(o)
52 return PyString_AS_STRING(obj); in String_AS_STRING_AND_SIZE()
57 # define RawString_AS_STRING(o) PyString_AS_STRING(o)
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dgetargs.c826 *p = PyString_AS_STRING(arg)[0]; in convertsimple()
868 *p = PyString_AS_STRING(arg); in convertsimple()
877 *p = PyString_AS_STRING(uarg); in convertsimple()
893 *p = PyString_AS_STRING(arg); in convertsimple()
900 *p = PyString_AS_STRING(uarg); in convertsimple()
954 *p = PyString_AS_STRING(arg); in convertsimple()
963 *p = PyString_AS_STRING(uarg); in convertsimple()
981 *p = PyString_AS_STRING(arg); in convertsimple()
988 *p = PyString_AS_STRING(uarg); in convertsimple()
1136 PyString_AS_STRING(s), in convertsimple()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Dgetargs.c845 *p = PyString_AS_STRING(arg)[0]; in convertsimple()
887 *p = PyString_AS_STRING(arg); in convertsimple()
896 *p = PyString_AS_STRING(uarg); in convertsimple()
912 *p = PyString_AS_STRING(arg); in convertsimple()
919 *p = PyString_AS_STRING(uarg); in convertsimple()
973 *p = PyString_AS_STRING(arg); in convertsimple()
982 *p = PyString_AS_STRING(uarg); in convertsimple()
1000 *p = PyString_AS_STRING(arg); in convertsimple()
1007 *p = PyString_AS_STRING(uarg); in convertsimple()
1157 PyString_AS_STRING(s), in convertsimple()
[all …]
/dports/lang/python27/Python-2.7.18/Python/
H A Dgetargs.c845 *p = PyString_AS_STRING(arg)[0]; in convertsimple()
887 *p = PyString_AS_STRING(arg); in convertsimple()
896 *p = PyString_AS_STRING(uarg); in convertsimple()
912 *p = PyString_AS_STRING(arg); in convertsimple()
919 *p = PyString_AS_STRING(uarg); in convertsimple()
973 *p = PyString_AS_STRING(arg); in convertsimple()
982 *p = PyString_AS_STRING(uarg); in convertsimple()
1000 *p = PyString_AS_STRING(arg); in convertsimple()
1007 *p = PyString_AS_STRING(uarg); in convertsimple()
1157 PyString_AS_STRING(s), in convertsimple()
[all …]

12345678910>>...50