Home
last modified time | relevance | path

Searched refs:sec_name (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Dcras_dsp_ini.c63 static const char *getstring(struct ini *ini, const char *sec_name, in getstring() argument
67 snprintf(full_key, sizeof(full_key), "%s:%s", sec_name, key); in getstring()
96 static int parse_ports(struct ini *ini, const char *sec_name, in parse_ports() argument
108 str = getstring(ini, sec_name, key); in parse_ports()
112 str = getstring(ini, sec_name, key); in parse_ports()
118 syslog(LOG_ERR, "empty value for %s:%s", sec_name, key); in parse_ports()
145 static int parse_plugin_section(struct ini *ini, const char *sec_name, in parse_plugin_section() argument
148 p->title = sec_name; in parse_plugin_section()
149 p->library = getstring(ini, sec_name, "library"); in parse_plugin_section()
150 p->label = getstring(ini, sec_name, "label"); in parse_plugin_section()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_section_names.c10 const char sec_name[32]; member
130 rc = libbpf_prog_type_by_name(test->sec_name, &prog_type, in test_prog_type_by_name()
134 warnx("prog: unexpected rc=%d for %s", rc, test->sec_name); in test_prog_type_by_name()
143 test->sec_name); in test_prog_type_by_name()
149 expected_attach_type, test->sec_name); in test_prog_type_by_name()
161 rc = libbpf_attach_type_by_name(test->sec_name, &attach_type); in test_attach_type_by_name()
164 warnx("attach: unexpected rc=%d for %s", rc, test->sec_name); in test_attach_type_by_name()
173 test->sec_name); in test_attach_type_by_name()
/external/iproute2/lib/
Dbpf.c1115 const char *sec_name; member
1735 char *sec_name; in bpf_fill_section_data() local
1745 sec_name = elf_strptr(ctx->elf_fd, ctx->elf_hdr.e_shstrndx, in bpf_fill_section_data()
1747 if (!sec_name || !sec_hdr.sh_size) in bpf_fill_section_data()
1756 data->sec_name = sec_name; in bpf_fill_section_data()
1906 !strcmp(data.sec_name, ELF_SECTION_MAPS)) in bpf_fetch_ancillary()
1909 !strcmp(data.sec_name, ELF_SECTION_LICENSE)) in bpf_fetch_ancillary()
1912 !strcmp(data.sec_name, ".symtab")) in bpf_fetch_ancillary()
1915 !strcmp(data.sec_name, ".strtab")) in bpf_fetch_ancillary()
1956 !strcmp(data.sec_name, section))) in bpf_fetch_prog()
[all …]