$42 GRAYBYTE WORDPRESS FILE MANAGER $69

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

/opt/alt/python34/include/python3.4m/

HOME
Current File : /opt/alt/python34/include/python3.4m//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);
#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 an 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.37 PM
root / root
0755
Python-ast.h
19.032 KB
18 Mar 2019 4.56 PM
root / linksafe
0644
Python.h
2.789 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
abstract.h
42.068 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
accu.h
0.992 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
asdl.h
1.156 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ast.h
0.466 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
bitset.h
0.773 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
bltinmodule.h
0.258 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
boolobject.h
0.865 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
bytearrayobject.h
2.064 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
bytes_methods.h
1.978 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
bytesobject.h
4.807 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cellobject.h
0.685 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ceval.h
7.031 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
classobject.h
1.627 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
code.h
4.128 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
codecs.h
6.398 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
compile.h
2.067 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
complexobject.h
1.908 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
datetime.h
8.342 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
descrobject.h
2.845 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
dictobject.h
5.057 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
dtoa.h
0.447 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
dynamic_annotations.h
21.942 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
enumobject.h
0.247 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
errcode.h
1.462 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
eval.h
0.583 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
fileobject.h
1.818 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
fileutils.h
1.466 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
floatobject.h
4.532 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
frameobject.h
3.475 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
funcobject.h
3.683 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
genobject.h
1.104 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
graminit.h
1.829 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
grammar.h
1.997 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
import.h
3.81 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
intrcheck.h
0.449 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
iterobject.h
0.554 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
listobject.h
2.77 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
longintrepr.h
3.903 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
longobject.h
7.982 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
marshal.h
0.784 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
memoryobject.h
2.794 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
metagrammar.h
0.247 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
methodobject.h
3.229 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
modsupport.h
4.782 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
moduleobject.h
1.577 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
namespaceobject.h
0.29 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
node.h
0.984 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
object.h
37.619 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
objimpl.h
13.523 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
opcode.h
5.089 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
osdefs.h
0.828 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
parsetok.h
2.817 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
patchlevel.h
1.104 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pgen.h
0.247 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pgenheaders.h
1.117 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
py_curses.h
4.077 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyarena.h
2.68 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyatomic.h
5.805 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pycapsule.h
1.686 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyconfig-64.h
42.323 KB
17 Apr 2024 5.08 PM
root / linksafe
0644
pyconfig.h
0.158 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pyctype.h
1.289 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pydebug.h
0.995 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyerrors.h
15.647 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyexpat.h
2.393 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyfpe.h
8.29 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pygetopt.h
0.379 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyhash.h
4.174 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pymacconfig.h
2.918 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pymacro.h
2.755 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pymath.h
7.049 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pymem.h
6.623 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyport.h
30.15 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pystate.h
8.91 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pystrcmp.h
0.426 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pystrtod.h
1.246 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pythonrun.h
9.945 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pythread.h
2.965 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pytime.h
2.846 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
rangeobject.h
0.614 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
setobject.h
3.224 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sliceobject.h
1.553 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
structmember.h
2.02 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
structseq.h
1.321 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
symtable.h
4.979 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sysmodule.h
1.323 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
token.h
1.844 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
traceback.h
2.161 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tupleobject.h
2.387 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
typeslots.h
1.95 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ucnhash.h
1.032 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
unicodeobject.h
76.302 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
warnings.h
1.393 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
weakrefobject.h
2.799 KB
18 Mar 2019 4.51 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF