Home
last modified time | relevance | path

Searched refs:strstart (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/u-boot/lib/zlib/
H A Ddeflate.c336 s->strstart = length;
509 wraplen = 6 + (s->strstart ? 4 : 0);
665 if (s->strstart != 0) header |= PRESET_DICT;
672 if (s->strstart != 0) {
849 s->strstart = 0;
1034 s->strstart = 0;
1066 register Bytef *scan = s->window + s->strstart; /* current string */
1071 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1072 s->strstart - (IPos)MAX_DIST(s) : NIL;
1083 register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
[all …]
H A Ddeflate.h156 uInt strstart; /* start of string to insert */ member
/openbmc/qemu/chardev/
H A Dchar.c368 if (strstart(filename, "mon:", &p)) { in qemu_chr_parse_compat()
395 if (strstart(filename, "vc", &p)) { in qemu_chr_parse_compat()
416 if (strstart(filename, "COM", NULL)) { in qemu_chr_parse_compat()
421 if (strstart(filename, "file:", &p)) { in qemu_chr_parse_compat()
426 if (strstart(filename, "pipe:", &p)) { in qemu_chr_parse_compat()
431 if (strstart(filename, "pty:", &p)) { in qemu_chr_parse_compat()
436 if (strstart(filename, "tcp:", &p) || in qemu_chr_parse_compat()
437 strstart(filename, "telnet:", &p) || in qemu_chr_parse_compat()
438 strstart(filename, "tn3270:", &p) || in qemu_chr_parse_compat()
439 strstart(filename, "websocket:", &p)) { in qemu_chr_parse_compat()
[all …]
/openbmc/qemu/tests/qtest/
H A Dqom-test.c101 has_child |= strstart(qdict_get_str(prop, "type"), "child<", NULL); in test_list_get()
112 if (strstart(qdict_get_str(prop, "type"), "child<", NULL)) { in test_list_get()
151 bool is_child = strstart(qdict_get_str(tuple, "type"), "child<", NULL); in test_properties()
152 bool is_link = strstart(qdict_get_str(tuple, "type"), "link<", NULL); in test_properties()
/openbmc/qemu/ui/
H A Dspice-app.c79 if (strstart(chr->label, "serial", NULL)) { in vc_chr_open()
81 } else if (strstart(chr->label, "parallel", NULL)) { in vc_chr_open()
83 } else if (strstart(chr->label, "compat_monitor", NULL)) { in vc_chr_open()
H A Dui-hmp-cmds.c375 if (strstart(keys, "0x", NULL)) { in hmp_sendkey()
/openbmc/qemu/block/
H A Dfile-win32.c621 strstart(filename, "file:", &filename); in raw_co_create_opts()
800 if (strstart(filename, "\\\\.\\", &p) || in find_device_type()
801 strstart(filename, "//./", &p)) { in find_device_type()
822 if (strstart(filename, "/dev/cdrom", NULL)) in hdev_probe_device()
874 if (strstart(filename, "/dev/cdrom", NULL)) { in hdev_open()
H A Dblkverify.c71 if (!strstart(filename, "blkverify:", &filename)) { in blkverify_parse_filename()
H A Dnbd.c1603 strstart(e->key, "server.", NULL)) in nbd_has_filename_options_conflict()
1648 if (!strstart(file, "nbd:", &host_spec)) { in nbd_parse_filename()
1658 if (strstart(host_spec, "unix:", &unixpath)) { in nbd_parse_filename()
1691 if (strstart(e->key, "server.", NULL)) { in nbd_process_legacy_socket_options()
H A Dcurl.c767 if (!strstart(file, bs->drv->protocol_name, &protocol_delimiter) || in curl_open()
768 !strstart(protocol_delimiter, "://", NULL)) in curl_open()
H A Dnfs.c165 strstart(qe->key, "server.", NULL)) in nfs_has_filename_options_conflict()
H A Dfile-posix.c3134 strstart(filename, "file:", &filename); in raw_co_create_opts()
4159 if (strstart(filename, "/dev/cdrom", NULL)) in hdev_probe_device()
4649 if (strstart(filename, "/dev/cd", NULL) || in cdrom_probe_device()
4650 strstart(filename, "/dev/acd", NULL)) in cdrom_probe_device()
/openbmc/qemu/qobject/
H A Dblock-qdict.c176 if (strstart(entry->key, start, &p)) { in qdict_extract_subqdict()
192 if (strstart(entry->key, start, NULL)) { in qdict_count_prefixed_entries()
638 if (!strstart(qdict_entry_key(entry), subqdict, NULL)) { in qdict_array_entries()
/openbmc/qemu/include/qemu/
H A Dcutils.h87 int strstart(const char *str, const char *val, const char **ptr);
/openbmc/qemu/util/
H A Dqemu-sockets.c1157 if (strstart(str, "unix:", NULL)) { in socket_parse()
1165 } else if (strstart(str, "fd:", NULL)) { in socket_parse()
1173 } else if (strstart(str, "vsock:", NULL)) { in socket_parse()
1178 } else if (strstart(str, "tcp:", NULL)) { in socket_parse()
H A Dosdep.c320 if (strstart(name, "/dev/fdset/", &fdset_id_str)) { in qemu_open_internal()
H A Dcutils.c89 int strstart(const char *str, const char *val, const char **ptr) in strstart() function
/openbmc/qemu/qom/
H A Dqom-qmp-cmds.c224 if (strstart(prop->name, "legacy-", NULL)) { in qmp_device_list_properties()
/openbmc/qemu/migration/
H A Dmigration.c674 if (strstart(uri, "exec:", NULL)) { in migrate_uri_parse()
684 } else if (strstart(uri, "rdma:", NULL)) { in migrate_uri_parse()
690 } else if (strstart(uri, "tcp:", NULL) || in migrate_uri_parse()
691 strstart(uri, "unix:", NULL) || in migrate_uri_parse()
692 strstart(uri, "vsock:", NULL) || in migrate_uri_parse()
693 strstart(uri, "fd:", NULL)) { in migrate_uri_parse()
703 } else if (strstart(uri, "file:", NULL)) { in migrate_uri_parse()
/openbmc/qemu/system/
H A Dvl.c1058 if (ti->opt_name && strstart(p, ti->opt_name, &opts)) { in select_vgahw()
1075 if (strstart(opts, ",retrace=", &nextopt)) { in select_vgahw()
1077 if (strstart(opts, "dumb", &nextopt)) in select_vgahw()
1079 else if (strstart(opts, "precise", &nextopt)) in select_vgahw()
1116 if (strstart(p, "vnc", &opts)) { in parse_display()
1251 if (strstart(str, "chardev:", &p)) { in monitor_parse()
/openbmc/qemu/hw/ppc/
H A Dspapr_drc.c882 if (!strstart(prop->type, "link<", NULL)) { in spapr_dt_drc()
971 if (!strstart(prop->type, "link<", NULL)) { in spapr_drc_reset_all()
/openbmc/qemu/
H A Dqemu-nbd.c708 if (strstart(optarg, SNAPSHOT_OPT_BASE, NULL)) { in main()
H A Dblock.c129 if (strstart(filename, "\\\\.\\", NULL) || in is_windows_drive()
130 strstart(filename, "//./", NULL)) in is_windows_drive()
246 if (strstart(filename, prefix, &filename)) { in bdrv_parse_filename_strip_prefix()
362 } else if (backed[0] == '\0' || strstart(backed, "json:", NULL)) { in bdrv_get_full_backing_filename_from_filename()
2017 ret = strstart(filename, "json:", &filename); in parse_json_filename()
7994 if (strstart(qdict_entry_key(entry), *option_name, NULL)) { in append_strong_runtime_options()
/openbmc/qemu/dump/
H A Ddump.c2155 if (strstart(protocol, "fd:", &p)) { in qmp_dump_guest_memory()
2160 } else if (strstart(protocol, "file:", &p)) { in qmp_dump_guest_memory()
/openbmc/qemu/monitor/
H A Dhmp.c1239 if (strstart(d->d_name, file_prefix, NULL)) { in file_completion()

12