Home
last modified time | relevance | path

Searched refs:avahi_strdup (Results 1 – 25 of 33) sorted by relevance

12

/external/avahi/avahi-core/
Dhashmap-test.c39 avahi_hashmap_insert(m, avahi_strdup("bla"), avahi_strdup("#1")); in main()
40 avahi_hashmap_insert(m, avahi_strdup("bla2"), avahi_strdup("asdf")); in main()
41 avahi_hashmap_insert(m, avahi_strdup("gurke"), avahi_strdup("ffsdf")); in main()
42 avahi_hashmap_insert(m, avahi_strdup("blubb"), avahi_strdup("sadfsd")); in main()
43 avahi_hashmap_insert(m, avahi_strdup("bla"), avahi_strdup("#2")); in main()
50 avahi_hashmap_replace(m, avahi_strdup("bla"), avahi_strdup("#3")); in main()
Ddns-test.c78 r->data.hinfo.cpu = avahi_strdup("FOO"); in main()
79 r->data.hinfo.os = avahi_strdup("BAR"); in main()
Ddns.c215 if (!(u = avahi_strdup(pname))) in avahi_dns_packet_append_name()
539 r->data.ptr.name = avahi_strdup(buf); in parse_rdata()
551 r->data.srv.name = avahi_strdup(buf); in parse_rdata()
559 r->data.hinfo.cpu = avahi_strdup(buf); in parse_rdata()
564 r->data.hinfo.os = avahi_strdup(buf); in parse_rdata()
Drr.c434 if (!(copy->data.ptr.name = avahi_strdup(r->data.ptr.name))) in avahi_record_copy()
442 if (!(copy->data.srv.name = avahi_strdup(r->data.srv.name))) in avahi_record_copy()
447 if (!(copy->data.hinfo.os = avahi_strdup(r->data.hinfo.os))) in avahi_record_copy()
450 if (!(copy->data.hinfo.cpu = avahi_strdup(r->data.hinfo.cpu))) { in avahi_record_copy()
Ddomain-util.c144 return avahi_strdup(t); in avahi_get_host_name_strdup()
Dconformance-test.c70 n = t ? avahi_strdup(t) : avahi_alternative_service_name(name); in create_service()
Davahi-test.c162 service_name = avahi_strdup("Test Service"); in create_entries()
190 r->data.cname.name = avahi_strdup("cocaine.local"); in create_entries()
Dserver.c1157 r->data.hinfo.cpu = avahi_strdup(avahi_strup(utsname.machine)); in register_hinfo()
1158 r->data.hinfo.os = avahi_strdup(avahi_strup(utsname.sysname)); in register_hinfo()
1283 dn = avahi_strdup("local"); in avahi_server_set_domain_name()
1431 …s->config.domain_name ? avahi_normalize_name_strdup(s->config.domain_name) : avahi_strdup("local"); in avahi_server_new()
1625 if (!(h = avahi_strdup(c->host_name))) in avahi_server_config_copy()
1629 if (!(d = avahi_strdup(c->domain_name))) { in avahi_server_config_copy()
/external/avahi/avahi-utils/
Davahi-publish.c284 c->domain = avahi_strdup(optarg); in parse_command_line()
288 c->host = avahi_strdup(optarg); in parse_command_line()
308 c->name = avahi_strdup(argv[optind]); in parse_command_line()
322 c->name = avahi_strdup(argv[optind]); in parse_command_line()
323 c->stype = avahi_strdup(argv[optind+1]); in parse_command_line()
Davahi-browse.c271 i->name = avahi_strdup(name); in add_service()
272 i->type = avahi_strdup(type); in add_service()
273 i->domain = avahi_strdup(domain); in add_service()
728 c->domain = avahi_strdup(optarg); in parse_command_line()
770 c->stype = avahi_strdup(argv[optind]); in parse_command_line()
/external/avahi/avahi-daemon/
Dini-file-parser.c79 group->name = avahi_strdup(s+1); in avahi_ini_file_load()
102 pair->key = avahi_strdup(s); in avahi_ini_file_load()
103 pair->value = avahi_strdup(e); in avahi_ini_file_load()
Dsetproctitle.c70 new_environ[i] = avahi_strdup(environ[i]); in avahi_init_proc_title()
Dmain.c196 resolv_conf_name_servers[i++] = avahi_strdup(p); in load_resolv_conf()
501 c->config_file = avahi_strdup(optarg); in parse_command_line()
627 c->server_config.host_name = avahi_strdup(p->value); in load_config_file()
630 c->server_config.domain_name = avahi_strdup(p->value); in load_config_file()
1562 argv0 = avahi_strdup(argv0 + 1);
1564 argv0 = avahi_strdup(argv[0]);
Dstatic-services.c105 return avahi_strdup(pattern); in replacestr()
140 g->filename = avahi_strdup(filename); in static_service_group_new()
244 g->chosen_name = avahi_strdup(g->name); in add_static_service_group_to_server()
/external/avahi/avahi-dnsconfd/
Dmain.c120 i->address = avahi_strdup(address); in new_server_info()
217 t = avahi_strdup(i->address); in concat_dns_servers()
365 char *address = avahi_strdup(servers->address); in free_dns_server_info_list()
447 putenv(avahi_strdup(ENV_INTERFACE"=")); in run_daemon()
448 putenv(avahi_strdup(ENV_DNS_SERVERS"=")); in run_daemon()
449 putenv(avahi_strdup(ENV_INTERFACE_DNS_SERVERS"=")); in run_daemon()
/external/avahi/avahi-client/
Dresolver.c230 if (!(r->name = avahi_strdup(name))) { in avahi_service_resolver_new()
235 if (!(r->type = avahi_strdup(type))) { in avahi_service_resolver_new()
241 if (!(r->domain = avahi_strdup(domain))) { in avahi_service_resolver_new()
284 if (!(r->path = avahi_strdup(path))) { in avahi_service_resolver_new()
466 if (!(r->host_name = avahi_strdup(name))) { in avahi_host_name_resolver_new()
506 if (!(r->path = avahi_strdup(path))) { in avahi_host_name_resolver_new()
722 if (!(r->path = avahi_strdup(path))) { in avahi_address_resolver_new()
Dbrowser.c193 if (!(db->path = avahi_strdup(path))) { in avahi_domain_browser_new()
395 if (!(b->domain = avahi_strdup(domain))) { in avahi_service_type_browser_new()
433 if (!(b->path = avahi_strdup(path))) { in avahi_service_type_browser_new()
610 if (!(b->type = avahi_strdup(type))) { in avahi_service_browser_new()
616 if (!(b->domain = avahi_strdup(domain))) { in avahi_service_browser_new()
655 if (!(b->path = avahi_strdup(path))) { in avahi_service_browser_new()
832 if (!(b->name = avahi_strdup(name))) { in avahi_record_browser_new()
872 if (!(b->path = avahi_strdup(path))) { in avahi_record_browser_new()
/external/avahi/examples/
Dcore-publish-service.c207 name = avahi_strdup("MegaPrinter"); in main()
211 config.host_name = avahi_strdup("gurkiman"); in main()
Dclient-publish-service.c217 name = avahi_strdup("Modified MegaPrinter"); in modify_callback()
244 name = avahi_strdup("MegaPrinter"); in main()
/external/avahi/avahi-common/
Dalternative-test.c74 …n = i == 0 ? avahi_strdup(test_strings[k]) : (j ? avahi_alternative_service_name(r) : avahi_altern… in main()
Davahi-malloc.h66 char *avahi_strdup(const char *s);
Davahi-malloc.c160 char *avahi_strdup(const char *s) { in avahi_strdup() function
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c990 if (!(sdref->service_name_chosen = avahi_strdup(n))) { in reg_client_callback()
1000 if (!(sdref->service_name_chosen = avahi_strdup(sdref->service_name))) { in reg_client_callback()
1138 sdref->service_name = avahi_strdup(name); in DNSServiceRegister()
1162 if (!(sdref->service_domain = avahi_strdup(d))) { in DNSServiceRegister()
1185 if (!(sdref->service_name_chosen = avahi_strdup(n))) { in DNSServiceRegister()
/external/avahi/avahi-autoipd/
Dmain.c1527 action_script = avahi_strdup(optarg); in parse_command_line()
1570 interface_name = avahi_strdup(argv[optind++]); in parse_command_line()
1579 action_script = avahi_strdup(AVAHI_IPCONF_SCRIPT); in parse_command_line()
1595 argv0 = avahi_strdup(argv0 + 1); in main()
1597 argv0 = avahi_strdup(argv[0]); in main()
/external/avahi/avahi-ui/
Dbssh.c93 c->domain = avahi_strdup(optarg); in parse_command_line()

12