Lines Matching defs:dst
117 MediaAnalyticsItem *dst = new MediaAnalyticsItem(this->mKey);
119 if (dst != NULL) {
121 dst->mPid = this->mPid;
122 dst->mUid = this->mUid;
123 dst->mSessionID = this->mSessionID;
124 dst->mTimestamp = this->mTimestamp;
125 dst->mFinalized = this->mFinalized;
128 dst->growProps(this->mPropCount);
130 copyProp(&dst->mProps[i], &this->mProps[i]);
132 dst->mPropCount = this->mPropCount;
135 return dst;
529 void MediaAnalyticsItem::copyProp(Prop *dst, const Prop *src)
531 // get rid of any pointers in the dst
532 clearProp(dst);
534 *dst = *src;
537 if (dst->mName) {
538 void *p = malloc(dst->mNameLen + 1);
539 memcpy (p, src->mName, dst->mNameLen + 1);
540 dst->mName = (const char *) p;
542 if (dst->mType == kTypeCString) {
543 dst->u.CStringValue = strdup(src->u.CStringValue);