Lines Matching refs:begin

1732                 size_t *begin,  in bus_message_open_array()  argument
1742 assert(begin); in bus_message_open_array()
1789 *begin = m->body_size; in bus_message_open_array()
1888 size_t *begin, in bus_message_open_struct() argument
1897 assert(begin); in bus_message_open_struct()
1943 *begin = m->body_size; in bus_message_open_struct()
1961 size_t *begin, in bus_message_open_dict_entry() argument
1969 assert(begin); in bus_message_open_dict_entry()
2004 *begin = m->body_size; in bus_message_open_dict_entry()
2023 size_t before, begin = 0; in sd_bus_message_open_container() local
2052 r = bus_message_open_array(m, c, contents, &array_size, &begin, &need_offsets); in sd_bus_message_open_container()
2056 r = bus_message_open_struct(m, c, contents, &begin, &need_offsets); in sd_bus_message_open_container()
2058 r = bus_message_open_dict_entry(m, c, contents, &begin, &need_offsets); in sd_bus_message_open_container()
2070 .begin = begin, in sd_bus_message_open_container()
2091 payload = c->n_offsets > 0 ? c->offsets[c->n_offsets-1] - c->begin : 0; in bus_message_close_array()
2099 bus_gvariant_write_word_le(a + sz*i, sz, c->offsets[i] - c->begin); in bus_message_close_array()
2214 sz = bus_gvariant_determine_word_size(m->body_size - c->begin, n_variable); in bus_message_close_struct()
2245 bus_gvariant_write_word_le(a + k * sz, sz, c->offsets[i] - c->begin); in bus_message_close_struct()
3111 return index >= c->begin + BUS_MESSAGE_BSWAP32(m, *c->array_size); in message_end_of_array()
3133 size_t begin; in find_part() local
3140 begin = m->cached_rindex_part_begin; in find_part()
3143 begin = 0; in find_part()
3147 if (index < begin) in find_part()
3150 if (index + sz <= begin + part->size) { in find_part()
3157 *p = part->data ? (uint8_t*) part->data + index - begin in find_part()
3161 m->cached_rindex_part_begin = begin; in find_part()
3166 begin += part->size; in find_part()
3205 if (c->offset_index+1 >= (c->end-c->begin)/sz) in container_next_item()
3209 *rindex = c->begin + (c->offset_index+1) * sz; in container_next_item()
4156 .begin = m->rindex, in sd_bus_message_enter_container()
4192 if (c->begin + l != m->rindex) in sd_bus_message_exit_container()
4395 m->rindex = c->begin; in sd_bus_message_rewind()
4399 c->item_size = (c->n_offsets > 0 ? c->offsets[0] : c->end) - c->begin; in sd_bus_message_rewind()
4810 sz = c->end - c->begin; in sd_bus_message_read_array()