/qemu/tests/plugin/ |
H A D | mem.c | 92 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 94 if (g_strcmp0(tokens[0], "haddr") == 0) { in qemu_plugin_install() 95 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_haddr)) { in qemu_plugin_install() 99 } else if (g_strcmp0(tokens[0], "track") == 0) { in qemu_plugin_install() 100 if (g_strcmp0(tokens[1], "r") == 0) { in qemu_plugin_install() 102 } else if (g_strcmp0(tokens[1], "w") == 0) { in qemu_plugin_install() 104 } else if (g_strcmp0(tokens[1], "rw") == 0) { in qemu_plugin_install() 110 } else if (g_strcmp0(tokens[0], "inline") == 0) { in qemu_plugin_install() 111 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_inline)) { in qemu_plugin_install() 115 } else if (g_strcmp0(tokens[0], "callback") == 0) { in qemu_plugin_install() [all …]
|
H A D | bb.c | 104 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 105 if (g_strcmp0(tokens[0], "inline") == 0) { in qemu_plugin_install() 106 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_inline)) { in qemu_plugin_install() 110 } else if (g_strcmp0(tokens[0], "idle") == 0) { in qemu_plugin_install() 111 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &idle_report)) { in qemu_plugin_install()
|
H A D | insn.c | 206 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 207 if (g_strcmp0(tokens[0], "inline") == 0) { in qemu_plugin_install() 208 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_inline)) { in qemu_plugin_install() 212 } else if (g_strcmp0(tokens[0], "sizes") == 0) { in qemu_plugin_install() 213 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_size)) { in qemu_plugin_install() 217 } else if (g_strcmp0(tokens[0], "match") == 0) { in qemu_plugin_install() 218 parse_match(tokens[1]); in qemu_plugin_install()
|
H A D | syscall.c | 124 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 126 if (g_strcmp0(tokens[0], "print") == 0) { in qemu_plugin_install() 127 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_print)) { in qemu_plugin_install()
|
/qemu/contrib/plugins/ |
H A D | hotpages.c | 172 g_auto(GStrv) tokens = g_strsplit(opt, "=", -1); in qemu_plugin_install() 174 if (g_strcmp0(tokens[0], "sortby") == 0) { in qemu_plugin_install() 175 if (g_strcmp0(tokens[1], "reads") == 0) { in qemu_plugin_install() 177 } else if (g_strcmp0(tokens[1], "writes") == 0) { in qemu_plugin_install() 179 } else if (g_strcmp0(tokens[1], "address") == 0) { in qemu_plugin_install() 182 fprintf(stderr, "invalid value to sortby: %s\n", tokens[1]); in qemu_plugin_install() 185 } else if (g_strcmp0(tokens[0], "io") == 0) { in qemu_plugin_install() 186 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &track_io)) { in qemu_plugin_install() 190 } else if (g_strcmp0(tokens[0], "pagesize") == 0) { in qemu_plugin_install() 191 page_size = g_ascii_strtoull(tokens[1], NULL, 10); in qemu_plugin_install()
|
H A D | cache.c | 777 l1_iblksize = STRTOLL(tokens[1]); in qemu_plugin_install() 779 l1_iassoc = STRTOLL(tokens[1]); in qemu_plugin_install() 781 l1_icachesize = STRTOLL(tokens[1]); in qemu_plugin_install() 783 l1_dblksize = STRTOLL(tokens[1]); in qemu_plugin_install() 785 l1_dassoc = STRTOLL(tokens[1]); in qemu_plugin_install() 789 limit = STRTOLL(tokens[1]); in qemu_plugin_install() 791 cores = STRTOLL(tokens[1]); in qemu_plugin_install() 794 l2_cachesize = STRTOLL(tokens[1]); in qemu_plugin_install() 797 l2_blksize = STRTOLL(tokens[1]); in qemu_plugin_install() 800 l2_assoc = STRTOLL(tokens[1]); in qemu_plugin_install() [all …]
|
H A D | hwprofile.c | 266 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 268 if (g_strcmp0(tokens[0], "track") == 0) { in qemu_plugin_install() 269 if (g_strcmp0(tokens[1], "read") == 0) { in qemu_plugin_install() 271 } else if (g_strcmp0(tokens[1], "write") == 0) { in qemu_plugin_install() 274 fprintf(stderr, "invalid value for track: %s\n", tokens[1]); in qemu_plugin_install() 277 } else if (g_strcmp0(tokens[0], "pattern") == 0) { in qemu_plugin_install() 278 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &pattern)) { in qemu_plugin_install() 282 } else if (g_strcmp0(tokens[0], "source") == 0) { in qemu_plugin_install() 283 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &source)) { in qemu_plugin_install() 287 } else if (g_strcmp0(tokens[0], "match") == 0) { in qemu_plugin_install() [all …]
|
H A D | execlog.c | 458 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 459 if (g_strcmp0(tokens[0], "ifilter") == 0) { in qemu_plugin_install() 460 parse_insn_match(tokens[1]); in qemu_plugin_install() 461 } else if (g_strcmp0(tokens[0], "afilter") == 0) { in qemu_plugin_install() 462 parse_vaddr_match(tokens[1]); in qemu_plugin_install() 463 } else if (g_strcmp0(tokens[0], "reg") == 0) { in qemu_plugin_install() 464 add_regpat(tokens[1]); in qemu_plugin_install() 465 } else if (g_strcmp0(tokens[0], "rdisas") == 0) { in qemu_plugin_install() 466 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &disas_assist)) { in qemu_plugin_install()
|
H A D | howvec.c | 361 g_auto(GStrv) tokens = g_strsplit(p, "=", -1); in qemu_plugin_install() 362 if (g_strcmp0(tokens[0], "inline") == 0) { in qemu_plugin_install() 363 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_inline)) { in qemu_plugin_install() 367 } else if (g_strcmp0(tokens[0], "verbose") == 0) { in qemu_plugin_install() 368 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &verbose)) { in qemu_plugin_install() 372 } else if (g_strcmp0(tokens[0], "count") == 0) { in qemu_plugin_install() 373 char *value = tokens[1]; in qemu_plugin_install()
|
H A D | lockstep.c | 342 g_auto(GStrv) tokens = g_strsplit(p, "=", 2); in qemu_plugin_install() 344 if (g_strcmp0(tokens[0], "verbose") == 0) { in qemu_plugin_install() 345 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &verbose)) { in qemu_plugin_install() 349 } else if (g_strcmp0(tokens[0], "sockpath") == 0) { in qemu_plugin_install() 350 sock_path = tokens[1]; in qemu_plugin_install()
|
H A D | hotblocks.c | 148 g_auto(GStrv) tokens = g_strsplit(opt, "=", 2); in qemu_plugin_install() 149 if (g_strcmp0(tokens[0], "inline") == 0) { in qemu_plugin_install() 150 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &do_inline)) { in qemu_plugin_install()
|
H A D | drcov.c | 151 g_auto(GStrv) tokens = g_strsplit(argv[i], "=", 2); in qemu_plugin_install() 152 if (g_strcmp0(tokens[0], "filename") == 0) { in qemu_plugin_install() 153 file_name = g_strdup(tokens[1]); in qemu_plugin_install()
|
/qemu/qobject/ |
H A D | json-streamer.c | 26 while ((token = g_queue_pop_head(&parser->tokens))) { in json_message_free_tokens() 56 if (g_queue_is_empty(&parser->tokens)) { in json_message_process_token() 59 json = json_parser_parse(&parser->tokens, parser->ap, &err); in json_message_process_token() 73 if (g_queue_get_length(&parser->tokens) + 1 > MAX_TOKEN_COUNT) { in json_message_process_token() 85 g_queue_push_tail(&parser->tokens, token); in json_message_process_token() 92 json = json_parser_parse(&parser->tokens, parser->ap, &err); in json_message_process_token() 112 g_queue_init(&parser->tokens); in json_message_parser_init() 127 assert(g_queue_is_empty(&parser->tokens)); in json_message_parser_flush()
|
H A D | json-parser-int.h | 52 QObject *json_parser_parse(GQueue *tokens, va_list *ap, Error **errp);
|
H A D | json-parser.c | 574 QObject *json_parser_parse(GQueue *tokens, va_list *ap, Error **errp) in json_parser_parse() argument 576 JSONParserContext ctxt = { .buf = tokens, .ap = ap }; in json_parser_parse()
|
/qemu/scripts/ |
H A D | undefsym.py | 17 tokens = line.split(b' ') 18 if len(tokens) >= 2: 19 if from_staticlib and tokens[1] == b'U': 21 if not from_staticlib and tokens[1] != b'U': 23 new_line = b'-Wl,-u,' + tokens[0]
|
H A D | qemu-binfmt-conf.sh | 203 --credential: if yes, credential and security tokens are
|
/qemu/block/ |
H A D | throttle-groups.c | 76 ThrottleGroupMember *tokens[THROTTLE_MAX]; member 235 start = token = tg->tokens[direction]; in next_throttle_token() 288 tg->tokens[direction] = tgm; in throttle_group_schedule_timer() 349 tg->tokens[direction] = token; in schedule_next_request() 558 if (!tg->tokens[dir]) { in throttle_group_register_tgm() 559 tg->tokens[dir] = tgm; in throttle_group_register_tgm() 605 if (tg->tokens[dir] == tgm) { in throttle_group_unregister_tgm() 611 tg->tokens[dir] = token; in throttle_group_unregister_tgm()
|
/qemu/include/qapi/qmp/ |
H A D | json-parser.h | 30 GQueue tokens; member
|
/qemu/docs/sphinx/ |
H A D | qmp_lexer.py | 23 tokens = { variable in QMPExampleMarkersLexer
|
/qemu/python/qemu/qmp/ |
H A D | protocol.py | 251 tokens = [] 253 tokens.append(f"name={self.name!r}") 254 tokens.append(f"runstate={self.runstate.name}")
|
H A D | qmp_shell.py | 262 tokens: Sequence[str], 264 for arg in tokens:
|
/qemu/target/hexagon/idef-parser/ |
H A D | README.rst | 165 ``flex`` is used to split the input string into tokens, each described using a 182 The tokens are mapped on the source language grammar, defined in the 416 involved tokens to generate pretty error reporting, able to highlight the 443 caught by other tokens, but easy to fix, because most of the time a simple 457 valid tokens and a parser rule. You should check that tokens are correctly
|