$32 GRAYBYTE WORDPRESS FILE MANAGER $59

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python35/include/python3.5m/

HOME
Current File : /opt/alt/python35/include/python3.5m//bytesobject.h
/* Bytes (String) object interface */

#ifndef Py_BYTESOBJECT_H
#define Py_BYTESOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

#include <stdarg.h>

/*
Type PyBytesObject represents a character string.  An extra zero byte is
reserved at the end to ensure it is zero-terminated, but a size is
present so strings with null bytes in them can be represented.  This
is an immutable object type.

There are functions to create new string objects, to test
an object for string-ness, and to get the
string value.  The latter function returns a null pointer
if the object is not of the proper type.
There is a variant that takes an explicit size as well as a
variant that assumes a zero-terminated string.  Note that none of the
functions should be applied to nil objects.
*/

/* Caching the hash (ob_shash) saves recalculation of a string's hash value.
   This significantly speeds up dict lookups. */

#ifndef Py_LIMITED_API
typedef struct {
    PyObject_VAR_HEAD
    Py_hash_t ob_shash;
    char ob_sval[1];

    /* Invariants:
     *     ob_sval contains space for 'ob_size+1' elements.
     *     ob_sval[ob_size] == 0.
     *     ob_shash is the hash of the string or -1 if not computed yet.
     */
} PyBytesObject;
#endif

PyAPI_DATA(PyTypeObject) PyBytes_Type;
PyAPI_DATA(PyTypeObject) PyBytesIter_Type;

#define PyBytes_Check(op) \
                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
#define PyBytes_CheckExact(op) (Py_TYPE(op) == &PyBytes_Type)

PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *);
PyAPI_FUNC(PyObject *) PyBytes_FromFormatV(const char*, va_list)
				Py_GCC_ATTRIBUTE((format(printf, 1, 0)));
PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...)
				Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
PyAPI_FUNC(PyObject *) PyBytes_Repr(PyObject *, int);
PyAPI_FUNC(void) PyBytes_Concat(PyObject **, PyObject *);
PyAPI_FUNC(void) PyBytes_ConcatAndDel(PyObject **, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyBytes_Resize(PyObject **, Py_ssize_t);
PyAPI_FUNC(PyObject *) _PyBytes_Format(PyObject *, PyObject *);
#endif
PyAPI_FUNC(PyObject *) PyBytes_DecodeEscape(const char *, Py_ssize_t,
						   const char *, Py_ssize_t,
						   const char *);

/* Macro, trading safety for speed */
#ifndef Py_LIMITED_API
#define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
                                (((PyBytesObject *)(op))->ob_sval))
#define PyBytes_GET_SIZE(op)  (assert(PyBytes_Check(op)),Py_SIZE(op))
#endif

/* _PyBytes_Join(sep, x) is like sep.join(x).  sep must be PyBytesObject*,
   x must be an iterable object. */
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyBytes_Join(PyObject *sep, PyObject *x);
#endif

/* Provides access to the internal data buffer and size of a string
   object or the default encoded version of a Unicode object. Passing
   NULL as *len parameter will force the string buffer to be
   0-terminated (passing a string with embedded NULL characters will
   cause an exception).  */
PyAPI_FUNC(int) PyBytes_AsStringAndSize(
    PyObject *obj,      /* string or Unicode object */
    char **s,           /* pointer to buffer variable */
    Py_ssize_t *len     /* pointer to length variable or NULL
                           (only possible for 0-terminated
                           strings) */
    );

/* Using the current locale, insert the thousands grouping
   into the string pointed to by buffer.  For the argument descriptions,
   see Objects/stringlib/localeutil.h */
#ifndef Py_LIMITED_API
PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGroupingLocale(char *buffer,
                                                   Py_ssize_t n_buffer,
                                                   char *digits,
                                                   Py_ssize_t n_digits,
                                                   Py_ssize_t min_width);

/* Using explicit passed-in values, insert the thousands grouping
   into the string pointed to by buffer.  For the argument descriptions,
   see Objects/stringlib/localeutil.h */
PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGrouping(char *buffer,
                                                   Py_ssize_t n_buffer,
                                                   char *digits,
                                                   Py_ssize_t n_digits,
                                                   Py_ssize_t min_width,
                                                   const char *grouping,
                                                   const char *thousands_sep);
#endif

/* Flags used by string formatting */
#define F_LJUST (1<<0)
#define F_SIGN	(1<<1)
#define F_BLANK (1<<2)
#define F_ALT	(1<<3)
#define F_ZERO	(1<<4)

#ifdef __cplusplus
}
#endif
#endif /* !Py_BYTESOBJECT_H */


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.36 PM
root / root
0755
Python-ast.h
20.362 KB
1 Nov 2019 11.03 PM
root / linksafe
0644
Python.h
2.838 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
abstract.h
42.795 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
accu.h
0.992 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
asdl.h
1.156 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ast.h
0.466 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
bitset.h
0.773 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
bltinmodule.h
0.258 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
boolobject.h
0.865 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
bytearrayobject.h
2.064 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
bytes_methods.h
1.986 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
bytesobject.h
4.868 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
cellobject.h
0.685 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ceval.h
7.457 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
classobject.h
1.627 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
code.h
5.139 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
codecs.h
6.536 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
compile.h
2.113 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
complexobject.h
1.765 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
datetime.h
8.342 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
descrobject.h
2.845 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
dictobject.h
6.187 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
dtoa.h
0.447 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
dynamic_annotations.h
21.942 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
enumobject.h
0.247 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
errcode.h
1.462 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
eval.h
0.583 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
fileobject.h
1.476 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
fileutils.h
2.81 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
floatobject.h
4.532 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
frameobject.h
3.447 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
funcobject.h
3.683 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
genobject.h
2.606 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
graminit.h
1.898 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
grammar.h
1.996 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
import.h
3.81 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
intrcheck.h
0.449 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
iterobject.h
0.554 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
listobject.h
2.832 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
longintrepr.h
3.903 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
longobject.h
8.092 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
marshal.h
0.784 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
memoryobject.h
2.632 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
metagrammar.h
0.247 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
methodobject.h
3.288 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
modsupport.h
5.911 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
moduleobject.h
2.095 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
namespaceobject.h
0.29 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
node.h
0.983 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
object.h
39.067 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
objimpl.h
13.647 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
odictobject.h
1.299 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
opcode.h
4.809 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
osdefs.h
0.675 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
parsetok.h
2.817 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
patchlevel.h
1.102 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pgen.h
0.247 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pgenheaders.h
1.117 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
py_curses.h
4.077 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyarena.h
2.68 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyatomic.h
7.943 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pycapsule.h
1.686 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyconfig-64.h
42.805 KB
31 May 2024 1.49 PM
root / linksafe
0644
pyconfig.h
0.158 KB
31 May 2024 1.51 PM
root / linksafe
0644
pyctype.h
1.289 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pydebug.h
1.113 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyerrors.h
15.949 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyexpat.h
2.393 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyfpe.h
8.272 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pygetopt.h
0.379 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyhash.h
4.174 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pylifecycle.h
3.721 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pymacconfig.h
2.919 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pymacro.h
3.22 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pymath.h
7.05 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pymem.h
6.868 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyport.h
31.27 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pystate.h
9.268 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pystrcmp.h
0.426 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pystrhex.h
0.433 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pystrtod.h
1.246 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pythonrun.h
6.531 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pythread.h
2.965 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pytime.h
6.498 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
rangeobject.h
0.614 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
setobject.h
3.213 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
sliceobject.h
2.427 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
structmember.h
2.02 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
structseq.h
1.321 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
symtable.h
4.747 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
sysmodule.h
1.323 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
token.h
1.897 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
traceback.h
2.161 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tupleobject.h
2.387 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
typeslots.h
2.2 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ucnhash.h
1.031 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
unicodeobject.h
77.337 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
warnings.h
1.393 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
weakrefobject.h
2.799 KB
1 Nov 2019 11.02 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF