/Zephyr-latest/include/zephyr/ipc/ |
D | ipc_service_backend.h | 71 int (*send)(const struct device *instance, void *token, 88 void **token, 104 int (*deregister_endpoint)(const struct device *instance, void *token); 119 int (*get_tx_buffer_size)(const struct device *instance, void *token); 141 int (*get_tx_buffer)(const struct device *instance, void *token, 159 int (*drop_tx_buffer)(const struct device *instance, void *token, 181 int (*send_nocopy)(const struct device *instance, void *token, 199 int (*hold_rx_buffer)(const struct device *instance, void *token, 217 int (*release_rx_buffer)(const struct device *instance, void *token,
|
/Zephyr-latest/scripts/ |
D | github_helpers.py | 61 token = os.environ.get('GITHUB_TOKEN') 62 if token: 63 return {'login_or_token': token} 71 token = getpass.getpass('token: ') 72 return {'login_or_token': token}
|
/Zephyr-latest/tests/subsys/sip_svc/src/ |
D | main.c | 52 static void sip_svc_send_sync_request(uint32_t token) in sip_svc_send_sync_request() argument 64 tot_time = (struct total_time *)sip_svc_get_priv_data(ctrl, token); in sip_svc_send_sync_request() 67 err = sip_svc_open(ctrl, token, K_FOREVER); in sip_svc_send_sync_request() 77 trans_id = sip_svc_send(ctrl, token, &req, get_sync_callback); in sip_svc_send_sync_request() 89 err = sip_svc_close(ctrl, token, NULL); in sip_svc_send_sync_request() 118 static void sip_svc_send_async_request(uint32_t token) in sip_svc_send_async_request() argument 135 err = sip_svc_open(ctrl, token, K_FOREVER); in sip_svc_send_async_request() 138 tot_time = (struct total_time *)sip_svc_get_priv_data(ctrl, token); in sip_svc_send_async_request() 161 trans_id = sip_svc_send(ctrl, token, &req, get_async_callback); in sip_svc_send_async_request() 173 err = sip_svc_close(ctrl, token, NULL); in sip_svc_send_async_request() [all …]
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | test.c | 23 uint8_t token[COAP_TOKEN_MAX_LEN]; in piggyback_get() local 33 tkl = coap_header_get_token(request, token); in piggyback_get() 46 COAP_VERSION_1, type, tkl, token, in piggyback_get() 87 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_del() local 97 tkl = coap_header_get_token(request, token); in test_del() 110 COAP_VERSION_1, type, tkl, token, in test_del() 127 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_put() local 139 tkl = coap_header_get_token(request, token); in test_put() 157 COAP_VERSION_1, type, tkl, token, in test_put() 179 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_post() local [all …]
|
D | observer.c | 24 const uint8_t *token, uint8_t tkl, in send_notification_packet() argument 44 COAP_VERSION_1, type, tkl, token, in send_notification_packet() 92 uint8_t token[COAP_TOKEN_MAX_LEN]; in obs_get() local 104 tkl = coap_header_get_token(request, token); in obs_get() 112 id, token, tkl, true); in obs_get() 122 observer->token, observer->tkl, false); in obs_notify()
|
D | core.c | 22 uint8_t token[COAP_TOKEN_MAX_LEN]; in core_get() local 28 tkl = coap_header_get_token(request, token); in core_get() 31 COAP_VERSION_1, COAP_TYPE_ACK, tkl, token, in core_get()
|
D | location_query.c | 24 uint8_t token[COAP_TOKEN_MAX_LEN]; in location_query_post() local 34 tkl = coap_header_get_token(request, token); in location_query_post() 47 COAP_VERSION_1, type, tkl, token, in location_query_post()
|
D | large.c | 25 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_get() local 45 tkl = coap_header_get_token(request, token); in large_get() 52 COAP_VERSION_1, COAP_TYPE_ACK, tkl, token, in large_get() 103 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_update_put() local 145 tkl = coap_header_get_token(request, token); in large_update_put() 183 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_create_post() local 219 tkl = coap_header_get_token(request, token); in large_create_post()
|
D | separate.c | 21 uint8_t token[COAP_TOKEN_MAX_LEN]; in separate_get() local 31 tkl = coap_header_get_token(request, token); in separate_get() 59 COAP_VERSION_1, type, tkl, token, in separate_get()
|
D | query.c | 22 uint8_t token[COAP_TOKEN_MAX_LEN]; in query_get() local 32 tkl = coap_header_get_token(request, token); in query_get() 62 COAP_VERSION_1, COAP_TYPE_ACK, tkl, token, in query_get()
|
/Zephyr-latest/subsys/ipc/ipc_service/ |
D | ipc_service.c | 87 return backend->register_endpoint(instance, &ept->token, cfg); in ipc_service_register_endpoint() 112 err = backend->deregister_endpoint(ept->instance, ept->token); in ipc_service_deregister_endpoint() 144 return backend->send(ept->instance, ept->token, data, len); in ipc_service_send() 173 return backend->get_tx_buffer_size(ept->instance, ept->token); in ipc_service_get_tx_buffer_size() 202 return backend->get_tx_buffer(ept->instance, ept->token, data, len, wait); in ipc_service_get_tx_buffer() 231 return backend->drop_tx_buffer(ept->instance, ept->token, data); in ipc_service_drop_tx_buffer() 260 return backend->send_nocopy(ept->instance, ept->token, data, len); in ipc_service_send_nocopy() 290 return backend->hold_rx_buffer(ept->instance, ept->token, data); in ipc_service_hold_rx_buffer() 319 return backend->release_rx_buffer(ept->instance, ept->token, data); in ipc_service_release_rx_buffer()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icmsg.c | 17 static int register_ept(const struct device *instance, void **token, in register_ept() argument 24 *token = NULL; in register_ept() 29 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument 37 static int send(const struct device *instance, void *token, in send() argument
|
D | ipc_icmsg_me_initiator.c | 83 void **token) in store_id_for_token() argument 98 *token = &data->ids[i]; in store_id_for_token() 103 static int register_ept(const struct device *instance, void **token, in register_ept() argument 128 r = store_id_for_token(data, id, token); in register_ept() 159 static int send(const struct device *instance, void *token, in send() argument 164 icmsg_me_ept_id_t *id = token; in send()
|
D | ipc_rpmsg_static_vrings.c | 438 static int register_ept(const struct device *instance, void **token, in register_ept() argument 464 (*token) = rpmsg_ept; in register_ept() 469 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument 480 rpmsg_ept = (struct ipc_rpmsg_ept *) token; in deregister_ept() 501 static int send(const struct device *instance, void *token, in send() argument 518 rpmsg_ept = (struct ipc_rpmsg_ept *) token; in send() 535 static int send_nocopy(const struct device *instance, void *token, in send_nocopy() argument 551 rpmsg_ept = (struct ipc_rpmsg_ept *) token; in send_nocopy() 666 static int get_tx_buffer_size(const struct device *instance, void *token) in get_tx_buffer_size() argument 673 static int get_tx_buffer(const struct device *instance, void *token, in get_tx_buffer() argument [all …]
|
/Zephyr-latest/tests/subsys/ipc/ipc_service/src/ |
D | backend.c | 27 static int send(const struct device *instance, void *token, in send() argument 46 void **token, in register_ept() argument 56 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument
|
/Zephyr-latest/scripts/release/ |
D | bug_bash.py | 43 token = file.read() 44 token = token.strip() 48 token = os.environ['GITHUB_TOKEN'] 50 setattr(args, 'token', token) 170 bbt = BugBashTally(Github(args.token), args.start, args.end)
|
D | list_backports.py | 108 token = file.read() 109 token = token.strip() 113 token = os.environ['GITHUB_TOKEN'] 115 setattr(args, 'token', token) 293 gh = Github(args.token)
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.c | 443 static void engine_observe_node_init(struct observe_node *obs, const uint8_t *token, in engine_observe_node_init() argument 449 memcpy(obs->token, token, tkl); in engine_observe_node_init() 473 LOG_DBG("token:'%s' addr:%s", sprint_token(token, tkl), in engine_observe_node_init() 547 const uint8_t *token, uint8_t tkl) in engine_observe_node_discover() argument 576 if (token && memcmp(obs->token, token, tkl)) { in engine_observe_node_discover() 586 static int engine_add_observer(struct lwm2m_message *msg, const uint8_t *token, uint8_t tkl, in engine_add_observer() argument 601 if (!token || (tkl == 0U || tkl > MAX_TOKEN_LEN)) { in engine_add_observer() 602 LOG_ERR("token(%p) and token length(%u) must be valid.", token, tkl); in engine_add_observer() 614 memcpy(obs->token, token, tkl); in engine_add_observer() 641 engine_observe_node_init(obs, token, msg->ctx, tkl, format, attrs.pmax); in engine_add_observer() [all …]
|
D | lwm2m_observation.h | 18 uint8_t token[MAX_TOKEN_LEN]; /* Observation Token */ member 46 const uint8_t *token, uint8_t tkl); 48 int engine_remove_observer_by_token(struct lwm2m_ctx *ctx, const uint8_t *token, uint8_t tkl);
|
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | protocol.h | 31 #define SCMI_MESSAGE_HDR_MAKE(id, type, proto, token) \ argument 35 SCMI_FIELD_MAKE(token, GENMASK(9, 0), 18))
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 106 const char token[] = "token"; in ZTEST() local 115 strlen(token), token, in ZTEST() 132 zassert_equal(cpkt.hdr_len, COAP_FIXED_HEADER_SIZE + strlen(token), in ZTEST() 224 const uint8_t token[8]; in ZTEST() local 265 tkl = coap_header_get_token(&cpkt, (uint8_t *)token); in ZTEST() 268 zassert_mem_equal(token, "token", tkl, in ZTEST() 493 const char token[] = "token"; in prepare_block1_request() local 511 COAP_TYPE_CON, strlen(token), in prepare_block1_request() 512 token, COAP_METHOD_POST, in prepare_block1_request() 542 uint8_t token[8]; in prepare_block1_response() local [all …]
|
/Zephyr-latest/lib/utils/ |
D | json.c | 54 static void emit(struct json_lexer *lex, enum json_tokens token) in emit() argument 56 lex->tok.type = token; in emit() 304 static int element_token(enum json_tokens token) in element_token() argument 306 switch (token) { in element_token() 422 static int decode_num(const struct json_token *token, int32_t *num) in decode_num() argument 430 prev_end = *token->end; in decode_num() 431 *token->end = '\0'; in decode_num() 434 *num = strtol(token->start, &endptr, 10); in decode_num() 436 *token->end = prev_end; in decode_num() 442 if (endptr != token->end) { in decode_num() [all …]
|
/Zephyr-latest/subsys/lorawan/services/ |
D | clock_sync.c | 129 uint8_t token = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback() local 131 if (token == ctx.req_token) { in clock_sync_package_callback() 137 time_correction, token); in clock_sync_package_callback() 139 LOG_WRN("AppTimeAns with outdated token %d", token); in clock_sync_package_callback()
|
/Zephyr-latest/include/zephyr/mgmt/hawkbit/ |
D | config.h | 103 static inline int hawkbit_set_ddi_security_token(char *token) in hawkbit_set_ddi_security_token() argument 108 .auth_token = token, in hawkbit_set_ddi_security_token()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 87 const uint8_t *token, uint8_t tkl) in coap_service_remove_observer() argument 93 obs = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, tkl); in coap_service_remove_observer() 96 obs = coap_find_observer_by_token(service->data->observers, MAX_OBSERVERS, token, in coap_service_remove_observer() 175 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_server_process() local 180 tkl = coap_header_get_token(&request, token); in coap_server_process() 181 coap_service_remove_observer(service, NULL, &client_addr, token, tkl); in coap_server_process() 606 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_resource_parse_observe() local 630 tkl = coap_header_get_token(request, token); in coap_resource_parse_observe() 641 observer = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, in coap_resource_parse_observe() 658 ret = coap_service_remove_observer(service, resource, addr, token, tkl); in coap_resource_parse_observe() [all …]
|