Lines Matching defs:pos
701 size_t pos;
729 pos = 0;
742 memcpy(&data->strs[pos], name->str, name->len);
743 pos += name->len;
744 memcpy(&data->strs[pos], pw->str, pw->len);
745 pos += pw->len;
746 memcpy(&data->strs[pos], gecos->str, gecos->len);
747 pos += gecos->len;
748 memcpy(&data->strs[pos], homedir->str, homedir->len);
749 pos += homedir->len;
750 memcpy(&data->strs[pos], shell->str, shell->len);
751 pos += shell->len;
844 size_t pos;
872 pos = 0;
885 memcpy(&data->strs[pos], name->str, name->len);
886 pos += name->len;
887 memcpy(&data->strs[pos], pw->str, pw->len);
888 pos += pw->len;
889 memcpy(&data->strs[pos], membuf, memsize);
890 pos += memsize;
977 size_t pos;
1000 pos = 0;
1015 memcpy((char *)data->gids + pos, gids_buf, num_groups * sizeof(uint32_t));
1016 pos += num_groups * sizeof(uint32_t);
1018 memcpy((char *)data->gids + pos, unique_name->str, unique_name->len);
1019 data->strs = data->unique_name = MC_PTR_DIFF((char *)data->gids + pos, data);
1020 pos += unique_name->len;
1022 memcpy((char *)data->gids + pos, name->str, name->len);
1023 data->name = MC_PTR_DIFF((char *)data->gids + pos, data);
1051 off_t pos;
1056 pos = lseek(fd, offset, SEEK_SET);
1057 if (pos == -1) {