Home
last modified time | relevance | path

Searched refs:strcpy (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/external/valgrind/memcheck/tests/
Dstr_tester.c136 check (strcpy (one, "abcd") == one, 1); /* Returned value. */ in test_strcpy()
139 (void) strcpy (one, "x"); in test_strcpy()
143 (void) strcpy (two, "hi there"); in test_strcpy()
144 (void) strcpy (one, two); in test_strcpy()
148 (void) strcpy (one, ""); in test_strcpy()
153 (void) strcpy (one + i, "hi there"); /* Unaligned destination. */ in test_strcpy()
155 (void) strcpy (two, one + i); /* Unaligned source. */ in test_strcpy()
159 SIMPLE_COPY(strcpy, 0, "", 41); in test_strcpy()
160 SIMPLE_COPY(strcpy, 1, "1", 42); in test_strcpy()
161 SIMPLE_COPY(strcpy, 2, "22", 43); in test_strcpy()
[all …]
Doverlap.c18 strcpy(b, "ABCDEFG"); in reset_b2()
50 strcpy(x, x+20); // ok in main()
54 strcpy(x, x+20); // overlap in main()
57 strcpy(x+20, x); // ok in main()
70 strcpy(b, a); in main()
120 strcpy( src, "short" ); in main()
/external/svox/pico/tts/
Dsvox_ssml_parser.cpp135 strcpy(m_docLanguage, attributes[i+1]); in startElement()
220 strcpy(xsampastr, phonstr); in startElement()
293 strcpy(time, attributes[i+1]); in startElement()
308strcpy(time, SSML_BREAK_WEAK); /* if no time or strength attributes are specified, default to weak… in startElement()
342 strcpy(svoxpitch, "100"); in startElement()
380 strcpy(svoxrate, "100"); in startElement()
423 strcpy(svoxvol, "100"); in startElement()
605 strcpy(converted, SSML_PITCH_XLOW); in convertToSvoxPitch()
615 strcpy(converted, SSML_PITCH_LOW); in convertToSvoxPitch()
625 strcpy(converted, SSML_PITCH_MEDIUM); in convertToSvoxPitch()
[all …]
Dcom_svox_picottsengine.cpp257 strcpy((char*)fileName, PICO_SYSTEM_LINGWARE_PATH); in hasResourcesForLanguage()
264 strcpy((char*)fileName, PICO_SYSTEM_LINGWARE_PATH); in hasResourcesForLanguage()
277 strcpy((char*)fileName, pico_alt_lingware_path); in hasResourcesForLanguage()
287 strcpy((char*)fileName, pico_alt_lingware_path); in hasResourcesForLanguage()
360 strcpy((char*)tmpFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
372 strcpy((char *) picoTaFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
373 strcpy((char *) picoSgFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
374 strcpy((char *) picoUtppFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
376 strcpy((char *) picoTaFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
377 strcpy((char *) picoSgFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
[all …]
/external/clang/test/CodeGen/
Dobject-size.c3 #define strcpy(dest, src) \ macro
19 strcpy(&gbuf[4], "Hi there"); in test1()
25 strcpy(gbuf, "Hi there"); in test2()
31 strcpy(&gbuf[100], "Hi there"); in test3()
37 strcpy((char*)(void*)&gbuf[-1], "Hi there"); in test4()
44 strcpy(gp, "Hi there"); in test5()
52 strcpy(&buf[4], "Hi there"); in test6()
62 strcpy((++i, gbuf), "Hi there"); in test7()
70 strcpy(buf[++gi], "Hi there"); in test8()
77 strcpy((char *)((++gi) + gj), "Hi there"); in test9()
[all …]
/external/valgrind/none/tests/x86/
Dbug126147-x86.c149 (void) strcpy (one, "abcdefgh"); in test_strncpy()
153 (void) strcpy (one, "abcdefgh"); in test_strncpy()
157 (void) strcpy (one, "abcdefgh"); in test_strncpy()
162 (void) strcpy (one, "abcdefgh"); in test_strncpy()
168 (void) strcpy (one, "abc"); in test_strncpy()
177 (void) strcpy (one, "hi there"); in test_strncpy()
/external/llvm/test/Transforms/FunctionAttrs/
D2009-01-04-Annotate.ll13 declare i32 @strcpy(...)
15 ; CHECK-NOT: strcpy{{.*}}noalias
16 ; CHECK-NOT: strcpy{{.*}}nocapture
17 ; CHECK-NOT: strcpy{{.*}}nounwind
18 ; CHECK-NOT: strcpy{{.*}}readonly
/external/llvm/test/Transforms/InstCombine/
Dstrcpy-1.ll1 ; Test that the strcpy library call simplifier works correctly.
13 declare i8* @strcpy(i8*, i8*)
21 call i8* @strcpy(i8* %dst, i8* %src)
31 %ret = call i8* @strcpy(i8* %dst, i8* %dst)
42 %ret = call i8* @strcpy(i8* %dst, i8* %src)
43 ; CHECK: call i8* @strcpy
Dstrcpy-2.ll1 ; Test that the strcpy library call simplifier works correctly.
11 declare i16* @strcpy(i8*, i8*)
19 call i16* @strcpy(i8* %dst, i8* %src)
20 ; CHECK: call i16* @strcpy
/external/zlib/src/examples/
Dgzlog.c353 strcpy(log->end, ".lock"); in log_lock()
376 strcpy(log->end, ".lock"); in log_touch()
388 strcpy(log->end, ".lock"); in log_check()
400 strcpy(log->end, ".lock"); in log_unlock()
559 strcpy(log->end, ".add"); in log_append()
577 strcpy(log->end, ".add"); in log_replace()
582 strcpy(log->end, ".dict"); in log_replace()
586 strcpy(dest, log->path); in log_replace()
587 strcpy(log->end, ".temp"); in log_replace()
628 strcpy(log->end, ".dict"); in log_compress()
[all …]
/external/llvm/test/Transforms/DeadStoreElimination/
Dlibcalls.ll3 declare i8* @strcpy(i8* %dest, i8* %src) nounwind
8 ; CHECK-NOT: @strcpy
9 %call = call i8* @strcpy(i8* %dest, i8* %src)
51 %call = call i8* @strcpy(i8* %arraydecay, i8* %src)
52 ; CHECK: %call = call i8* @strcpy
63 ; CHECK: @strcpy
64 %call = call i8* @strcpy(i8* %dest, i8* %src)
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dcodec_before_streaming_test.cc35 strcpy(codec_instance_.plname, "SomeInvalidCodecName"); in TEST_F()
42 strcpy(codec_instance_.plname, "iSAC"); in TEST_F()
44 strcpy(codec_instance_.plname, "ISAC"); in TEST_F()
49 strcpy(codec_instance_.plname, "ISAC"); in TEST_F()
65 strcpy(codec_instance_.plname, "iLBC"); in TEST_F()
/external/nanopb-c/tests/backwards_compatibility/
Dencode_legacy.c37 strcpy(alltypes.req_string, "1014"); in main()
40 strcpy(alltypes.req_submsg.substuff1, "1016"); in main()
60 alltypes.rep_string_count = 5; strcpy(alltypes.rep_string[4], "2014"); in main()
65 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
105 strcpy(alltypes.opt_string, "3054"); in main()
110 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main()
/external/toybox/toys/pending/
Dlsof.c157 strcpy(fi->type, "unix"); in match_unix()
179 strcpy(fi->type, "netlink"); in match_netlink()
215 strcpy(fi->type, af == 4 ? "IPv4" : "IPv6"); in match_ip()
254 case S_IFBLK: strcpy(fi->type, "BLK"); break; in fill_stat()
255 case S_IFCHR: strcpy(fi->type, "CHR"); break; in fill_stat()
256 case S_IFDIR: strcpy(fi->type, "DIR"); break; in fill_stat()
257 case S_IFIFO: strcpy(fi->type, "FIFO"); break; in fill_stat()
258 case S_IFLNK: strcpy(fi->type, "LINK"); break; in fill_stat()
259 case S_IFREG: strcpy(fi->type, "REG"); break; in fill_stat()
260 case S_IFSOCK: strcpy(fi->type, "sock"); break; in fill_stat()
[all …]
Dlast.c134 strcpy(ut.ut_line, "system boot"); in last_main()
161 strcpy(toybuf+18, " still"); in last_main()
162 strcpy(toybuf+28, "logged in"); in last_main()
165 strcpy(toybuf+18, "- down "); in last_main()
168 strcpy(toybuf+18, "- crash"); in last_main()
171 strcpy(toybuf+18, " gone"); in last_main()
172 strcpy(toybuf+28, "- no logout"); in last_main()
/external/nanopb-c/tests/alltypes/
Dencode_alltypes.c34 strcpy(alltypes.req_string, "1014"); in main()
37 strcpy(alltypes.req_submsg.substuff1, "1016"); in main()
57 alltypes.rep_string_count = 5; strcpy(alltypes.rep_string[4], "2014"); in main()
62 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
114 strcpy(alltypes.opt_string, "3054"); in main()
119 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main()
/external/iproute2/ip/
Dtunnel.c46 strcpy(buf, "ip"); in tnl_strproto()
49 strcpy(buf, "gre"); in tnl_strproto()
52 strcpy(buf, "ipv6"); in tnl_strproto()
55 strcpy(buf, "esp"); in tnl_strproto()
58 strcpy(buf, "any"); in tnl_strproto()
61 strcpy(buf, "unknown"); in tnl_strproto()
/external/llvm/test/CodeGen/SystemZ/
Dstrcpy-01.ll1 ; Test strcpy using MVST.
5 declare i8 *@strcpy(i8 *%dest, i8 *%src)
8 ; Check strcpy.
18 %res = call i8 *@strcpy(i8 *%dest, i8 *%src)
47 %unused = call i8 *@strcpy(i8 *%dest, i8 *%src)
/external/vboot_reference/tests/
Dutility_string_tests.c32 strcpy(dest, "Bob"); in StrncatTest()
42 strcpy(dest, "Tigre"); in StrncatTest()
47 strcpy(dest, "YesI"); in StrncatTest()
52 strcpy(dest, "BudgetDeficit"); in StrncatTest()
/external/e2fsprogs/ext2ed/
Dmain.c117 strcpy(buf, "set_device "); in main()
241 strcpy (command_line,ptr); in parser()
249 strcpy (command_line,last_command_line); in parser()
260 strcpy (last_command_line,command_line); in parser()
322 strcpy (command_line,last_command_line); in parser()
326 strcpy (last_command_line,command_line); /* Save this command in our tiny cache */ in parser()
526 strcpy (ptr,src); in dupstr()
/external/autotest/client/profilers/powertop/src/
Dwireless.c178 strcpy(powersave_path, pathname); in find_4965()
190 strcpy(powersave_path, pathname); in find_4965()
216 strcpy(wireless_nic, "wlan0"); in find_wireless_nic()
230 strcpy(wireless_nic, line); in find_wireless_nic()
233 strcpy(wireless_nic, "wlan0"); in find_wireless_nic()
249 strcpy(ifr.ifr_name, wireless_nic); in find_wireless_nic()
/external/libxml2/os400/dlfcn/
Ddlfcn.c288 strcpy(p->str, strerror(err_no)); in dlseterror_from_errno()
657 strcpy(qsysinfo->Lib_Name, "QSYS"); in dlpath2QSYS()
689 strcpy(qsysinfo->Lib_Name, qsysinfo->Obj_Name); in dlpath2QSYS()
695 strcpy(qsysinfo->Lib_Name, dftlib? dftlib: "*LIBL"); in dlpath2QSYS()
707 strcpy(qsysinfo->Mbr_Type, "*MBR"); in dlpath2QSYS()
713 strcpy(qsysinfo->Lib_Type, "*LIB"); in dlpath2QSYS()
716 strcpy(qsysinfo->Obj_Type, "*FILE"); in dlpath2QSYS()
826 strcpy(qsysinfo->Obj_Type, "*SRVPGM"); /* Set our object type. */ in dl_DB2_path()
871 strcpy(qsysinfo->Lib_Type, "*LIB"); in dl_qualified_object()
872 strcpy(qsysinfo->Obj_Type, "*SRVPGM"); in dl_qualified_object()
[all …]
/external/avahi/avahi-compat-howl/include/salt/
Dplatform.h173 # define sw_strcpy(ARG1, ARG2) (ARG2) ? strcpy(ARG1, ARG2) : strcpy(ARG1, "")
174 # define sw_strncpy(ARG1, ARG2, N) (ARG2) ? strncpy(ARG1, ARG2, N) : strcpy(ARG1, "")
210 # define sw_strcpy(ARG1, ARG2) ARG2 ? strcpy(ARG1, ARG2) : strcpy(ARG1, "")
211 # define sw_strncpy(ARG1, ARG2, N) ARG2 ? strncpy(ARG1, ARG2, N) : strcpy(ARG1, "")
254 # define sw_strcpy(ARG1, ARG2) ARG2 ? strcpy(ARG1, ARG2) : strcpy(ARG1, "")
255 # define sw_strncpy(ARG1, ARG2, N) ARG2 ? strncpy(ARG1, ARG2, N) : strcpy(ARG1, "")
/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc125 strcpy(from, "hello"); in TEST()
126 strcpy(to, from); in TEST()
127 strcpy(to + to_size - from_size, from); in TEST()
129 EXPECT_DEATH(Ident(strcpy(from, "hello2")), RightOOBWriteMessage(0)); in TEST()
131 EXPECT_DEATH(Ident(strcpy(to - 1, from)), LeftOOBWriteMessage(1)); in TEST()
132 EXPECT_DEATH(Ident(strcpy(to, from - 1)), LeftOOBReadMessage(1)); in TEST()
133 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBReadMessage(0)); in TEST()
134 EXPECT_DEATH(Ident(strcpy(to + to_size, from)), RightOOBWriteMessage(0)); in TEST()
137 EXPECT_DEATH(Ident(strcpy(to, from)), RightOOBReadMessage(0)); in TEST()
148 strcpy(from, "hello"); in TEST()
[all …]
/external/fio/lib/
Dlinux-dev-lookup.c38 strcpy(path, full_path); in blktrace_lookup_device()
52 strcpy(path, redirect); in blktrace_lookup_device()
58 strcpy(path, full_path); in blktrace_lookup_device()

12345678910>>...33