Home
last modified time | relevance | path

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

12345678910>>...27

/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()
Dmemcmptest.c11 s1 = malloc(10); strcpy(s1,"fooble"); in main()
12 s2 = malloc(10); strcpy(s2,"fooble"); 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()
59 strcpy((++i, gbuf), "Hi there"); in test7()
67 strcpy(buf[++gi], "Hi there"); in test8()
74 strcpy((char *)((++gi) + gj), "Hi there"); in test9()
[all …]
D2002-05-24-Alloca.c5 char *strcpy(char *restrict s1, const char *restrict s2);
9 strcpy(C, argv[0]); in main()
/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/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/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/zlib/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/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/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()
Dinit.c71 strcpy (last_command_line,"help"); /* Show the help screen to the user */ in init()
143 strcpy (variable_type,variable_name); in set_struct_descriptors()
197 strcpy (ptr->name,name); in add_new_descriptor()
236 strcpy (ptr->field_names [ptr->fields_num],v_name); in add_new_variable()
363 strcpy (ptr->names [num],name); in add_user_command()
367 strcpy (ptr->descriptions [num],description); in add_user_command()
497 strcpy (buffer, ETC_DIR); in process_configuration_file()
507 strcpy (Ext2Descriptors,value); in process_configuration_file()
511 strcpy (AlternateDescriptors,value); in process_configuration_file()
515 strcpy (LogFile,value); in process_configuration_file()
/external/bluetooth/glib/gio/xdgmime/
Dxdgmime.c145 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); in xdg_mime_init_from_directory()
165 strcpy (file_name, directory); strcat (file_name, "/mime/globs2"); in xdg_mime_init_from_directory()
175 strcpy (file_name, directory); strcat (file_name, "/mime/globs"); in xdg_mime_init_from_directory()
188 strcpy (file_name, directory); strcat (file_name, "/mime/magic"); in xdg_mime_init_from_directory()
200 strcpy (file_name, directory); strcat (file_name, "/mime/aliases"); in xdg_mime_init_from_directory()
205 strcpy (file_name, directory); strcat (file_name, "/mime/subclasses"); in xdg_mime_init_from_directory()
210 strcpy (file_name, directory); strcat (file_name, "/mime/icons"); in xdg_mime_init_from_directory()
215 strcpy (file_name, directory); strcat (file_name, "/mime/generic-icons"); in xdg_mime_init_from_directory()
248 strcpy (guessed_xdg_home, home); in xdg_run_command_on_dirs()
350 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); in xdg_check_dir()
[all …]
/external/oprofile/opcontrol/
Dopcontrol.cpp549 strcpy(cpupath, OP_DRIVER_BASE"/stats/"); in do_status()
552 strcpy(fullname, cpupath); in do_status()
557 strcpy(fullname, cpupath); in do_status()
562 strcpy(fullname, cpupath); in do_status()
567 strcpy(fullname, cpupath); in do_status()
625 strcpy(vmlinux, "--no-vmlinux"); in main()
626 strcpy(kernel_range, ""); in main()
738 strcpy(command, argv[0]); in main()
740 strcpy(slash ? slash + 1 : command, "oprofiled --session-dir="OP_DATA_DIR); in main()
/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/quake/quake/src/QW/client/
Dskin.c47 strcpy (name, allskins); in Skin_Find()
52 strcpy (name, s); in Skin_Find()
54 strcpy (name, baseskin.string); in Skin_Find()
58 strcpy (name, "base"); in Skin_Find()
299 strcpy (allskins, Cmd_Argv(1)); in Skin_AllSkins_f()
/external/libpng/contrib/visupng/
DVisualPng.c109 strcpy (szCmdFileName, szCmdLine); in WinMain()
111 strcpy (szCmdFileName, ""); in WinMain()
181 strcpy (szImgPathName, ""); in WndProc()
187 strcpy (szImgPathName, szCmdFileName); in WndProc()
536 strcpy (szImgPathName, pstrPathName); in BuildPngList()
537 strcpy (szImgFileName, strrchr (pstrPathName, '\\') + 1); in BuildPngList()
539 strcpy (szImgFindName, szImgPathName); in BuildPngList()
570 strcpy (*ppFileList + ii, szImgPathName); in BuildPngList()
571 strcpy (strrchr(*ppFileList + ii, '\\') + 1, finddata.cFileName); in BuildPngList()
593 strcpy (szTmp, *ppFileList + jj); in BuildPngList()
[all …]
/external/bluetooth/glib/tests/
Dfile-test.c60 strcpy (template, "foobar"); in test_mkstemp()
66 strcpy (template, "foobarXXX"); in test_mkstemp()
72 strcpy (template, "fooXXXXXX"); in test_mkstemp()
90 strcpy (template, "fooXXXXXX.pdf"); in test_mkstemp()
/external/stlport/stlport/using/
Dcstring46 # if !defined (strcpy) || !defined (__BORLANDC__)
47 using _STLP_VENDOR_CSTD::strcpy;
49 using ::strcpy;
/external/qemu/android/protocol/
Dcore-commands-impl.c233 strcpy(resp_data->name, netspeed->name); in _coreCmdImpl_handle_command()
235 strcpy(resp_data->name + strlen(resp_data->name) + 1, in _coreCmdImpl_handle_command()
238 strcpy(resp_data->name + strlen(resp_data->name) + 1, ""); in _coreCmdImpl_handle_command()
277 strcpy(resp_data->name, netdelay->name); in _coreCmdImpl_handle_command()
279 strcpy(resp_data->name + strlen(resp_data->name) + 1, in _coreCmdImpl_handle_command()
282 strcpy(resp_data->name + strlen(resp_data->name) + 1, ""); in _coreCmdImpl_handle_command()
/external/clang/test/Analysis/
Dstring.c278 #define strcpy(a,b) __strcpy_chk(a,b,(size_t)-1) macro
282 #define strcpy BUILTIN(strcpy) macro
283 char *strcpy(char *restrict s1, const char *restrict s2);
289 strcpy(NULL, x); // expected-warning{{Null pointer argument in call to string copy function}} in strcpy_null_dst()
293 strcpy(x, NULL); // expected-warning{{Null pointer argument in call to string copy function}} in strcpy_null_src()
297strcpy(x, (char*)&strcpy_fn); // expected-warning{{Argument to string copy function is the address… in strcpy_fn()
301strcpy(x, (const char*)&strcpy_fn); // expected-warning{{Argument to string copy function is the a… in strcpy_fn_const()
307 if (strcpy(x, y) != x) in strcpy_effects()
320 strcpy(x, y); // expected-warning{{String copy function overflows destination buffer}} in strcpy_overflow()
326 strcpy(x, y); // no-warning in strcpy_no_overflow()
/external/webkit/Tools/WebKitTestRunner/
DTestInvocation.cpp76 strcpy(buffer.get(), filePrefix); in createWKURL()
77 strcpy(buffer.get() + prefixLength, pathOrURL); in createWKURL()
80 strcpy(buffer.get(), filePrefix); in createWKURL()
85 strcpy(buffer.get() + numCharacters + 1, pathOrURL); in createWKURL()
/external/srec/srec/crec/
Dtext_parser.c131 strcpy(copy_of_transcription, transcription); in FST_CheckPath_Complex()
151 strcpy(literal, copy_of_transcription); in FST_CheckPath_Complex()
181 strcpy(literal, copy_of_transcription); in FST_CheckPath_Complex()
197 strcpy(mytranscription, transcription); in FST_CheckPath()

12345678910>>...27