Lines Matching refs:sourceIndex
257 int32_t sourceIndex = 0; in ucol_getBound() local
260 sourceIndex++; in ucol_getBound()
261 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { in ucol_getBound()
265 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
267 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
277 if(result != NULL && resultLength >= sourceIndex+boundType) { in ucol_getBound()
278 uprv_memcpy(result, source, sourceIndex); in ucol_getBound()
285 result[sourceIndex++] = 2; in ucol_getBound()
289 result[sourceIndex++] = 0xFF; in ucol_getBound()
290 result[sourceIndex++] = 0xFF; in ucol_getBound()
296 result[sourceIndex++] = 0; in ucol_getBound()
298 return sourceIndex; in ucol_getBound()
300 return sourceIndex+boundType+1; in ucol_getBound()