Home | History | Annotate | Download | only in uuid

Lines Matching defs:UUID

2  * tst_uuid.c --- test program from the UUID library
39 #define UUID MYUUID
45 #include <uuid/uuid.h>
47 static int test_uuid(const char * uuid, int isValid)
53 parsedOk = uuid_parse(uuid, uuidBits) == 0;
55 printf("%s is %s", uuid, validStr[isValid]);
84 printf("UUID generate = %s\n", str);
85 printf("UUID: ");
91 printf("UUID type = %d, UUID variant = %d\n", type, variant);
93 printf("Incorrect UUID Variant; was expecting DCE!\n");
100 printf("UUID random string = %s\n", str);
101 printf("UUID: ");
108 printf("UUID type = %d, UUID variant = %d\n", type, variant);
110 printf("Incorrect UUID Variant; was expecting DCE!\n");
114 printf("Incorrect UUID type; was expecting "
123 printf("UUID string = %s\n", str);
124 printf("UUID time: ");
131 printf("UUID type = %d, UUID variant = %d\n", type, variant);
133 printf("Incorrect UUID Variant; was expecting DCE!\n");
137 printf("Incorrect UUID type; was expecting "
145 printf("UUID generated at %lu reports %lu (%ld.%ld)\n",
148 * the current time and when the UUID is generated. */
150 printf("UUID time comparison failed!\n");
153 printf("UUID time comparison succeeded.\n");
158 printf("UUID parse and compare succeeded.\n");
160 printf("UUID parse and compare failed!\n");
165 printf("UUID clear and is null succeeded.\n");
167 printf("UUID clear and is null failed!\n");
172 printf("UUID copy and compare succeeded.\n");
174 printf("UUID copy and compare failed!\n");