Home | History | Annotate | Download | only in genrb

Lines Matching refs:srcLen

35 removeText(UChar *source, int32_t srcLen, 
43 UnicodeString src(source, srcLen);
55 return dest.extract(source, srcLen, *status);
59 trim(UChar *src, int32_t srcLen, UErrorCode *status){
60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines
61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading spaces
62 srcLen = removeText(src, srcLen, "\\s+$", 0, "", status); // remvoe trailing spcaes
63 return srcLen;
67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){
68 srcLen = trim(source, srcLen, status);
70 srcLen = removeText(source, srcLen, patString, UREGEX_MULTILINE, "", status);
71 return removeText(source, srcLen, "[ \\r\\n]+", 0, " ", status);// remove new lines;
75 getText(const UChar* source, int32_t srcLen,
86 UnicodeString src (source,srcLen);
112 getDescription( const UChar* source, int32_t srcLen,
121 UnicodeString src(source, srcLen);
136 getCount(const UChar* source, int32_t srcLen,
145 UnicodeString src (source, srcLen);
172 getAt(const UChar* source, int32_t srcLen,
184 UnicodeString src (source, srcLen);
213 getTranslate( const UChar* source, int32_t srcLen,
218 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status);
223 getNote(const UChar* source, int32_t srcLen,
228 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status);