$41 GRAYBYTE WORDPRESS FILE MANAGER $18

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/python33/include/python3.3m/

HOME
Current File : /opt/alt/python33/include/python3.3m//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(
    register PyObject *obj,	/* string or Unicode object */
    register char **s,		/* pointer to buffer variable */
    register 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
18.868 KB
19 Sep 2017 7.38 AM
root / linksafe
0644
Python.h
2.77 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
abstract.h
41.608 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
accu.h
0.992 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
asdl.h
1.066 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ast.h
0.336 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bitset.h
0.773 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bltinmodule.h
0.258 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
boolobject.h
0.865 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytearrayobject.h
1.954 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytes_methods.h
1.978 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytesobject.h
4.776 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
cellobject.h
0.685 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ceval.h
7.025 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
classobject.h
1.627 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
code.h
4.128 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
codecs.h
6.326 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
compile.h
1.624 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
complexobject.h
1.908 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
datetime.h
8.342 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
descrobject.h
2.845 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dictobject.h
4.855 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dtoa.h
0.447 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dynamic_annotations.h
21.944 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
enumobject.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
errcode.h
1.462 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
eval.h
0.583 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
fileobject.h
1.726 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
fileutils.h
1.061 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
floatobject.h
4.532 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
frameobject.h
3.293 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
funcobject.h
3.683 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
genobject.h
1.055 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
graminit.h
1.829 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
grammar.h
1.974 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
import.h
3.792 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
intrcheck.h
0.449 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
iterobject.h
0.554 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
listobject.h
2.768 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
longintrepr.h
3.903 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
longobject.h
7.552 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
marshal.h
0.726 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
memoryobject.h
2.805 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
metagrammar.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
methodobject.h
3.229 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
modsupport.h
4.753 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
moduleobject.h
1.528 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
namespaceobject.h
0.29 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
node.h
0.973 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
object.h
37.088 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
objimpl.h
13.075 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
opcode.h
5.086 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
osdefs.h
0.963 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
parsetok.h
2.229 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
patchlevel.h
1.102 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pgen.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pgenheaders.h
1.117 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
py_curses.h
4.077 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyarena.h
2.68 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyatomic.h
5.805 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pycapsule.h
1.686 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyconfig-64.h
41.433 KB
17 Apr 2024 4.56 PM
root / linksafe
0644
pyconfig.h
0.158 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
pyctype.h
1.289 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pydebug.h
0.963 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyerrors.h
14.341 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyexpat.h
2.285 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyfpe.h
8.29 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pygetopt.h
0.379 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymacconfig.h
2.918 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymacro.h
2.622 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymath.h
6.262 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymem.h
4.588 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyport.h
30.315 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystate.h
7.575 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystrcmp.h
0.426 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystrtod.h
1.246 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pythonrun.h
8.786 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pythread.h
2.965 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pytime.h
2.643 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
rangeobject.h
0.614 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
setobject.h
3.214 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
sliceobject.h
1.348 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
structmember.h
2.02 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
structseq.h
1.188 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
symtable.h
4.578 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
sysmodule.h
1.085 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
token.h
1.838 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
traceback.h
2.095 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
tupleobject.h
2.387 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
typeslots.h
1.95 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ucnhash.h
1.032 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
unicodeobject.h
74.408 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
warnings.h
0.931 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
weakrefobject.h
2.799 KB
19 Sep 2017 7.32 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF