Searched refs:token_size (Results 1 – 2 of 2) sorted by relevance
188 const size_t token_size = token.size(); in Add() local189 if (token_size == 0) in Add()198 buf_.resize(prev_size + token_size); in Add()200 for (size_t i = 0; i < token_size - 1; i++) { in Add()204 *(tok_wptr++) = static_cast<char>(token.at(token_size - 1) | 0x80); in Add()
566 size_t token_size = payload_size - sizeof(*data) - sizeof(Header); in OnChannelMessage() local567 if (token_size == 0) in OnChannelMessage()569 std::string token(reinterpret_cast<const char*>(data + 1), token_size); in OnChannelMessage()