Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_sre.c407 int isbytes, charsize; in state_init() local
421 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init()
448 state->charsize = charsize; in state_init()
454 state->start = (void*) ((char*) ptr + start * state->charsize); in state_init()
455 state->end = (void*) ((char*) ptr + end * state->charsize); in state_init()
484 (((char*)(member) - (char*)(state)->beginning) / (state)->charsize)
566 if (state->charsize == 1) in sre_match()
568 if (state->charsize == 2) in sre_match()
570 assert(state->charsize == 4); in sre_match()
577 if (state->charsize == 1) in sre_search()
[all …]
Dsre.h73 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.c269 int charsize; in utf8asn1str() local
320 charsize = 1; in utf8asn1str()
330 charsize++; in utf8asn1str()
334 charsize++; in utf8asn1str()
338 charsize++; in utf8asn1str()
341 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.c7598 int charsize; in encode_code_page_errors() local
7601 charsize = 1; in encode_code_page_errors()
7606 charsize = 2; in encode_code_page_errors()
7610 chars, charsize, in encode_code_page_errors()