Lines Matching +defs:basic +defs:offset

494                 the offset table at the end, since it is formatted as
497 there's only one offset in the table, which marks the
1300 static int message_add_offset(sd_bus_message *m, size_t offset) {
1306 /* Add offset to current container, unless this is the first
1307 * item in it, which will have the 0 offset, which we can
1317 c->offsets[c->n_offsets++] = offset;
1804 /* Add alignment padding and add to offset list */
2133 a = message_extend_body(m, 1, 0, true, false); /* let's add offset to parent */
2198 /* We need to add an offset for each item that has a
2680 uint64_t offset,
2709 if (offset == 0 && size == (uint64_t) -1)
2711 else if (offset + size > real_size)
2720 if (offset % align != 0)
2742 part->memfd_offset = offset;
2756 uint64_t offset,
2784 if (offset == 0 && size == (uint64_t) -1)
2786 else if (offset + size > real_size)
2829 part->memfd_offset = offset;
2887 /* Add offset table to end of fields array */
2904 * the body, followed by the final offset pointing to
3596 assert_not_reached("Unknown basic type...");
3847 * offset array is at the end of the structure. Note that
3892 /* Second, loop again and build an offset table */
3895 size_t n, offset;
3924 * offset array */
3927 offset = m->rindex + x;
3936 offset = (*n_offsets == 0 ? m->rindex : ALIGN_TO((*offsets)[*n_offsets-1], align)) + k;
3940 previous = (*offsets)[(*n_offsets)++] = offset;
5212 * the trailing variant signature and struct offset
5216 /* Pull out the offset table for the fields array */
5753 } basic;
5788 r = sd_bus_message_read_basic(source, type, &basic);
5797 r = sd_bus_message_append_basic(m, type, basic.string);
5799 r = sd_bus_message_append_basic(m, type, &basic);