Lines Matching refs:nLength

445         sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode);  in TEST_F()  local
446 …sal_Unicode* pStr = (sal_Unicode*) malloc( nLength + sizeof(sal_Unicode)); // length + 1 (null ter… in TEST_F()
448 memset(pStr, 0, nLength + sizeof(sal_Unicode)); in TEST_F()
449 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
479 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
480 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in TEST_F()
482 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
496 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
497 … sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); // no null terminator is need in TEST_F()
499 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
525 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
526 …sal_Unicode* pStr = (sal_Unicode*) malloc(nLength + sizeof(sal_Unicode) ); // we need to add '\0'… in TEST_F()
528 …memset(pStr, 0, nLength + sizeof(sal_Unicode)); // empty the sal_Unico… in TEST_F()
529 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
552 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
553 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in TEST_F()
555 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
587 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
588 …sal_Unicode* pStr = (sal_Unicode*) malloc(nLength + sizeof(sal_Unicode)); // length + null termina… in TEST_F()
590 memset(pStr, 0, nLength + sizeof(sal_Unicode)); in TEST_F()
591 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
615 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
616 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in TEST_F()
619 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
645 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
646 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
647 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()
656 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
657 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
658 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()
671 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
672 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
673 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()
686 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
687 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
688 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()
700 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
701 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
702 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()
714 sal_uInt32 nLength = suStr.getLength() * sizeof(sal_Unicode); in TEST_F() local
715 sal_Unicode *pStr = (sal_Unicode*)malloc(nLength); in TEST_F()
716 memcpy(pStr, suStr.getStr(), nLength); in TEST_F()