Lines Matching defs:l1
1251 const char *l1[] = {"a", "b", "c", NULL};
1270 ret = add_strings_lists(global_talloc_context, l1, NULL, false, &res);
1273 for (c = 0; l1[c] != NULL; c++) {
1275 assert_int_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1280 ret = add_strings_lists(global_talloc_context, l1, NULL, true, &res);
1283 for (c = 0; l1[c] != NULL; c++) {
1286 assert_int_not_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1287 assert_string_equal(l1[c], res[c]);
1292 ret = add_strings_lists(global_talloc_context, NULL, l1, false, &res);
1295 for (c = 0; l1[c] != NULL; c++) {
1297 assert_int_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1302 ret = add_strings_lists(global_talloc_context, NULL, l1, true, &res);
1305 for (c = 0; l1[c] != NULL; c++) {
1308 assert_int_not_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1309 assert_string_equal(l1[c], res[c]);
1314 ret = add_strings_lists(global_talloc_context, l1, l2, false, &res);
1317 for (c = 0; l1[c] != NULL; c++) {
1319 assert_int_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1327 ret = add_strings_lists(global_talloc_context, l1, l2, true, &res);
1330 for (c = 0; l1[c] != NULL; c++) {
1333 assert_int_not_equal(memcmp(&l1[c], &res[c], sizeof(char *)), 0);
1334 assert_string_equal(l1[c], res[c]);