Lines Matching defs:val1
30 char *val1, *val2, *val3, *val4, *val5, *r;
34 val1 = strdup("val1");
35 assert_se(val1);
45 hashmap_put(m, "key 1", val1);
50 hashmap_replace(m, "key 3", val1);
52 assert_se(streq(r, "val1"));
58 free(val1);
68 char *val1, *val2, *val3, *val4, *r;
70 val1 = strdup("val1");
71 assert_se(val1);
81 hashmap_put(m, "key 1", val1);
89 assert_se(streq(r, "val1"));
104 char *val1, *val2, *val3, *val4;
106 val1 = strdup("val1");
107 assert_se(val1);
117 hashmap_put(m, "key 1", val1);
128 assert_se(streq(strv[0], "val1"));
140 char *val1, *val2, *val3, *val4, *r;
142 val1 = strdup("val1");
143 assert_se(val1);
154 hashmap_put(m, "key 1", val1);
179 char *val1, *val2, *val3, *val4, *r;
181 val1 = strdup("val1");
182 assert_se(val1);
193 hashmap_put(n, "key 1", strdup(val1));
194 hashmap_put(m, "key 1", val1);
204 assert_se(r && streq(r, "val1"));
207 assert_se(r && streq(r, "val1"));
221 char *val1, *val2, *r;
224 val1 = strdup("old_value");
225 assert_se(val1);
229 hashmap_put(m, "key 1", val1);
241 free(val1);
249 void *val1 = (void*) "val 1";
256 valid_hashmap_put = hashmap_put(m, "key 1", val1);
258 assert_se(hashmap_put(m, "key 1", val1) == 0);
261 assert_se(hashmap_put(m, key1, val1) == 0);
295 char val1[] = "val 1";
308 hashmap_put(m, strdup(key1), strdup(val1));
312 assert_se(streq(r, val1));
491 char *val1, *val2, *val3, *val4, *s;
494 val1 = strdup("my val1");
495 assert_se(val1);
517 hashmap_put(m, "Key 1", val1);
523 if (!value_found[0] && streq(s, val1))
542 char *val1, *val2, *val3, *val4, *r;
544 val1 = strdup("my val1");
545 assert_se(val1);
556 hashmap_put(m, "Key 1", val1);
575 char *val1;
577 val1 = strdup("my val");
578 assert_se(val1);
583 hashmap_put(m, "Key 1", val1);
595 char *val1;
597 val1 = strdup("my val");
598 assert_se(val1);
603 hashmap_put(m, "Key 1", val1);
612 char *val1, *val2, *val3, *val4;
614 val1 = strdup("my val");
615 assert_se(val1);
628 hashmap_put(m, "Key 1", val1);