Searched refs:mstr_pos (Results 1 – 1 of 1) sorted by relevance
33 size_t mstr_pos; member136 ret = memstream_newsize(memp->mstr_pos, memp->mstr_alloc, nbytes, in open_memstream_write()152 (void) memcpy(&memp->mstr_buf[memp->mstr_pos], buf, nbytes); in open_memstream_write()153 memp->mstr_pos += nbytes; in open_memstream_write()155 if (memp->mstr_pos > memp->mstr_lsize) { in open_memstream_write()156 memp->mstr_lsize = memp->mstr_pos; in open_memstream_write()157 memp->mstr_buf[memp->mstr_pos] = '\0'; in open_memstream_write()159 *memp->mstr_usizep = MIN(memp->mstr_pos, memp->mstr_lsize); in open_memstream_write()175 base = memp->mstr_pos; in open_memstream_seek()189 memp->mstr_pos = npos; in open_memstream_seek()[all …]