/darwin-on-arm/xnu/bsd/conf/ |
H A D | compat_hdrs.awk | 10 printf("#import\t<machine/compat_%s>\n", $3) > ofile 11 printf(hdr, $1, $3, $1, $3) > ofile; 16 printf("#error This file has been removed\n") > ofile; 21 printf(hdr, $1, $NF, $1, $NF) > ofile;
|
H A D | machine.awk | 12 printf(hdr, dir, $1, dir, $1) > ofile;
|
/darwin-on-arm/xnu/tools/ |
H A D | cred_dump_creds.c | 52 printf( "sysctl failed \n" ); 53 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) ); 60 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno ) ); 65 printf( "sysctl 2 failed \n" ); 66 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) ); 78 printf("\n\t dumping credential hash table - total creds %d \n", 81 printf("[%02d] ", i); 91 printf("%p ", credp->credp); 92 printf("%lu ", credp->cr_ref); 93 printf(" [all...] |
H A D | cred_dump_backtraces.c | 48 printf( "sysctl failed \n" ); 49 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) ); 56 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno ) ); 61 printf( "sysctl 2 failed \n" ); 62 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) ); 69 printf("number of traces %d \n", bt_buffp->next_slot); 71 printf("[%d] ", i); 73 printf("%p ", btp->stack[ j ]); 75 printf("\n");
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | WKdmCompress.c | 134 printf("\nIn WKdm_compress\n"); 135 printf("About to actually compress, src_buf is %u\n", src_buf); 136 printf("dictionary is at %u\n", dictionary); 137 printf("dest_buf is %u next_full_patt is %u\n", dest_buf, next_full_patt); 180 printf("AFTER MODELING in WKdm_compress()\n"); fflush(stdout); 181 printf("tempTagsArray holds %u bytes\n", 183 printf("tempQPosArray holds %u bytes\n", 185 printf("tempLowBitsArray holds %u bytes\n", 188 printf("next_full_patt is %p\n", 191 printf(" [all...] |
H A D | WKdmDecompress.c | 145 printf("\nIn DECOMPRESSOR\n"); 146 printf("tempTagsArray is at %p\n", tempTagsArray); 147 printf("tempQPosArray is at %p\n", tempQPosArray); 148 printf("tempLowBitsArray is at %p\n", tempLowBitsArray); 150 printf(" first four words of source buffer are:\n"); 151 printf(" %u\n %u\n %u\n %u\n", 157 printf(" first 20 full patterns are: \n"); 159 printf(" %d", arr[i]); 161 printf("\n"); 173 printf(" firs [all...] |
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | WKdmCompress.c | 134 printf("\nIn WKdm_compress\n"); 135 printf("About to actually compress, src_buf is %u\n", src_buf); 136 printf("dictionary is at %u\n", dictionary); 137 printf("dest_buf is %u next_full_patt is %u\n", dest_buf, next_full_patt); 180 printf("AFTER MODELING in WKdm_compress()\n"); fflush(stdout); 181 printf("tempTagsArray holds %u bytes\n", 183 printf("tempQPosArray holds %u bytes\n", 185 printf("tempLowBitsArray holds %u bytes\n", 188 printf("next_full_patt is %p\n", 191 printf(" [all...] |
H A D | WKdmDecompress.c | 145 printf("\nIn DECOMPRESSOR\n"); 146 printf("tempTagsArray is at %p\n", tempTagsArray); 147 printf("tempQPosArray is at %p\n", tempQPosArray); 148 printf("tempLowBitsArray is at %p\n", tempLowBitsArray); 150 printf(" first four words of source buffer are:\n"); 151 printf(" %u\n %u\n %u\n %u\n", 157 printf(" first 20 full patterns are: \n"); 159 printf(" %d", arr[i]); 161 printf("\n"); 173 printf(" firs [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | tattle.c | 98 (void) printf("%s\n", LIBMICRO_VERSION); 101 (void) printf("%s\n", compiler_version); 104 (void) printf("%s\n", CC); 108 (void) printf("[none]\n"); 110 (void) printf("%s\n", extra_compiler_flags); 114 (void) printf("%d\n", sizeof (long)); 119 (void) printf("%lld nsecs\n", get_nsecs_resolution()); 141 (void) printf("LIBMICRO_HZ=%lld\n", 146 (void) printf("\n");
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | kqueue_tests.c | 101 printf( "kevent call from consumer thread failed with error %d - \"%s\" \n", errno, strerror( errno) ); 105 printf( "kevent call from consumer thread did not return any events when it should have \n" ); 110 printf( "kevent call to get machport event returned 0 msg_size \n" ); 115 printf( "kmsg_recv failed with error %d - %s \n", my_kr, mach_error_string(my_kr) ); 121 printf( "kevent call to re-enable machport events failed with error %d - \"%s\" \n", errno, strerror( errno) ); 134 printf( "\t--> Not supported on EMBEDDED TARGET\n" ); 164 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 180 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 186 printf( "socketpair failed with errno %d - %s \n", errno, strerror( errno ) ); 193 printf( "for [all...] |
H A D | sema_tests.c | 29 printf( "semget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 36 printf( "semget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 43 printf( "semop did not fail with E2BIG - instead %d - \"%s\" \n", errno, strerror( errno) ); 55 printf( "semop failed with error %d - \"%s\" \n", errno, strerror( errno) ); 61 printf( "semctl failed with error %d - \"%s\" \n", errno, strerror( errno) ); 65 printf( "semctl(getval) returned %d. it should be 0 (locked) here \n", my_err ); 75 printf( "semop failed with error %d - \"%s\" \n", errno, strerror( errno) ); 82 printf( "semctl (IPC_RMID) failed with error %d - \"%s\" \n", errno, strerror( errno) ); 98 printf( "\t--> Not supported on EMBEDDED TARGET\n" ); 118 printf( "sem_ope [all...] |
H A D | main.c | 187 printf( "stat call on our executable failed - \"%s\" \n", g_cmd_namep ); 188 printf( " failed with error %d - \"%s\" \n", err, strerror( err) ); 192 printf( "executable file - \"%s\" \n", g_cmd_namep ); 193 printf( "does not have correct owner (must be root) or setuid bit is not set \n" ); 205 printf( "invalid target parameter \n" ); 212 printf( "invalid target path \n" ); 214 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 223 printf( "invalid failures parameter \n" ); 241 printf( "invalid run tests parameter \n" ); 247 printf( "invali 659 #undef printf macro [all...] |
H A D | xattr_tests.c | 35 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 52 printf( "setxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 59 printf( "listxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 64 printf( "listxattr did not get the attribute name length: my_result %d, strlen %zu \n", my_result, (strlen(XATTR_TEST_NAME)+1) ); 72 printf( "getxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 78 printf( "getxattr did not get the correct attribute data \n" ); 85 printf( "removexattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 92 printf( "listxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 99 printf( "getxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 108 printf( "ope [all...] |
H A D | tests.c | 79 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 98 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 99 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp ); 132 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); 141 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 142 printf( "\t path we stated \"%s\" \n", &g_target_path[0] ); 151 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) ); 157 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid ); 166 printf( "wait4 returned an odd looking rusage structure \n" ); 173 printf( "wait [all...] |
H A D | shared_memory_tests.c | 32 printf( "shmget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 39 printf( "shmat failed with error %d - \"%s\" \n", errno, strerror( errno) ); 48 printf( "shmctl failed with error %d - \"%s\" \n", errno, strerror( errno) ); 52 printf( "shmctl failed get correct shared segment size \n" ); 56 printf( "shmctl failed get correct creator pid \n" ); 62 printf( "shmdt failed with error %d - \"%s\" \n", errno, strerror( errno) ); 68 printf("shmctl failed to delete memory segment.\n"); 87 printf( "\t--> Not supported on EMBEDDED TARGET\n" ); 111 printf( "shm_open failed with error %d - \"%s\" \n", my_err, strerror( my_err) ); 116 printf( "shm_ope [all...] |
H A D | socket_tests.c | 42 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 48 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 83 printf( "socket call in parent failed with error %d - \"%s\" \n", errno, strerror( errno) ); 89 printf( "bind call in child failed with error %d - \"%s\" \n", errno, strerror( errno) ); 98 printf( "getsockname call in child failed with error %d - \"%s\" \n", errno, strerror( errno) ); 102 printf( "getsockname test failed - did not get correct socket name data \n" ); 109 printf( "lseek on socket should fail but did not \n" ); 118 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); 132 printf( "socket call in child failed with error %d - \"%s\" \n", errno, strerror( errno) ); 140 printf( "bin [all...] |
H A D | memory_tests.c | 119 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 136 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 148 printf( "minherit failed with error %d - \"%s\" \n", errno, strerror( errno) ); 159 printf( "memtest aborted: can not distinguish our expected crash from \n"); 160 printf( "%d existing crashes including %s \n", my_crashcount, my_namebuf2); 169 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); 181 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 189 printf("madvise WILLNEED on anon memory failed with error %d - \"%s\" \n", errno, strerror( errno ) ); 197 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 205 printf("madvis [all...] |
H A D | misc.c | 25 printf( "%s - path to test file greater than PATH_MAX \n", __FUNCTION__ ); 39 printf( "%s - open failed with errno %d - %s \n", 57 printf( "%s - open failed with errno %d - %s \n", 92 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 115 printf( "rmdir failed with error %d - \"%s\" \n", errno, strerror( errno) ); 126 printf( "unlink failed with error %d - \"%s\" \n", errno, strerror( errno) ); 139 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) ); 176 printf("do_execve_test(path = %s)\n", path); 177 printf("CWD= %s\n", getwd(NULL)); 183 printf( "vfor 385 #undef printf macro [all...] |
H A D | content_protection_test.c | 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("FAILUR [all...] |
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key_debug.c | 72 #define panic(param) { printf(param); exit(-1); } 89 printf("sadb_msg{ version=%u type=%u errno=%u satype=%u\n", 92 printf(" len=%u reserved=%u seq=%u pid=%u\n", 100 printf("sadb_ext{ len=%u type=%u }\n", 104 printf("kdebug_sadb: invalid ext_len=0 was passed.\n"); 108 printf("kdebug_sadb: ext_len exceeds end of buffer.\n"); 159 printf("kdebug_sadb: invalid ext_type %u was passed.\n", 187 printf("sadb_prop{ replay=%u\n", prop->sadb_prop_replay); 190 printf("sadb_comb{ auth=%u encrypt=%u " 195 printf(" auth_minbit [all...] |
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mig_log.c | 76 * At the moment, there is only a printf, which is 106 printf("%d|%d|%d", who, what, msgh_id); 108 printf(" -- sz%d|kpd%d|ret(0x%x)|p%d|o%d|op%d|%s, %d", 110 printf("\n"); 122 printf("%d|%d|%d -- %s %d\n", who, what, *(int *)par, file, line); 124 printf("%d|%d|%s -- %s %d\n", who, what, (char *)par, file, line);
|
/darwin-on-arm/xnu/tools/tests/execperf/ |
H A D | printexecinfo.c | 15 printf("argv = %p\n", argv); 17 printf("argv[%2d] = %p %.100s%s\n", i, argv[i], argv[i], strlen(argv[i]) > 100 ? "..." : ""); 19 printf("envp = %p\n", envp); 21 printf("envp[%2d] = %p %.100s%s\n", i, envp[i], envp[i], strlen(envp[i]) > 100 ? "..." : ""); 23 printf("appl = %p\n", appl); 25 printf("appl[%2d] = %p %.100s%s\n", i, appl[i], appl[i], strlen(appl[i]) > 100 ? "..." : ""); 35 printf("executable load address = 0x%016llx\n", (uint64_t)(uintptr_t)&_mh_execute_header); 41 printf(" stack address = 0x%016llx\n", stackaddr); 58 printf(" dyld load address = 0x%016llx\n", (uint64_t)(uintptr_t)all_image_infos->dyldImageLoadAddress); 59 printf(" share [all...] |
/darwin-on-arm/xnu/osfmk/profiling/ |
H A D | profile-kgmon.c | 113 printf("_profile_kgmon: copy %5ld bytes, from 0x%lx\n", 120 printf("_profile_kgmon: copy %5ld bytes, to 0x%lx\n", 136 printf("_profile_kgmon: start: kgmon control = %2d, cpu = %d, count = %ld\n", 143 printf("KGMON, bad cpu %d\n", cpu); 155 printf("Unknown KGMON read command\n"); 164 printf("KGMON_GET_STATUS: cpu = %d\n", cpu); 173 printf("KGMON_GET_STATUS: count = %ld, should be %ld\n", 188 printf("KGMON_GET_DEBUG: cpu = %d\n", cpu); 197 printf("KGMON_GET_DEBUG: count = %ld, should be %ld\n", 212 printf("KGMON_GET_PROFILE_VAR [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | page_decrypt.c | 41 printf("DSMOS has arrived\n"); 43 printf("DSMOS has arive, thank netkas :) :)\n"); 57 printf("Waiting for DSMOS...\n");
|
/darwin-on-arm/xnu/osfmk/console/panic_ui/ |
H A D | setupdialog.c | 18 printf("\nusage: setupdialog -i <image file> -oi <image output> -n <numbers file> -on <numbers output>\n"); 20 printf("\nYou can supply a panic image file, a numbers file, or both. Input files\n"); 21 printf("must be in RAW format where each pixel is represented by an index into the\n"); 22 printf("MacOS X system CLUT. The first %d bytes must be the width, height, and depth\n", 3 * sizeof(short)); 23 printf("(in that order, %d bytes each).\n", sizeof(short)); 25 printf("\nThe output files are generated C structures in the format the panic ui code\n"); 26 printf("expects (default output files are panic_image.c and rendered_numbers.c).\n\n"); 76 printf("\nNo numbers file to process\n"); 80 printf("bad nums infile.. bailing.\n"); 88 printf("\nN [all...] |