Lines Matching full:errorcode
22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) {
23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) {
41 if(ensureCapacity(len+2, 0, errorCode)) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) {
49 if(U_FAILURE(errorCode)) {
53 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
64 errorCode=U_INTERNAL_PROGRAM_ERROR;
73 return append(CharString(s, sLength, errorCode), errorCode);
74 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) {
85 UErrorCode &errorCode) {
86 if(U_FAILURE(errorCode)) {
95 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) {
103 CharString &CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) {
104 if(ensureCapacity(len+s.length()+1, 0, errorCode)) {
112 UErrorCode &errorCode) {
113 if(U_FAILURE(errorCode)) {
123 errorCode=U_MEMORY_ALLOCATION_ERROR;
130 CharString &CharString::appendPathPart(const StringPiece &s, UErrorCode &errorCode) {
131 if(U_FAILURE(errorCode)) {
139 append(U_FILE_SEP_CHAR, errorCode);
141 append(s, errorCode);