Lines Matching refs:printf

26 #define PRINT_LOCK_FAIL   printf("%s, line %d: failed to lock the device.\n", cpt_fail_header, __LINE__);
27 #define PRINT_UNLOCK_FAIL printf("%s, line %d: failed to unlock the device.\n", cpt_fail_header, __LINE__);
53 printf("FAILURE: failed to match kAppleKeyStoreServiceName.\n");
61 printf("FAILURE: failed to open AppleKeyStore.\n");
69 printf("FAILURE: call to AppleKeyStore method kAppleKeyStoreUserClientOpen failed.\n");
77 printf("FAILURE: call to AppleKeyStore method %d failed.\n", command);
102 printf("FAILURE: failed to fork.\n");
113 printf("FAILURE: child failed to execv keystorectl, errno = %s.\n",
120 printf("FAILURE: keystorectl failed.\n");
151 printf("FAILURE: failed to find defaults registry entry.\n");
171 printf("FAILURE: failed to statfs the test directory, errno = %s.\n",
383 printf("%s, line %d: failed to initialize test strings.\n",
392 printf("%s, line %d: failed to determine if content protection is supported.\n",
398 printf("This device does not support or is not formatted for content protection.\n");
408 printf("%s, line %d: the device appears to have a passcode.\n",
415 printf("%s, line %d: failed to set a new passcode.\n",
424 printf("%s, line %d: failed to create the test file, errno = %s.\n",
436 printf("%s, line %d: failed to get protection class when unlocked, errno = %s.\n",
443 printf("%s, line %d: failed to change protection class from %d to %d during unlock, errno = %s.\n",
451 printf("%s, line %d: failed to change protection class from F to D when unlocked, errno = %s.\n",
465 printf("%s, line %d: was able to change protection class from D to A when locked.\n",
479 printf("%s, line %d: failed to change protection class from D to A when unlocked, errno = %s.\n",
489 printf("%s, line %d: failed to open a class A file when unlocked, errno = %s.\n",
504 printf("%s, line %d: failed to write to class A file when unlocked, errno = %s.\n",
520 printf("%s, line %d: failed to read from class A file when unlocked, errno = %s.\n",
537 printf("%s, line %d: was able to read from a class A file when locked.\n",
544 printf("%s, line %d: was able to write to a class A file when locked.\n",
551 printf("%s, line %d: was able to change protection class from A to D when locked.\n",
562 printf("%s, line %d: was able to open and truncate a class A file when locked.\n",
572 printf("%s, line %d: was able to open a class A file when locked.\n",
588 printf("%s, line %d: was unable to open a class A file when unlocked.\n",
595 printf("%s, line %d: failed to change protection class from A to D when unlocked, errno = %s.\n",
609 printf("%s, line %d: failed to change protection class from D to B when locked, errno = %s.\n",
623 printf("%s, line %d: failed to write to new class B file when locked, errno = %s.\n",
639 printf("%s, line %d: failed to read from new class B file when locked, errno = %s.\n",
653 printf("%s, line %d: was able to open a class B file when locked.\n",
663 printf("%s, line %d: failed to create a new directory when locked, errno = %s.\n",
673 printf("%s, line %d: failed to open an unclassed directory when locked, errno = %s.\n",
680 printf("%s, line %d: newly created directory had a non-D protection class.\n",
687 printf("%s, line %d: was unable to change a directory from class D to class A during lock.\n",
694 printf("%s, line %d: failed to change a directory from class A to class D during lock, errno = %s.\n",
702 printf("%s, line %d: failed to construct the path for a file in the directory.\n",
719 printf("%s, line %d: failed to get the protection class for the directory, errno = %s.\n",
726 printf("%s, line %d: failed to change the protection class for the directory from %d to %d, errno = %s.\n",
735 printf("%s, line %d: failed to create a file in a class %d directory when unlocked, errno = %s.\n",
744 printf("%s, line %d: failed to get the new file's protection class, errno = %s.\n",
750 printf("%s, line %d: new file did not inherit the directory's protection class.\n",
762 printf("%s, line %d: creation of a class F directory did not fail as expected.\n",
770 printf("%s, line %d: failed to change directory class from F to A when unlocked, errno = %s.\n",
785 printf("%s, line %d: was able to create a new file in a class A directory when locked.\n",
798 printf("%s, line %d: failed to change directory class from A to B when unlocked, errno = %s.\n",
813 printf("%s, line %d: failed to create new file in class B directory when locked, errno = %s.\n",
822 printf("%s, line %d: failed to get protection class for a new file when locked, errno = %s.\n",
828 printf("%s, line %d: new file in class B directory did not inherit protection class.\n",
844 printf("%s, line %d: failed to change directory to class %d, errno = %s.\n",
853 printf("%s, line %d: failed to create subdirectory in class %d directory, errno = %s.\n",
862 printf("%s, line %d: failed to open subdirectory in class %d directory, errno = %s.\n",
871 printf("%s, line %d: failed to get class of new subdirectory of class %d directory, errno = %s.\n",
877 printf("%s, line %d: new subdirectory had different class than class %d parent.\n",
911 printf("WARNING: failed to unlock the device.\n");
916 printf("WARNING: failed to clear the passcode.\n");