Lines Matching refs:pStr2

593         sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1);  in TEST_F()  local
594 if (pStr2) in TEST_F()
596 strcpy(pStr2, pStr); in TEST_F()
597 rtl_str_trim_WithLength( pStr2, 2 ); in TEST_F()
599 ASSERT_TRUE(strlen(pStr2) == 0) << "string should be empty"; in TEST_F()
600 free(pStr2); in TEST_F()
607 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local
608 if (pStr2) in TEST_F()
610 strcpy(pStr2, pStr); in TEST_F()
611 rtl_str_trim_WithLength( pStr2, 5 ); in TEST_F()
613 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F()
614 free(pStr2); in TEST_F()
621 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local
622 if (pStr2) in TEST_F()
624 strcpy(pStr2, pStr); in TEST_F()
625 rtl_str_trim_WithLength( pStr2, 11 ); in TEST_F()
627 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F()
628 free(pStr2); in TEST_F()
635 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local
636 if (pStr2) in TEST_F()
638 strcpy(pStr2, pStr); in TEST_F()
639 rtl_str_trim_WithLength( pStr2, 17 ); in TEST_F()
641 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F()
642 free(pStr2); in TEST_F()
649 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local
650 if (pStr2) in TEST_F()
652 strcpy(pStr2, pStr); in TEST_F()
653 rtl_str_trim_WithLength( pStr2, strlen(pStr2) ); in TEST_F()
654 ASSERT_TRUE(strlen(pStr2) == 11) << "string should contain 'trim'"; in TEST_F()
655 free(pStr2); in TEST_F()