Lines Matching refs:ANTLR3_UINT32
40 static pANTLR3_STRING newSize8 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
41 static pANTLR3_STRING newSizeUTF16 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
42 …NTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
43 …STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
44 …NG newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
61 static pANTLR3_UINT8 insert8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit…
62 static pANTLR3_UINT8 insertUTF16_8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * …
63 static pANTLR3_UINT8 insertUTF16_UTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, const cha…
67 static pANTLR3_UINT8 insertS (pANTLR3_STRING string, ANTLR3_UINT32 point, pANTLR3_STRING newb…
69 static pANTLR3_UINT8 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c);
70 static pANTLR3_UINT8 addcUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 c);
73 static pANTLR3_UINT8 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i);
74 static pANTLR3_UINT8 insertiUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i…
76 static ANTLR3_UINT32 compare8 (pANTLR3_STRING string, const char * compStr);
77 static ANTLR3_UINT32 compareUTF16_8 (pANTLR3_STRING string, const char * compStr);
78 static ANTLR3_UINT32 compareUTF16_UTF16(pANTLR3_STRING string, const char * compStr);
79 static ANTLR3_UINT32 compareS (pANTLR3_STRING string, pANTLR3_STRING compStr);
80 static ANTLR3_UCHAR charAt8 (pANTLR3_STRING string, ANTLR3_UINT32 offset);
81 static ANTLR3_UCHAR charAtUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 offset);
82 … pANTLR3_STRING subString8 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 e…
83 …pANTLR3_STRING subStringUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 e…
98 antlr3StringFactoryNew(ANTLR3_UINT32 encoding) in antlr3StringFactoryNew()
421 newSize8 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size) in newSize8()
449 newSizeUTF16 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size) in newSizeUTF16()
476 newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) in newPtr8()
509 newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) in newPtrUTF16_8()
557 newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) in newPtrUTF16_UTF16()
594 return factory->newPtr8(factory, ptr, (ANTLR3_UINT32)strlen((const char *)ptr)); in newStr8()
605 return factory->newPtr8(factory, ptr, (ANTLR3_UINT32)strlen((const char *)ptr)); in newStrUTF16_8()
617 ANTLR3_UINT32 count; in newStrUTF16_UTF16()
636 ANTLR3_UINT32 strIndex = string->index; in destroy()
661 ANTLR3_UINT32 i; in destroy()
684 ANTLR3_UINT32 i; in printable8()
718 string->len = (ANTLR3_UINT32)(scannedText - string->chars); in printable8()
732 ANTLR3_UINT32 i; in printableUTF16()
733 ANTLR3_UINT32 outLen; in printableUTF16()
797 ANTLR3_UINT32 len; in append8()
799 len = (ANTLR3_UINT32)strlen(newbit); in append8()
803 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(string->len … in append8()
809 ANTLR3_MEMMOVE((void *)(string->chars + string->len), newbit, (ANTLR3_UINT32)(len+1)); in append8()
818 ANTLR3_UINT32 len; in appendUTF16_8()
820 ANTLR3_UINT32 count; in appendUTF16_8()
822 len = (ANTLR3_UINT32)strlen(newbit); in appendUTF16_8()
826 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)((sizeof(ANTL… in appendUTF16_8()
845 ANTLR3_UINT32 len; in appendUTF16_UTF16()
860 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)( sizeof(ANTL… in appendUTF16_UTF16()
866 …ANTLR3_MEMMOVE((void *)(((pANTLR3_UINT16)string->chars) + string->len), newbit, (ANTLR3_UINT32)(si… in appendUTF16_UTF16()
875 ANTLR3_UINT32 len; in set8()
877 len = (ANTLR3_UINT32)strlen(chars); in set8()
880 string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(len + 1)); in set8()
886 ANTLR3_MEMMOVE((void *)(string->chars), chars, (ANTLR3_UINT32)(len+1)); in set8()
896 ANTLR3_UINT32 len; in setUTF16_8()
897 ANTLR3_UINT32 count; in setUTF16_8()
900 len = (ANTLR3_UINT32)strlen(chars); in setUTF16_8()
903 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(sizeof(ANTLR… in setUTF16_8()
921 ANTLR3_UINT32 len; in setUTF16_UTF16()
936 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(sizeof(ANTLR… in setUTF16_UTF16()
942 … ANTLR3_MEMMOVE((void *)(string->chars), chars, (ANTLR3_UINT32)((len+1) * sizeof(ANTLR3_UINT16))); in setUTF16_UTF16()
950 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c) in addc8()
954 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(string->len … in addc8()
965 addcUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 c) in addcUTF16()
971 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(sizeof(ANTLR… in addcUTF16()
1003 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i) in inserti8()
1011 insertiUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i) in insertiUTF16()
1020 insert8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit) in insert8()
1022 ANTLR3_UINT32 len; in insert8()
1029 len = (ANTLR3_UINT32)strlen(newbit); in insert8()
1038 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(string->len … in insert8()
1044 …id *)(string->chars + point + len), (void *)(string->chars + point), (ANTLR3_UINT32)(string->len -… in insert8()
1048 ANTLR3_MEMMOVE((void *)(string->chars + point), newbit, (ANTLR3_UINT32)(len)); in insert8()
1056 insertUTF16_8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit) in insertUTF16_8()
1058 ANTLR3_UINT32 len; in insertUTF16_8()
1059 ANTLR3_UINT32 count; in insertUTF16_8()
1067 len = (ANTLR3_UINT32)strlen(newbit); in insertUTF16_8()
1076 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(sizeof(ANTLR… in insertUTF16_8()
1082 …) + point + len), (void *)(((pANTLR3_UINT16)string->chars) + point), (ANTLR3_UINT32)(sizeof(ANTLR3… in insertUTF16_8()
1096 insertUTF16_UTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit) in insertUTF16_UTF16()
1098 ANTLR3_UINT32 len; in insertUTF16_UTF16()
1123 …string->chars = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(sizeof(ANTLR… in insertUTF16_UTF16()
1129 …) + point + len), (void *)(((pANTLR3_UINT16)string->chars) + point), (ANTLR3_UINT32)(sizeof(ANTLR3… in insertUTF16_UTF16()
1134 …ANTLR3_MEMMOVE((void *)(((pANTLR3_UINT16)string->chars) + point), newbit, (ANTLR3_UINT32)(sizeof(A… in insertUTF16_UTF16()
1160 static pANTLR3_UINT8 insertS (pANTLR3_STRING string, ANTLR3_UINT32 point, pANTLR3_STRING newb… in insertS()
1168 static ANTLR3_UINT32
1178 static ANTLR3_UINT32
1182 ANTLR3_UINT32 charDiff; in compareUTF16_8()
1199 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr)); in compareUTF16_8()
1207 static ANTLR3_UINT32
1212 ANTLR3_UINT32 charDiff; in compareUTF16_UTF16()
1230 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr)); in compareUTF16_UTF16()
1237 static ANTLR3_UINT32
1248 charAt8 (pANTLR3_STRING string, ANTLR3_UINT32 offset) in charAt8()
1264 charAtUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 offset) in charAtUTF16()
1280 subString8 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 endIndex) in subString8()
1297 subStringUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 endIndex) in subStringUTF16()
1344 value += ((ANTLR3_UINT32)(*input) - (ANTLR3_UINT32)'0'); in toInt32_UTF16()
1368 ANTLR3_UINT32 i; in to8_UTF16()