Home
last modified time | relevance | path

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

12345678910>>...19

/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/bison/m4/
Dstrdup.m41 # strdup.m4 serial 6
9 AC_LIBSOURCES([strdup.c, strdup.h])
11 AC_REPLACE_FUNCS(strdup)
12 AC_CHECK_DECLS_ONCE(strdup)
16 # Prerequisites of lib/strdup.c.
/external/linux-tools-perf/
Dbuiltin-kvm.c65 rec_argv[i++] = strdup("record"); in __cmd_record()
66 rec_argv[i++] = strdup("-o"); in __cmd_record()
67 rec_argv[i++] = strdup(file_name); in __cmd_record()
83 rec_argv[i++] = strdup("report"); in __cmd_report()
84 rec_argv[i++] = strdup("-i"); in __cmd_report()
85 rec_argv[i++] = strdup(file_name); in __cmd_report()
101 rec_argv[i++] = strdup("buildid-list"); in __cmd_buildid_list()
102 rec_argv[i++] = strdup("-i"); in __cmd_buildid_list()
103 rec_argv[i++] = strdup(file_name); in __cmd_buildid_list()
/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/qemu/android/utils/
Ddll.c100 *pError = strdup("NULL library pointer"); in adynamicLibrary_findSymbol()
104 *pError = strdup("NULL or empty symbolName"); in adynamicLibrary_findSymbol()
150 *pError = strdup(dlerror()); in adynamicLibrary_open()
171 *pError = strdup("NULL library pointer"); in adynamicLibrary_findSymbol()
175 *pError = strdup("NULL or empty symbolName"); in adynamicLibrary_findSymbol()
180 *pError = strdup(dlerror()); in adynamicLibrary_findSymbol()
/external/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()
Duser_record.c100 char *tmp_name = strdup(name); in sepol_user_set_name()
125 char *tmp_mls_level = strdup(mls_level); in hidden_def()
150 char *tmp_mls_range = strdup(mls_range); in hidden_def()
180 role_cp = strdup(role); in sepol_user_add_role()
231 tmp_roles[i] = strdup(roles_arr[i]); in hidden_def()
/external/llvm/lib/Target/
DTargetMachineC.cpp135 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple()
140 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU()
145 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString()
165 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
182 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
188 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
/external/bison/lib/
Dstrdup.c33 #undef strdup
36 # define __strdup strdup
55 weak_alias (__strdup, strdup)
Dstrdup.h24 #if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP && !defined strdup
26 extern char *strdup (const char *s);
/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");
Dprsa_tok.l70 prsalval.chr = strdup(prsatext);
84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
85 {addr6} { prsalval.chr = strdup(prsatext); return ADDR6; }
/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/tcpdump/
Daddrtoname.c254 p->name = strdup(hp->h_name); in getname()
264 p->name = strdup(intoa(addr)); in getname()
299 p->name = strdup(hp->h_name); in getname6()
310 p->name = strdup(cp); in getname6()
487 tp->e_name = strdup(buf2); in etheraddr_string()
507 tp->e_name = strdup(buf); in etheraddr_string()
561 tp->name = strdup(buf); in etherproto_string()
588 tp->p_name = strdup(buf); in protoid_string()
638 tp->name = strdup(buf); in tcpport_string()
657 tp->name = strdup(buf); in udpport_string()
[all …]
/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()
Dtextdomain.c66 # ifndef strdup
67 # define strdup(str) __strdup (str) macro
110 new_domain = strdup (domainname); in __libc_rwlock_define()
/external/qemu/android/
Dmain-emulator.c249 return strdup(path);
261 return strdup(path);
336 result = strdup(temp);
349 parentDir = strdup(".");
354 result = strdup(temp);
383 putenv(strdup(temp));
/external/libselinux/src/
Dinit.c46 selinux_mnt = strdup(SELINUXMNT); in init_selinuxmnt()
91 selinux_mnt = strdup(p); in init_selinuxmnt()
107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
/external/linux-tools-perf/util/
Dprobe-event.c207 pp->function = strdup(tp->symbol); in kprobe_convert_to_perf_probe()
278 *new_path = strdup(raw_path); in get_real_path()
540 pp->function = strdup(tp->symbol); in kprobe_convert_to_perf_probe()
599 char *range, *file, *name = strdup(arg); in parse_line_range_desc()
652 lr->file = strdup(++file); in parse_line_range_desc()
708 pev->event = strdup(arg); in parse_perf_probe_point()
721 tmp = strdup(arg); in parse_perf_probe_point()
736 pp->lazy_line = strdup(arg); in parse_perf_probe_point()
768 pp->file = strdup(arg); in parse_perf_probe_point()
853 arg->type = strdup(tmp + 1); in parse_perf_probe_arg()
[all …]
Dwrapper.c16 char *ret = strdup(str); in xstrdup()
19 ret = strdup(str); in xstrdup()
/external/clang/test/Analysis/
Dredefined_system.c11 char strdup();
15 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi(); in foo()
/external/webkit/Source/WebKit/efl/ewk/
Dewk_cookies.cpp111 c->name = strdup(cookie->name); in ewk_cookies_get_all()
112 c->value = strdup(cookie->value); in ewk_cookies_get_all()
113 c->domain = strdup(cookie->domain); in ewk_cookies_get_all()
114 c->path = strdup(cookie->path); in ewk_cookies_get_all()
/external/clang/test/Parser/
Dobjc-boxing.m9 extern char *strdup(const char *str); function
16 return @(strdup("boxed dynamic string"));
/external/valgrind/main/helgrind/
Dhg_basics.c61 Char* HG_(strdup) ( HChar* cc, const Char* s ) in HG_() argument
63 return VG_(strdup)( cc, s ); in HG_()
/external/chromium/base/
Dstring_util_posix.h20 inline char* strdup(const char* str) { in strdup() function
21 return ::strdup(str); in strdup()

12345678910>>...19