Lines Matching refs:newbit
58 static pANTLR3_UINT8 append8 (pANTLR3_STRING string, const char * newbit);
59 static pANTLR3_UINT8 appendUTF16_8 (pANTLR3_STRING string, const char * newbit);
60 static pANTLR3_UINT8 appendUTF16_UTF16 (pANTLR3_STRING string, const char * newbit);
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 * newbit);
63 static pANTLR3_UINT8 insertUTF16_UTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit);
66 static pANTLR3_UINT8 appendS (pANTLR3_STRING string, pANTLR3_STRING newbit);
67 static pANTLR3_UINT8 insertS (pANTLR3_STRING string, ANTLR3_UINT32 point, pANTLR3_STRING newbit);
795 append8 (pANTLR3_STRING string, const char * newbit)
799 len = (ANTLR3_UINT32)strlen(newbit);
809 ANTLR3_MEMMOVE((void *)(string->chars + string->len), newbit, (ANTLR3_UINT32)(len+1));
816 appendUTF16_8 (pANTLR3_STRING string, const char * newbit)
822 len = (ANTLR3_UINT32)strlen(newbit);
835 *apPoint++ = *(newbit + count);
843 appendUTF16_UTF16 (pANTLR3_STRING string, const char * newbit)
850 in = (pANTLR3_UINT16)newbit;
866 ANTLR3_MEMMOVE((void *)(((pANTLR3_UINT16)string->chars) + string->len), newbit, (ANTLR3_UINT32)(sizeof(ANTLR3_UINT16)*(len+1)));
986 ANTLR3_UINT8 newbit[32];
988 sprintf((char *)newbit, "%d", i);
990 return string->append8(string, (const char *)newbit);
995 ANTLR3_UINT8 newbit[32];
997 sprintf((char *)newbit, "%d", i);
999 return string->append8(string, (const char *)newbit);
1005 ANTLR3_UINT8 newbit[32];
1007 sprintf((char *)newbit, "%d", i);
1008 return string->insert8(string, point, (const char *)newbit);
1013 ANTLR3_UINT8 newbit[32];
1015 sprintf((char *)newbit, "%d", i);
1016 return string->insert8(string, point, (const char *)newbit);
1020 insert8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit)
1026 return string->append(string, newbit);
1029 len = (ANTLR3_UINT32)strlen(newbit);
1048 ANTLR3_MEMMOVE((void *)(string->chars + point), newbit, (ANTLR3_UINT32)(len));
1056 insertUTF16_8 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit)
1064 return string->append8(string, newbit);
1067 len = (ANTLR3_UINT32)strlen(newbit);
1089 *(inPoint + count) = (ANTLR3_UINT16)(*(newbit+count));
1096 insertUTF16_UTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, const char * newbit)
1103 return string->append(string, newbit);
1108 in = (pANTLR3_UINT16)newbit;
1134 ANTLR3_MEMMOVE((void *)(((pANTLR3_UINT16)string->chars) + point), newbit, (ANTLR3_UINT32)(sizeof(ANTLR3_UINT16)*(len)));
1146 static pANTLR3_UINT8 appendS (pANTLR3_STRING string, pANTLR3_STRING newbit)
1150 if (newbit == NULL || newbit->len == 0 || newbit->size == 0 || newbit->chars == NULL)
1156 return string->append(string, (const char *)(newbit->chars));
1160 static pANTLR3_UINT8 insertS (pANTLR3_STRING string, ANTLR3_UINT32 point, pANTLR3_STRING newbit)
1162 return string->insert(string, point, (const char *)(newbit->chars));