Lines Matching refs:v0
672 if (loc->v.v0.version != 0)
674 RETERR(uint8_tobuffer(loc->v.v0.version, target));
676 c = loc->v.v0.size;
679 RETERR(uint8_tobuffer(loc->v.v0.size, target));
681 c = loc->v.v0.horizontal;
684 RETERR(uint8_tobuffer(loc->v.v0.horizontal, target));
686 c = loc->v.v0.vertical;
689 RETERR(uint8_tobuffer(loc->v.v0.vertical, target));
691 if (loc->v.v0.latitude < (0x80000000UL - 90 * 3600000) ||
692 loc->v.v0.latitude > (0x80000000UL + 90 * 3600000))
694 RETERR(uint32_tobuffer(loc->v.v0.latitude, target));
696 if (loc->v.v0.longitude < (0x80000000UL - 180 * 3600000) ||
697 loc->v.v0.longitude > (0x80000000UL + 180 * 3600000))
699 RETERR(uint32_tobuffer(loc->v.v0.longitude, target));
700 return (uint32_tobuffer(loc->v.v0.altitude, target));
724 loc->v.v0.version = version;
726 loc->v.v0.size = uint8_fromregion(&r);
728 loc->v.v0.horizontal = uint8_fromregion(&r);
730 loc->v.v0.vertical = uint8_fromregion(&r);
732 loc->v.v0.latitude = uint32_fromregion(&r);
734 loc->v.v0.longitude = uint32_fromregion(&r);
736 loc->v.v0.altitude = uint32_fromregion(&r);