Lines Matching defs:length
34 size_t length;
41 * signaled when illegal delta or length values are encountered or when option
42 * parsing would result in reading past the option (i.e. beyond opt + length).
45 * @param length The maximum length of @p opt.
51 size_t length,
169 size_t length; /**< remaining length of PDU */
180 * otherwise (i.e. when no options exist). Note that a length check on the
233 * Encodes the given delta and length values into @p opt. This function returns
234 * the number of bytes that were required to encode @p delta and @p length or @c
238 * @param opt The option buffer space where @p delta and @p length are
240 * @param maxlen The maximum length of @p opt.
242 * @param length The actual length value to encode.
249 size_t length);
253 * @p length
256 * @param length The option length.
260 size_t coap_opt_encode_size(uint16_t delta, size_t length);
269 * @param n Maximum length of @p opt.
272 * @param length The actual length of @p val.
281 size_t length);
284 * Returns the length of the given option. @p opt must point to an option jump
286 * an option or the actual length of @p opt (which can be @c 0 as well).
292 * @param opt The option whose length should be returned.
294 * @return The option's length or @c 0 when undefined.
328 size_t length; /**< the option value length */
342 * @param length The option length
348 size_t length,