Home
last modified time | relevance | path

Searched refs:psection (Results 1 – 4 of 4) sorted by relevance

/third_party/elfio/examples/c_wrapper/
Dc_example.c70 psection_t psection = elfio_get_section_by_index( pelfio, i ); in main() local
72 elfio_section_get_name( psection, buff, 100 ); in main()
97 psection_t psection = elfio_get_section_by_name( pelfio, ".symtab" ); in main() local
98 psymbol_t psymbols = elfio_symbol_section_accessor_new( pelfio, psection ); in main()
117 psection = elfio_get_section_by_name( pelfio, ".rela.dyn" ); in main()
119 elfio_relocation_section_accessor_new( pelfio, psection ); in main()
135 psection = elfio_get_section_by_name( pelfio, ".strtab" ); in main()
136 pstring_t pstring = elfio_string_section_accessor_new( psection ); in main()
149 psection = elfio_get_section_by_name( pelfio, ".note.gnu.build-id" ); in main()
150 pnote_t pnote = elfio_note_section_accessor_new( pelfio, psection ); in main()
[all …]
Delfio_c_wrapper.cpp137 void elfio_section_get_name( psection_t psection, char* buffer, int len ) in elfio_section_get_name() argument
139 strncpy( buffer, psection->get_name().c_str(), (size_t)len - 1 ); in elfio_section_get_name()
142 void elfio_section_set_name( psection_t psection, char* buffer ) in elfio_section_set_name() argument
144 psection->set_name( buffer ); in elfio_section_set_name()
147 char* elfio_section_get_data( psection_t psection ) in elfio_section_get_data() argument
149 return (char*)psection->get_data(); in elfio_section_get_data()
152 void elfio_section_set_data( psection_t psection, in elfio_section_set_data() argument
156 psection->set_data( pData, size ); in elfio_section_set_data()
159 void elfio_section_append_data( psection_t psection, in elfio_section_append_data() argument
163 psection->append_data( pData, size ); in elfio_section_append_data()
[all …]
Delfio_c_wrapper.h155 void elfio_section_get_name( psection_t psection, char* buffer, int len );
156 void elfio_section_set_name( psection_t psection, char* buffer );
157 char* elfio_section_get_data( psection_t psection );
158 void elfio_section_set_data( psection_t psection,
161 void elfio_section_append_data( psection_t psection,
190 psection_t psection );
218 psection_t psection );
245 pstring_t elfio_string_section_accessor_new( psection_t psection );
254 psection_t psection );
273 pmodinfo_t elfio_modinfo_section_accessor_new( psection_t psection );
[all …]
/third_party/openssl/crypto/conf/
Dconf_def.c194 char *start, *psection, *pname; in def_load_bio() local
358 psection = pname; in def_load_bio()
362 psection = section; in def_load_bio()
375 if (!str_copy(conf, psection, &include, p)) in def_load_bio()
425 if (!str_copy(conf, psection, &(v->value), start)) in def_load_bio()
428 if (strcmp(psection, section) != 0) { in def_load_bio()
429 if ((tv = _CONF_get_section(conf, psection)) in def_load_bio()
431 tv = _CONF_new_section(conf, psection); in def_load_bio()