/external/libmtp/examples/ |
D | sendtr.c | 181 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/curl/tests/unit/ |
D | unit1304.c | 32 password = strdup(""); in unit_setup() 33 login = strdup(""); in unit_setup() 68 login = strdup("me"); 81 login = strdup("me"); 95 login = strdup("admi"); 109 login = strdup("adminn"); 123 login = strdup(""); 138 password = strdup(""); 153 password = strdup(""); 156 login = strdup(""); [all …]
|
/external/clang/test/Analysis/ |
D | pr22954.c | 10 char *strdup(const char *s); 25 a0.s2 = strdup("hello"); in f0() 39 a1.s2 = strdup("hello"); in f1() 53 a2.s2 = strdup("hello"); in f2() 67 a3.s2 = strdup("hello"); in f3() 91 b0.s2 = strdup("hello"); in f4() 92 b0.a.s2 = strdup("hola"); in f4() 113 a0.s2 = strdup("hello"); in f5() 121 a1.s2 = strdup("hello"); in f6() 129 a2.s2 = strdup("hello"); in f7() [all …]
|
D | unions.cpp | 4 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/selinux/libselinux/src/ |
D | setrans_client.c | 301 *rawp = strdup(trans); in selinux_trans_to_raw_context() 306 *rawp = strdup(prev_t2r_raw); in selinux_trans_to_raw_context() 313 *rawp = strdup(trans); in selinux_trans_to_raw_context() 315 prev_t2r_trans = strdup(trans); in selinux_trans_to_raw_context() 318 prev_t2r_raw = strdup(*rawp); in selinux_trans_to_raw_context() 343 *transp = strdup(raw); in hidden_def() 348 *transp = strdup(prev_r2t_trans); in hidden_def() 355 *transp = strdup(raw); in hidden_def() 357 prev_r2t_raw = strdup(raw); in hidden_def() 360 prev_r2t_trans = strdup(*transp); in hidden_def() [all …]
|
D | seusers.c | 19 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()
|
D | query_user_context.c | 57 *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/ |
D | strdup.m4 | 1 # 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/ |
D | conf-parse.y | 223 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/mdnsresponder/mDNSShared/ |
D | dnsextd_lexer.l | 42 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/ |
D | context_record.c | 37 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/libmicrohttpd/src/examples/ |
D | spdy_fileserver.c | 49 (mime) = strdup("application/octet-stream");\ 54 if(0 == strcmp(__ext, "jpg")) (mime) = strdup("image/jpeg");\ 55 else if(0 == strcmp(__ext, "png")) (mime) = strdup("image/png");\ 56 else if(0 == strcmp(__ext, "css")) (mime) = strdup("text/css");\ 57 else if(0 == strcmp(__ext, "gif")) (mime) = strdup("image/gif");\ 58 else if(0 == strcmp(__ext, "htm")) (mime) = strdup("text/html");\ 61 (mime) = strdup("application/octet-stream");\
|
/external/dhcpcd-6.8.2/ |
D | script.c | 338 env[9] = strdup("if_up=false"); in make_env() 340 env[10] = strdup("if_down=true"); in make_env() 342 env[10] = strdup("if_down=false"); in make_env() 348 env[9] = strdup("if_up=false"); in make_env() 349 env[10] = strdup("if_down=false"); in make_env() 360 env[9] = strdup("if_up=true"); in make_env() 361 env[10] = strdup("if_down=false"); in make_env() 363 env[9] = strdup("if_up=false"); in make_env() 364 env[10] = strdup("if_down=true"); in make_env() 369 env[11] = strdup("if_oneup=true"); in make_env() [all …]
|
/external/bison/lib/ |
D | strdup.c | 30 # undef strdup 34 # define __strdup strdup 53 weak_alias (__strdup, strdup)
|
D | string.in.h | 350 # undef strdup 351 # define strdup rpl_strdup macro 353 _GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); 354 _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); 356 # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup 358 # undef strdup 360 # if !(@HAVE_DECL_STRDUP@ || defined strdup) 361 _GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); 363 _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); 365 _GL_CXXALIASWARN (strdup); [all …]
|
/external/selinux/policycoreutils/semodule_package/ |
D | semodule_package.c | 124 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/ipsec-tools/src/racoon/ |
D | sainfo.c | 95 dloc = strdup("ANONYMOUS"); 100 drmt = strdup("ANONYMOUS"); 105 dpeer = strdup("NULL"); 280 idloc = strdup("ANONYMOUS"); 285 idrmt = strdup("ANONYMOUS"); 290 id_i = strdup("ANY");
|
D | prsa_tok.l | 70 prsalval.chr = strdup(prsatext); 84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; } 85 {addr6} { prsalval.chr = strdup(prsatext); return ADDR6; }
|
/external/llvm/lib/Target/ |
D | TargetMachineC.cpp | 85 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 165 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple() 170 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU() 175 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString() 212 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 227 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 249 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple()
|
/external/tcpdump/ |
D | addrtoname.c | 250 p->name = strdup(hp->h_name); in getname() 260 p->name = strdup(intoa(addr)); in getname() 301 p->name = strdup(hp->h_name); in getname6() 312 p->name = strdup(cp); in getname6() 492 tp->e_name = strdup(buf2); in etheraddr_string() 512 tp->e_name = strdup(buf); in etheraddr_string() 539 tp->e_name = strdup(buf); in le64addr_string() 600 tp->name = strdup(buf); in etherproto_string() 627 tp->p_name = strdup(buf); in protoid_string() 677 tp->name = strdup(buf); in tcpport_string() [all …]
|
/external/clang/test/SemaCXX/ |
D | __try.cpp | 10 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/ |
D | bindtextdom.c | 81 # 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()
|
D | textdomain.c | 66 # ifndef strdup 67 # define strdup(str) __strdup (str) macro 110 new_domain = strdup (domainname); in __libc_rwlock_define()
|
/external/curl/lib/ |
D | cookie.c | 160 uri_path = strdup(request_uri); in pathmatch() 170 uri_path = strdup("/"); in pathmatch() 222 char *new_path = strdup(cookie_path); in sanitize_cookie_path() 241 new_path = strdup("/"); in sanitize_cookie_path() 292 *str = strdup(newstr); in strstore() 536 co->name = strdup(name); in Curl_cookie_add() 537 co->value = strdup(whatptr); in Curl_cookie_add() 595 co->domain=strdup(domain); in Curl_cookie_add() 682 co->domain = strdup(ptr); in Curl_cookie_add() 705 co->path = strdup(ptr); in Curl_cookie_add() [all …]
|
/external/selinux/policycoreutils/secon/ |
D | secon.c | 367 if (*ptr && !(*con = strdup(ptr))) in my_getXcon_raw() 395 if (!(con_tmp = strdup(opts->f.arg))) in get_scon() 418 if (!(con_tmp = strdup(ptr))) in get_scon() 443 con = strdup(dummy_NIL); in get_scon() 453 con = strdup(dummy_NIL); in get_scon() 463 con = strdup(dummy_NIL); in get_scon() 483 con = strdup(dummy_NIL); in get_scon() 494 con = strdup(dummy_NIL); in get_scon() 510 con = strdup(dummy_NIL); in get_scon() 707 tmp = strdup(val); in disp_con() [all …]
|