Home
last modified time | relevance | path

Searched refs:string (Results 1 – 21 of 21) sorted by relevance

/illumos-kvm-cmd/
H A Dqstring.c48 qstring->string = qemu_malloc(qstring->capacity + 1); in qstring_from_substr()
49 memcpy(qstring->string, str + start, qstring->length); in qstring_from_substr()
50 qstring->string[qstring->length] = 0; in qstring_from_substr()
73 qstring->string = qemu_realloc(qstring->string, qstring->capacity + 1); in capacity_increase()
84 memcpy(qstring->string + qstring->length, str, len); in qstring_append()
86 qstring->string[qstring->length] = 0; in qstring_append()
103 qstring->string[qstring->length++] = c; in qstring_append_chr()
104 qstring->string[qstring->length] = 0; in qstring_append_chr()
126 return qstring->string; in qstring_get_str()
139 qemu_free(qs->string); in qstring_destroy_obj()
H A Dqmp-commands.hx105 - device: device name (json-string)
133 - "device": device name (json-string)
172 - "filename": file path (json-string)
331 - "id": the device's ID (json-string)
387 - "filename": file path (json-string)
420 - "filename": file path (json-string)
793 - "password": password (json-string)
821 - "password": password (json-string)
1041 - "type": device type (json-string)
1248 - "qdev_id": qdev id string (json-string)
[all …]
H A Dqjson.c37 QObject *qobject_from_jsonv(const char *string, va_list *ap) in qobject_from_jsonv() argument
44 json_message_parser_feed(&state.parser, string, strlen(string)); in qobject_from_jsonv()
51 QObject *qobject_from_json(const char *string) in qobject_from_json() argument
53 return qobject_from_jsonv(string, NULL); in qobject_from_json()
60 QObject *qobject_from_jsonf(const char *string, ...) in qobject_from_jsonf() argument
65 va_start(ap, string); in qobject_from_jsonf()
66 obj = qobject_from_jsonv(string, &ap); in qobject_from_jsonf()
H A Dqjson.h21 QObject *qobject_from_json(const char *string) GCC_FMT_ATTR(1, 0);
22 QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2);
23 QObject *qobject_from_jsonv(const char *string, va_list *ap) GCC_FMT_ATTR(1, 0);
H A Ddevice_tree.c101 const char *property, const char *string) in qemu_devtree_setprop_string() argument
109 return fdt_setprop_string(fdt, offset, property, string); in qemu_devtree_setprop_string()
H A Dcheck-qstring.c31 fail_unless(strcmp(str, qstring->string) == 0); in START_TEST()
35 qemu_free(qstring->string); in START_TEST()
H A Dos-win32.c44 char *string = qemu_malloc(length); in setenv() local
45 snprintf(string, length, "%s=%s", name, value); in setenv()
46 result = putenv(string); in setenv()
H A Drules.mak68 # specific directory. Returns an # empty string if the program doesn't exist
70 find-in-path = $(if $(find-string /, $1), \
H A Ddevice_tree.h24 const char *property, const char *string);
H A Dqstring.h21 char *string; member
H A Dcheck-qdict.c259 static void remove_dots(char *string) in remove_dots() argument
261 char *p = strchr(string, ':'); in remove_dots()
H A Dmonitor.c1856 const char *string = qdict_get_str(qdict, "string"); in do_sendkey() local
1868 separator = strchr(string, '-'); in do_sendkey()
1869 keyname_len = separator ? separator - string : strlen(string); in do_sendkey()
1871 pstrcpy(keyname_buf, sizeof(keyname_buf), string); in do_sendkey()
1890 string = separator + 1; in do_sendkey()
H A Dhmp-commands.hx455 .args_type = "string:s,hold_time:i?",
923 "<error_status> = error string or 32bit\n\t\t\t"
H A Dqemu-options.hx290 Specify boot order @var{drives} as a string of drive letters. Valid
1406 All devices must have an id, which can be any string up to 127 characters long.
/illumos-kvm-cmd/tests/
H A Dtest-i386-vm86.S92 .string "INT90 started\n$"
95 .string "Hello VM86 world\n$"
98 .string "VM86 IF test\n$"
101 … .string "If you see a diff here, your Linux kernel is buggy, please update to 2.4.20 kernel\n$"
H A Dtest-arm-iwmmxt.s45 .string "aaaabbbbccccdddd"
47 .string "bbbbccccddddeeee"
49 .string "hvLLWs\x1fsdrs9\x1fNJ-\n"
/illumos-kvm-cmd/hw/
H A Dmips_fulong2e.c80 const char *string, ...) in prom_set() argument
88 if (string == NULL) { in prom_set()
96 va_start(ap, string); in prom_set()
97 vsnprintf((char *)prom_buf + table_addr, ENVP_ENTRY_SIZE, string, ap); in prom_set()
H A Dmips_malta.c640 const char *string, ...) in prom_set() argument
648 if (string == NULL) { in prom_set()
656 va_start(ap, string); in prom_set()
657 vsnprintf((char *)prom_buf + table_addr, ENVP_ENTRY_SIZE, string, ap); in prom_set()
/illumos-kvm-cmd/ui/
H A Dspice-core.c272 static int name2enum(const char *string, const char *table[], int entries) in name2enum() argument
276 if (string) { in name2enum()
281 if (strcmp(string, table[i]) != 0) { in name2enum()
290 static int parse_name(const char *string, const char *optname, in parse_name() argument
293 int value = name2enum(string, table, entries); in parse_name()
298 fprintf(stderr, "spice: invalid %s: %s\n", optname, string); in parse_name()
/illumos-kvm-cmd/scripts/
H A Dcheckpatch.pl2827 my $string;
2829 $string = substr($rawline, $-[1], $+[1] - $-[1]);
2830 $string =~ s/%%/__/g;
2831 if ($string =~ /(?<!%)%L[udi]/) {
/illumos-kvm-cmd/pc-bios/
H A Dohw.diff647 string, strlen(string) + 1);
653 + const unsigned char *string)
659 + if (strchr(string, '\1') == NULL) {
660 + return OF_prop_string_new(env, node, name, string);
662 + len = strlen(string) + 1;
666 + memcpy(str, string, len);

Completed in 67 milliseconds