Home
last modified time | relevance | path

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

12

/xnu-8796.121.2/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-8796.121.2/san/tools/
H A Dgenerate_dynamic_blacklist.py44 def extract_symbol(line): argument
45 fields = line.split(":")
48 raise Exception("Invalid exclusion rule: {}".format(line))
57 for line in fd.readlines():
58 line = line.strip() variable
59 if line and not line.startswith("#"):
60 kext, func, ty = extract_symbol(line)
/xnu-8796.121.2/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-8796.121.2/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-8796.121.2/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-8796.121.2/tools/
H A Dsyscall_map.lua11 local function in_valid_region(line)
13 if line:sub(1, 1) ~= '#' then
18 local assume_defined = not line:match('COMPAT_GETFSSTAT')
19 if line:match('^#if') then
21 elseif line:match('^#else') then
23 elseif line:match('^#endif') then
56 for line in io.stdin:lines() do
57 if in_valid_region(line) then
58 bsd_syscalls[#bsd_syscalls + 1] = syscall_ptn:match(line)
/xnu-8796.121.2/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-8796.121.2/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-8796.121.2/osfmk/console/
H A Dvideo_console.c1387 int line; in vc_render_char() local
1392 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_render_char()
1704 int line, col; in vc_reverse_cursor() local
1713 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_reverse_cursor()
1737 uint32_t *from, *to, linelongs, i, line, rowline, rowscanline; in vc_scroll_down() local
1754 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_scroll_down()
1771 uint32_t *from, *to, linelongs, i, line, rowline, rowscanline; in vc_scroll_up() local
1787 for (line = 0; line < ISO_CHAR_HEIGHT; line++) { in vc_scroll_up()
1952 int line, col; in vc_blit_rect_8() local
1973 for (line = 0; line < height; line++) { in vc_blit_rect_8()
[all …]
/xnu-8796.121.2/libkern/libkern/c++/
H A DOSUnserializeXMLSharedImplementation.h155 #line 61 "OSUnserializeXML.y"
332 #line 300 "OSUnserializeXML.tab.c"
1569 #line 234 "OSUnserializeXML.y"
1576 #line 237 "OSUnserializeXML.y"
1585 #line 242 "OSUnserializeXML.y"
1592 #line 247 "OSUnserializeXML.y"
1608 #line 259 "OSUnserializeXML.y"
1624 #line 271 "OSUnserializeXML.y"
1640 #line 283 "OSUnserializeXML.y"
1656 #line 295 "OSUnserializeXML.y"
[all …]
/xnu-8796.121.2/iokit/System/
H A DOSUnserializeXMLSharedImplementation.h155 #line 61 "OSUnserializeXML.y"
332 #line 300 "OSUnserializeXML.tab.c"
1569 #line 234 "OSUnserializeXML.y"
1576 #line 237 "OSUnserializeXML.y"
1585 #line 242 "OSUnserializeXML.y"
1592 #line 247 "OSUnserializeXML.y"
1608 #line 259 "OSUnserializeXML.y"
1624 #line 271 "OSUnserializeXML.y"
1640 #line 283 "OSUnserializeXML.y"
1656 #line 295 "OSUnserializeXML.y"
[all …]
/xnu-8796.121.2/osfmk/mach/
H A Dmig_log.h69 unsigned int line
82 unsigned int line
/xnu-8796.121.2/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)
H A Dutils.py201 def write(self, line): argument
202 self.log_debug(line)
597 line = ""
604 line += " "
607 line += "{}{:02x}".format(marks.get(addr, ' '), b)
610 line += " "
613 print("{}{:#016x} {} |{}|".format(prefix, row, line, chars))
H A Dlog.py281 line = bytearray()
283 line.append(c)
285 yield six.ensure_str(line.decode('utf-8'))
286 line = bytearray()
287 yield six.ensure_str(line.decode('utf-8'))
/xnu-8796.121.2/osfmk/kern/
H A Dstartup.h724 #define __STARTUP1(name, line, subsystem, rank, func, a, b) \
727 __startup_ ## subsystem ## _entry_ ## name ## _ ## line = { \
732 #define __STARTUP(name, line, subsystem, rank, func) \
733 __STARTUP1(name, line, subsystem, rank, func, , NULL)
735 #define __STARTUP_ARG(name, line, subsystem, rank, func, arg) \
736 __STARTUP1(name, line, subsystem, rank, func, arg, arg)
/xnu-8796.121.2/osfmk/corecrypto/
H A Dcc_macros.h70 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument
71 …tf( "require: %s, %s%s:%d\n", assertion, (message!=0) ? message : "", ___t==NULL?file:___t, line);}
/xnu-8796.121.2/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-8796.121.2/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-8796.121.2/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-8796.121.2/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-8796.121.2/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-8796.121.2/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);

12