• Home
  • Raw
  • Download

Lines Matching refs:tmp

80     std::string tmp = name;  in ConvertFromString()  local
81 std::size_t pos = tmp.find("-"); in ConvertFromString()
84 tmp.replace(pos, 1, ""); in ConvertFromString()
85 pos = tmp.find("-"); in ConvertFromString()
88 for (std::size_t i = 0; (i + 1) < tmp.length(); i += SIZE_STRING_TO_INT) { in ConvertFromString()
89 …ret.uuid_[i / SIZE_STRING_TO_INT] = std::stoi(tmp.substr(i, SIZE_STRING_TO_INT), nullptr, UUID128_… in ConvertFromString()
97 Uuid tmp; in ConvertFrom16Bits() local
98tmp.uuid_[UUID_TIME_LOW_THIRD_BYTE] = static_cast<uint8_t>((uuid & 0xFF00) >> BASE_BIT_OPT_SIZE); in ConvertFrom16Bits()
99 tmp.uuid_[UUID_TIME_LOW_FOURTH_BYTE] = static_cast<uint8_t>(uuid & 0x00FF); in ConvertFrom16Bits()
100 return tmp; in ConvertFrom16Bits()
105 Uuid tmp; in ConvertFrom32Bits() local
106 tmp.uuid_[UUID_TIME_LOW_FIRST_BYTE] = in ConvertFrom32Bits()
108 tmp.uuid_[UUID_TIME_LOW_SECEND_BYTE] = in ConvertFrom32Bits()
110 tmp.uuid_[UUID_TIME_LOW_THIRD_BYTE] = in ConvertFrom32Bits()
112 tmp.uuid_[UUID_TIME_LOW_FOURTH_BYTE] = in ConvertFrom32Bits()
114 return tmp; in ConvertFrom32Bits()
133 Uuid tmp; in ConvertFromMostAndLeastBit() local
137 tmp.uuid_[i] = (mostSigBits >> (BASE_BIT_OPT_SIZE * (division - i - 1))) & 0xFF; in ConvertFromMostAndLeastBit()
141 tmp.uuid_[i] = (leastSigBits >> (BASE_BIT_OPT_SIZE * (2*division - i - 1))) & 0xFF; in ConvertFromMostAndLeastBit()
144 return tmp; in ConvertFromMostAndLeastBit()
149 Uuid tmp; in ConvertFrom128Bits() local
150 tmp.uuid_ = uuid; in ConvertFrom128Bits()
151 return tmp; in ConvertFrom128Bits()