Lines Matching refs:result
464 char result[256]; in test_strcpy_replace() local
470 rc = spdk_strcpy_replace(result, sizeof(result), original, search1, replace1); in test_strcpy_replace()
472 CU_ASSERT(strcmp(result, original) == 0); in test_strcpy_replace()
474 rc = spdk_strcpy_replace(result, sizeof(result), original, search2, replace2); in test_strcpy_replace()
476 CU_ASSERT(strcmp(result, expected2) == 0); in test_strcpy_replace()
480 rc = spdk_strcpy_replace(result, strlen(expected3) + 1, original, search3, replace3); in test_strcpy_replace()
482 CU_ASSERT(strcmp(result, expected3) == 0); in test_strcpy_replace()
486 rc = spdk_strcpy_replace(result, strlen(expected3), original, search3, replace3); in test_strcpy_replace()
489 rc = spdk_strcpy_replace(result, sizeof(result), original, search4, replace4); in test_strcpy_replace()
491 CU_ASSERT(strcmp(result, expected4) == 0); in test_strcpy_replace()
493 rc = spdk_strcpy_replace(result, sizeof(result), original, search5, replace5); in test_strcpy_replace()
495 CU_ASSERT(strcmp(result, expected5) == 0); in test_strcpy_replace()
497 rc = spdk_strcpy_replace(result, sizeof(result), original, search6, replace6); in test_strcpy_replace()
499 CU_ASSERT(strcmp(result, expected6) == 0); in test_strcpy_replace()
501 rc = spdk_strcpy_replace(result, sizeof(result), original, search7, replace7); in test_strcpy_replace()
503 CU_ASSERT(strcmp(result, expected7) == 0); in test_strcpy_replace()