Home
last modified time | relevance | path

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

12345678910>>...37

/external/valgrind/main/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/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/oprofile/libop/
Dop_config.c49 strcpy(op_session_dir, session_dir); in init_op_config_dirs()
51 strcpy(op_samples_dir, op_session_dir); in init_op_config_dirs()
54 strcpy(op_samples_current_dir, op_samples_dir); in init_op_config_dirs()
57 strcpy(op_lock_file, op_session_dir); in init_op_config_dirs()
60 strcpy(op_pipe_file, op_session_dir); in init_op_config_dirs()
63 strcpy(op_log_file, op_samples_dir); in init_op_config_dirs()
66 strcpy(op_dump_status, op_session_dir); in init_op_config_dirs()
69 strcpy(op_device, op_session_dir); in init_op_config_dirs()
72 strcpy(op_note_device, op_session_dir); in init_op_config_dirs()
75 strcpy(op_hash_device, op_session_dir); in init_op_config_dirs()
/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.cpp258 strcpy((char*)fileName, PICO_SYSTEM_LINGWARE_PATH); in hasResourcesForLanguage()
265 strcpy((char*)fileName, PICO_SYSTEM_LINGWARE_PATH); in hasResourcesForLanguage()
278 strcpy((char*)fileName, pico_alt_lingware_path); in hasResourcesForLanguage()
288 strcpy((char*)fileName, pico_alt_lingware_path); in hasResourcesForLanguage()
361 strcpy((char*)tmpFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
373 strcpy((char *) picoTaFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
374 strcpy((char *) picoSgFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
375 strcpy((char *) picoUtppFileName, PICO_SYSTEM_LINGWARE_PATH); in doLanguageSwitchFromLangIndex()
377 strcpy((char *) picoTaFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
378 strcpy((char *) picoSgFileName, pico_alt_lingware_path); in doLanguageSwitchFromLangIndex()
[all …]
/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/valgrind/main/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/netperf/
Dnetsh.c391 strcpy(host_name,""); /* remote host name or ip addr */ in set_defaults()
392 strcpy(local_host_name,""); /* we want it to be INADDR_ANY */ in set_defaults()
393 strcpy(test_name,"TCP_STREAM"); /* which test to run */ in set_defaults()
445 strcpy(fill_file,""); in set_defaults()
479 strcpy(program, argv[0]); in scan_cmd_line()
560 strcpy(fill_file,optarg); in scan_cmd_line()
665 strcpy(test_name,optarg); in scan_cmd_line()
761 strcpy(result_brand,optarg); in scan_cmd_line()
793 strcpy(host_name,"localhost"); in scan_cmd_line()
801 strcpy(host_name,"localhost"); in scan_cmd_line()
[all …]
/external/chromium_org/third_party/npapi/npspy/windows/
Dwinentry.cpp52 strcpy(szReason, "DLL_PROCESS_ATTACH"); in DllMain()
55 strcpy(szReason, "DLL_THREAD_ATTACH"); in DllMain()
58 strcpy(szReason, "DLL_PROCESS_DETACH"); in DllMain()
61 strcpy(szReason, "DLL_THREAD_DETACH"); in DllMain()
/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/chromium_org/third_party/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()
64 strcpy(codec_instance_.plname, "iLBC"); in TEST_F()
/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/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/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/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/iproute2/ip/
Dtunnel.c47 strcpy(buf, "ip"); in tnl_strproto()
50 strcpy(buf, "gre"); in tnl_strproto()
53 strcpy(buf, "ipv6"); in tnl_strproto()
56 strcpy(buf, "any"); in tnl_strproto()
59 strcpy(buf, "unknown"); in tnl_strproto()
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dexpr.c1311 strcpy(opstr, "+"); in yasm_expr_print()
1314 strcpy(opstr, "-"); in yasm_expr_print()
1317 strcpy(opstr, "*"); in yasm_expr_print()
1320 strcpy(opstr, "/"); in yasm_expr_print()
1323 strcpy(opstr, "//"); in yasm_expr_print()
1326 strcpy(opstr, "%"); in yasm_expr_print()
1329 strcpy(opstr, "%%"); in yasm_expr_print()
1340 strcpy(opstr, "|"); in yasm_expr_print()
1343 strcpy(opstr, "&"); in yasm_expr_print()
1346 strcpy(opstr, "^"); in yasm_expr_print()
[all …]
/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/chromium_org/base/third_party/xdg_user_dirs/
Dxdg_user_dir_lookup.cc71 strcpy (config_file, home_dir); in xdg_user_dir_lookup_with_fallback()
80 strcpy (config_file, config_home); in xdg_user_dir_lookup_with_fallback()
140 strcpy (user_dir, home_dir); in xdg_user_dir_lookup_with_fallback()
211 strcpy (user_dir, home_dir); in xdg_user_dir_lookup()
/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/tcpdump/missing/
Dgetnameinfo.c160 strcpy(serv, sp->s_name);
165 strcpy(serv, numserv);
221 strcpy(host, numaddr);
265 strcpy(host, hp->h_name);
277 strcpy(host, numaddr);
/external/libpng/contrib/visupng/
DVisualPng.c111 strcpy (szCmdFileName, szCmdLine); in WinMain()
113 strcpy (szCmdFileName, ""); in WinMain()
183 strcpy (szImgPathName, ""); in WndProc()
189 strcpy (szImgPathName, szCmdFileName); in WndProc()
538 strcpy (szImgPathName, pstrPathName); in BuildPngList()
539 strcpy (szImgFileName, strrchr (pstrPathName, '\\') + 1); in BuildPngList()
541 strcpy (szImgFindName, szImgPathName); in BuildPngList()
572 strcpy (*ppFileList + ii, szImgPathName); in BuildPngList()
573 strcpy (strrchr(*ppFileList + ii, '\\') + 1, finddata.cFileName); in BuildPngList()
595 strcpy (szTmp, *ppFileList + jj); in BuildPngList()
[all …]

12345678910>>...37