Lines Matching refs:nLength

538                 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode);  in replaceChar_001()  local
539 …sal_Unicode* pStr = (sal_Unicode*) malloc( nLength + sizeof(sal_Unicode)); // length + 1 (null ter… in replaceChar_001()
541 memset(pStr, 0, nLength + sizeof(sal_Unicode)); in replaceChar_001()
542 memcpy(pStr, aStr1.getStr(), nLength); in replaceChar_001()
581 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in replaceChar_WithLength_001() local
582 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in replaceChar_WithLength_001()
584 memcpy(pStr, aStr1.getStr(), nLength); in replaceChar_WithLength_001()
598 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in replaceChar_WithLength_002() local
599 … sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); // no null terminator is need in replaceChar_WithLength_002()
601 memcpy(pStr, aStr1.getStr(), nLength); in replaceChar_WithLength_002()
639 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in toAsciiLowerCase_001() local
640 …sal_Unicode* pStr = (sal_Unicode*) malloc(nLength + sizeof(sal_Unicode) ); // we need to add '\0'… in toAsciiLowerCase_001()
642 …memset(pStr, 0, nLength + sizeof(sal_Unicode)); // empty the sal_Unico… in toAsciiLowerCase_001()
643 memcpy(pStr, aStr1.getStr(), nLength); in toAsciiLowerCase_001()
677 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in toAsciiLowerCase_WithLength_001() local
678 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in toAsciiLowerCase_WithLength_001()
680 memcpy(pStr, aStr1.getStr(), nLength); in toAsciiLowerCase_WithLength_001()
721 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in toAsciiUpperCase_001() local
722 …sal_Unicode* pStr = (sal_Unicode*) malloc(nLength + sizeof(sal_Unicode)); // length + null termina… in toAsciiUpperCase_001()
724 memset(pStr, 0, nLength + sizeof(sal_Unicode)); in toAsciiUpperCase_001()
725 memcpy(pStr, aStr1.getStr(), nLength); in toAsciiUpperCase_001()
759 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in toAsciiUpperCase_WithLength_001() local
760 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in toAsciiUpperCase_WithLength_001()
763 memcpy(pStr, aStr1.getStr(), nLength); in toAsciiUpperCase_WithLength_001()
798 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_000_1() local
799 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_000_1()
800 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_000_1()
809 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_001() local
810 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_001()
811 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_001()
824 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_002() local
825 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_002()
826 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_002()
839 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_003() local
840 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_003()
841 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_003()
853 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_004() local
854 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_004()
855 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_004()
867 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in trim_WithLength_005() local
868 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in trim_WithLength_005()
869 memcpy(pStr, suStr.getStr(), nLength); in trim_WithLength_005()