Lines Matching refs:offs
457 static int to_msg(char *msg, unsigned offs, unsigned limit,
462 offs = align_to<l4_umword_t>(offs);
463 if (L4_UNLIKELY(!check_size<l4_umword_t>(offs, limit)))
465 *reinterpret_cast<l4_umword_t*>(msg + offs) = i->tag();
466 offs += sizeof(l4_umword_t);
467 if (L4_UNLIKELY(!check_size<char>(offs, limit, i->length())))
471 msg[offs++] = *d++;
474 return offs;
487 unsigned offs;
488 for (offs = start; offs < limit;)
490 unsigned noffs = align_to<l4_umword_t>(offs);
494 offs = noffs;
496 arg.tag(*reinterpret_cast<l4_umword_t*>(msg + offs));
501 offs += sizeof(l4_umword_t);
503 if (L4_UNLIKELY(!check_size<char>(offs, limit, arg.length())))
505 offs += arg.length();
508 a = Varg_list_ref(msg + start, msg + align_to<l4_umword_t>(offs));
509 return offs;