Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 1430) sorted by relevance

12345678910>>...58

/third_party/musl/porting/linux/user/ldso/
Dns_config.c164 section_list *sections; in sections_alloc() local
167 sections = (section_list *)internal_calloc(1, sizeof *sections); in sections_alloc()
169 if (sections) { in sections_alloc()
170 sections->names = (char**)internal_calloc(size, sizeof *sections->names); in sections_alloc()
171 sections->kvs = (kvlist**)internal_calloc(size, sizeof *sections->kvs); in sections_alloc()
172 if (sections->names && sections->kvs) { in sections_alloc()
173 sections->size = size; in sections_alloc()
175 internal_free(sections->names); in sections_alloc()
176 internal_free(sections->kvs); in sections_alloc()
177 internal_free(sections); in sections_alloc()
[all …]
/third_party/elfio/tests/
DELFIOTest.cpp59 BOOST_CHECK_EQUAL( reader.sections.size(), secNum ); in checkHeader()
211 section* sec = reader.sections[0]; in BOOST_AUTO_TEST_CASE()
214 sec = reader.sections[1]; in BOOST_AUTO_TEST_CASE()
218 sec = reader.sections[9]; in BOOST_AUTO_TEST_CASE()
222 sec = reader.sections[19]; in BOOST_AUTO_TEST_CASE()
226 sec = reader.sections[27]; in BOOST_AUTO_TEST_CASE()
229 const section* sec1 = reader.sections[".strtab"]; in BOOST_AUTO_TEST_CASE()
247 sec = reader.sections[".symtab"]; in BOOST_AUTO_TEST_CASE()
267 sec = reader.sections[".rel.dyn"]; in BOOST_AUTO_TEST_CASE()
275 sec = reader.sections[".rel.plt"]; in BOOST_AUTO_TEST_CASE()
[all …]
DELFIOTest1.cpp52 section* text_sec = writer.sections.add( ".text" ); in write_obj_i386()
70 section* data_sec = writer.sections.add( ".data" ); in write_obj_i386()
81 section* str_sec = writer.sections.add( ".strtab" ); in write_obj_i386()
88 section* sym_sec = writer.sections.add( ".symtab" ); in write_obj_i386()
104 section* rel_sec = writer.sections.add( ".rel.text" ); in write_obj_i386()
122 section* note_sec = writer.sections.add( ".note" ); in write_obj_i386()
151 section* text_sec = writer.sections.add( ".text" ); in write_exe_i386()
181 section* data_sec = writer.sections.add( ".data" ); in write_exe_i386()
201 section* note_sec = writer.sections.add( ".note" ); in write_exe_i386()
227 for ( int i = 0; i < file1.sections.size(); ++i ) { in checkObjestsAreEqual()
[all …]
DELFIOTest2.cpp42 section* modinfo_sec = reader.sections[".modinfo"]; in BOOST_AUTO_TEST_CASE()
88 section* modinfo_sec = writer.sections[".modinfo"]; in BOOST_AUTO_TEST_CASE()
104 modinfo_sec = reader.sections[".modinfo"]; in BOOST_AUTO_TEST_CASE()
152 section* array_sec = reader.sections[".ctors"]; in BOOST_AUTO_TEST_CASE()
170 section* array_sec = reader.sections[".ctors"]; in BOOST_AUTO_TEST_CASE()
189 section* array_sec = reader.sections[".init_array"]; in BOOST_AUTO_TEST_CASE()
199 array_sec = reader.sections[".fini_array"]; in BOOST_AUTO_TEST_CASE()
215 section* array_sec = reader.sections[".init_array"]; in BOOST_AUTO_TEST_CASE()
/third_party/node/tools/gyp/tools/emacs/
Dgyp.el134 (defun gyp-add-parse-history (point sections)
139 (setq gyp-parse-history (cons (cons point sections) gyp-parse-history)))
157 (sections (gyp-parse-sections)))
159 (setq sections (cdr sections)) ; pop out a level
169 (setq sections (cons section (cdr sections)))))
175 (setq sections (cons 'unknown sections)))
179 (setq sections (cons 'list sections)))
183 (gyp-add-parse-history (point) sections)
192 (let ((sections (gyp-parse-sections)))
194 ((eq (car sections) 'conditions)
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/emacs/
Dgyp.el134 (defun gyp-add-parse-history (point sections)
139 (setq gyp-parse-history (cons (cons point sections) gyp-parse-history)))
157 (sections (gyp-parse-sections)))
159 (setq sections (cdr sections)) ; pop out a level
169 (setq sections (cons section (cdr sections)))))
175 (setq sections (cons 'unknown sections)))
179 (setq sections (cons 'list sections)))
183 (gyp-add-parse-history (point) sections)
192 (let ((sections (gyp-parse-sections)))
194 ((eq (car sections) 'conditions)
[all …]
/third_party/mesa3d/src/intel/tools/
Daubinator_error_decode.c293 static struct section sections[MAX_SECTIONS]; variable
395 if (sections[s].gtt_offset <= address && in get_intel_batch_bo()
396 address < sections[s].gtt_offset + sections[s].dword_count * 4) { in get_intel_batch_bo()
398 .addr = sections[s].gtt_offset, in get_intel_batch_bo()
399 .map = sections[s].data, in get_intel_batch_bo()
400 .size = sections[s].dword_count * 4, in get_intel_batch_bo()
440 sections[num_sections].data = data; in read_data_file()
441 sections[num_sections].dword_count = dword_count; in read_data_file()
479 sections[num_sections].buffer_name = b->name; in read_data_file()
480 sections[num_sections].ring_name = strdup(ring_name); in read_data_file()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DConfigurator.cpp132 for(unsigned int keyID = 0; keyID < sections.size(); keyID++) in writeFile()
136 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); valueID++) in writeFile()
138 file << sections[keyID].names[valueID] << "=" << sections[keyID].values[valueID] << endl; in writeFile()
162 if(!sections.size() || keyID >= sections.size()) in findValue()
167 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); ++valueID) in findValue()
169 if(sections[keyID].names[valueID] == valueName) in findValue()
181 sections.resize(sections.size() + 1); in addKeyName()
198 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName); in addValue()
199 sections[keyID].values.resize(sections[keyID].values.size() + 1, value); in addValue()
203 sections[keyID].values[valueID] = value; in addValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Common/
DConfigurator.cpp131 for(unsigned int keyID = 0; keyID < sections.size(); keyID++) in writeFile()
135 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); valueID++) in writeFile()
137 file << sections[keyID].names[valueID] << "=" << sections[keyID].values[valueID] << endl; in writeFile()
161 if(!sections.size() || keyID >= sections.size()) in findValue()
166 for(unsigned int valueID = 0; valueID < sections[keyID].names.size(); ++valueID) in findValue()
168 if(sections[keyID].names[valueID] == valueName) in findValue()
180 sections.resize(sections.size() + 1); in addKeyName()
197 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName); in addValue()
198 sections[keyID].values.resize(sections[keyID].values.size() + 1, value); in addValue()
202 sections[keyID].values[valueID] = value; in addValue()
[all …]
/third_party/node/deps/npm/node_modules/ip/lib/
Dip.js18 var sections = ip.split(':', 8);
21 for (i = 0; i < sections.length; i++) {
22 var isv4 = this.isV4Format(sections[i]);
26 v4Buffer = this.toBuffer(sections[i]);
27 sections[i] = v4Buffer.slice(0, 2).toString('hex');
31 sections.splice(i, 0, v4Buffer.slice(2, 4).toString('hex'));
35 if (sections[0] === '') {
36 while (sections.length < 8) sections.unshift('0');
37 } else if (sections[sections.length - 1] === '') {
38 while (sections.length < 8) sections.push('0');
[all …]
/third_party/skia/infra/bots/recipes/
Dcompute_buildstats.py153 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR)
156 logs['perf_json'] = sections[1].split('\n')
159 ast.literal_eval(sections[1])
181 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR)
184 logs['perf_json'] = sections[2].split('\n')
187 ast.literal_eval(sections[2])
214 sections = step_data.stdout.decode('utf-8').split(MAGIC_SEPERATOR)
219 logs['bloaty_file_symbol_short'] = sections[1].split('\n')
220 logs['bloaty_file_symbol_full'] = sections[2].split('\n')
221 logs['bloaty_symbol_file_short'] = sections[3].split('\n')
[all …]
/third_party/boost/boost/geometry/algorithms/detail/sections/
Dsectionalize.hpp134 struct sections : std::vector<section<Box, DimensionCount> > struct
399 static inline void apply(Sections& sections, in apply()
417 apply(sections, begin, end, in apply()
432 static inline void apply(Sections& sections, in apply()
466 std::size_t last_non_duplicate_index = sections.size(); in apply()
525 last_non_duplicate_index = sections.size(); in apply()
528 sections.push_back(section); in apply()
578 last_non_duplicate_index = sections.size(); in apply()
581 sections.push_back(section); in apply()
584 if (last_non_duplicate_index < sections.size() in apply()
[all …]
/third_party/boost/libs/utility/doc/
DJamfile.v252 # How far down we chunk nested sections, basically all of them:
55 <xsl:param>chunk.first.sections=0
56 # How far down sections get TOC's
71 # How far down we chunk nested sections, basically all of them:
74 <xsl:param>chunk.first.sections=0
75 # How far down sections get TOC's
90 # How far down we chunk nested sections, basically all of them:
93 <xsl:param>chunk.first.sections=0
94 # How far down sections get TOC's
109 # How far down we chunk nested sections, basically all of them:
[all …]
/third_party/boost/libs/geometry/test/algorithms/detail/sections/
Dsectionalize.cpp43 typedef bg::sections<box_type, DimensionCount> sections_type; in test_sectionalize_part()
53 sections_type sections; in test_sectionalize_part() local
63 … sectionalize_part::apply(sections, geometry.begin(), geometry.end(), rescale_policy, ring_id, 10); in test_sectionalize_part()
67 … sectionalize_part::apply(sections, geometry.begin(), geometry.end(), rescale_policy, ring_id, 10); in test_sectionalize_part()
83 typedef bg::sections<box, dimension_count> sections; in test_sectionalize() typedef
85 sections s; in test_sectionalize()
93 BOOST_FOREACH(typename sections::value_type const& sec, s) in test_sectionalize()
109 for (typename sections::size_type i = 0; i < s.size(); i++) in test_sectionalize()
164 for (typename sections::size_type i = 0; i < s.size(); i++) in test_sectionalize()
331 bg::sections<bg::model::box<int_point_type>, 1> int_sections; in test_large_integers()
[all …]
/third_party/boost/libs/metaparse/tools/
Dgenerate_all.py38 sections = []
72 sections.append(current_section)
74 sections.sort(key = lambda s: [int(n) for n in s.split('_')])
75 return (sections, defs)
82 def gen_headers(sections, defs, path): argument
86 for s in sections:
125 def what_we_have_so_far_docs(doc_dir, qbk, defs, sections): argument
129 for s in sections:
279 (sections, defs) = parse_md(qbk)
280 files1 = gen_headers(sections, defs, args.dst)
[all …]
/third_party/elfio/elfio/
Delfio_segment.hpp110 sections.push_back( sec_index ); in add_section_index()
115 return (Elf_Half)sections.size(); in add_section_index()
119 Elf_Half get_sections_num() const { return (Elf_Half)sections.size(); } in get_sections_num()
124 if ( num < sections.size() ) { in get_section_index_at()
125 return sections[num]; in get_section_index_at()
147 const std::vector<Elf_Half>& get_sections() const { return sections; } in get_sections()
197 std::vector<Elf_Half> sections; member in ELFIO::segment_impl
Delfio.hpp72 elfio() : sections( this ), segments( this ) in elfio()
165 header->set_sections_num( sections.size() ); in save()
257 for ( int i = 0; i < sections.size(); ++i) { in validate()
258 for ( int j = i+1; j < sections.size(); ++j ) { in validate()
259 const section* a = sections[i]; in validate()
260 const section* b = sections[j]; in validate()
323 for ( int i = 0; i < sections.size(); ++i ) { in find_prog_section_for_offset()
324 const section* sec = sections[i]; in find_prog_section_for_offset()
427 section* shstrtab = sections.add( ".shstrtab" ); in create_mandatory_sections()
452 string_section_accessor str_reader( sections[shstrndx] ); in load_sections()
[all …]
/third_party/flutter/skia/infra/bots/recipes/
Dcompute_buildstats.py162 sections = step_data.stdout.split(magic_seperator)
167 logs['bloaty_file_symbol_short'] = sections[1].split('\n')
168 logs['bloaty_file_symbol_full'] = sections[2].split('\n')
169 logs['bloaty_symbol_file_short'] = sections[3].split('\n')
170 logs['bloaty_symbol_file_full'] = sections[4].split('\n')
171 logs['perf_json'] = sections[5].split('\n')
190 sections = step_data.stdout.split(magic_seperator)
195 logs['bloaty_symbol_short'] = sections[1].split('\n')
196 logs['bloaty_symbol_full'] = sections[2].split('\n')
197 logs['perf_json'] = sections[3].split('\n')
/third_party/elfio/examples/write_obj/
Dwrite_obj.cpp67 section* text_sec = writer.sections.add( ".text" ); in main()
74 section* str_sec = writer.sections.add( ".strtab" ); in main()
83 section* sym_sec = writer.sections.add( ".symtab" ); in main()
100 section* rel_sec = writer.sections.add( ".rel.text" ); in main()
121 section* note_sec = writer.sections.add( ".note" ); in main()
/third_party/boost/libs/bind/doc/
DJamfile.v218 # How far down we chunk nested sections, basically all of them:
21 <xsl:param>chunk.first.sections=0
22 # How far down sections get TOC's
40 # How far down we chunk nested sections, basically all of them:
43 <xsl:param>chunk.first.sections=0
44 # How far down sections get TOC's
/third_party/python/Lib/distutils/
Dconfig.py57 sections = config.sections()
58 if 'distutils' in sections:
66 if 'pypi' in sections:
97 elif 'server-login' in sections:
/third_party/boost/boost/dll/
Dlibrary_info.hpp146 std::vector<std::string> sections() { in sections() function in boost::dll::library_info
148 case fmt_elf_info32: return boost::dll::detail::elf_info32::sections(f_); in sections()
149 case fmt_elf_info64: return boost::dll::detail::elf_info64::sections(f_); in sections()
150 case fmt_pe_info32: return boost::dll::detail::pe_info32::sections(f_); in sections()
151 case fmt_pe_info64: return boost::dll::detail::pe_info64::sections(f_); in sections()
152 case fmt_macho_info32: return boost::dll::detail::macho_info32::sections(f_); in sections()
153 case fmt_macho_info64: return boost::dll::detail::macho_info64::sections(f_); in sections()
/third_party/libxml2/doc/examples/
Dindex.py18 sections = {} variable
94 global sections
137 if sections.has_key(section):
138 sections[section].append(filename)
140 sections[section] = [filename]
203 global sections
206 keys = sections.keys()
210 info = sections[section]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
Dbloat.py313 sections = []
327 sections.append((name, int(size, 16)))
329 return sections, debug_sections
332 def jsonify_sections(name, sections): argument
335 for section, size in sections:
352 sections, debug_sections = parse_objdump(objdump)
353 sections = jsonify_sections('sections', sections)
355 size = sections['data']['$area'] + debug_sections['data']['$area']
359 'children': [ debug_sections, sections ]})
/third_party/boost/libs/beast/doc/docca/example/
DJamfile56 <xsl:param>chunk.first.sections=1 # Chunk the first top-level section?
57 <xsl:param>chunk.section.depth=8 # Depth to which sections should be chunked
58 … <xsl:param>generate.section.toc.level=1 # Control depth of TOC generation in sections
60 …<xsl:param>toc.section.depth=2 # How deep should recursive sections appear in the…

12345678910>>...58