Searched refs:Py_UNICODE (Results 1 - 25 of 84) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dunicodectype.c26 const Py_UNICODE upper;
27 const Py_UNICODE lower;
28 const Py_UNICODE title;
37 gettyperecord(Py_UNICODE code)
57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch)
74 int _PyUnicode_IsTitlecase(Py_UNICODE ch)
84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch)
91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch)
101 int _PyUnicode_ToDigit(Py_UNICODE c
[all...]
H A Dunicodeobject.c188 Py_UNICODE
229 Py_LOCAL_INLINE(BLOOM_MASK) make_bloom_mask(Py_UNICODE* ptr, Py_ssize_t len)
243 Py_LOCAL_INLINE(int) unicode_member(Py_UNICODE chr, Py_UNICODE* set, Py_ssize_t setlen)
289 sizeof(Py_UNICODE) * (length + 1));
291 unicode->str = (Py_UNICODE *)oldstr;
328 if (length > ((PY_SSIZE_T_MAX / sizeof(Py_UNICODE)) - 1)) {
347 size_t new_size = sizeof(Py_UNICODE) * ((size_t)length + 1);
348 unicode->str = (Py_UNICODE*) PyObject_MALLOC(new_size);
357 new_size = sizeof(Py_UNICODE) * ((size_
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dunicodectype.c26 const Py_UNICODE upper;
27 const Py_UNICODE lower;
28 const Py_UNICODE title;
37 gettyperecord(Py_UNICODE code)
57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch)
74 int _PyUnicode_IsTitlecase(Py_UNICODE ch)
84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch)
91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch)
101 int _PyUnicode_ToDigit(Py_UNICODE c
[all...]
H A Dunicodeobject.c175 Py_UNICODE
216 Py_LOCAL_INLINE(BLOOM_MASK) make_bloom_mask(Py_UNICODE* ptr, Py_ssize_t len)
230 Py_LOCAL_INLINE(int) unicode_member(Py_UNICODE chr, Py_UNICODE* set, Py_ssize_t setlen)
276 sizeof(Py_UNICODE) * (length + 1));
278 unicode->str = (Py_UNICODE *)oldstr;
315 if (length > ((PY_SSIZE_T_MAX / sizeof(Py_UNICODE)) - 1)) {
334 size_t new_size = sizeof(Py_UNICODE) * ((size_t)length + 1);
335 unicode->str = (Py_UNICODE*) PyObject_MALLOC(new_size);
344 new_size = sizeof(Py_UNICODE) * ((size_
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dunicodeobject.h133 /* Py_UNICODE is the native Unicode storage format (code unit) used by
137 typedef PY_UNICODE_TYPE Py_UNICODE; typedef
394 Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE))
397 do {Py_ssize_t i_; Py_UNICODE *t_ = (target); Py_UNICODE v_ = (value);\
407 !memcmp((string)->str + (offset), (substring)->str, (substring)->length*sizeof(Py_UNICODE)))
418 Py_UNICODE *str; /* Raw Unicode buffer */
435 (((PyUnicodeObject *)(op))->length * sizeof(Py_UNICODE))
448 #define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UNICODE) 0xFFFD)
452 /* --- Plain Py_UNICODE
[all...]
H A Dintobject.h36 PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
H A Dpyerrors.h193 PyObject *, const Py_UNICODE *);
205 int, const Py_UNICODE *);
212 PyObject *,int, const Py_UNICODE *);
251 const char *, const Py_UNICODE *, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char *);
255 const Py_UNICODE *, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char *);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dunicodeobject.h133 /* Py_UNICODE is the native Unicode storage format (code unit) used by
137 typedef PY_UNICODE_TYPE Py_UNICODE; typedef
394 Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE))
397 do {Py_ssize_t i_; Py_UNICODE *t_ = (target); Py_UNICODE v_ = (value);\
407 !memcmp((string)->str + (offset), (substring)->str, (substring)->length*sizeof(Py_UNICODE)))
418 Py_UNICODE *str; /* Raw Unicode buffer */
435 (((PyUnicodeObject *)(op))->length * sizeof(Py_UNICODE))
448 #define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UNICODE) 0xFFFD)
452 /* --- Plain Py_UNICODE
[all...]
H A Dintobject.h36 PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
H A Dpyerrors.h192 PyObject *, const Py_UNICODE *);
204 int, const Py_UNICODE *);
211 PyObject *,int, const Py_UNICODE *);
250 const char *, const Py_UNICODE *, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char *);
254 const Py_UNICODE *, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char *);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
H A Dmultibytecodec.h36 const Py_UNICODE **inbuf, Py_ssize_t inleft,
47 Py_UNICODE **outbuf, Py_ssize_t outleft);
84 Py_UNICODE pending[MAXENCPENDING]; \
H A D_codecs_tw.c17 Py_UNICODE c = **inbuf;
72 Py_UNICODE c = IN1;
H A D_codecs_cn.c46 Py_UNICODE c = IN1;
102 Py_UNICODE c = IN1;
211 Py_UNICODE tc;
332 Py_UNICODE c = IN1;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
H A Dmultibytecodec.h36 const Py_UNICODE **inbuf, Py_ssize_t inleft,
47 Py_UNICODE **outbuf, Py_ssize_t outleft);
84 Py_UNICODE pending[MAXENCPENDING]; \
H A D_codecs_tw.c17 Py_UNICODE c = **inbuf;
72 Py_UNICODE c = IN1;
H A D_codecs_cn.c46 Py_UNICODE c = IN1;
102 Py_UNICODE c = IN1;
211 Py_UNICODE tc;
332 Py_UNICODE c = IN1;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
H A Dunicodedefs.h10 #define STRINGLIB_CHAR Py_UNICODE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
H A Dunicodedefs.h10 #define STRINGLIB_CHAR Py_UNICODE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
H A Dstringio.c12 Py_UNICODE *buf;
59 Py_UNICODE *new_buf = NULL;
87 if (alloc > ((size_t)-1) / sizeof(Py_UNICODE))
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf,
90 alloc * sizeof(Py_UNICODE));
111 Py_UNICODE *str;
164 (self->pos - self->string_size) * sizeof(Py_UNICODE));
169 memcpy(self->buf + self->pos, str, len * sizeof(Py_UNICODE));
217 Py_UNICODE *output;
257 Py_UNICODE *star
[all...]
H A D_iomodule.h58 Py_UNICODE *start, Py_UNICODE *end, Py_ssize_t *consumed);
H A Dtextio.c288 Py_UNICODE *out;
295 output_len * sizeof(Py_UNICODE));
329 Py_UNICODE *in_str;
344 only_lf = (memchr(in_str, '\r', len * sizeof(Py_UNICODE)) == NULL);
352 memchr(in_str, '\n', len * sizeof(Py_UNICODE)) != NULL) {
353 Py_UNICODE *s, *end;
357 Py_UNICODE c;
374 Py_UNICODE *s, *end;
381 Py_UNICODE c;
406 Py_UNICODE *out_st
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
H A Dstringio.c12 Py_UNICODE *buf;
59 Py_UNICODE *new_buf = NULL;
87 if (alloc > ((size_t)-1) / sizeof(Py_UNICODE))
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf,
90 alloc * sizeof(Py_UNICODE));
111 Py_UNICODE *str;
164 (self->pos - self->string_size) * sizeof(Py_UNICODE));
169 memcpy(self->buf + self->pos, str, len * sizeof(Py_UNICODE));
217 Py_UNICODE *output;
257 Py_UNICODE *star
[all...]
H A D_iomodule.h58 Py_UNICODE *start, Py_UNICODE *end, Py_ssize_t *consumed);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dcodecs.c505 Py_UNICODE *p;
521 Py_UNICODE res = Py_UNICODE_REPLACEMENT_CHARACTER;
528 Py_UNICODE *p;
557 Py_UNICODE *p;
558 Py_UNICODE *startp;
559 Py_UNICODE *e;
560 Py_UNICODE *outp;
669 static Py_UNICODE hexdigits[] = {
682 Py_UNICODE *p;
683 Py_UNICODE *start
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dcodecs.c505 Py_UNICODE *p;
521 Py_UNICODE res = Py_UNICODE_REPLACEMENT_CHARACTER;
528 Py_UNICODE *p;
557 Py_UNICODE *p;
558 Py_UNICODE *startp;
559 Py_UNICODE *outp;
598 Py_UNICODE c = *p;
656 static Py_UNICODE hexdigits[] = {
669 Py_UNICODE *p;
670 Py_UNICODE *start
[all...]

Completed in 113 milliseconds

1234