| /external/libxml2/os400/ |
| libxmlmain.c | 52 strncpy(tocode, "IBMCCSID01208", sizeof tocode); 53 strncpy(fromcode, "IBMCCSID000000000010", sizeof fromcode);
|
| /external/ltp/testcases/kernel/syscalls/gethostid/ |
| gethostid01.c | 196 strncpy(name2, name, HOSTIDLEN); 214 strncpy(hostid2, hostid,
|
| /system/libufdt/utils/src/ |
| mkdtimg_core.c | 266 strncpy(options->id, value, OPTION_VALUE_SIZE_MAX - 1); 268 strncpy(options->rev, value, OPTION_VALUE_SIZE_MAX - 1); 270 strncpy(options->custom[0], value, OPTION_VALUE_SIZE_MAX - 1); 272 strncpy(options->custom[1], value, OPTION_VALUE_SIZE_MAX - 1); 274 strncpy(options->custom[2], value, OPTION_VALUE_SIZE_MAX - 1); 276 strncpy(options->custom[3], value, OPTION_VALUE_SIZE_MAX - 1); 329 strncpy(writer->past_filenames[fdt_idx], writer->entry_filename, 346 strncpy(
|
| /external/iproute2/ip/ |
| tunnel.c | 74 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 99 strncpy(ifr.ifr_name, name, IFNAMSIZ); 101 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 125 strncpy(ifr.ifr_name, name, IFNAMSIZ); 127 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 152 strncpy(ifr.ifr_name, name, IFNAMSIZ);
|
| /external/curl/lib/ |
| strerror.c | 612 strncpy (buf, p, len); 656 strncpy(buf, strerror(err), max); 687 strncpy(buf, msg, max); 699 strncpy(buf, buffer, max); 707 strncpy(buf, msg, max); 799 strncpy(buf, str, max); 1079 strncpy(outbuf, txt, outmax); 1124 strncpy(outbuf, str, outmax); 1137 strncpy(outbuf, txt, outmax);
|
| /external/ltp/testcases/network/nfsv4/locks/ |
| netsync.c | 29 strncpy(message + s, tmp, r); 189 strncpy(message + s, tmp, r); 206 strncpy(fname, p, i);
|
| /external/ppp/pppd/plugins/rp-pppoe/ |
| if.c | 136 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 155 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 169 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
|
| /external/skia/tools/ |
| win_dbghelp.cpp | 49 strncpy(dest, srcOrEmptyString, len); 222 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1); 227 strncpy(binaries_path, vargs0, pos_last_slash);
|
| /system/bt/bta/hd/ |
| bta_hd_api.cc | 107 strncpy(p_buf->name, p_app_info->p_name, BTA_HD_APP_NAME_LEN); 114 strncpy(p_buf->description, p_app_info->p_description, 122 strncpy(p_buf->provider, p_app_info->p_provider, BTA_HD_APP_PROVIDER_LEN);
|
| /external/clang/test/CodeGen/ |
| libcalls-fno-builtin.c | 5 // RUN: -fno-builtin-strcpy -fno-builtin-stpcpy -fno-builtin-strncpy -fno-builtin-strlen \ 26 char *strncpy(char *s1, const char *s2, size_t n); 90 char *t14(char *x) { return strncpy(x, "foo", 3); } 92 // CHECK: strncpy
|
| /external/valgrind/coregrind/m_demangle/ |
| vg_libciface.h | 63 #define strncpy(_dd,_ss,_sz) VG_(strncpy)((_dd),(_ss),(_sz)) macro
|
| /external/webrtc/webrtc/voice_engine/ |
| voe_codec_unittest.cc | 109 strncpy(codec1.plname, "isac", 4); 127 strncpy(codec2.plname, "ISAC", 4);
|
| /prebuilts/go/darwin-x86/misc/cgo/test/ |
| issue6506.go | 26 C.strncpy(nil, nil, x)
|
| /prebuilts/go/linux-x86/misc/cgo/test/ |
| issue6506.go | 26 C.strncpy(nil, nil, x)
|
| /system/extras/boot_control_copy/ |
| bootinfo.c | 94 strncpy(path, record->blk_device, trimmed_len); 95 strncpy(path + trimmed_len, name, name_len);
|
| /external/netperf/src/ |
| netsh.c | 380 strncpy(temp,family_string,10); 420 strncpy(temp,socket_string,10); 497 strncpy(temp,protocol_string,10); 707 strncpy(local_fill_file,arg1,sizeof(local_fill_file)); 719 strncpy(remote_fill_file,arg2,sizeof(remote_fill_file)); 846 strncpy(test_name,optarg,sizeof(test_name)-1); 913 seem to have a strndup() so just malloc and strncpy it. we 920 strncpy(passphrase, 947 strncpy(test_port,arg1,PORTBUFSIZE); 949 strncpy(local_test_port,arg2,PORTBUFSIZE) [all...] |
| /external/clang/test/Analysis/ |
| string.c | 443 // strncpy() 451 #define strncpy(a,b,n) __strncpy_chk(a,b,n,(size_t)-1) macro 455 #define strncpy BUILTIN(strncpy) macro 456 char *strncpy(char *restrict s1, const char *restrict s2, size_t n); 462 strncpy(NULL, x, 5); // expected-warning{{Null pointer argument in call to string copy function}} 466 strncpy(x, NULL, 5); // expected-warning{{Null pointer argument in call to string copy function}} 470 strncpy(x, (char*)&strcpy_fn, 5); // expected-warning{{Argument to string copy function is the address of the function 'strcpy_fn', which is not a null-terminated string}} 476 clang_analyzer_eval(strncpy(x, y, 5) == x); // expected-warning{{TRUE}} 484 strncpy(x, y, 5); // expected-warning{{Size argument is greater than the length of the destination buffer} [all...] |
| /build/make/tools/ijar/ |
| zip_main.cc | 76 strncpy(out, path1, size - 1); 94 strncpy(path_, path, PATH_MAX); 153 strncpy(output, pointer, output_size); 206 strncpy(path, files[i], PATH_MAX);
|
| /development/ndk/platforms/android-9/include/ |
| string.h | 73 extern char* strncpy(char *, const char *, size_t);
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
| getcwd.c | 45 strncpy(buf, localbuf, size);
|
| /device/linaro/bootloader/edk2/StdLib/LibC/String/ |
| Copying.c | 77 /** The strncpy function copies not more than n characters (characters that
86 @return The strncpy function returns the value of s1.
88 char *strncpy(char * __restrict s1, const char * __restrict s2, size_t n)
function 110 strncpyX exists because normal strncpy does not indicate if the copy was
|
| /external/android-clat/ |
| tun.c | 55 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
|
| /external/compiler-rt/lib/asan/ |
| asan_interceptors.h | 86 DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size)
|
| /external/dtc/tests/ |
| parent_offset.c | 49 strncpy(parentpath, path, pathparentlen);
|
| /external/freetype/include/freetype/config/ |
| ftstdlib.h | 90 #define ft_strncpy strncpy
|