Searched refs:strv (Results 1 – 8 of 8) sorted by relevance
| /src/usr.sbin/moused/moused/ |
| H A D | util.c | 114 char **strv = zalloc(strv_len * sizeof *strv); in strv_from_string() local 122 strv_free(strv); in strv_from_string() 127 strv[idx++] = copy; in strv_from_string() 132 return strv; in strv_from_string() 145 int strv_for_each_n(const char **strv, size_t max, strv_foreach_callback_t func, void *data) in strv_for_each_n() argument 147 for (size_t i = 0; i < max && strv && strv[i]; i++) { in strv_for_each_n() 148 int ret = func(strv[i], i, data); in strv_for_each_n() 315 char **strv = strv_from_string(prop, ";", &ncodes); in parse_evcode_property() local 316 if (!strv || ncodes == 0 || ncodes > ARRAY_LENGTH(evs)) in parse_evcode_property() 320 for (size_t idx = 0; strv[idx]; idx++) { in parse_evcode_property() [all …]
|
| H A D | util.h | 347 int strv_for_each_n(const char **strv, size_t max, strv_foreach_callback_t func, void *data); 350 strv_free(char **strv) { in strv_free() argument 351 char **s = strv; in strv_free() 353 if (!strv) in strv_free() 362 free (strv); in strv_free()
|
| H A D | quirks.c | 1159 char **strv = strv_from_string(line, "=", &nelem); in parse_value_line() local 1160 if (!strv || nelem != 2) in parse_value_line() 1163 const char *key = strv[0]; in parse_value_line() 1164 const char *value = strv[1]; in parse_value_line() 1183 strv_free(strv); in parse_value_line()
|
| /src/contrib/llvm-project/lldb/source/API/ |
| H A D | SBStringList.cpp | 76 void SBStringList::AppendList(const char **strv, int strc) { in AppendList() argument 77 LLDB_INSTRUMENT_VA(this, strv, strc); in AppendList() 79 if ((strv != nullptr) && (strc > 0)) { in AppendList() 81 m_opaque_up->AppendList(strv, strc); in AppendList() 83 m_opaque_up = std::make_unique<lldb_private::StringList>(strv, strc); in AppendList()
|
| /src/contrib/llvm-project/lldb/source/Utility/ |
| H A D | StringList.cpp | 29 StringList::StringList(const char **strv, int strc) : m_strings() { in StringList() argument 31 if (strv[i]) in StringList() 32 m_strings.push_back(strv[i]); in StringList() 62 void StringList::AppendList(const char **strv, int strc) { in AppendList() argument 64 if (strv[i]) in AppendList() 65 m_strings.push_back(strv[i]); in AppendList()
|
| /src/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | StringList.h | 34 StringList(const char **strv, int strc); 50 void AppendList(const char **strv, int strc);
|
| /src/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBStringList.h | 32 void AppendList(const char **strv, int strc);
|
| /src/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrInfo.td | 870 def STRV : StoreRXY<"strv", 0xE33E, z_storebswap32, GR32, 4>;
|