Searched refs:strv_insert (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ ! |
D | test-strv.c | 698 TEST(strv_insert) { in TEST() argument 701 assert_se(strv_insert(&a, 0, strdup("first")) == 0); in TEST() 705 assert_se(strv_insert(&a, 0, NULL) == 0); in TEST() 709 assert_se(strv_insert(&a, 1, strdup("two")) == 0); in TEST() 714 assert_se(strv_insert(&a, 4, strdup("tri")) == 0); in TEST() 720 assert_se(strv_insert(&a, 1, strdup("duo")) == 0); in TEST()
|
/systemd-251/src/basic/ ! |
D | strv.h | 43 int strv_insert(char ***l, size_t position, char *value); 46 return strv_insert(l, 0, value); in strv_push_prepend()
|
D | conf-files.c | 246 r = strv_insert(strv, i, t); in conf_files_insert()
|
D | strv.c | 458 int strv_insert(char ***l, size_t position, char *value) { in strv_insert() function
|