Lines Matching defs:input_table_multiple
57 static const char* const input_table_multiple[] = {
104 assert_se(strv_find((char **)input_table_multiple, "three"));
105 assert_se(!strv_find((char **)input_table_multiple, "four"));
109 assert_se(strv_find_prefix((char **)input_table_multiple, "o"));
110 assert_se(strv_find_prefix((char **)input_table_multiple, "one"));
111 assert_se(strv_find_prefix((char **)input_table_multiple, ""));
112 assert_se(!strv_find_prefix((char **)input_table_multiple, "xxx"));
113 assert_se(!strv_find_prefix((char **)input_table_multiple, "onee"));
119 r = strv_find_startswith((char **)input_table_multiple, "o");
122 r = strv_find_startswith((char **)input_table_multiple, "one");
125 r = strv_find_startswith((char **)input_table_multiple, "");
128 assert_se(!strv_find_startswith((char **)input_table_multiple, "xxx"));
129 assert_se(!strv_find_startswith((char **)input_table_multiple, "onee"));
135 p = strv_join((char **)input_table_multiple, ", ");
139 q = strv_join((char **)input_table_multiple, ";");
143 r = strv_join((char **)input_table_multiple, NULL);
218 assert_se(streq(*s, input_table_multiple[i++]));
248 assert_se(streq(*s, input_table_multiple[i++]));
398 assert_se(streq(*check, input_table_multiple[i++]));
412 assert_se(streq_ptr(*check, input_table_multiple[i--]));
653 test_strv_quote_unquote(input_table_multiple, "\"one\" \"two\" \"three\"");