Home
last modified time | relevance | path

Searched refs:charsize (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Modules/
D_sre.c364 int isbytes, charsize; in state_init() local
378 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init()
405 state->charsize = charsize; in state_init()
409 state->start = (void*) ((char*) ptr + start * state->charsize); in state_init()
410 state->end = (void*) ((char*) ptr + end * state->charsize); in state_init()
452 (((char*)(member) - (char*)(state)->beginning) / (state)->charsize)
535 if (state->charsize == 1) in sre_match()
537 if (state->charsize == 2) in sre_match()
539 assert(state->charsize == 4); in sre_match()
546 if (state->charsize == 1) in sre_search()
[all …]
Dsre.h74 int charsize; /* character size */ member
/external/python/cpython2/Modules/
D_sre.c1706 int charsize; in getstring() local
1715 charsize = sizeof(Py_UNICODE); in getstring()
1743 charsize = 1; in getstring()
1746 charsize = sizeof(Py_UNICODE); in getstring()
1758 *p_charsize = charsize; in getstring()
1770 int charsize; in state_init() local
1778 ptr = getstring(string, &length, &charsize); in state_init()
1793 state->charsize = charsize; in state_init()
1797 state->start = (void*) ((char*) ptr + start * state->charsize); in state_init()
1798 state->end = (void*) ((char*) ptr + end * state->charsize); in state_init()
[all …]
Dsre.h83 int charsize; member
/external/curl/lib/
Dx509asn1.c259 int charsize; in utf8asn1str() local
316 charsize = 1; in utf8asn1str()
326 charsize++; in utf8asn1str()
330 charsize++; in utf8asn1str()
334 charsize++; in utf8asn1str()
337 outlength += charsize; in utf8asn1str()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp271 int charsize = 1; in GetUnicodeFromCharCode() local
274 charsize = 2; in GetUnicodeFromCharCode()
278 charsize, &unicode, 1); in GetUnicodeFromCharCode()
/external/python/cpython3/Objects/
Dunicodeobject.c7584 int charsize; in encode_code_page_errors() local
7587 charsize = 1; in encode_code_page_errors()
7592 charsize = 2; in encode_code_page_errors()
7596 chars, charsize, in encode_code_page_errors()