Lines Matching defs:offset
528 apr_size_t offset = 0;
558 while (offset < val.dsize) {
559 switch (*(val.dptr + offset++)) {
564 memcpy(dp, val.dptr + offset, sizeof(dp->f));
565 offset += sizeof(dp->f);
566 dp->locktoken = apr_pmemdup(p, val.dptr + offset, sizeof(*dp->locktoken));
567 offset += sizeof(*dp->locktoken);
568 if (*(val.dptr + offset) == '\0') {
569 ++offset;
572 dp->owner = apr_pstrdup(p, val.dptr + offset);
573 offset += strlen(dp->owner) + 1;
576 if (*(val.dptr + offset) == '\0') {
577 ++offset;
580 dp->auth_user = apr_pstrdup(p, val.dptr + offset);
581 offset += strlen(dp->auth_user) + 1;
613 ip->locktoken = apr_pmemdup(p, val.dptr + offset, sizeof(*ip->locktoken));
614 offset += sizeof(*ip->locktoken);
615 memcpy(&ip->timeout, val.dptr + offset, sizeof(ip->timeout));
616 offset += sizeof(ip->timeout);
617 memcpy(&ip->key.dsize, val.dptr + offset, sizeof(ip->key.dsize)); /* length of datum */
618 offset += sizeof(ip->key.dsize);
619 ip->key.dptr = apr_pmemdup(p, val.dptr + offset, ip->key.dsize);
620 offset += ip->key.dsize;
637 --offset;
643 "be corrupt. offset %"
645 offset, val.dptr[offset]));