Lines Matching refs:test_string
30 char test_string[] = "54:65:76:87:98:90"; in test_rte_strsplit() local
33 LOG("Source string: '%s', to split on ':'\n", test_string); in test_rte_strsplit()
34 if (rte_strsplit(test_string, sizeof(test_string), in test_rte_strsplit()
48 char test_string[] = "54 65 76 87 98 90"; in test_rte_strsplit() local
51 LOG("Source string: '%s', to split on ' '\n", test_string); in test_rte_strsplit()
52 if (rte_strsplit(test_string, sizeof(test_string), in test_rte_strsplit()
65 char test_string[] = "a,b,c,d"; in test_rte_strsplit() local
68 LOG("Source string: '%s', to split on ','\n", test_string); in test_rte_strsplit()
69 if (rte_strsplit(test_string, sizeof(test_string), in test_rte_strsplit()
71 LOG("Error splitting %s on ','\n", test_string); in test_rte_strsplit()
82 char test_string[] = "a,b,c,d"; in test_rte_strsplit() local
85 LOG("Source string: '%s', to split on ' '\n", test_string); in test_rte_strsplit()
86 if (rte_strsplit(test_string, sizeof(test_string), in test_rte_strsplit()
88 LOG("Error splitting %s on ' '\n", test_string); in test_rte_strsplit()
98 char test_string[] = "a,b,c,d"; in test_rte_strsplit() local
107 if (rte_strsplit(test_string, sizeof(test_string), NULL, 0, ',') >= 0 in test_rte_strsplit()
114 if (rte_strsplit(test_string, 0, splits, 6, ',') != 0 || errno != 0) { in test_rte_strsplit()
119 if (rte_strsplit(test_string, sizeof(test_string), splits, 0, ',') != 0 in test_rte_strsplit()