Home | History | Annotate | Download | only in text

Lines Matching refs:sourceLength

79      * @param sourceLength The length of the range of text to convert
97 public int shape(char[] source, int sourceStart, int sourceLength,
102 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) {
104 ") or length (" + sourceLength +
141 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize);
1134 int sourceLength) {
1136 int destSize = sourceLength;
1142 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) {
1148 for(int i = sourceStart + 1, e = sourceStart + sourceLength; i < e; ++i) {
1157 for(int i = sourceStart, e = sourceStart + sourceLength; i < e; ++i) {
1234 private static int handleTashkeelWithTatweel(char[] dest, int sourceLength) {
1236 for(i = 0; i < sourceLength; i++){
1245 return sourceLength;
1817 int sourceLength,
1822 if (sourceLength == 0) {
1830 return calculateSize(source, sourceStart, sourceLength);
1832 return sourceLength; // by definition
1837 char[] temp = new char[sourceLength * 2]; // all lamalefs requiring expansion
1838 System.arraycopy(source, sourceStart, temp, 0, sourceLength);
1841 invertBuffer(temp, 0, sourceLength);
1844 int outputSize = sourceLength;
1848 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 1);
1855 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 2);
1858 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 0);
1862 outputSize = handleTashkeelWithTatweel(temp,sourceLength);
1868 outputSize = deShapeUnicode(temp, 0, sourceLength, destSize);