Searched refs:printf (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/bsd/conf/
H A Dcompat_hdrs.awk10 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 Dmachine.awk12 printf(hdr, dir, $1, dir, $1) > ofile;
/macosx-10.5.8/xnu-1228.15.4/tools/
H A Dcred_dump_creds.c52 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 Dcred_dump_backtraces.c48 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");
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dtestjump.c43 printf(" ");
44 printf("in recursed(0x%x,%d,%d)\n",bufp,retval,depth);
48 printf("LONGJUMPING from depth %d to buffer at 0x%x!\n",retval, bufp);
51 printf("SHOULDN'T GET HERE\n");
64 printf("calling setjmp\n");
69 if ((i % 8) == 0) printf("\n%2d :",i);
70 printf(" %8x",buf.jmp_buf[i]);
73 printf("\nsetjmp returned %d, structure at 0x%x\n",val,&buf);
78 printf("returning from setjmp/longjmp test\n");
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DWKdmCompress.c134 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 %u\n",
191 printf("
[all...]
H A DWKdmDecompress.c145 printf("\nIn DECOMPRESSOR\n");
146 printf("tempTagsArray is at %u\n", (unsigned long int) tempTagsArray);
147 printf("tempQPosArray is at %u\n", (unsigned long int) tempQPosArray);
148 printf("tempLowBitsArray is at %u\n", (unsigned long int) 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...]
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dxattr_tests.c32 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
48 printf( "setxattr failed with error %d - \"%s\" \n", errno, strerror( errno) );
55 printf( "listxattr failed with error %d - \"%s\" \n", errno, strerror( errno) );
59 printf( "listxattr did not get the attribute name length \n" );
66 printf( "getxattr failed with error %d - \"%s\" \n", errno, strerror( errno) );
71 printf( "getxattr did not get the correct attribute data \n" );
78 printf( "removexattr failed with error %d - \"%s\" \n", errno, strerror( errno) );
85 printf( "listxattr failed with error %d - \"%s\" \n", errno, strerror( errno) );
89 printf( "removexattr did not remove our test attribute \n" );
96 printf( "ope
[all...]
H A Dmemory_tests.c33 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
49 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
60 printf( "minherit failed with error %d - \"%s\" \n", errno, strerror( errno) );
69 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
81 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
89 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
96 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
104 printf( "mmap call failed with error %d - \"%s\" \n", errno, strerror( errno) );
111 printf( "did not map in correct data \n" );
119 printf( "madvis
[all...]
H A Dshared_memory_tests.c32 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) );
79 printf( "\t--> Not supported on EMBEDDED TARGET\n" );
103 printf( "shm_open failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
108 printf( "shm_open failed to open a shared memory object with name \"%s\" \n", &my_name[0] );
115 printf( "ftruncat
[all...]
H A Dmain.c157 printf( "stat call on our executable failed - \"%s\" \n", g_cmd_namep );
158 printf( " failed with error %d - \"%s\" \n", err, strerror( err) );
162 printf( "executable file - \"%s\" \n", g_cmd_namep );
163 printf( "does not have correct owner (must be root) or setuid bit is not set \n" );
175 printf( "invalid target parameter \n" );
182 printf( "invalid target path \n" );
184 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
193 printf( "invalid failures parameter \n" );
211 printf( "invalid run tests parameter \n" );
217 printf( "invali
[all...]
H A Dsema_tests.c28 printf( "semget failed with error %d - \"%s\" \n", errno, strerror( errno) );
42 printf( "semget failed with error %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_open failed with error %d - \"%s\" \n", errno, strerror( errno) );
127 printf( "sem_trywai
[all...]
H A Dtests.c75 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
94 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
95 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
128 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
137 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
138 printf( "\t path we stated \"%s\" \n", &g_target_path[0] );
147 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
153 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
162 printf( "wait4 returned an odd looking rusage structure \n" );
169 printf( "wait
[all...]
H A Dsocket_tests.c40 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
45 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
80 printf( "socket call in parent failed with error %d - \"%s\" \n", errno, strerror( errno) );
86 printf( "bind call in child failed with error %d - \"%s\" \n", errno, strerror( errno) );
95 printf( "getsockname call in child failed with error %d - \"%s\" \n", errno, strerror( errno) );
99 printf( "getsockname test failed - did not get correct socket name data \n" );
106 printf( "lseek on socket should fail but did not \n" );
115 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
129 printf( "socket call in child failed with error %d - \"%s\" \n", errno, strerror( errno) );
137 printf( "bin
[all...]
H A Dmisc.c24 printf( "%s - path to test file greater than PATH_MAX \n", __FUNCTION__ );
38 printf( "%s - open failed with errno %d - %s \n",
56 printf( "%s - open failed with errno %d - %s \n",
90 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
112 printf( "rmdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
123 printf( "unlink failed with error %d - \"%s\" \n", errno, strerror( errno) );
136 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
172 printf("do_execve_test(path = %s)\n", path);
173 printf("CWD= %s\n", getwd(NULL));
179 printf( "vfor
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkey_debug.c72 #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");
153 printf("kdebug_sadb: invalid ext_type %u was passed.\n",
181 printf("sadb_prop{ replay=%u\n", prop->sadb_prop_replay);
184 printf("sadb_comb{ auth=%u encrypt=%u "
189 printf(" auth_minbit
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dmig_log.c76 * 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);
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/
H A Dprofile-kgmon.c113 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...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/libsa/
H A Dstdio.h69 extern int printf(const char *, ...);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2_compat.c132 printf("IP_FW_F_ACCEPT_COMPAT\n");
135 printf("IP_FW_F_COUNT_COMPAT\n");
138 printf("IP_FW_F_PIPE_COMPAT\n");
141 printf("IP_FW_F_QUEUE_COMPAT\n");
144 printf("IP_FW_F_SKIPTO_COMPAT\n");
147 printf("IP_FW_F_DIVERT_COMPAT\n");
150 printf("IP_FW_F_TEE_COMPAT\n");
153 printf("IP_FW_F_FWD_COMPAT\n");
156 printf("IP_FW_F_DENY_COMPAT\n");
159 printf("IP_FW_F_REJECT_COMPA
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/
H A Dpanic.c77 printf("panic: ");
81 printf("\n");
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dsetupdialog.c18 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...]
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/
H A Dtags.c19 printf(x); \
25 printf(x); \
55 printf("thread_policy_set(1) returned %d\n", ret);
72 printf("thread_policy_set(1) returned %d\n", ret);
94 printf("Must be run as root\n");
127 printf(" %d: thread 0x%08x tag %d\n",
132 printf("Enter new tag or <return> to skip or ^D to quit\n");
135 printf(" %d: thread 0x%08x tag %d: ",
140 printf("\n");
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/nullfs/
H A Dnull_subr.c104 printf("nullfs_init\n"); /* printed during system boot */
135 printf ("null_node_find: vget failed.\n");
223 printf("null_node_create: create new alias vnode\n");
270 printf ("null_checkvp: on non-null-node\n");
278 printf("vp = %x, ZERO ptr\n", vp);
280 printf(" %x", p[i]);
281 printf("\n");
288 printf("vp = %x, unref'ed lowervp\n", vp);
290 printf(" %x", p[i]);
291 printf("\
[all...]
/macosx-10.5.8/xnu-1228.15.4/tools/lockstat/
H A Dlockstat.c112 printf("count = %d\n", count);
114 printf("%s\n",lockgroup_info[i].lockgroup_name);
304 printf(" Spinlock acquires misses Name\n");
313 printf("%16lld ", curptr->lock_spin_util_cnt);
314 printf("%16lld ", curptr->lock_spin_miss_cnt);
315 printf("%-14s\n", curptr->lockgroup_name);
326 printf("\n");
333 printf("Mutex lock attempts Misses Waits Direct Waits Name\n");
335 printf(" mutex locks misses waits name\n");
345 printf("
[all...]

Completed in 76 milliseconds

1234567891011>>