Home | History | Annotate | Download | only in mac

Lines Matching refs:sourceLength

351 shapeUnicode(UChar *dest, int32_t sourceLength,
369 for (i = 0; i < sourceLength; i++) {
378 iend = sourceLength;
389 Nx = sourceLength + 2, Nw = 0;
395 while (Nx >= sourceLength) { /* we need to know about next char */
465 Nx = sourceLength + 2;
472 destSize = sourceLength;
477 int32_t shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) {
486 if( source==NULL || sourceLength<-1 ||
496 if(sourceLength==-1) {
497 sourceLength=u_strlen(source);
499 if(sourceLength==0) {
505 ((source<=dest && dest<source+sourceLength) ||
513 int32_t outputSize = sourceLength;
525 memcpy(dest, source, sourceLength*U_SIZEOF_UCHAR);
532 destLength = shapeUnicode(dest,sourceLength,destCapacity,1);
536 destLength = shapeUnicode(dest,sourceLength,destCapacity,0);
553 return sourceLength;