Home
last modified time | relevance | path

Searched refs:strv_insert (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-strv.c698 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/
Dstrv.h43 int strv_insert(char ***l, size_t position, char *value);
46 return strv_insert(l, 0, value); in strv_push_prepend()
Dconf-files.c246 r = strv_insert(strv, i, t); in conf_files_insert()
Dstrv.c458 int strv_insert(char ***l, size_t position, char *value) { in strv_insert() function