Lines Matching refs:rc

81 	int rc;  in test_cpuset_parse()  local
89 rc = spdk_cpuset_parse(core_mask, "0x1"); in test_cpuset_parse()
90 CU_ASSERT(rc >= 0); in test_cpuset_parse()
95 rc = spdk_cpuset_parse(core_mask, "[1]"); in test_cpuset_parse()
96 CU_ASSERT(rc >= 0); in test_cpuset_parse()
102 rc = spdk_cpuset_parse(core_mask, "[0-10,12,128-254]"); in test_cpuset_parse()
103 CU_ASSERT(rc >= 0); in test_cpuset_parse()
113 rc = spdk_cpuset_parse(core_mask, buf); in test_cpuset_parse()
114 CU_ASSERT(rc >= 0); in test_cpuset_parse()
118 rc = spdk_cpuset_parse(core_mask, NULL); in test_cpuset_parse()
119 CU_ASSERT(rc < 0); in test_cpuset_parse()
121 rc = spdk_cpuset_parse(NULL, "[1]"); in test_cpuset_parse()
122 CU_ASSERT(rc < 0); in test_cpuset_parse()
125 rc = spdk_cpuset_parse(core_mask, ""); in test_cpuset_parse()
126 CU_ASSERT(rc < 0); in test_cpuset_parse()
128 rc = spdk_cpuset_parse(core_mask, "["); in test_cpuset_parse()
129 CU_ASSERT(rc < 0); in test_cpuset_parse()
131 rc = spdk_cpuset_parse(core_mask, "[]"); in test_cpuset_parse()
132 CU_ASSERT(rc < 0); in test_cpuset_parse()
134 rc = spdk_cpuset_parse(core_mask, "[10--11]"); in test_cpuset_parse()
135 CU_ASSERT(rc < 0); in test_cpuset_parse()
137 rc = spdk_cpuset_parse(core_mask, "[11-10]"); in test_cpuset_parse()
138 CU_ASSERT(rc < 0); in test_cpuset_parse()
140 rc = spdk_cpuset_parse(core_mask, "[10-11,]"); in test_cpuset_parse()
141 CU_ASSERT(rc < 0); in test_cpuset_parse()
143 rc = spdk_cpuset_parse(core_mask, "[,10-11]"); in test_cpuset_parse()
144 CU_ASSERT(rc < 0); in test_cpuset_parse()
148 rc = spdk_cpuset_parse(core_mask, buf); in test_cpuset_parse()
149 CU_ASSERT(rc < 0); in test_cpuset_parse()
152 rc = spdk_cpuset_parse(core_mask, "[184467440737095516150]"); in test_cpuset_parse()
153 CU_ASSERT(rc < 0); in test_cpuset_parse()
156 rc = spdk_cpuset_parse(core_mask, "0xF0000000000000000000000000000000000000000F0"); in test_cpuset_parse()
157 CU_ASSERT(rc == 0); in test_cpuset_parse()
168 rc = spdk_cpuset_parse(core_mask, "FF,FF0000FF,00000000"); in test_cpuset_parse()
169 CU_ASSERT(rc == 0); in test_cpuset_parse()
179 rc = spdk_cpuset_parse(core_mask, ",,,,,000,,1,0,0,,,,"); in test_cpuset_parse()
180 CU_ASSERT(rc == 0); in test_cpuset_parse()