Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 44) sorted by relevance

12

/xnu-8020.101.4/tools/tests/personas/
H A Dpersona_test_run_src.sh56 local line=$2
57 if [ -z "$line" ]; then
58 line=${BASH_LINENO[0]}
60 echo "[$line] ERROR: $msg" 1>&2
61 exit $((1 + $line % 254))
72 local line=$2
73 if [ -z "$line" ]; then
74 line=${BASH_LINENO[0]}
78 bail "e=$err: $msg" $line
93 local line=$2
[all …]
/xnu-8020.101.4/SETUP/config/
H A Dmkmakefile.c176 char line[BUFSIZ]; in makefile() local
180 (void) sprintf(line, "%s/Makefile.template", config_directory); in makefile()
181 ifp = fopenp(VPATH, line, pname, "r"); in makefile()
183 perror(line); in makefile()
217 while (fgets(line, BUFSIZ, ifp) != 0) { in makefile()
218 if (*line == '%') { in makefile()
221 if (profiling && strncmp(line, "COPTS=", 6) == 0) { in makefile()
225 cp = index(line, '\n'); in makefile()
229 cp = line + 6; in makefile()
239 fprintf(ofp, "%s -pg\n", line); in makefile()
[all …]
H A Dmain.c152 static char line[80]; in get_word() local
170 cp = line; in get_word()
183 return line; in get_word()
195 static char line[80]; in get_rest() local
199 cp = line; in get_rest()
210 return line; in get_rest()
/xnu-8020.101.4/libsyscall/wrappers/spawn/
H A Dposix_spawn_filtering.c157 char *line = read_buffer; in evaluate_rules() local
162 if (memcmp(line, "binary_name:", strlen("binary_name:")) == 0) { in evaluate_rules()
163 char *binary_name = line + strlen("binary_name:"); in evaluate_rules()
167 } else if (memcmp(line, "path_start:", strlen("path_start:")) == 0) { in evaluate_rules()
168 char *path_start = line + strlen("path_start:"); in evaluate_rules()
172 } else if (memcmp(line, "add_env:", strlen("add_env:")) == 0) { in evaluate_rules()
173 char *add_env = line + strlen("add_env:"); in evaluate_rules()
184 } else if (memcmp(line, "binpref:", strlen("binpref:")) == 0) { in evaluate_rules()
185 char *binpref = line + strlen("binpref:"); in evaluate_rules()
190 } else if (memcmp(line, "alt_rosetta:", strlen("alt_rosetta:")) == 0) { in evaluate_rules()
[all …]
/xnu-8020.101.4/osfmk/ipc/
H A Dmig_log.c104 unsigned int line) in MigEventTracer() argument
109 size, kpd, retcode, ports, oolports, ool, file, line); in MigEventTracer()
120 unsigned int line) 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-8020.101.4/san/tools/
H A Dgenerate_dynamic_blacklist.py17 for line in bl.readlines():
18 line = re_comments.sub("", line).strip() variable
20 if not line:
23 fields = line.split(":")
/xnu-8020.101.4/libkern/kxld/tests/
H A Dloadtest.py37 line = pipe.readline() variable
38 while line:
39 kexts.append(line.strip())
40 line = pipe.readline() variable
/xnu-8020.101.4/libkern/c++/
H A DOSUnserialize.cpp145 #line 60 "OSUnserialize.y"
260 #line 229 "OSUnserialize.tab.c"
1491 #line 168 "OSUnserialize.y"
1496 #line 169 "OSUnserialize.y"
1501 #line 170 "OSUnserialize.y"
1506 #line 173 "OSUnserialize.y"
1511 #line 174 "OSUnserialize.y"
1516 #line 175 "OSUnserialize.y"
1521 #line 176 "OSUnserialize.y"
1526 #line 177 "OSUnserialize.y"
[all …]
/xnu-8020.101.4/osfmk/console/
H A Dvideo_console.c1385 int line; in vc_render_char() local
1390 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_render_char()
1702 int line, col; in vc_reverse_cursor() local
1711 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_reverse_cursor()
1735 uint32_t *from, *to, linelongs, i, line, rowline, rowscanline; in vc_scroll_down() local
1752 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_scroll_down()
1769 uint32_t *from, *to, linelongs, i, line, rowline, rowscanline; in vc_scroll_up() local
1785 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_scroll_up()
1950 int line, col; in vc_blit_rect_8() local
1971 for (line = 0; line < height; line++) { in vc_blit_rect_8()
[all …]
/xnu-8020.101.4/osfmk/kern/
H A Dstartup.h670 #define __STARTUP1(name, line, subsystem, rank, func, a, b) \
673 __startup_ ## subsystem ## _entry_ ## name ## _ ## line = { \
678 #define __STARTUP(name, line, subsystem, rank, func) \
679 __STARTUP1(name, line, subsystem, rank, func, , NULL)
681 #define __STARTUP_ARG(name, line, subsystem, rank, func, arg) \
682 __STARTUP1(name, line, subsystem, rank, func, arg, arg)
/xnu-8020.101.4/iokit/System/
H A DOSUnserializeXMLSharedImplementation.h155 #line 61 "OSUnserializeXML.y"
332 #line 258 "OSUnserializeXML.tab.c"
1569 #line 192 "OSUnserializeXML.y"
1576 #line 195 "OSUnserializeXML.y"
1585 #line 200 "OSUnserializeXML.y"
1592 #line 205 "OSUnserializeXML.y"
1608 #line 217 "OSUnserializeXML.y"
1624 #line 229 "OSUnserializeXML.y"
1640 #line 241 "OSUnserializeXML.y"
1656 #line 253 "OSUnserializeXML.y"
[all …]
/xnu-8020.101.4/libkern/libkern/c++/
H A DOSUnserializeXMLSharedImplementation.h155 #line 61 "OSUnserializeXML.y"
332 #line 258 "OSUnserializeXML.tab.c"
1569 #line 192 "OSUnserializeXML.y"
1576 #line 195 "OSUnserializeXML.y"
1585 #line 200 "OSUnserializeXML.y"
1592 #line 205 "OSUnserializeXML.y"
1608 #line 217 "OSUnserializeXML.y"
1624 #line 229 "OSUnserializeXML.y"
1640 #line 241 "OSUnserializeXML.y"
1656 #line 253 "OSUnserializeXML.y"
[all …]
/xnu-8020.101.4/osfmk/mach/
H A Dmig_log.h69 unsigned int line
82 unsigned int line
/xnu-8020.101.4/tools/lldbmacros/
H A Dmacho.py301 def center_text_in_line(self, line, text): argument
303 if len(text) > len(line) - 2:
306 lbreak_pos = (len(line) // 2) - (len(text) // 2)
309 out = line[:lbreak_pos] + text
310 return out + line[len(out):]
367line = "{:s} {: <#020X} ({: <10d}) floff:{: <#08x} {}".format(s, b.vmaddr, b.vmsize, b.fileoff, b…
372 mstr.append(line)
/xnu-8020.101.4/EXTERNAL_HEADERS/corecrypto/
H A Dcc_macros.h42 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument
43 …tf( "require: %s, %s%s:%d\n", assertion, (message!=0) ? message : "", ___t==NULL?file:___t, line);}
/xnu-8020.101.4/tests/
H A Dtest_sysctl_kern_procargs_25397314.m164 NSMutableString *line = [[NSMutableString alloc] initWithCapacity:0];
166 [line appendFormat:@" %04zx ", row];
170 [line appendFormat:@"%02x ", c];
177 [line appendString:@" "];
180 [line appendFormat:@" %@", text];
181 T_LOG("%s", [line UTF8String]);
183 [line release];
H A Dtrial_experiments.c131 char **line = NULL; in get_apple_array() local
160 line = &(apple_array[num_lines++]); in get_apple_array()
162 linelen = getline(line, &linecap, stdout_f); in get_apple_array()
/xnu-8020.101.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c288 char * line; in store_symbols() local
296 for (scan = file, line = file; true; scan = next, line = next) { in store_symbols()
390 fprintf(stderr, "bad format in symbol line: %s\n", line); in store_symbols()
394 fprintf(stderr, "bad format in symbol line: %s\n", line); in store_symbols()
424 fprintf(stderr, "option too long in symbol line: %s\n", line); in store_symbols()
436 fprintf(stderr, "bad format in symbol line: %s\n", line); in store_symbols()
443 fprintf(stderr, "symbol[%d/%d] overflow: %s\n", idx, max_symbols, line); in store_symbols()
/xnu-8020.101.4/san/memory/
H A Dubsan.c261 ubsan_json_unum(ub, "line", loc->line & ~line_acquired); in ubsan_json_loc()
292 uint32_t line = loc->line; in ubsan_loc_acquire() local
293 if (line & line_acquired) { in ubsan_loc_acquire()
296 uint32_t acq = line | line_acquired; in ubsan_loc_acquire()
297 return atomic_compare_exchange_strong((_Atomic uint32_t *)&loc->line, &line, acq); in ubsan_loc_acquire()
/xnu-8020.101.4/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl166 my $line = 0;
170 $line++;
194 die "$MyName: no function prototype on line $line\n" unless length($_) > 0 && /;$/;
/xnu-8020.101.4/EXTERNAL_HEADERS/
H A DAssertMacros.h215 #define DEBUG_ASSERT_MESSAGE(name, assertion, label, message, file, line, value) \ argument
216 …( "AssertMacros: %s, %s file: %s, line: %d\n", assertion, (message!=0) ? message : "", file, line);
219 #define DEBUG_ASSERT_MESSAGE(name, assertion, label, message, file, line, value) \ argument
220 …, "AssertMacros: %s, %s file: %s, line: %d\n", assertion, (message!=0) ? message : "", file, line);
/xnu-8020.101.4/tools/trace/
H A Dparse_ipc_trace.py764 def parse_tracefile_line(line, exclude, include, exflags, incflags, active_proc, graph, base=16): argument
765 val = line.split()
874 for line in args.psfile[idx]:
875 if line.strip() == '':
877 parse_tracefile_line(line.strip(), None, None, None, None, active_proc, graph, 10)
881 for line in args.tracefile[idx]:
882 if line.strip() == '':
884 …parse_tracefile_line(line.strip(), args.exclude, args.include, args.exflags, args.incflags, active…
/xnu-8020.101.4/osfmk/machine/
H A Dpal_hibernate.h77 void __hib_assert(const char *file, int line, const char *expression) __attribute__((noreturn));
/xnu-8020.101.4/doc/
H A Ddebugging.md350 $ env COVERAGE_FILE="${OUTDIR}/.coverage.mytest.py2" # usual LLDB command line
452 File "<console>", line 1, in <module>
453 File ".../lldbmacros/macho.py", line 91, in __init__
455 File ".../site-packages/macholib/MachO.py", line 133, in load
457 File ".../site-packages/macholib/MachO.py", line 168, in load_header
459 File ".../site-packages/macholib/MachO.py", line 209, in __init__
461 File ".../lldbmacros/macho.py", line 23, in new_load
463 File ".../site-packages/macholib/MachO.py", line 287, in load
465 File ".../site-packages/macholib/util.py", line 91, in seek
467 File ".../site-packages/macholib/util.py", line 76, in _checkwindow
/xnu-8020.101.4/tools/tests/MPMMTest/
H A DREADME14 variables with command line options--run './MPMMtest -h' for details.

12