| /openbmc/qemu/qobject/ |
| H A D | json-parser.c | 58 JSONToken *token, const char *msg, ...) in parse_error() argument 129 static QString *parse_string(JSONParserContext *ctxt, JSONToken *token) in parse_string() argument 131 const char *ptr = token->str; in parse_string() 197 parse_error(ctxt, token, in parse_string() 205 parse_error(ctxt, token, "invalid escape sequence in string"); in parse_string() 212 parse_error(ctxt, token, "can't interpolate into string"); in parse_string() 221 parse_error(ctxt, token, "invalid UTF-8 sequence in string"); in parse_string() 262 JSONToken *peek, *token; in parse_pair() local 277 token = parser_context_pop_token(ctxt); in parse_pair() 278 if (token == NULL) { in parse_pair() [all …]
|
| H A D | json-lexer.c | 279 lexer->token = g_string_sized_new(3); in json_lexer_init() 298 g_string_append_c(lexer->token, ch); in json_lexer_feed_char() 313 json_message_process_token(lexer, lexer->token, new_state, in json_lexer_feed_char() 317 g_string_truncate(lexer->token, 0); in json_lexer_feed_char() 321 json_message_process_token(lexer, lexer->token, JSON_ERROR, in json_lexer_feed_char() 326 g_string_truncate(lexer->token, 0); in json_lexer_feed_char() 337 if (lexer->token->len > MAX_TOKEN_SIZE) { in json_lexer_feed_char() 338 json_message_process_token(lexer, lexer->token, lexer->state, in json_lexer_feed_char() 340 g_string_truncate(lexer->token, 0); in json_lexer_feed_char() 358 json_message_process_token(lexer, lexer->token, JSON_END_OF_INPUT, in json_lexer_flush() [all …]
|
| /openbmc/u-boot/drivers/net/fsl-mc/ |
| H A D | dpni.c | 34 uint16_t *token) in dpni_open() argument 51 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_open() 58 uint16_t token) in dpni_close() argument 65 token); in dpni_close() 118 uint16_t token, in dpni_set_pools() argument 126 token); in dpni_set_pools() 135 uint16_t token) in dpni_enable() argument 142 token); in dpni_enable() 150 uint16_t token) in dpni_disable() argument 157 token); in dpni_disable() [all …]
|
| H A D | dprc.c | 39 uint16_t *token) in dprc_open() argument 55 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open() 62 uint16_t token) in dprc_close() argument 68 token); in dprc_close() 76 uint16_t token, in dprc_create_container() argument 89 token); in dprc_create_container() 105 uint16_t token, in dprc_destroy_container() argument 113 token); in dprc_destroy_container() 122 uint16_t token, in dprc_reset_container() argument 130 token); in dprc_reset_container() [all …]
|
| H A D | dpmac.c | 17 uint16_t *token) in dpmac_open() argument 34 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmac_open() 41 uint16_t token) in dpmac_close() argument 47 token); in dpmac_close() 100 uint16_t token, in dpmac_get_attributes() argument 109 token); in dpmac_get_attributes() 124 uint16_t token, in dpmac_mdio_read() argument 133 token); in dpmac_mdio_read() 149 uint16_t token, in dpmac_mdio_write() argument 157 token); in dpmac_mdio_write() [all …]
|
| H A D | dpbp.c | 15 uint16_t *token) in dpbp_open() argument 32 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_open() 39 uint16_t token) in dpbp_close() argument 45 token); in dpbp_close() 99 uint16_t token) in dpbp_enable() argument 105 token); in dpbp_enable() 113 uint16_t token) in dpbp_disable() argument 120 token); in dpbp_disable() 128 uint16_t token) in dpbp_reset() argument 135 token); in dpbp_reset() [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | ublimage.c | 47 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument 53 value = strtoul(token, &endptr, 16); in get_cfg_value() 54 if (errno || (token == endptr)) { in get_cfg_value() 56 name, linenr, token); in get_cfg_value() 72 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument 80 "ublimage special boot mode", token); in parse_cfg_cmd() 83 "(%s)\n", name, lineno, token); in parse_cfg_cmd() 91 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 94 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 97 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd() [all …]
|
| H A D | mingw_support.c | 87 char *token; in strtok_r() local 100 token = s; in strtok_r() 101 s = strpbrk (token, delim); in strtok_r() 104 *save_ptr = memchr(token, '\0', strlen(token)); in strtok_r() 110 return token; in strtok_r()
|
| H A D | imx8mimage.c | 33 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument 39 value = strtoul(token, &endptr, 16); in get_cfg_value() 40 if (errno || token == endptr) { in get_cfg_value() 42 name, linenr, token); in get_cfg_value() 84 static void parse_cfg_cmd(int32_t cmd, char *token, char *name, int lineno) in parse_cfg_cmd() argument 90 token); in parse_cfg_cmd() 91 if (!strncmp(token, "sd", 2)) in parse_cfg_cmd() 95 ap_img = token; in parse_cfg_cmd() 98 sld_img = token; in parse_cfg_cmd() 101 signed_hdmi = token; in parse_cfg_cmd() [all …]
|
| H A D | imx8image.c | 77 static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token, in parse_cfg_cmd() argument 84 token); in parse_cfg_cmd() 85 if (!strncmp("emmc_fastboot", token, 13)) in parse_cfg_cmd() 89 fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF); in parse_cfg_cmd() 92 sw_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFFFF); in parse_cfg_cmd() 96 param_stack[p_idx++].dst = (uint32_t)strtoll(token, NULL, 0); in parse_cfg_cmd() 100 param_stack[p_idx].filename = token; in parse_cfg_cmd() 104 param_stack[p_idx++].entry = (uint32_t)strtoll(token, NULL, 0); in parse_cfg_cmd() 108 param_stack[p_idx++].filename = token; in parse_cfg_cmd() 112 param_stack[p_idx++].entry = (uint32_t)strtoll(token, NULL, 0); in parse_cfg_cmd() [all …]
|
| H A D | aisimage.c | 81 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument 87 value = strtoul(token, &endptr, 16); in get_cfg_value() 88 if (errno || (token == endptr)) { in get_cfg_value() 90 name, linenr, token); in get_cfg_value() 259 char *token, *saveptr1, *saveptr2; in aisimage_generate() local 296 token = strtok_r(line, "\r\n", &saveptr1); in aisimage_generate() 297 if (token == NULL) in aisimage_generate() 301 line = token; in aisimage_generate() 305 while (token != NULL) { in aisimage_generate() 306 token = strtok_r(line, " \t", &saveptr2); in aisimage_generate() [all …]
|
| /openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
| H A D | dpio.c | 14 uint16_t *token) in dpio_open() argument 31 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpio_open() 38 uint16_t token) in dpio_close() argument 45 token); in dpio_close() 98 uint16_t token) in dpio_enable() argument 105 token); in dpio_enable() 113 uint16_t token) in dpio_disable() argument 120 token); in dpio_disable() 128 uint16_t token) in dpio_reset() argument 135 token); in dpio_reset() [all …]
|
| /openbmc/u-boot/scripts/kconfig/ |
| H A D | zconf.y | 46 %token <id>T_MAINMENU 47 %token <id>T_MENU 48 %token <id>T_ENDMENU 49 %token <id>T_SOURCE 50 %token <id>T_CHOICE 51 %token <id>T_ENDCHOICE 52 %token <id>T_COMMENT 53 %token <id>T_CONFIG 54 %token <id>T_MENUCONFIG 55 %token <id>T_HELP [all …]
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | pci.c | 397 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readb() argument 401 if (token.is_io) { in qpci_io_readb() 402 return bus->pio_readb(bus, token.addr + off); in qpci_io_readb() 406 bus->memread(dev->bus, token.addr + off, &val, sizeof(val)); in qpci_io_readb() 411 uint16_t qpci_io_readw(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readw() argument 415 if (token.is_io) { in qpci_io_readw() 416 return bus->pio_readw(bus, token.addr + off); in qpci_io_readw() 420 bus->memread(bus, token.addr + off, &val, sizeof(val)); in qpci_io_readw() 425 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readl() argument 429 if (token.is_io) { in qpci_io_readl() [all …]
|
| /openbmc/docs/ |
| H A D | REDFISH-cheatsheet.md | 32 export bmc_token=<token> 39 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 40 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/... 50 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis 51 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers 52 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Systems 60 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/SessionService/Sessions 70 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… 76 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… 82 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… [all …]
|
| H A D | REST-cheatsheet.md | 16 either an authentication token or the username and password passed in as part of 49 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 50 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 63 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 64 curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/... 70 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list 71 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate 77 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/ 78 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/ 84 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -d '{"data": "xyz.openbmc_pr… [all …]
|
| /openbmc/u-boot/include/fsl-mc/ |
| H A D | fsl_dpbp.h | 69 uint16_t *token); 84 uint16_t token); 144 uint16_t token); 156 uint16_t token); 169 uint16_t token, 182 uint16_t token); 209 uint16_t token,
|
| H A D | fsl_dpio.h | 76 uint16_t *token); 88 uint16_t token); 137 uint16_t token, 152 uint16_t token, 166 uint16_t token); 178 uint16_t token); 190 uint16_t token); 225 uint16_t token,
|
| H A D | fsl_dpmac.h | 119 uint16_t *token); 134 uint16_t token); 209 uint16_t token, 224 uint16_t token, 266 uint16_t token, 293 uint16_t token, 307 uint16_t token, 342 uint16_t token, 368 uint16_t token, 458 uint16_t token,
|
| /openbmc/qemu/docs/sphinx/ |
| H A D | qmp_lexer.py | 15 from pygments import token 25 (r'-> ', token.Generic.Prompt), 26 (r'<- ', token.Generic.Prompt), 27 (r'\.{3}( .* \.{3})?', token.Comment.Multiline), 35 token.Error, **options)
|
| /openbmc/qemu/contrib/ivshmem-client/ |
| H A D | main.c | 82 char *s, *token; in ivshmem_client_handle_stdin_command() local 93 while ((token = strsep(&s, "\n\r;")) != NULL) { in ivshmem_client_handle_stdin_command() 94 if (!strcmp(token, "")) { in ivshmem_client_handle_stdin_command() 97 if (!strcmp(token, "?")) { in ivshmem_client_handle_stdin_command() 100 if (!strcmp(token, "help")) { in ivshmem_client_handle_stdin_command() 102 } else if (!strcmp(token, "dump")) { in ivshmem_client_handle_stdin_command() 104 } else if (!strcmp(token, "int all")) { in ivshmem_client_handle_stdin_command() 106 } else if (sscanf(token, "int %d %d", &peer_id, &vector) == 2) { in ivshmem_client_handle_stdin_command() 113 } else if (sscanf(token, "int %d all", &peer_id) == 1) { in ivshmem_client_handle_stdin_command()
|
| /openbmc/openbmc/poky/bitbake/lib/bb/server/ |
| H A D | xmlrpcclient.py | 36 def set_connection_token(self, token): argument 37 self.connection_token = token 85 def connect(self, token = None): argument 86 if token is None: 88 token = "observer" 90 token = self.connection.addClient() 92 if token is None: 95 self.transport.set_connection_token(token) 114 def connectXMLRPC(remote, featureset, observer_only = False, token = None): argument 135 return connection.connect(token)
|
| /openbmc/u-boot/scripts/dtc/ |
| H A D | dtc-parser.y | 59 %token DT_V1 60 %token DT_PLUGIN 61 %token DT_MEMRESERVE 62 %token DT_LSHIFT DT_RSHIFT DT_LE DT_GE DT_EQ DT_NE DT_AND DT_OR 63 %token DT_BITS 64 %token DT_DEL_PROP 65 %token DT_DEL_NODE 66 %token <propnodename> DT_PROPNODENAME 67 %token <integer> DT_LITERAL 68 %token <integer> DT_CHAR_LITERAL [all …]
|
| /openbmc/qemu/hw/remote/ |
| H A D | iohub.c | 61 ResampleToken *token = opaque; in intr_resample_handler() local 62 RemoteIOHubState *iohub = token->iohub; in intr_resample_handler() 65 pirq = token->pirq; in intr_resample_handler() 93 memset(&iohub->token[pirq], 0, sizeof(ResampleToken)); in process_set_irqfd_msg() 99 iohub->token[pirq].iohub = iohub; in process_set_irqfd_msg() 100 iohub->token[pirq].pirq = pirq; in process_set_irqfd_msg() 103 &iohub->token[pirq]); in process_set_irqfd_msg()
|
| /openbmc/qemu/block/ |
| H A D | throttle-groups.c | 224 ThrottleGroupMember *token, *start; in next_throttle_token() local 235 start = token = tg->tokens[direction]; in next_throttle_token() 238 token = throttle_group_next_tgm(token); in next_throttle_token() 239 while (token != start && !tgm_has_pending_reqs(token, direction)) { in next_throttle_token() 240 token = throttle_group_next_tgm(token); in next_throttle_token() 247 if (token == start && !tgm_has_pending_reqs(token, direction)) { in next_throttle_token() 248 token = tgm; in next_throttle_token() 252 assert(token == tgm || tgm_has_pending_reqs(token, direction)); in next_throttle_token() 254 return token; in next_throttle_token() 326 ThrottleGroupMember *token; in schedule_next_request() local [all …]
|