Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 197) sorted by relevance

12345678

/openbmc/qemu/qobject/
H A Djson-parser.c58 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 Djson-lexer.c279 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 Ddpni.c34 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 Ddprc.c39 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 Ddpmac.c17 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 Ddpbp.c15 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 Dublimage.c47 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 Dmingw_support.c87 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 Dimx8mimage.c33 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 Dimx8image.c77 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 …]
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Ddpio.c14 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 Dzconf.y46 %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 Dpci.c397 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/qemu/hw/ppc/
H A Dspapr_rtas.c55 uint32_t token, uint32_t nargs, in rtas_display_character() argument
71 uint32_t token, uint32_t nargs, target_ulong args, in rtas_power_off() argument
84 uint32_t token, uint32_t nargs, in rtas_system_reboot() argument
98 uint32_t token, uint32_t nargs, in rtas_query_cpu_stopped_state() argument
129 uint32_t token, uint32_t nargs, in rtas_start_cpu() argument
205 uint32_t token, uint32_t nargs, in rtas_stop_self() argument
228 uint32_t token, uint32_t nargs, in rtas_ibm_suspend_me() argument
272 uint32_t token, uint32_t nargs, in rtas_ibm_get_system_parameter() argument
329 uint32_t token, uint32_t nargs, in rtas_ibm_set_system_parameter() argument
350 uint32_t token, uint32_ in rtas_ibm_os_term()
349 rtas_ibm_os_term(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) rtas_ibm_os_term() argument
366 rtas_set_power_level(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) rtas_set_power_level() argument
391 rtas_get_power_level(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) rtas_get_power_level() argument
417 rtas_ibm_nmi_register(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) rtas_ibm_nmi_register() argument
460 rtas_ibm_nmi_interlock(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) rtas_ibm_nmi_interlock() argument
510 spapr_rtas_call(PowerPCCPU * cpu,SpaprMachineState * spapr,uint32_t token,uint32_t nargs,target_ulong args,uint32_t nret,target_ulong rets) spapr_rtas_call() argument
539 int token; qtest_rtas_call() local
579 spapr_rtas_register(int token,const char * name,spapr_rtas_fn fn) spapr_rtas_register() argument
[all...]
/openbmc/docs/
H A DREDFISH-cheatsheet.md32 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 DREST-cheatsheet.md16 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 Dfsl_dpbp.h69 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 Dfsl_dpio.h76 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 Dfsl_dpmac.h119 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 Dqmp_lexer.py15 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 Dmain.c82 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 Dxmlrpcclient.py36 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 Ddtc-parser.y59 %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 Diohub.c61 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 Dthrottle-groups.c224 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 …]

12345678