Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 640) sorted by relevance

12345678910>>...26

/external/libmtp/examples/
Dsendtr.c181 parent = dirname(strdup(to_path)); in sendtrack_function()
182 filename = basename(strdup(to_path)); in sendtrack_function()
271 trackmeta->title = strdup(ptitle); in sendtrack_function()
275 trackmeta->album = strdup(palbum); in sendtrack_function()
276 albuminfo->name = strdup(palbum); in sendtrack_function()
280 albuminfo->artist = strdup(palbumartist); in sendtrack_function()
284 trackmeta->artist = strdup(partist); in sendtrack_function()
286 albuminfo->artist = strdup(partist); in sendtrack_function()
291 trackmeta->composer = strdup(pcomposer); in sendtrack_function()
292 albuminfo->composer = strdup(pcomposer); in sendtrack_function()
[all …]
/external/libvncserver/x11vnc/
Dx11vnc.c325 str = strdup(list); in terminal_services()
353 tag[n] = strdup(p); in terminal_services()
861 char *s = strdup(instr); in ssh_remote_tunnel()
1052 rc_rcfile = strdup(""); in check_rcfile()
1057 rc_rcfile = strdup(infile); in check_rcfile()
1078 rc_rcfile = strdup(rcfile); in check_rcfile()
1085 argv2[argc2++] = strdup(argv[0]); in check_rcfile()
1203 argv2[argc2++] = strdup(tmp); in check_rcfile()
1230 argv2[argc2++] = strdup(tbuf); in check_rcfile()
1244 argv2[argc2++] = strdup(argv[i]); in check_rcfile()
[all …]
Dinet.c84 str = strdup(inet_ntoa(addr.sin_addr)); in host2ip()
94 return strdup("unknown"); in raw2host()
99 return strdup(inet_ntoa(*((struct in_addr *)raw))); in raw2host()
101 str = strdup(hp->h_name); in raw2host()
103 str = strdup("unknown"); in raw2host()
109 return strdup(inet_ntoa(*((struct in_addr *)raw))); in raw2ip()
119 return strdup("unknown"); in ip2host()
124 return strdup("unknown"); in ip2host()
129 return strdup("unknown"); in ip2host()
131 str = strdup(hp->h_name); in ip2host()
[all …]
Dgui.c287 x11vnc_xdisplay = strdup(getenv("DISPLAY")); in run_gui()
291 x11vnc_xdisplay = strdup(use_dpy); in run_gui()
298 old_xauth = strdup(getenv("XAUTHORITY")); in run_gui()
300 old_xauth = strdup(""); in run_gui()
309 x11vnc_xdisplay = strdup(":0"); in run_gui()
410 orig_path = strdup("/bin:/usr/bin:/usr/bin/X11"); in run_gui()
416 tpath = strdup(full_path); in run_gui()
443 wish = strdup("wish"); in run_gui()
448 wish = strdup(w); in run_gui()
486 char *p, *str = strdup(icon_mode_params); in run_gui()
[all …]
Dlinuxfb.c61 char *q, *in = strdup(str); in console_guess()
92 atparms = strdup(q+1); in console_guess()
97 file = strdup(q+1); in console_guess()
101 file = strdup("/dev/fb"); in console_guess()
114 file = strdup("/dev/fb0"); in console_guess()
153 file = strdup(tmp); in console_guess()
176 atparms = strdup(tmp); in console_guess()
250 pipeinput_str = strdup("UINPUT"); in console_guess()
Duser.c245 out = strdup(""); in get_login_list()
266 list[i++] = strdup(p); in user_list()
450 list[lind++] = strdup(p); in lurk()
463 t = strdup(p); /* bob:0 */ in lurk()
537 tstr = strdup(q+1); in lurk_loop()
581 tstr = strdup(allowed); in guess_user_and_switch()
592 list[lind++] = strdup(p); in guess_user_and_switch()
603 t = strdup(p); in guess_user_and_switch()
844 users = strdup(users_list); in try_to_switch_users()
994 passwd_list[linecount++] = strdup(line); in read_passwds()
[all …]
Dsolid.c71 oldpath = strdup(getenv("PATH")); in usr_bin_path()
73 oldpath = strdup("/usr/bin"); in usr_bin_path()
688 orig_color = strdup("#FFFFFF"); in solid_gnome()
691 orig_option = strdup("stretched"); in solid_gnome()
717 orig_color = strdup(cmd_output(cmd)); in solid_gnome()
723 orig_color = strdup("#FFFFFF"); in solid_gnome()
734 orig_option = strdup(cmd_output(cmd)); in solid_gnome()
740 orig_option = strdup("stretched"); in solid_gnome()
826 orig_image_show = strdup(cmd_output(cmd)); in solid_xfce()
845 orig_color_style = strdup(cmd_output(cmd)); in solid_xfce()
[all …]
Dremote.c172 query_result = strdup(line); in send_remote_cmd()
266 str = strdup(item); in add_item()
306 str = strdup(""); in delete_item()
359 prog = strdup(program_name); in check_httpdir()
367 char *path = strdup(getenv("PATH")); in check_httpdir()
459 http_dir = strdup(use[i]); in check_httpdir()
797 xauth = strdup(getenv("XAUTHORITY")); in remote_control_access_ok()
914 s = strdup(p); in process_remote_cmd()
928 pieces[n] = strdup(tmp); in process_remote_cmd()
962 s = strdup(cmd + strlen("qry=")); in process_remote_cmd()
[all …]
/external/selinux/libselinux/src/
Dsetrans_client.c296 *rawp = strdup(trans); in selinux_trans_to_raw_context()
301 *rawp = strdup(prev_t2r_raw); in selinux_trans_to_raw_context()
308 *rawp = strdup(trans); in selinux_trans_to_raw_context()
310 prev_t2r_trans = strdup(trans); in selinux_trans_to_raw_context()
313 prev_t2r_raw = strdup(*rawp); in selinux_trans_to_raw_context()
338 *transp = strdup(raw); in hidden_def()
343 *transp = strdup(prev_r2t_trans); in hidden_def()
350 *transp = strdup(raw); in hidden_def()
352 prev_r2t_raw = strdup(raw); in hidden_def()
355 prev_r2t_trans = strdup(*transp); in hidden_def()
[all …]
Dseusers.c19 char *newbuf = strdup(buffer); in process_seusers()
39 luser = strdup(start); in process_seusers()
54 seuser = strdup(start); in process_seusers()
70 level = strdup(start); in process_seusers()
261 *r_seuser = strdup(name); in getseuserbyname()
288 rec = strdup(buffer); in getseuser()
297 rec = strdup(buffer); in getseuser()
311 *r_seuser = strdup(seuser); in getseuser()
318 *r_level = strdup(level); in getseuser()
Dquery_user_context.c57 *usercon = strdup(list[choice]); in query_user_context()
63 *usercon = strdup(list[0]); in query_user_context()
67 *usercon = strdup(list[0]); in query_user_context()
175 *newcon = strdup(user_context); in manual_user_enter_context()
/external/bison/m4/
Dstrdup.m41 # strdup.m4 serial 13
12 AC_CHECK_FUNCS_ONCE([strdup])
13 AC_CHECK_DECLS_ONCE([strdup])
23 AC_CHECK_FUNCS_ONCE([strdup])
29 AC_CHECK_DECLS_ONCE([strdup])
35 # Prerequisites of lib/strdup.c.
/external/selinux/libsemanage/src/
Dconf-parse.y223 current_conf->ignoredirs = strdup($3);
341 conf->store_path = strdup(basename(selinux_policy_root()));
343 conf->store_root_path = strdup("/var/lib/selinux");
344 conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll");
365 conf->load_policy->path = strdup("/sbin/load_policy");
367 conf->load_policy->path = strdup("/usr/sbin/load_policy");
379 conf->setfiles->path = strdup("/sbin/setfiles");
381 conf->setfiles->path = strdup("/usr/sbin/setfiles");
384 (conf->setfiles->args = strdup("-q -c $@ $<")) == NULL) {
393 conf->sefcontext_compile->path = strdup("/sbin/sefcontext_compile");
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-mem.c40 rec_argv[i++] = strdup("record"); in __cmd_record()
42 rec_argv[i++] = strdup("-W"); in __cmd_record()
43 rec_argv[i++] = strdup("-d"); in __cmd_record()
44 rec_argv[i++] = strdup("-e"); in __cmd_record()
51 rec_argv[i++] = strdup(event); in __cmd_record()
166 rep_argv[i++] = strdup("report"); in report_events()
167 rep_argv[i++] = strdup("--mem-mode"); in report_events()
168 rep_argv[i++] = strdup("-n"); /* display number of samples */ in report_events()
175 rep_argv[i++] = strdup("--sort=mem,sym,dso,symbol_daddr," in report_events()
/external/mdnsresponder/mDNSShared/
Ddnsextd_lexer.l42 dup = strdup( string + 1); in StripQuotes()
75 \* yylval.string = strdup(yytext); return WILDCARD;
76 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ yylval.string = strdup(yytext); return DOTTED_DECIMAL_ADDRESS;
78 [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)* yylval.string = strdup(yytext); return HOSTNAME;
79 [a-zA-Z0-9\.]+([a-zA-Z0-9\.]+)* yylval.string = strdup(yytext); return DOMAINNAME;
/external/selinux/libsepol/src/
Dcontext_record.c37 char *tmp_user = strdup(user); in hidden_def()
64 char *tmp_role = strdup(role); in hidden_def()
90 char *tmp_type = strdup(type); in hidden_def()
116 char *tmp_mls = strdup(mls); in hidden_def()
166 if (!(new_con->user = strdup(con->user))) in hidden_def()
169 if (!(new_con->role = strdup(con->role))) in hidden_def()
172 if (!(new_con->type = strdup(con->type))) in hidden_def()
175 if (con->mls && !(new_con->mls = strdup(con->mls))) in hidden_def()
224 tmp = strdup(str); in hidden_def()
/external/llvm/lib/Target/
DTargetMachineC.cpp80 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
163 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple()
168 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU()
173 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString()
200 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
216 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
231 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
254 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple()
/external/clang/test/Analysis/
Dunions.cpp4 extern "C" char *strdup(const char *s);
65 uu.s = strdup(""); in test()
71 uu.s = strdup(""); in testPositive()
88 uu.s = strdup(""); in testInvalidation()
/external/bison/lib/
Dstrdup.c30 # undef strdup
34 # define __strdup strdup
53 weak_alias (__strdup, strdup)
/external/tcpdump/
Daddrtoname.c253 p->name = strdup(hp->h_name); in getname()
263 p->name = strdup(intoa(addr)); in getname()
304 p->name = strdup(hp->h_name); in getname6()
315 p->name = strdup(cp); in getname6()
495 tp->e_name = strdup(buf2); in etheraddr_string()
515 tp->e_name = strdup(buf); in etheraddr_string()
542 tp->e_name = strdup(buf); in le64addr_string()
603 tp->name = strdup(buf); in etherproto_string()
630 tp->p_name = strdup(buf); in protoid_string()
680 tp->name = strdup(buf); in tcpport_string()
[all …]
/external/ipsec-tools/src/racoon/
Dsainfo.c95 dloc = strdup("ANONYMOUS");
100 drmt = strdup("ANONYMOUS");
105 dpeer = strdup("NULL");
280 idloc = strdup("ANONYMOUS");
285 idrmt = strdup("ANONYMOUS");
290 id_i = strdup("ANY");
/external/selinux/policycoreutils/semodule_package/
Dsemodule_package.c124 module = strdup(optarg); in main()
134 file_contexts = strdup(optarg); in main()
144 outfile = strdup(optarg); in main()
154 seusers = strdup(optarg); in main()
164 user_extra = strdup(optarg); in main()
174 netfilter_contexts = strdup(optarg); in main()
/external/clang/test/SemaCXX/
D__try.cpp10 const char * strdup(const char *);
19 Exception(const char* s = "Unknown"){what = strdup(s); } in Exception()
20 Exception(const Exception& e ){what = strdup(e.what); } in Exception()
/external/e2fsprogs/intl/
Dbindtextdom.c81 # ifndef strdup in __libc_rwlock_define()
82 # define strdup(str) __strdup (str) in __libc_rwlock_define() macro
152 result = strdup (dirname); in __libc_rwlock_define()
190 result = strdup (codeset); in __libc_rwlock_define()
247 result = strdup (dirname); in __libc_rwlock_define()
278 result = strdup (codeset); in __libc_rwlock_define()
/external/linux-tools-perf/src/tools/perf/util/
Dprobe-event.c193 pp->function = strdup(tp->symbol); in convert_to_perf_probe_point()
277 module = strdup(tmp + 1); in add_module_to_probe_trace_events()
287 tevs[i].point.module = strdup(module); in add_module_to_probe_trace_events()
377 *new_path = strdup(raw_path); in get_real_path()
704 char *range, *file, *name = strdup(arg); in parse_line_range_desc()
757 lr->file = strdup(++file); in parse_line_range_desc()
813 pev->event = strdup(arg); in parse_perf_probe_point()
826 tmp = strdup(arg); in parse_perf_probe_point()
841 pp->lazy_line = strdup(arg); in parse_perf_probe_point()
873 pp->file = strdup(arg); in parse_perf_probe_point()
[all …]

12345678910>>...26