/darwin-on-arm/xnu/SETUP/config/ |
H A D | searchp.c | 7 * Reserved. This file contains Original Code and/or Modifications of 9 * Source License Version 1.0 (the 'License'). You may not use this file 12 * this file. 24 /* searchp -- search through pathlist for file 26 * Usage: p = searchp (path,file,fullname,func); 27 * char *p, *path, *file, *fullname; 31 * by colons, prepending each pathname to "file". The resulting 39 * If "file" begins with a slash, it is assumed to be an 68 searchp(const char *spath, char *file, char *fullname, int (*func)(char *)) argument 74 nextpath = ((*file [all...] |
H A D | openp.c | 7 * Reserved. This file contains Original Code and/or Modifications of 9 * Source License Version 1.0 (the 'License'). You may not use this file 12 * this file. 24 /* openp, fopenp -- search pathlist and open file 27 * i = openp (path,file,complete,flags,mode) 28 * f = fopenp (path,file,complete,type) 31 * char *path,*file,*complete,*type; 33 * Openp searches for "file" in the pathlist "path"; 34 * when the file is found and can be opened by open() 36 * is copied into "complete" and openp returns the file 79 openp(const char *fpath, char *file, char *complete, int flags, int mode) argument 88 fopenp(const char *fpath, char *file, char *complete, const char *ftype) argument [all...] |
H A D | mkheaders.c | 7 * Reserved. This file contains Original Code and/or Modifications of 9 * Source License Version 1.0 (the 'License'). You may not use this file 12 * this file. 128 * file (e.g. "sd" and "sc"). 131 * in the hname .h file. 143 * Scan the file list to see if name is needed to bring in a file. 160 char *file, *name; local 168 file = toheader(hname); 170 inf = fopen(file, " [all...] |
H A D | main.c | 7 * Reserved. This file contains Original Code and/or Modifications of 9 * Source License Version 1.0 (the 'License'). You may not use this file 12 * this file. 224 * returns EOF on end of file 260 * returns EOF on end of file 287 path(const char *file) argument 292 strlen(file)+ 295 (void) sprintf(cp, "%s/%s/%s", object_directory, build_directory, file);
|
/darwin-on-arm/xnu/tools/tests/kqueue_tests/ |
H A D | Makefile | 1 all: file timer 3 file:
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mig_log.c | 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. 103 char *file, 109 size, kpd, retcode, ports, oolports, ool, file, line); 118 char *file, 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); 93 MigEventTracer( mig_who_t who, mig_which_event_t what, mach_msg_id_t msgh_id, unsigned int size, unsigned int kpd, unsigned int retcode, unsigned int ports, unsigned int oolports, unsigned int ool, char *file, unsigned int line) argument 114 MigEventErrors( mig_who_t who, mig_which_error_t what, void *par, char *file, unsigned int line) argument
|
/darwin-on-arm/xnu/bsd/dev/random/YarrowCoreLib/src/ |
H A D | assertverify.h | 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. 35 Purpose: Common header file containing handy macros and definitions used 39 /* These header functions were copied from the cmnhdr.h file that accompanies 47 #define chASSERTFAIL(file,line,expr) 56 #define chASSERTFAIL(file,line,expr) { \ 58 wsprintf(sz, __TEXT("File %hs, line %d : %hs"), file, line, expr); \
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | mach_swapon.h | 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. 38 #warning obsolete header file! Please delete the include from your sources. 41 #define MS_PREFER 0x1 /* This device/file is preferred */
|
H A D | kernel_types.h | 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. 51 struct file; 52 typedef struct file * file_t; 104 typedef struct file * file_t;
|
H A D | filedesc.h | 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. 91 struct fileproc **fd_ofiles; /* file structures for open files */ 92 char *fd_ofileflags; /* per-process open file flags */ 97 int fd_freefile; /* approx. next free file */ 98 u_short fd_cmask; /* mask for file creation */ 130 * Storage required per open file descriptor. 132 #define OFILESIZE (sizeof(struct file *) + sizeof(char)) 148 extern void ffree(struct file *f [all...] |
H A D | make_posix_availability.sh | 7 # This file contains Original Code and/or Modifications of Original Code 9 # Version 2.0 (the 'License'). You may not use this file except in 12 # file. 44 * This file contains Original Code and/or Modifications of Original Code 46 * Version 2.0 (the 'License'). You may not use this file except in 54 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | reproto.sh | 16 " * The contents of this file constitute Original Code as defined in and\n" . 18 " * \"License\"). You may not use this file except in compliance with the\n" . 20 " * http://www.apple.com/publicsource and read it before using this file.\n" . 40 while (\$file = <*.c>) { 41 if(open(F, \$file) == 0) { 42 warn "Cannot open \$file.\n";
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | gzio.c | 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. 32 * Compile this file with -DNO_GZCOMPRESS to avoid the compression code. 76 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ 79 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */ 80 #define COMMENT 0x10 /* bit 4 set: file comment present */ 86 int z_eof; /* set if end of input file */ 87 FILE *file; /* .gz file */ member in struct:gz_stream 630 gzprintf(gzFile file, const char *format, ...) argument [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | file_lock.c | 4 * The contents of this file are subject to the terms 6 * (the "License"). You may not use this file except 16 * HEADER in each file and include the License file at 32 * test file locking 44 static int file; variable 55 return (fcntl(file, F_SETLKW, &fl) == -1); 67 return (fcntl(file, F_SETLK, &fl) == -1); 77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600); 79 if (file [all...] |
H A D | cascade_fcntl.c | 4 * The contents of this file are subject to the terms 6 * (the "License"). You may not use this file except 16 * HEADER in each file and include the License file at 70 static int file; variable 83 " [-d directory for temp file (default %s)]\n" 114 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600); 115 if (file == -1) { 123 if (ftruncate(file, nlocks * 3) == -1) { 139 return (fcntl(file, F_SETLK [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | assert.h | 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. 74 const char *file, 79 #define Assert(file, line, ex) (Assert)("", line, "")
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mig_log.h | 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. 68 char *file, 81 char *file,
|
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | zlib.h | 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. 78 enough (for example if an input file is mmap'ed), or can be done by 96 file compression on file systems, has a larger header than zlib to maintain 139 int xflags; /* extra flags (not used when writing a gzip file) */ 144 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */ 150 when writing a gzip file) */ 244 not compatible with the zlib.h header file use [all...] |
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_core.h | 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. 46 #define KDP_EOF 7 /* signal end of file */ 71 #define ENOTFOUND 1 /* file not found */ 76 #define EEXISTS 6 /* file already exists */ 79 #define CORE_REMOTE_PORT 1069 /* hardwired, we can't really query the services file */ 83 void kdp_set_dump_info(const uint32_t flags, const char *file, const char *destip, 85 void kdp_get_dump_info(uint32_t *flags, char *file, char *destip, char *routerip,
|
/darwin-on-arm/xnu/SETUP/md/ |
H A D | md.c | 12 * option. There is one line in the file for every #include * 16 * list. It also sorts the file names and "fills" them to a 78 * 19 * information, so the .d file can be thrown away (-- -d option) * 21 * information in the makefile is sorted by .o file name and it * 30 * -d delete the .d file after it is processed * 32 * even though the makefile is more recent than the .n file * 36 * -u like -m above, but the file will be created if necessary * 37 * -o specify an output file for the dependencies other than a * 43 * c show file contents * 55 * If specified -u file doe 595 scan_mak(FILE *makin, FILE *makout, char *file) argument [all...] |
/darwin-on-arm/xnu/tools/ |
H A D | symbolify.py | 20 def nm(file): 21 cmd = "nm %s" % file 26 def __init__(self, file, min_width=16): 28 self.symbols = [parse_nm_output(l) for l in nm(file)] 36 last = (0, ' ', '<start of file>') 79 print "using kernel file '%s'" % KERNEL_FILE
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_util.c | 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. 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, 267 validate_and_swap_macho_32(u_char *file, u_long size argument 274 struct mach_header *mach_hdr = (struct mach_header *) ((void *) file); 290 check(file); 293 /* Verify that the file is big enough for the mach header */ 314 * (which is the only file o 438 validate_and_swap_macho_64(u_char *file, u_long size , enum NXByteOrder host_order ) argument 607 unswap_macho(u_char *file, enum NXByteOrder host_order, enum NXByteOrder target_order) argument 624 unswap_macho_32(u_char *file, enum NXByteOrder host_order, enum NXByteOrder target_order) argument 680 unswap_macho_64(u_char *file, enum NXByteOrder host_order, enum NXByteOrder target_order) argument [all...] |
/darwin-on-arm/xnu/config/ |
H A D | newvers.pl | 4 # build time. Each argument provided on the command line is the path to a file 5 # that needs to be updated with the current verison information. The file 7 # Each file is read, and all occurrences of the following strings are replaced 35 die "newvers: Can't read file \"$fileName\"\n"; 41 open (OUT, ">$fileName") or die "newvers: Can't write file \"$fileName\"\n"; 115 my $file; 116 foreach $file (@ARGV) { 117 print "newvers.pl: Stamping version \"$VERSION_LONG\" into \"$file\" ..."; 118 my $data = &ReadFile($file); 132 &WriteFile($file, [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lm_null_call.c | 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. 74 char* file; member in struct:__anon1355
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeNodeReserve.c | 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. 58 struct vnode *nr_btvp; /* b-tree file vnode */ 116 BTReserveSpace(FCB *file, int operations, void* data) argument 125 btree = (BTreeControlBlockPtr)file->fcbBTCBPtr; 126 clumpsize = file->ff_clumpsize; 158 /* Try and reserve the last 5% of the disk space for file blocks. */ 180 file->ff_clumpsize = freeblks * hfsmp->blockSize; 199 if (file 213 BTReleaseReserve(FCB *file, void* data) argument [all...] |