Lines Matching refs:uuid
65 auto uuid = Uuid::FromString("1ae8"); in TEST() local
66 ASSERT_TRUE(uuid); in TEST()
67 ASSERT_TRUE(uuid->Is16Bit()); in TEST()
74 Uuid uuid = Uuid::From16Bit(0x0001); in TEST() local
75 ASSERT_TRUE(memcmp(uuid.data(), u2, sizeof(u2)) == 0); in TEST()
78 uuid = Uuid::From16Bit(0x553e); in TEST()
79 ASSERT_TRUE(memcmp(uuid.data(), u3, sizeof(u3)) == 0); in TEST()
82 uuid = Uuid::From16Bit(0xffff); in TEST()
83 ASSERT_TRUE(memcmp(uuid.data(), u4, sizeof(u4)) == 0); in TEST()
90 Uuid uuid = Uuid::From32Bit(0x00000001); in TEST() local
91 ASSERT_TRUE(memcmp(uuid.data(), u2, sizeof(u2)) == 0); in TEST()
94 uuid = Uuid::From32Bit(0x3344553e); in TEST()
95 ASSERT_TRUE(memcmp(uuid.data(), u3, sizeof(u3)) == 0); in TEST()
98 uuid = Uuid::From32Bit(0xffffffff); in TEST()
99 ASSERT_TRUE(memcmp(uuid.data(), u4, sizeof(u4)) == 0); in TEST()
113 Uuid uuid = Uuid::From32Bit(0x12345678); in TEST() local
114 ASSERT_EQ("12345678-0000-1000-8000-00805f9b34fb", uuid.ToString()); in TEST()
119 auto uuid = Uuid::FromString("e39c6285-867f-4b1d-9db0-35fbd9aebf22"); in TEST() local
120 ASSERT_TRUE(uuid); in TEST()
121 ASSERT_TRUE(memcmp(uuid->data(), u1, sizeof(u1)) == 0); in TEST()
124 uuid = Uuid::FromString("1Ae8"); in TEST()
125 ASSERT_TRUE(uuid); in TEST()
126 ASSERT_TRUE(memcmp(uuid->data(), u2, sizeof(u2)) == 0); in TEST()
129 uuid = Uuid::FromString("12341128"); in TEST()
130 ASSERT_TRUE(uuid); in TEST()
131 ASSERT_TRUE(memcmp(uuid->data(), u3, sizeof(u3)) == 0); in TEST()