Home
last modified time | relevance | path

Searched refs:path (Results 1 – 10 of 10) sorted by relevance

/scripts/
A Dmove-symbol-to-libc.py29 import os.path
33 sys.path.append(os.path.dirname(os.path.realpath(__file__)))
37 def add_to_libc_path(path, new_symbols): argument
44 original_symbols = glibcsymbols.read_abilist(path)
65 if not os.path.exists(abilist):
79 libc_path = os.path.join(directory, libc_abilist)
80 if os.path.exists(libc_path):
94 def move_symbols_1(path, to_move, moved_symbols): argument
101 assert path.endswith('.abilist')
102 library = os.path.basename(path)[:-len(suffix)]
[all …]
A Dbackport-support.sh86 for path in $patch_targets; do
87 echo "# Processing $path" >&2
88 case "$path" in
91 git rm --cached --ignore-unmatch -r "$path"
92 rm -rf "$path"
93 git read-tree --prefix="$path" "$latest_commit":"$path"
94 git checkout "$path"
98 git show "$latest_commit":"$path" > "$path"
99 git add "$path"
A Dcheck-wx-segment.py23 import os.path
32 def process_file(path, inp, xfail): argument
47 path))
52 print('{}: error: {}: {!r}'.format(path, error, line.strip()))
56 print('{}: warning: missing expected WX segment'.format(path))
75 for path in opts.phdrs:
76 xfail = ((os.path.basename(path) + '.phdrs') in xfails
78 with open(path) as inp:
79 errors += process_file(path, inp, xfail)
A Dcheck-wrapper-headers.py46 bits = os.path.join(args.root, 'sysdeps', 'generic', 'bits')
47 if os.path.exists(bits):
51 os.path.relpath(os.path.realpath(bits), args.root)))
61 or os.path.exists(os.path.join(args.root, INCLUDE, header))
82 include_path = os.path.join(args.root, INCLUDE, header)
85 os.path.join(INCLUDE, header),
86 os.path.relpath(os.path.realpath(header), args.root)))
A Dglibcsymbols.py24 def replace_file(path, new_contents): argument
30 temppath = path + 'T'
34 os.rename(temppath, path)
55 def read_abilist(path): argument
63 with open(path) as inp:
68 raise IOError("{}: duplicate symbol {}".format(path, versym))
A Dbuild-many-glibcs.py99 self.srcdir = os.path.join(topdir, 'src')
107 self.logsdir = os.path.join(topdir, 'logs')
931 to_touch = os.path.join(srcdir, f)
1689 self.path = path
1730 self.path = None
1742 def use_path(self, path): argument
1745 self.path = path
1812 if c.path is None:
1813 path = ''
1815 path = c.path
[all …]
A Dglibc_shared_code.py19 def get_glibc_shared_code(path): argument
35 with open(path, 'r') as f:
51 from os.path import exists
A Dglibcextract.py20 import os.path
55 c_file_name = os.path.join(temp_dir, 'test.c')
56 s_file_name = os.path.join(temp_dir, 'test.s')
87 c_file_name = os.path.join(temp_dir, 'test.c')
88 i_file_name = os.path.join(temp_dir, 'test.i')
A Ddso-ordering-test.py532 if not os.path.exists(testpfx):
534 if not os.path.exists(testpfx_src):
1148 output_makefile_dir = os.path.dirname(output_makefile)
A Dpylintrc6 # Python code to execute, usually for sys.path manipulation such as

Completed in 19 milliseconds