| /xnu-11215/tools/lldbmacros/lint/ |
| H A D | syntax_checker.py | 27 for fname in sys.argv[1:]: 28 if not os.path.exists(fname): 29 print("Error: Cannot recognize %s as a file" % fname, file=sys.stderr) 31 if fname.split('.')[-1] != 'py': 32 print("Note: %s is not a valid python file. Skipping." % fname) 34 fh = open(fname) 41 print("Error: Found a TAB character at %s:%d" % (fname, lineno), file=sys.stderr) 44 print("Error: Found a non ascii character at %s:%d" % (fname, lineno), file=sys.stderr) 51 with open(fname, 'r') as file: 53 compile_result = compile(source, fname, 'exec') [all …]
|
| /xnu-11215/osfmk/tests/ |
| H A D | ktest_emit.c | 70 const char *fname = strnstr((char *)(uintptr_t)ktest_current_file, "xnu", 100); in ktest_emit_testbegin() local 83 fname, in ktest_emit_testbegin() 98 const char *fname = strnstr((char *)(uintptr_t)ktest_current_file, "xnu", 100); in ktest_emit_testskip() local 108 fname, in ktest_emit_testskip() 128 const char *fname = strnstr((char *)(uintptr_t)ktest_current_file, "xnu", 100); in ktest_emit_testend() local 141 fname, in ktest_emit_testend() 156 const char *fname = strnstr((char *)(uintptr_t)ktest_current_file, "xnu", 100); in ktest_emit_log() local 166 fname, in ktest_emit_log() 188 const char *fname = strnstr((char *)(uintptr_t)ktest_current_file, "xnu", 100); in ktest_emit_perfdata() local 197 fname, in ktest_emit_perfdata() [all …]
|
| /xnu-11215/SETUP/config/ |
| H A D | searchp.c | 71 char *fname; in searchp() local 76 fname = fullname; in searchp() 79 *fname++ = *nextchar++; in searchp() 82 *fname++ = '/'; in searchp() 88 *fname++ = *nextchar++; in searchp() 90 *fname = '\0'; in searchp()
|
| H A D | mkmakefile.c | 294 char fname[1024]; in read_files() local 299 (void) sprintf(fname, "%s/files", config_directory); in read_files() 301 fp = fopenp(VPATH, fname, pname, "r"); in read_files() 303 perror(fname); in read_files() 340 fname, this); in read_files() 384 printf("%s: cannot combine bound-checks options\n", fname); in read_files() 392 printf("%s: cannot combine bound-checks options\n", fname); in read_files() 400 printf("%s: cannot combine bound-checks options\n", fname); in read_files() 408 printf("%s: cannot combine bound-checks options\n", fname); in read_files() 510 fname, this); in read_files() [all …]
|
| /xnu-11215/libsyscall/wrappers/spawn/ |
| H A D | posix_spawn_filtering.c | 47 extern int __execve(const char *fname, char * const *argp, char * const *envp); 112 evaluate_rules(const char *rules_file_path, const char *fname, char **envs, in evaluate_rules() argument 139 const char *fname_basename = fname; in evaluate_rules() 187 if (strncmp(fname, path_start, strlen(path_start)) == 0) { in evaluate_rules() 244 _posix_spawn_with_filter(pid_t *pid, const char *fname, char * const *argp, in _posix_spawn_with_filter() argument 290 bool should_apply_rules = evaluate_rules(rules_file_path, fname, in _posix_spawn_with_filter() 365 *ret = __posix_spawn(pid, fname, &new_ad, argp, new_envp); in _posix_spawn_with_filter() 371 _execve_with_filter(const char *fname, char * const *argp, char * const *envp) in _execve_with_filter() argument 390 if (_posix_spawn_with_filter(NULL, fname, argp, envp, &ad, &ret)) { in _execve_with_filter() 399 ret = __execve(fname, argp, envp); in _execve_with_filter()
|
| H A D | posix_spawn.c | 51 extern int __execve(const char *fname, char * const *argp, char * const *envp); 65 bool (*posix_spawn_with_filter)(pid_t *pid, const char *fname, 70 int (*execve_with_filter)(const char *fname, char * const *argp, 3049 execve(const char *fname, char * const *argp, char * const *envp) in execve() argument 3054 return execve_with_filter(fname, argp, envp); in execve() 3057 ret = __execve(fname, argp, envp); in execve()
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | _libkernel_init.c | 63 extern bool (*posix_spawn_with_filter)(pid_t *pid, const char *fname, char * const *argp, 65 extern bool _posix_spawn_with_filter(pid_t *pid, const char *fname, char * const *argp, 67 extern int (*execve_with_filter)(char *fname, char **argp, char **envp); 68 extern int _execve_with_filter(char *fname, char **argp, char **envp);
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | kdp.py | 221 fname = "(autogenerated)" 223 fname = str(dumpinfo.name) 224 print("Filename: " + fname)
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | lldbwrap.py | 183 for fname, value in inspect.getmembers(basecls): 184 if fname in DO_NOT_WRAP: 187 elif any(fname.startswith(pfx) for pfx in DO_NOT_WRAP_PREFIX): 191 attr.setdefault(fname, _make_upcast_wrapper(value)) 192 attr.setdefault('chk' + fname, _make_checked_upcast_wrapper(value)) 193 attr.setdefault('raw' + fname, value) 196 attr[fname] = property(_make_upcast_wrapper(value.fget), value.fset, doc=value.__doc__) 547 fname = field.GetName() 549 if fname == name: 552 if fname is None:
|
| H A D | standard.py | 333 self.fname=None 418 if self.fhandle != None and self.fname != None: 443 self.fname=os.path.normpath(os.path.expanduser(a.strip())) 444 self.fhandle=open(self.fname,"w")
|
| /xnu-11215/osfmk/corecrypto/ |
| H A D | fipspost_trace.h | 47 void fipspost_trace_call(const char *fname);
|
| /xnu-11215/EXTERNAL_HEADERS/corecrypto/ |
| H A D | fipspost_trace.h | 23 void fipspost_trace_call(const char *fname);
|
| /xnu-11215/security/ |
| H A D | mac.h | 152 int __mac_execve(char *fname, char **argv, char **envv, mac_t _label);
|
| /xnu-11215/libkern/os/ |
| H A D | log.c | 1183 #define GENOSLOGHELPER(fname, ident, callout_f) \ argument 1185 fname(uint32_t uniqid, uint64_t count, log_stats_t *before, log_stats_t *after) \
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | RootDomain.h | 942 uint32_t checkForValidDebugData(const char *fname, vfs_context_t *ctx,
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_exec.c | 5194 muap.fname = uap->fname; in execve() 5263 imgp->ip_user_fname = uap->fname; in __mac_execve() 7155 init_exec_args.fname = argv0; in load_init_program_at_path()
|
| /xnu-11215/bsd/nfs/ |
| H A D | nfs_syscalls.c | 305 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen); in getfh()
|