Home
last modified time | relevance | path

Searched refs:strv (Results 1 - 14 of 14) sorted by relevance

/third_party/libinput/src/
H A Dutil-strings.c74 char **strv = NULL; in strv_from_argv() local
82 strv = zalloc((argc + 1) * sizeof *strv); in strv_from_argv()
86 strv_free(strv); in strv_from_argv()
89 strv[i] = copy; in strv_from_argv()
91 return strv; in strv_from_argv()
129 char **strv = zalloc(strv_len * sizeof *strv); in strv_from_string() local
137 strv_free(strv); in strv_from_string()
142 strv[id in strv_from_string()
165 strv_join(char **strv, const char *joiner) strv_join() argument
[all...]
H A Dutil-prop-parsers.c185 char **strv = strv_from_string(prop, " ", &num_calibration); in parse_calibration_property() local
186 if (!strv || num_calibration < 6) in parse_calibration_property()
192 if (!safe_atod(strv[idx], &v)) in parse_calibration_property()
202 strv_free(strv); in parse_calibration_property()
377 char **strv = strv_from_string(prop, ";", &ncodes); in parse_evcode_property() local
378 if (!strv || ncodes == 0 || ncodes > ARRAY_LENGTH(evs)) in parse_evcode_property()
382 for (size_t idx = 0; strv[idx]; idx++) { in parse_evcode_property()
383 char *s = strv[idx]; in parse_evcode_property()
421 strv_free(strv); in parse_evcode_property()
444 char **strv in parse_input_prop_property() local
[all...]
H A Dutil-strings.h267 char *strv_join(char **strv, const char *joiner);
270 strv_free(char **strv) { in strv_free() argument
271 char **s = strv; in strv_free()
273 if (!strv) in strv_free()
282 free (strv); in strv_free()
307 char **strv = strv_from_string(in, separator, &nelem); in double_array_from_string() local
308 if (!strv) in double_array_from_string()
314 if (!safe_atod(strv[idx], &val)) in double_array_from_string()
325 strv_free(strv); in double_array_from_string()
H A Dquirks.c888 char **strv = strv_from_string(line, "=", &nelem); in parse_value_line() local
889 if (!strv || nelem != 2) in parse_value_line()
892 const char *key = strv[0]; in parse_value_line()
893 const char *value = strv[1]; in parse_value_line()
910 strv_free(strv); in parse_value_line()
/third_party/eudev/src/shared/
H A Dconf-files.c33 #include "strv.h"
109 static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) { in conf_files_list_strv_internal() argument
114 assert(strv); in conf_files_list_strv_internal()
140 *strv = files; in conf_files_list_strv_internal()
145 int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char* const* dirs) { in conf_files_list_strv() argument
148 assert(strv); in conf_files_list_strv()
155 return conf_files_list_strv_internal(strv, suffix, root, copy); in conf_files_list_strv()
/third_party/libinput/test/
H A Dtest-utils.c1102 char **strv = strv_from_string(t->string, t->delim, &nelem); in START_TEST() local
1105 ck_assert_str_eq(t->results[idx], strv[idx]); in START_TEST()
1112 ck_assert_ptr_eq(strv, NULL); in START_TEST()
1114 ck_assert_ptr_eq(strv[t->nresults], NULL); in START_TEST()
1116 strv_free(strv); in START_TEST()
1184 char **strv = strv_from_argv(t->argc, t->argv); in START_TEST() local
1187 ck_assert(strv == NULL); in START_TEST()
1190 char **s = strv; in START_TEST()
1197 strv_free(strv); in START_TEST()
1256 char *strv[1 in START_TEST() member
[all...]
/third_party/libinput/tools/
H A Dlibinput-record.c791 char **strv; in buffer_tablet_axes() local
795 strv = zalloc(MAX_AXES * sizeof *strv); in buffer_tablet_axes()
799 len = xasprintf(&strv[idx++], "point: [%.2f, %.2f]", x, y); in buffer_tablet_axes()
806 len = xasprintf(&strv[idx++], "tilt: [%.2f, %.2f]", x, y); in buffer_tablet_axes()
818 len = xasprintf(&strv[idx++], "distance: %.2f", dist); in buffer_tablet_axes()
820 len = xasprintf(&strv[idx++], "pressure: %.2f", pressure); in buffer_tablet_axes()
829 len = xasprintf(&strv[idx++], "rotation: %.2f", rotation); in buffer_tablet_axes()
838 len = xasprintf(&strv[idx++], "slider: %.2f", slider); in buffer_tablet_axes()
849 len = xasprintf(&strv[id in buffer_tablet_axes()
[all...]
/third_party/mksh/
H A Deval.c44 const char **strv; member
957 if ((x.str = *x.u.strv++) == NULL) { in expand()
1202 hasnonempty(const char **strv) in hasnonempty() argument
1206 while (strv[i]) in hasnonempty()
1207 if (*strv[i++]) in hasnonempty()
1471 xp->u.strv = (const char **)XPptrv(wv); in varsub()
1477 xp->u.strv = (const char **)e->loc->argv + 1; in varsub()
1488 xp->str = *xp->u.strv++; in varsub()
1500 (xp->u.strv[0] == NULL) : !hasnonempty(xp->u.strv))) in varsub()
[all...]
H A Dlex.c1277 s->start = s->str = *s->u.strv++; in getsc_uu()
1282 if (*s->u.strv == NULL) { in getsc_uu()
H A Dsh.h2194 const char **strv; member
H A Dfuncs.c2049 s->u.strv = wp + builtin_opt.optind; in c_eval()
/third_party/node/deps/v8/src/codegen/s390/
H A Dmacro-assembler-s390.cc3902 strv(src, MemOperand(mem.rb(), scratch)); in CallRecordWriteStub()
3904 strv(src, mem); in CallRecordWriteStub()
3932 strv(scratch, opnd); in CallRecordWriteStub()
H A Dconstants-s390.h863 V(strv, STRV, 0xE33E) /* type = RXY_A STORE REVERSED (32) */ \
/third_party/node/deps/v8/src/compiler/backend/s390/
H A Dcode-generator-s390.cc2338 ASSEMBLE_STORE_INTEGER(strv); in AssembleArchInstruction()

Completed in 43 milliseconds