Lines Matching refs:sourceIndex
258 int32_t sourceIndex = 0; in ucol_getBound() local
261 sourceIndex++; in ucol_getBound()
262 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { in ucol_getBound()
266 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
268 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
278 if(result != NULL && resultLength >= sourceIndex+boundType) { in ucol_getBound()
279 uprv_memcpy(result, source, sourceIndex); in ucol_getBound()
286 result[sourceIndex++] = 2; in ucol_getBound()
290 result[sourceIndex++] = 0xFF; in ucol_getBound()
291 result[sourceIndex++] = 0xFF; in ucol_getBound()
297 result[sourceIndex++] = 0; in ucol_getBound()
299 return sourceIndex; in ucol_getBound()
301 return sourceIndex+boundType+1; in ucol_getBound()