Home | History | Annotate | Download | only in uuid

Lines Matching defs:UUID

2  * tst_uuid.c --- test program from the UUID library
40 #define UUID MYUUID
46 #include <uuid/uuid.h>
48 static int test_uuid(const char * uuid, int isValid)
54 parsedOk = uuid_parse(uuid, uuidBits) == 0;
56 printf("%s is %s", uuid, validStr[isValid]);
85 printf("UUID generate = %s\n", str);
86 printf("UUID: ");
92 printf("UUID type = %d, UUID variant = %d\n", type, variant);
94 printf("Incorrect UUID Variant; was expecting DCE!\n");
101 printf("UUID random string = %s\n", str);
102 printf("UUID: ");
109 printf("UUID type = %d, UUID variant = %d\n", type, variant);
111 printf("Incorrect UUID Variant; was expecting DCE!\n");
115 printf("Incorrect UUID type; was expecting "
124 printf("UUID string = %s\n", str);
125 printf("UUID time: ");
132 printf("UUID type = %d, UUID variant = %d\n", type, variant);
134 printf("Incorrect UUID Variant; was expecting DCE!\n");
138 printf("Incorrect UUID type; was expecting "
146 printf("UUID generated at %lu reports %lu (%ld.%ld)\n",
149 * the current time and when the UUID is generated. */
151 printf("UUID time comparison failed!\n");
154 printf("UUID time comparison succeeded.\n");
158 printf("UUID parse failed\n");
162 printf("UUID parse and compare succeeded.\n");
164 printf("UUID parse and compare failed!\n");
169 printf("UUID clear and is null succeeded.\n");
171 printf("UUID clear and is null failed!\n");
176 printf("UUID copy and compare succeeded.\n");
178 printf("UUID copy and compare failed!\n");