Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 159) sorted by relevance

1234567

/toolchain/binutils/binutils-2.27/
Dconfig.sub122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
159 os=
165 os=-vxworks
[all …]
/toolchain/benchmark/
Dautotest.diff12 +import os
23 + out_dir = os.path.join(bench_config.android_home,
27 + lib_dir = os.path.join(out_dir, 'system/lib/libbinder.so')
29 + lib64_dir = os.path.join(out_dir, 'system/lib64/libbinder.so')
31 + bench_dir = os.path.join(out_dir,
34 + bench_dir_DUT = os.path.join('/data/local/tmp',
50 + % os.getenv('TEST_MODE'))
56 + % os.getenv('TEST_MODE'))
71 +import os
73 +home = os.environ["HOME"]
[all …]
Dapply_patches.py13 import os
22 autotest_dir = os.path.join(config.android_home, config.autotest_dir)
23 autotest_patch = os.path.join(
24 os.path.dirname(os.path.realpath(__file__)), 'autotest.diff')
25 dex2oat_dir = os.path.join(autotest_dir,
27 panorama_dir = os.path.join(autotest_dir,
42 panorama_dir = os.path.join(config.android_home,
44 panorama_patch = os.path.join(
45 os.path.dirname(os.path.realpath(__file__)), 'panorama.diff')
70 synthmark_patch = os.path.join(
[all …]
Drun.py20 import os
156 logfile = os.path.join(config.bench_suite_dir, f)
158 os.remove(logfile)
168 result = os.path.join(config.bench_suite_dir, bench + '.json')
170 os.remove(result)
178 log_file = os.path.join(config.bench_suite_dir, log_file)
193 os.path.join(
194 os.path.join(config.android_home, config.autotest_dir),
283 bench_result = os.path.join(config.bench_suite_dir, 'bench_result')
284 if not os.path.exists(bench_result):
[all …]
Dbuild_bench.py15 import os
86 os.environ['BUILD_OS'] = build_os
95 os.environ['LLVM_PREBUILTS_VERSION'] = llvm_prebuilts_version
109 if not os.path.isdir(compiler):
115 tmp_dir = os.path.join(config.android_home,
118 compiler_content = os.path.join(compiler, '.')
129 os.environ['LLVM_PREBUILTS_VERSION'] = 'clang-tmp'
131 logging.info('Prebuilt Compiler set as %s.', os.path.abspath(compiler))
153 tmp_dir = os.path.join(config.android_home,
167 pwd = os.path.join(config.android_home, config.bench_dict[bench])
[all …]
Dset_flags.py9 import os
16 mk_file = os.path.join(config.android_home, config.bench_dict[bench],
23 os.path.join(config.android_home, config.bench_dict[bench],
69 bench_dir = os.path.join(config.android_home, config.bench_dict[bench])
71 flags_patch = os.path.join(
72 os.path.dirname(os.path.realpath(__file__)), bench_diff)
80 bench_mk = os.path.join(config.android_home, config.bench_dict[bench],
Dfix_json.py16 import os
35 os.environ['PYTHONPATH'] = os.path.dirname(config.toolchain_utils)
38 json_path = os.path.join(config.bench_suite_dir, bench + '_refined')
40 os.path.join(config.toolchain_utils, 'generate_report.py'), '--json',
41 '-i=' + os.path.join(config.bench_suite_dir, bench + '.json'),
Ddiscard_patches.py11 import os
26 autotest_dir = os.path.join(config.android_home, config.autotest_dir)
31 panorama_dir = os.path.join(config.android_home,
46 os.path.join(config.android_home, synthmark_dir)])
Dcollect_profile.py9 import os
72 pull_cmd = [os.path.join(config.android_home,
95 os.path.join(path, bench + '_profraw.tar'),
100 profdata = os.path.join(path, bench + '.profdata')
130 pathDUT = os.path.join(arguments.pathDUT, bench + '_profraw')
Dconfig.py9 import os
25 home = os.environ['HOME']
34 if path and not os.path.isdir(variable):
94 out_dir = os.path.join(android_home, 'out')
/toolchain/binutils/
Dbuild.py23 import os
29 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
30 site.addsitedir(os.path.join(THIS_DIR, '../../ndk'))
48 os.makedirs(path)
60 os.chdir(path)
82 os.path.join(src_dir, 'configure'),
126 cc = os.path.join(toolchain, 'bin', '{}-gcc'.format(toolchain_prefix))
127 cxx = os.path.join(toolchain, 'bin', '{}-g++'.format(toolchain_prefix))
134 ar = os.path.join(toolchain, 'bin', '{}-ar'.format(toolchain_prefix))
135 strip = os.path.join(
[all …]
/toolchain/binutils/binutils-2.27/ld/
Dldlang.c206 const lang_output_section_statement_type *os) in unique_section_p() argument
214 return !(os != NULL in unique_section_p()
215 && strcmp (os->name, DISCARD_SECTION_NAME) == 0); in unique_section_p()
515 lang_output_section_statement_type *os; in output_section_callback_fast() local
517 os = (lang_output_section_statement_type *) output; in output_section_callback_fast()
519 if (unique_section_p (section, os)) in output_section_callback_fast()
1477 next_matching_output_section_statement (lang_output_section_statement_type *os, in next_matching_output_section_statement() argument
1483 ((char *) os in next_matching_output_section_statement()
1485 const char *name = os->name; in next_matching_output_section_statement()
1712 output_prev_sec_find (lang_output_section_statement_type *os) in output_prev_sec_find() argument
[all …]
/toolchain/binutils/binutils-2.27/gold/
Dlayout.cc317 Output_section* os = *p; in read_sections() local
319 info.output_section = os; in read_sections()
320 info.address = os->is_address_valid() ? os->address() : 0; in read_sections()
321 info.data_size = os->is_data_size_valid() ? os->data_size() : -1; in read_sections()
322 info.offset = os->is_offset_valid()? os->offset() : -1 ; in read_sections()
338 Output_section* os = *p; in verify_sections() local
339 uint64_t address = os->is_address_valid() ? os->address() : 0; in verify_sections()
340 off_t data_size = os->is_data_size_valid() ? os->data_size() : -1; in verify_sections()
341 off_t offset = os->is_offset_valid()? os->offset() : -1 ; in verify_sections()
345 gold_fatal("Section_info of %s missing.\n", os->name()); in verify_sections()
[all …]
Dmapfile.cc245 Output_section* os; in print_input_section() local
249 os = NULL; in print_input_section()
254 os = relobj->output_section(shndx); in print_input_section()
257 addr += os->address(); in print_input_section()
272 if (os != NULL) in print_input_section()
385 Mapfile::print_output_section(const Output_section* os) in print_output_section() argument
389 fprintf(this->map_file_, "\n%s", os->name()); in print_output_section()
391 this->advance_to_column(strlen(os->name()), Mapfile::section_name_map_length); in print_output_section()
395 static_cast<unsigned long long>(os->current_data_size())); in print_output_section()
399 static_cast<unsigned long long>(os->address()), sizebuf); in print_output_section()
[all …]
Dcommon.cc287 Output_section* os; in do_allocate_commons_list() local
292 os = layout->add_output_section_data(name, elfcpp::SHT_NOBITS, flags, in do_allocate_commons_list()
300 os = layout->find_output_section(name); in do_allocate_commons_list()
303 if (os != NULL) in do_allocate_commons_list()
306 os->set_is_small_section(); in do_allocate_commons_list()
308 os->set_is_large_section(); in do_allocate_commons_list()
349 off = os->allocate(ssym->symsize(), ssym->value()); in do_allocate_commons_list()
353 os->name()); in do_allocate_commons_list()
354 ssym->allocate_common(os, off); in do_allocate_commons_list()
Doutput.h782 set_output_section(Output_section* os);
1168 Output_reloc(Output_section* os, unsigned int type, Output_data* od,
1171 Output_reloc(Output_section* os, unsigned int type,
1317 Output_section* os; member
1419 Output_reloc(Output_section* os, unsigned int type, Output_data* od, in Output_reloc() argument
1421 : rel_(os, type, od, address, is_relative), addend_(addend) in Output_reloc()
1424 Output_reloc(Output_section* os, unsigned int type, in Output_reloc() argument
1428 : rel_(os, type, relobj, shndx, address, is_relative), addend_(addend) in Output_reloc()
1552 Output_reloc(Output_section* os, Output_data* od, Address address) in Output_reloc() argument
1553 : rel_(os, 0, od, address, true), in Output_reloc()
[all …]
Dincremental.cc595 Output_section* os = this->section_map_[shndx]; in do_reserve_layout() local
596 off_t offset = gsym.get_st_value() - os->address(); in do_reserve_layout()
597 os->reserve(offset, gsym.get_st_size()); in do_reserve_layout()
600 os->name(), in do_reserve_layout()
615 Output_section* os = this->section_map_[sect.output_shndx]; in do_reserve_layout() local
616 gold_assert(os != NULL); in do_reserve_layout()
617 os->reserve(sect.sh_offset, sect.sh_size); in do_reserve_layout()
797 Output_section* os = this->output_section(r_shndx); in do_apply_incremental_relocs() local
798 Address address = os->address(); in do_apply_incremental_relocs()
799 off_t section_offset = os->offset(); in do_apply_incremental_relocs()
[all …]
Dsymtab.cc155 Output_segment* os, elfcpp::STT type, in init_base_output_segment() argument
162 this->u_.in_output_segment.output_segment = os; in init_base_output_segment()
253 Output_segment* os, Value_type value, in init_output_segment() argument
261 this->init_base_output_segment(name, version, os, type, binding, visibility, in init_output_segment()
519 Symbol::set_output_section(Output_section* os) in set_output_section() argument
525 gold_assert(this->output_section() == os); in set_output_section()
529 this->u_.in_output_data.output_data = os; in set_output_section()
544 Symbol::set_output_segment(Output_segment* os, Segment_offset_base base) in set_output_segment() argument
548 this->u_.in_output_segment.output_segment = os; in set_output_segment()
2030 Output_segment* os, in define_in_output_segment() argument
[all …]
Dexpression.cc813 Output_section* os = eei->layout->find_output_section(section_name); in value() local
814 if (os != NULL) in value()
815 return this->value_from_output_section(eei, os); in value()
965 Output_section* os) in value_from_output_section() argument
968 *eei->result_section_pointer = os; in value_from_output_section()
969 if (os->is_address_valid()) in value_from_output_section()
970 return os->address(); in value_from_output_section()
1003 Output_section* os) in value_from_output_section() argument
1004 { return os->addralign(); } in value_from_output_section()
1170 Output_section* os) in value_from_output_section() argument
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/iostream/
Dtest.cpp8 gzofstream os( 1, ios::out ); in main() local
12 os << "Hello, Mommy" << endl; in main()
14 os << setcompressionlevel( Z_NO_COMPRESSION ); in main()
15 os << "hello, hello, hi, ho!" << endl; in main()
17 setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) in main()
20 os.close(); in main()
/toolchain/binutils/binutils-2.27/ld/emultempl/
Dalphaelf.em46 lang_output_section_statement_type *os;
50 for (os = &lang_output_section_statement.head->output_section_statement;
51 os != NULL;
52 os = os->next)
54 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
57 plt_os[num_plt] = os;
Dmmo.em89 lang_output_section_statement_type *os;
100 os = lang_output_section_find (secname);
104 if (os != NULL)
106 lang_add_section (&os->children, s, NULL, os);
107 return os;
137 if (place->os == NULL)
138 place->os = lang_output_section_find (place->name);
158 if (hold_nonreg.os == NULL)
174 hold_nonreg.os = lookup;
180 after = place->os;
[all …]
Dspuelf.em137 lang_output_section_statement_type *os;
140 os = lang_output_section_get (o);
142 os = lang_output_section_find (output_name);
143 if (os == NULL)
145 os = gld${EMULATION_NAME}_place_orphan (s, output_name, 0);
146 os->addr_tree = NULL;
149 && o != NULL && os->children.head != NULL)
154 lang_add_section (&add, s, NULL, os);
155 *add.tail = os->children.head;
156 os->children.head = add.head;
[all …]
Dppc32elf.em72 lang_output_section_statement_type *os;
82 for (os = &lang_output_section_statement.head->output_section_statement;
83 os != NULL;
84 os = os->next)
86 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
89 plt_os[num_plt] = os;
92 if (os->constraint == SPECIAL && strcmp (os->name, ".got") == 0)
95 got_os[num_got] = os;
Dmsp430.em177 lang_output_section_statement_type * os;
220 os = upper;
228 os = lower;
230 os = lower;
234 os = upper;
253 os = upper;
255 os = lower;
258 lang_add_section (& os->children, s, NULL, os);
264 return os;

1234567