| /xnu-8019.80.24/tools/tests/personas/ |
| H A D | persona_test_run_src.sh | 161 local file="${TMPDIR}/plookup" 163 ${PERSONA_MGR} lookup ${largs} > "${file}" 166 _ID=$(cat "${file}" | grep "+id: " | head -1 | sed 's/.*+id:[ ]*\([0-9][0-9]*\).*/\1/') 169 local type=$(cat "${file}" | grep "+type: " | head -1 | sed 's/.*+type:[ ]*\([0-9][0-9]*\).*/\1/') 186 _LOGIN=$(cat "${file}" | grep "+login: " | head -1 | sed 's/.*+login:[ ]*"\([^"]*\)".*/\1/') 194 _GID=$(cat "${file}" | grep "+gid: " | head -1 | sed 's/.*+gid:[ ]*\([0-9][0-9]*\).*/\1/') 197 …_NGROUPS=$(cat "${file}" | grep "ngroups: " | head -1 | sed 's/.*ngroups:[ ]*\([0-9][0-9]*\)[ ][ ]… 200 …_GROUPS=( $(cat "${file}" | grep "ngroups: " | head -1 | sed 's/.*ngroups:[ ]*[0-9][0-9]*[ ][ ]*{[… 218 local file=$1 230 local cpid="$(cat "$file" | grep "Child: PID:" | sed 's/.*Child: PID:\([0-9][0-9]*\).*/\1/')" [all …]
|
| /xnu-8019.80.24/SETUP/config/ |
| H A D | mkheaders.c | 110 char *file, *name; in do_header() local 118 file = toheader(hname); in do_header() 120 inf = fopen(file, "r"); in do_header() 123 (void) unlink(file); in do_header() 124 outf = fopen(file, "w"); in do_header() 126 perror(file); in do_header() 131 file = path("meta_features.h"); in do_header() 132 outf = fopen(file, "a"); in do_header() 134 perror(file); in do_header() 186 unlink(file); in do_header() [all …]
|
| H A D | openp.c | 58 int openp(const char *fpath, char *file, char *complete, int flags, int mode); 79 openp(const char *fpath, char *file, char *complete, int flags, int mode) in openp() argument 83 if (searchp(fpath, file, complete, func) < 0) { in openp() 90 fopenp(const char *fpath, char *file, char *complete, const char *ftype) in fopenp() argument 93 if (searchp(fpath, file, complete, ffunc) < 0) { in fopenp()
|
| H A D | searchp.c | 68 searchp(const char *spath, char *file, char *fullname, int (*func)(char *)) in searchp() argument 74 nextpath = ((*file == '/') ? "" : spath); in searchp() 81 if (nextchar != nextpath && *file) { in searchp() 86 nextchar = file; /* append file */ in searchp()
|
| H A D | config.h | 117 FILE *fopenp(const char *fpath, char *file, char *complete, const char *ftype); 137 char *path(const char *file); 174 int searchp(const char *spath, char *file, char *fullname, int (*func)(char *));
|
| H A D | main.c | 217 path(const char *file) in path() argument 222 strlen(file) + in path() 225 (void) sprintf(cp, "%s/%s/%s", object_directory, build_directory, file); in path()
|
| /xnu-8019.80.24/libkern/kxld/ |
| H A D | kxld_util.c | 51 static void unswap_macho_32(u_char *file, enum NXByteOrder host_order, 53 static void unswap_macho_64(u_char *file, enum NXByteOrder host_order, 301 validate_and_swap_macho_32(u_char *file, u_long size in validate_and_swap_macho_32() argument 308 struct mach_header *mach_hdr = (struct mach_header *) ((void *) file); in validate_and_swap_macho_32() 324 check(file); in validate_and_swap_macho_32() 361 load_hdr = (struct load_command *) ((void *) (file + offset)); in validate_and_swap_macho_32() 423 relocs = (struct relocation_info *) ((void *) (file + sects[j].reloff)); in validate_and_swap_macho_32() 455 symtab = (struct nlist *) ((void *) (file + symtab_hdr->symoff)); in validate_and_swap_macho_32() 482 validate_and_swap_macho_64(u_char *file, u_long size in validate_and_swap_macho_64() argument 489 struct mach_header_64 *mach_hdr = (struct mach_header_64 *) ((void *) file); in validate_and_swap_macho_64() [all …]
|
| H A D | kxld.c | 109 u_char *file, u_long size, const char *name); 113 static kern_return_t init_kext_objects(KXLDContext *context, u_char *file, 365 u_char * file, in kxld_link_file() argument 391 require_action(file, finish, rval = KERN_INVALID_ARGUMENT); in kxld_link_file() 402 rval = init_kext_objects(context, file, size, name, in kxld_link_file() 482 u_char *file, in init_kext_objects() argument 545 kext_object = get_object_for_file(context, file, size, name); in init_kext_objects() 564 get_object_for_file(KXLDContext *context, u_char *file, u_long size, in get_object_for_file() argument 576 result = kxld_object_init_from_macho(object, file, size, name, in get_object_for_file() 584 if (kxld_object_get_file(object) == file) { in get_object_for_file()
|
| /xnu-8019.80.24/libkern/libkern/ |
| H A D | zlib.h | 1143 ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy)); 1151 ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); 1159 ZEXTERN int ZEXPORT gzwrite OF((gzFile file, 1167 ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); 1180 ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s)); 1187 ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); 1196 ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c)); 1202 ZEXTERN int ZEXPORT gzgetc OF((gzFile file)); 1208 ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file)); 1218 ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush)); [all …]
|
| /xnu-8019.80.24/osfmk/ipc/ |
| H A D | mig_log.c | 103 char *file, in MigEventTracer() argument 109 size, kpd, retcode, ports, oolports, ool, file, line); in MigEventTracer() 119 char *file, in MigEventErrors() argument 123 printf("%d|%d|%d -- %s %d\n", who, what, *(int *)par, file, line); in MigEventErrors() 125 printf("%d|%d|%s -- %s %d\n", who, what, (char *)par, file, line); in MigEventErrors()
|
| /xnu-8019.80.24/EXTERNAL_HEADERS/corecrypto/ |
| H A D | cc_macros.h | 31 CC_UNUSED static char *cc_strstr(const char *file) { in cc_strstr() argument 33 (void) file; in cc_strstr() 36 char *p=strstr(file, cc_char); in cc_strstr() 42 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument 43 {char *___t = cc_strstr(file); cc_printf( "require: %s, %s%s:%d\n", assertion, (message!=0) ? messa…
|
| /xnu-8019.80.24/tests/ |
| H A D | poll.c | 55 int file, dir, pipes[2]; variable 62 file = open(LAUNCHD_PATH, O_RDONLY | O_NONBLOCK); 63 T_QUIET; T_ASSERT_POSIX_SUCCESS(file, "open(%s)", LAUNCHD_PATH); 75 pfd[0].fd = file; pfd[0].revents = 0; 85 pfd[1].fd = file; pfd[1].revents = 0; 93 pfd[0].fd = file; pfd[0].revents = 0; 102 pfd[0].fd = file; pfd[0].revents = 0;
|
| /xnu-8019.80.24/ |
| H A D | README.md | 140 2. Copy exiting boot configurations to alternate file 173 How to install a new header file from XNU 192 The directory containing the header file should have a Makefile that 194 If you are adding the first header file in a directory, you will need to 197 Add your header file to the correct file list depending on where you want 199 from each file list are - 201 a. `DATAFILES` : To make header file available in user level - 205 b. `DRIVERKIT_DATAFILES` : To make header file available to DriverKit userspace drivers - 208 c. `PRIVATE_DATAFILES` : To make header file available to Apple internal in 212 d. `EMBEDDED_PRIVATE_DATAFILES` : To make header file available in user [all …]
|
| /xnu-8019.80.24/config/ |
| H A D | newvers.pl | 159 my $file; 160 foreach $file (@ARGV) { 161 print "newvers.pl: Stamping version \"$VERSION_LONG\" into \"$file\" ..."; 162 my $data = &ReadFile($file); 177 &WriteFile($file, $data);
|
| /xnu-8019.80.24/tools/ |
| H A D | symbolify.py | 22 def nm(file): argument 23 cmd = "nm %s" % file 28 def __init__(self, file, min_width=16): argument 30 self.symbols = [parse_nm_output(l) for l in nm(file)]
|
| /xnu-8019.80.24/osfmk/mach/ |
| H A D | mach_notify.defs | 6 * This file contains Original Code and/or Modifications of Original Code 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 29 * The mach/notify.h file is hand-crafted. 32 * routines to send Mach notifications. This file exists simply to give
|
| H A D | clock_reply.defs | 6 * This file contains Original Code and/or Modifications of Original Code 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 34 * file defines the clock reply interface.
|
| H A D | clock_priv.defs | 6 * This file contains Original Code and/or Modifications of Original Code 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 34 * file defines the clock request interface.
|
| H A D | clock.defs | 6 * This file contains Original Code and/or Modifications of Original Code 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 34 * file defines the clock request interface.
|
| /xnu-8019.80.24/libsyscall/mach/ |
| H A D | mach_eventlink.defs | 6 * This file contains Original Code and/or Modifications of Original Code 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 33 * kernel, putting a copy of the file instead to avoid the build failure due to 35 * on defs file with #inlude <mach/mach_eventlink.defs>.
|
| /xnu-8019.80.24/libsa/conf/ |
| H A D | Makefile.arm | 6 $(foreach file,$(OBJS),$(eval $(file)_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)))
|
| H A D | Makefile.arm64 | 7 $(foreach file,$(OBJS),$(eval $(file)_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)))
|
| H A D | Makefile.x86_64 | 7 $(foreach file,$(OBJS),$(eval $(file)_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)))
|
| /xnu-8019.80.24/tools/tests/perf_index/PerfIndex_COPS_Module/ |
| H A D | Prefix.pch | 4 // The contents of this file are implicitly included at the beginning of every source file.
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | kernel_types.h | 50 struct file; 51 typedef struct file * file_t; 108 typedef struct file * file_t;
|