Home | History | Annotate | Download | only in uuid

Lines Matching defs:UUID

2  * tst_uuid.c --- test program from the UUID library
38 #define UUID MYUUID
44 #include <uuid/uuid.h>
46 static int test_uuid(const char * uuid, int isValid)
52 parsedOk = uuid_parse(uuid, uuidBits) == 0;
54 printf("%s is %s", uuid, validStr[isValid]);
83 printf("UUID generate = %s\n", str);
84 printf("UUID: ");
90 printf("UUID type = %d, UUID variant = %d\n", type, variant);
92 printf("Incorrect UUID Variant; was expecting DCE!\n");
99 printf("UUID random string = %s\n", str);
100 printf("UUID: ");
106 printf("UUID type = %d, UUID variant = %d\n", type, variant);
108 printf("Incorrect UUID Variant; was expecting DCE!\n");
112 printf("Incorrect UUID type; was expecting "
120 printf("UUID string = %s\n", str);
121 printf("UUID time: ");
127 printf("UUID type = %d, UUID variant = %d\n", type, variant);
129 printf("Incorrect UUID Variant; was expecting DCE!\n");
133 printf("Incorrect UUID type; was expecting "
140 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
144 printf("UUID parse and compare succeeded.\n");
146 printf("UUID parse and compare failed!\n");
151 printf("UUID clear and is null succeeded.\n");
153 printf("UUID clear and is null failed!\n");
158 printf("UUID copy and compare succeeded.\n");
160 printf("UUID copy and compare failed!\n");