/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/curl/tests/unit/ |
D | unit1653.c | 55 ipv6port = strdup("[fe80::250:56ff:fea7:da15]"); 69 ipv6port = strdup("[fe80::250:56ff:fea7:da15|"); 80 ipv6port = strdup("[fe80::250:56ff;fea7:da15]:80"); 92 ipv6port = strdup("[fe80::250:56ff:fea7:da15%25eth3]:80"); 108 ipv6port = strdup("[fe80::250:56ff:fea7:da15%25eth3]"); 120 ipv6port = strdup("[fe80::250:56ff:fea7:da15]:81"); 136 ipv6port = strdup("[fe80::250:56ff:fea7:da15];81"); 147 ipv6port = strdup("[fe80::250:56ff:fea7:da15]80"); 159 ipv6port = strdup("[fe80::250:56ff:fea7:da15]:"); 171 ipv6port = strdup("[fe80::250:56ff:fea7:da15!25eth3]:80"); [all …]
|
D | unit1304.c | 32 password = strdup(""); in unit_setup() 33 login = strdup(""); in unit_setup() 71 login = strdup("me"); 88 login = strdup("me"); 104 login = strdup("admi"); 122 login = strdup("adminn"); 140 login = strdup(""); 158 password = strdup(""); 176 password = strdup(""); 179 login = strdup(""); [all …]
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 302 *rawp = strdup(trans); in selinux_trans_to_raw_context() 307 *rawp = strdup(prev_t2r_raw); in selinux_trans_to_raw_context() 314 *rawp = strdup(trans); in selinux_trans_to_raw_context() 316 prev_t2r_trans = strdup(trans); in selinux_trans_to_raw_context() 319 prev_t2r_raw = strdup(*rawp); in selinux_trans_to_raw_context() 344 *transp = strdup(raw); in hidden_def() 349 *transp = strdup(prev_r2t_trans); in hidden_def() 356 *transp = strdup(raw); in hidden_def() 358 prev_r2t_raw = strdup(raw); in hidden_def() 361 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/selinux/libsemanage/src/ |
D | conf-parse.y | 224 current_conf->ignoredirs = strdup($3); 353 conf->store_path = strdup(basename(selinux_policy_root())); 355 conf->store_root_path = strdup("/var/lib/selinux"); 356 conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll"); 378 conf->load_policy->path = strdup("/sbin/load_policy"); 380 conf->load_policy->path = strdup("/usr/sbin/load_policy"); 392 conf->setfiles->path = strdup("/sbin/setfiles"); 394 conf->setfiles->path = strdup("/usr/sbin/setfiles"); 397 (conf->setfiles->args = strdup("-q -c $@ $<")) == NULL) { 406 conf->sefcontext_compile->path = strdup("/sbin/sefcontext_compile"); [all …]
|
/external/kmod/testsuite/ |
D | test-util.c | 106 _cleanup_free_ char *s = strdup("this is a test string"); in test_strchr_replace() 125 { strdup("aa-bb-cc_"), "aa_bb_cc_" }, in test_underscores() 126 { strdup("-aa-bb-cc-"), "_aa_bb_cc_" }, in test_underscores() 127 { strdup("-aa[-bb-]cc-"), "_aa[-bb-]cc_" }, in test_underscores() 128 { strdup("-aa-[bb]-cc-"), "_aa_[bb]_cc_" }, in test_underscores() 129 { strdup("-aa-[b-b]-cc-"), "_aa_[b-b]_cc_" }, in test_underscores() 130 { strdup("-aa-b[-]b-cc"), "_aa_b[-]b_cc" }, in test_underscores()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ |
D | TargetMachineC.cpp | 75 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 155 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple() 160 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU() 165 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString() 201 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 216 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 238 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple() 242 return strdup(Triple::normalize(StringRef(triple)).c_str()); in LLVMNormalizeTargetTriple() 246 return strdup(sys::getHostCPUName().data()); in LLVMGetHostCPUName() 257 return strdup(Features.getString().c_str()); in LLVMGetHostCPUFeatures()
|
/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/ltp/testcases/lib/ |
D | tst_net_vars.c | 153 return strdup(buf); in get_ipv4_netmask() 180 return strdup(buf); in get_ipv6_netmask() 199 return strdup(buf); in get_ipv4_broadcast() 223 return strdup(net_unused); in get_ipv4_net16_unused() 235 return strdup(net_unused); in get_ipv4_net16_unused() 245 return strdup(net_unused); in get_ipv4_net16_unused() 287 return strdup(net_unused); in get_ipv6_net32_unused() 300 return strdup(net_unused); in get_ipv6_net32_unused() 311 return strdup(net_unused); in get_ipv6_net32_unused() 335 return strdup("\0"); in get_ipv6_network() [all …]
|
/external/igt-gpu-tools/runner/ |
D | job_list.c | 93 subtests[num_subtests - 1] = strdup(subtestname); in add_subtests() 96 *subtests = strdup(subtestname); in add_subtests() 97 add_job_list_entry(job_list, strdup(binary), subtests, 1); in add_subtests() 105 add_job_list_entry(job_list, strdup(binary), subtests, num_subtests); in add_subtests() 125 add_job_list_entry(job_list, strdup(binary), NULL, 0); in add_subtests() 172 add_job_list_entry(job_list, strdup(buf), NULL, 0); in filtered_job_list() 237 subtests[0] = strdup(delim); in job_list_from_test_list() 239 add_job_list_entry(job_list, strdup(binary), in job_list_from_test_list() 266 entry.subtests[entry.subtest_count - 1] = strdup(delim); in job_list_from_test_list() 278 entry.binary = strdup(binary); in job_list_from_test_list() [all …]
|
D | settings.c | 102 origdup = dup = strdup(optarg); in parse_abort_conditions() 346 settings->name = strdup(optarg); in parse_options() 352 if (!add_regex(&settings->include_regexes, strdup(optarg))) in parse_options() 356 if (!add_regex(&settings->exclude_regexes, strdup(optarg))) in parse_options() 450 char *name = strdup(settings->results_path); in parse_options() 452 settings->name = strdup(basename(name)); in parse_options() 515 char *tmppath = strdup(path); in _dirname() 517 tmpname = strdup(tmpname); in _dirname() 524 char *tmppath = strdup(path); in _basename() 526 tmpname = strdup(tmpname); in _basename() [all …]
|
/external/selinux/libsepol/src/ |
D | context_record.c | 38 char *tmp_user = strdup(user); in hidden_def() 65 char *tmp_role = strdup(role); in hidden_def() 91 char *tmp_type = strdup(type); in hidden_def() 117 char *tmp_mls = strdup(mls); in hidden_def() 167 if (!(new_con->user = strdup(con->user))) in hidden_def() 170 if (!(new_con->role = strdup(con->role))) in hidden_def() 173 if (!(new_con->type = strdup(con->type))) in hidden_def() 176 if (con->mls && !(new_con->mls = strdup(con->mls))) in hidden_def() 225 tmp = strdup(str); in hidden_def()
|
/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");
|
/external/selinux/semodule-utils/semodule_package/ |
D | semodule_package.c | 128 module = strdup(optarg); in main() 138 file_contexts = strdup(optarg); in main() 148 outfile = strdup(optarg); in main() 158 seusers = strdup(optarg); in main() 168 user_extra = strdup(optarg); in main() 178 netfilter_contexts = strdup(optarg); in main()
|
/external/llvm/lib/Target/ |
D | TargetMachineC.cpp | 76 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 155 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple() 160 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU() 165 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString() 201 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 216 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 238 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple()
|
/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/bcc/src/cc/ |
D | bcc_proc.c | 47 return bcc_elf_is_exe(binpath) ? strdup(binpath) : 0; in bcc_procutils_which() 63 return strdup(buffer); in bcc_procutils_which() 235 lib_cache[i].libname = strdup(key); in read_cache1() 236 lib_cache[i].path = strdup(val); in read_cache1() 258 lib_cache[i].libname = strdup(key); in read_cache2() 259 lib_cache[i].path = strdup(val); in read_cache2() 380 return strdup(libname); in bcc_procutils_which_so() 383 return strdup(libpath); in bcc_procutils_which_so() 398 return strdup(lib_cache[i].path); in bcc_procutils_which_so()
|
/external/libnl/lib/route/cls/ |
D | ematch_syntax.y | 56 *errp = strdup(msg); 191 *errp = strdup("Unable to allocate ematch object"); 206 *errp = strdup("Unable to allocate ematch object"); 224 *errp = strdup("Unable to allocate ematch object"); 251 *errp = strdup("Unable to allocate ematch object"); 270 *errp = strdup("Unable to allocate ematch object"); 452 *errp = strdup("mask only allowed for alignments u8|u16|u32"); 457 *errp = strdup("Unable to allocate packet location object"); 461 loc->name = strdup("<USER-DEFINED>");
|
/external/adhd/cras/src/server/ |
D | cras_alsa_ucm_section.c | 54 section->name = strdup(name); in ucm_section_create() 59 section->jack_name = strdup(jack_name); in ucm_section_create() 64 section->jack_type = strdup(jack_type); in ucm_section_create() 87 section->mixer_name = strdup(name); in ucm_section_set_mixer_name()
|
/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()
|
/external/tcpdump/ |
D | addrtoname.c | 259 p->name = strdup(hp->h_name); in getname() 272 p->name = strdup(intoa(addr)); in getname() 314 p->name = strdup(hp->h_name); in getname6() 328 p->name = strdup(cp); in getname6() 508 tp->e_name = strdup(buf2); in etheraddr_string() 531 tp->e_name = strdup(buf); in etheraddr_string() 560 tp->bs_name = strdup(buf); in le64addr_string() 624 tp->name = strdup(buf); in etherproto_string() 653 tp->p_name = strdup(buf); in protoid_string() 706 tp->name = strdup(buf); in tcpport_string() [all …]
|
/external/mesa3d/src/freedreno/rnn/ |
D | rnn.c | 198 ti->name = strdup(getattrib(db, file, node->line, attr));; in trytypeattr() 226 val->name = strdup(getattrib(db, file, node->line, attr)); in parsevalue() 231 val->varinfo.varsetstr = strdup(getattrib(db, file, node->line, attr)); in parsevalue() 233 val->varinfo.variantsstr = strdup(getattrib(db, file, node->line, attr)); in parsevalue() 262 res->name = strdup(getattrib(db, file, node->line, attr)); in parsespectype() 305 prefixstr = strdup(getattrib(db, file, node->line, attr)); in parseenum() 307 varsetstr = strdup(getattrib(db, file, node->line, attr)); in parseenum() 309 variantsstr = strdup(getattrib(db, file, node->line, attr)); in parseenum() 334 cur->name = strdup(name); in parseenum() 364 bf->name = strdup(getattrib(db, file, node->line, attr)); in parsebitfield() [all …]
|