/third_party/libcoap/src/ |
D | pdu.c | 46 pdu->token_length = 0; in coap_pdu_clear() 157 size_t token_length, in coap_pdu_duplicate() argument 168 coap_add_token(pdu, token_length, token); in coap_pdu_duplicate() 173 size_t length = old_pdu->used_size - old_pdu->token_length - in coap_pdu_duplicate() 179 memcpy(pdu->token + pdu->token_length, in coap_pdu_duplicate() 180 old_pdu->token + old_pdu->token_length, length); in coap_pdu_duplicate() 270 pdu->token_length = (uint8_t)len; in coap_add_token() 290 if (len == pdu->token_length) { in coap_update_token() 293 else if (len > pdu->token_length) { in coap_update_token() 294 if (!coap_pdu_check_resize(pdu, pdu->used_size + len - pdu->token_length)) in coap_update_token() [all …]
|
D | block.c | 378 if (full_match(pdu->token, pdu->token_length, in coap_add_data_large_internal() 413 avail -= (pdu->token_length <= 8) ? pdu->token_length <= 8 : 0; in coap_add_data_large_internal() 481 lg_xmit->b.b1.app_token = coap_new_binary(pdu->token_length); in coap_add_data_large_internal() 484 memcpy(lg_xmit->b.b1.app_token->s, pdu->token, pdu->token_length); in coap_add_data_large_internal() 492 lg_xmit->b.b1.token_length = coap_encode_var_safe8(lg_xmit->b.b1.token, in coap_add_data_large_internal() 570 avail -= (pdu->token_length <= 8) ? pdu->token_length <= 8 : 0; in coap_add_data_large_internal() 838 assert(pdu->token_length <= 8); in coap_block_new_lg_crcv() 839 lg_crcv->token_length = min(pdu->token_length, 8); in coap_block_new_lg_crcv() 841 memcpy(lg_crcv->token, pdu->token, lg_crcv->token_length); in coap_block_new_lg_crcv() 845 memcpy(lg_crcv->base_token, pdu->token, lg_crcv->token_length); in coap_block_new_lg_crcv() [all …]
|
D | async.c | 50 pdu->token_length, request->token_length, in coap_register_async() 68 s->pdu = coap_pdu_duplicate(request, session, request->token_length, in coap_register_async() 113 pdu->token_length, token.length, in coap_find_async()
|
D | resource.c | 119 size_t token_length; in match() local 124 token_length = next_token - token; in match() 125 remaining_length -= (token_length + 1); in match() 128 token_length = remaining_length; in match() 132 if ((match_prefix || pattern->length == token_length) && in match() 695 && (!token || (token->length == s->pdu->token_length 749 coap_binary_t tmp_token = { s->pdu->token_length, s->pdu->token }; 769 s->pdu = coap_pdu_duplicate(request, session, request->token_length, 825 for ( i = 0; i < s->pdu->token_length; i++ ) 903 if (!coap_add_token(response, obs->pdu->token_length, obs->pdu->token)) { [all …]
|
D | net.c | 1095 if (token_match(pdu->token, pdu->token_length, in coap_send() 1104 lg_crcv->token_length = lg_crcv->base_token_length; in coap_send() 1128 token_match(pdu->token, pdu->token_length, in coap_send() 1132 coap_update_token(pdu, session->lg_xmit->b.b1.token_length, in coap_send() 1392 token.length = node->pdu->token_length; in coap_retransmit() 2016 const uint8_t *token, size_t token_length) { in coap_cancel_all_messages() argument 2022 token_match(token, token_length, in coap_cancel_all_messages() 2024 context->sendqueue->pdu->token_length)) { in coap_cancel_all_messages() 2041 token_match(token, token_length, in coap_cancel_all_messages() 2042 q->pdu->token, q->pdu->token_length)) { in coap_cancel_all_messages() [all …]
|
D | option.c | 123 oi->next_option = pdu->token + pdu->token_length; in coap_option_iterator_init() 129 oi->length = pdu->used_size - pdu->token_length; in coap_option_iterator_init()
|
D | coap_debug.c | 541 for (i = 0; i < pdu->token_length; i++) { in coap_show_pdu()
|
/third_party/libcoap/tests/ |
D | test_error_response.c | 48 CU_ASSERT(response->token_length == 0); in t_error_response1() 78 CU_ASSERT(response->token_length == 5); in t_error_response2() 111 CU_ASSERT(response->token_length == 5); in t_error_response3() 150 CU_ASSERT(response->token_length == 5); in t_error_response4() 191 CU_ASSERT(response->token_length == 5); in t_error_response5() 232 CU_ASSERT(response->token_length == 5); in t_error_response6() 274 CU_ASSERT(response->token_length == 5); in t_error_response7() 315 CU_ASSERT(response->token_length == 5); in t_error_response8()
|
D | test_uri.c | 336 .token_length = 0, in t_parse_uri13() 437 .token_length = 0, in t_parse_uri18() 462 .token_length = 0, in t_parse_uri19() 482 .token_length = 0, in t_parse_uri20() 503 .token_length = 0, in t_parse_uri21() 526 .token_length = 0, in t_parse_uri22() 547 .token_length = 0, in t_parse_uri23()
|
D | test_options.c | 500 .token_length = 3, in t_iterate_option2() 527 .token_length = 3, in t_iterate_option3() 570 .token_length = 3, in t_iterate_option4() 612 .token_length = 0, in t_iterate_option5() 645 .token_length = 0, in t_iterate_option6() 690 .token_length = 0, in t_iterate_option7() 737 .token_length = 0, in t_iterate_option8() 768 .token_length = 0, in t_iterate_option9() 799 .token_length = 0, in t_iterate_option10()
|
D | test_pdu.c | 35 CU_ASSERT(pdu->token_length == 0); in t_parse_pdu1() 51 CU_ASSERT(pdu->token_length == 5); in t_parse_pdu2() 96 CU_ASSERT(pdu->token_length == 5); in t_parse_pdu5() 131 CU_ASSERT(pdu->token_length == 5); in t_parse_pdu7() 156 CU_ASSERT(pdu->token_length == 0); in t_parse_pdu8() 198 CU_ASSERT(pdu->token_length == 0); in t_parse_pdu11() 214 CU_ASSERT(pdu->token_length == 0); in t_parse_pdu12()
|
/third_party/libcoap/include/coap3/ |
D | coap_block_internal.h | 59 size_t token_length; /**< length of token */ member 117 size_t token_length; /**< length of token */ member
|
D | coap_pdu_internal.h | 103 uint8_t token_length; /**< length of Token */ member
|
D | coap_net_internal.h | 261 size_t token_length);
|
D | pdu.h | 401 size_t token_length,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_ssdp.c | 61 static int token_length(const char *s) in token_length() function 540 data += token_length(data); in ssdp_parse_msearch() 562 data += token_length(data); in ssdp_parse_msearch() 612 data += token_length(data); in ssdp_parse_msearch() 626 data += token_length(data); in ssdp_parse_msearch()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_ssdp.c | 61 static int token_length(const char *s) in token_length() function 540 data += token_length(data); in ssdp_parse_msearch() 562 data += token_length(data); in ssdp_parse_msearch() 612 data += token_length(data); in ssdp_parse_msearch() 626 data += token_length(data); in ssdp_parse_msearch()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcTextureFilterAnisotropicTests.cpp | 63 const size_t token_length = strlen(token); in replaceToken() local 68 str.replace(token_position, token_length, text, text_length); in replaceToken()
|
/third_party/libcoap/examples/ |
D | coap-rd.c | 208 if (request->hdr->token_length) in hnd_put_resource() 209 coap_add_token(response, request->hdr->token_length, request->hdr->token); in hnd_put_resource()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl3cGPUShader5Tests.cpp | 315 const size_t token_length = strlen(token); in replaceToken() local 318 string.replace(token_position, token_length, text, text_length); in replaceToken()
|
D | gl4cStencilTexturingTests.cpp | 379 const size_t token_length = strlen(token); in replaceToken() local 392 string.replace(token_position, token_length, text, text_length); in replaceToken()
|
D | gl4cGlSpirvTests.cpp | 121 const size_t token_length = strlen(token); in replaceToken() local 126 string.replace(token_position, token_length, text, text_length); in replaceToken()
|
D | gl4cSparseTexture2Tests.cpp | 270 const size_t token_length = strlen(token); in replaceToken() local 275 string.replace(token_position, token_length, text, text_length); in replaceToken()
|
D | gl3cTextureSwizzleTests.cpp | 2153 const size_t token_length = strlen(token); in replaceToken() local 2156 string.replace(token_position, token_length, text, text_length); in replaceToken()
|
/third_party/libcoap/doc/ |
D | upgrade_4.2.1_4.3.0.txt | 265 return received->token_length == the_token.length &&
|