Lines Matching refs:the_token
59 coap_binary_t the_token = { 0, _token_data };
281 if (the_token.length > COAP_TOKEN_DEFAULT_MAX) {
284 memcpy(&the_token.s[the_token.length - tokenlen], token, tokenlen);
286 coap_session_new_token(session, &the_token.length, the_token.s);
288 track_new_token(the_token.length, the_token.s);
289 if (!coap_add_token(pdu, the_token.length, the_token.s)) {
958 the_token.length = min(sizeof(_token_data), strlen(arg));
959 if (the_token.length > 0) {
960 memcpy((char *)the_token.s, arg, the_token.length);
1840 if (the_token.length > COAP_TOKEN_DEFAULT_MAX)
1841 coap_context_set_max_token_size(ctx, the_token.length);
1865 coap_session_init_token(session, the_token.length, the_token.s);