Lines Matching full:uuid
2 * tst_uuid.c --- test program from the UUID library
40 #define UUID MYUUID macro
46 #include <uuid/uuid.h>
48 static int test_uuid(const char * uuid, int isValid) in test_uuid() argument
54 parsedOk = uuid_parse(uuid, uuidBits) == 0; in test_uuid()
56 printf("%s is %s", uuid, validStr[isValid]); in test_uuid()
85 printf("UUID generate = %s\n", str); in main()
86 printf("UUID: "); in main()
92 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
94 printf("Incorrect UUID Variant; was expecting DCE!\n"); in main()
101 printf("UUID random string = %s\n", str); in main()
102 printf("UUID: "); in main()
109 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
111 printf("Incorrect UUID Variant; was expecting DCE!\n"); in main()
115 printf("Incorrect UUID type; was expecting " in main()
124 printf("UUID string = %s\n", str); in main()
125 printf("UUID time: "); in main()
132 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
134 printf("Incorrect UUID Variant; was expecting DCE!\n"); in main()
138 printf("Incorrect UUID type; was expecting " in main()
146 printf("UUID generated at %lu reports %lu (%ld.%ld)\n", in main()
150 * the current time and when the UUID is generated. */ in main()
152 printf("UUID time comparison failed!\n"); in main()
155 printf("UUID time comparison succeeded.\n"); in main()
159 printf("UUID parse failed\n"); in main()
163 printf("UUID parse and compare succeeded.\n"); in main()
165 printf("UUID parse and compare failed!\n"); in main()
170 printf("UUID clear and is null succeeded.\n"); in main()
172 printf("UUID clear and is null failed!\n"); in main()
177 printf("UUID copy and compare succeeded.\n"); in main()
179 printf("UUID copy and compare failed!\n"); in main()