Lines Matching refs:ptr
441 char *ptr;
479 ptr = val.dptr = apr_pcalloc(lockdb->info->pool, val.dsize);
485 *ptr++ = DAV_LOCK_DIRECT;
486 memcpy(ptr, dp, sizeof(dp->f)); /* Fixed portion of struct */
487 ptr += sizeof(dp->f);
488 memcpy(ptr, dp->locktoken, sizeof(*dp->locktoken));
489 ptr += sizeof(*dp->locktoken);
491 *ptr++ = '\0';
494 memcpy(ptr, dp->owner, strlen(dp->owner) + 1);
495 ptr += strlen(dp->owner) + 1;
498 *ptr++ = '\0';
501 memcpy(ptr, dp->auth_user, strlen(dp->auth_user) + 1);
502 ptr += strlen(dp->auth_user) + 1;
510 *ptr++ = DAV_LOCK_INDIRECT;
512 memcpy(ptr, ip->locktoken, sizeof(*ip->locktoken));
513 ptr += sizeof(*ip->locktoken);
515 memcpy(ptr, &ip->timeout, sizeof(ip->timeout));
516 ptr += sizeof(ip->timeout);
518 memcpy(ptr, &ip->key.dsize, sizeof(ip->key.dsize));
519 ptr += sizeof(ip->key.dsize);
521 memcpy(ptr, ip->key.dptr, ip->key.dsize);
522 ptr += ip->key.dsize;