HomeSort by relevance Sort by last modified time
    Searched refs:strncpy (Results 51 - 75 of 1050) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/compiler-rt/lib/asan/tests/
asan_str_test.cc 180 strncpy(to, from, 0);
181 strncpy(to - 1, from - 1, 0);
182 // normal strncpy calls
183 strncpy(to, from, from_size);
184 strncpy(to, from, to_size);
185 strncpy(to, from + from_size - 1, to_size);
186 strncpy(to + to_size - 1, from, 1);
188 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)),
190 EXPECT_DEATH(Ident(strncpy(to - 1, from, from_size)),
192 EXPECT_DEATH(Ident(strncpy(to, from + from_size, 1))
    [all...]
  /external/python/cpython2/PC/os2emx/
getpathp.c 161 strncpy(buffer+n, stuff, k);
223 strncpy(progpath, prog, MAXPATHLEN);
236 strncpy(progpath, path, len);
240 strncpy(progpath, path, MAXPATHLEN);
280 strncpy(prefix, pythonhome, MAXPATHLEN);
286 strncpy(zip_path, progpath, MAXPATHLEN);
371 strncpy(buf, p, n);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
getpath.c 258 strncpy(buffer, volume_name, MAXPATHLEN);
276 strncpy(buffer+n, stuff, k);
490 strncpy(progpath, prog, MAXPATHLEN);
499 strncpy(progpath, path, len);
503 strncpy(progpath, path, MAXPATHLEN);
520 strncpy(argv0_path, progpath, MAXPATHLEN);
534 strncpy(prefix, volume_name, MAXPATHLEN);
542 strncpy(zip_path, prefix, MAXPATHLEN);
554 strncpy(exec_prefix, volume_name, MAXPATHLEN);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
getpath.c 189 strncpy(buffer, volume_name, MAXPATHLEN);
207 strncpy(buffer+n, stuff, k);
421 strncpy(progpath, prog, MAXPATHLEN);
430 strncpy(progpath, path, len);
434 strncpy(progpath, path, MAXPATHLEN);
451 strncpy(argv0_path, progpath, MAXPATHLEN);
465 strncpy(prefix, volume_name, MAXPATHLEN);
473 strncpy(zip_path, prefix, MAXPATHLEN);
485 strncpy(exec_prefix, volume_name, MAXPATHLEN); // "fs0:"
  /toolchain/binutils/binutils-2.27/gas/config/
obj-evax.c 250 strncpy (suffix, &id[len-4], 4);
266 strncpy (prefix, id, prefix_dotdot);
291 strncpy (new_id, prefix, prefix_dotdot);
469 strncpy (newname, name, final_len);
473 strncpy (newname + MAX_LABEL_LENGTH - suffix_length,
476 strncpy (newname + final_len, "_h", 2);
477 strncpy (newname + final_len + 2 , crc_chars, 5);
478 strncpy (newname + final_len + 2 + 5, encode_16 (len), 3);
479 strncpy (newname + final_len + 2 + 5 + 3, encode_16 (sum), 3);
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
test_VIDIOC_QUERYCAP.c 116 strncpy((char *)cap2.driver, (char *)cap.driver,
118 strncpy((char *)cap2.card, (char *)cap.card, sizeof(cap2.card));
119 strncpy((char *)cap2.bus_info, (char *)cap.bus_info,
  /device/google/contexthub/firmware/lib/libc/
Android.mk 27 strncpy.c \
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
Exceptions.c 136 strncpy (ExceptionLog[ExceptionLevel].ExceptionMsg, Msg, MAX_EXCEPTION_MSG);
  /external/linux-kselftest/tools/testing/selftests/media_tests/
media_device_open.c 54 strncpy(media_device, optarg, sizeof(media_device) - 1);
  /external/ltp/testcases/kernel/controllers/cpuctl/
cpuctl_latency_test.c 89 strncpy(mytaskfile, argv[2], FILENAME_MAX);
  /external/mdnsresponder/mDNSWindows/
loclibrary.c 70 strncpy(isoLangCode, langStr, codeLen);
92 strncpy(isoLangCode, DEFAULT_LANG_CODE, LANG_CODE_LEN+1);
205 strncpy(locFile, tmpBuffer, locFileLen);
217 strncpy(locFile, tmpBuffer, locFileLen);
  /external/swiftshader/third_party/LLVM/lib/Support/
Errno.cpp 61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1);
  /external/syslinux/com32/rosh/
rosh.h 110 strncpy(dest, slv->version_string, n);
131 strncpy(dest, env.sysname, n);
133 strncpy(dest + len, " ", (n - len));
135 strncpy(dest + len, env.release, (n - len));
  /external/toybox/toys/other/
mkswap.c 37 if (TT.L) strncpy(label, TT.L, 15);
  /hardware/intel/common/wrs_omxil_core/base/src/
cmodule.cpp 45 // strncpy(this->name, name, OMX_MAX_STRINGNAME_SIZE);
46 strncpy(this->lname, lname, (strlen(lname) < OMX_MAX_STRINGNAME_SIZE) ? strlen(lname) : (OMX_MAX_STRINGNAME_SIZE-1));
149 strncpy((OMX_STRING)&roles[i][0],
252 strncpy((OMX_STRING)&this_roles[i][0],
265 strncpy(&cname[0], name, copy_name_len);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pcrt32.h 27 #define _fstrncpy strncpy
  /external/e2fsprogs/misc/
e2label.c 84 strncpy(label, sb.s_volume_name, VOLNAMSZ);
95 strncpy(sb.s_volume_name, label, VOLNAMSZ);
  /external/iproute2/tc/
tc_exec.c 76 strncpy(eu->id, name, sizeof(eu->id) - 1);
99 strncpy(kind, *argv, sizeof(kind) - 1);
  /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,
  /external/mesa3d/src/gallium/auxiliary/os/
os_process.c 107 strncpy(procname, name, size);
130 strncpy(cmdline, args, size);
  /system/libufdt/utils/src/
mkdtimg_core.c 278 strncpy(options->id, value, OPTION_VALUE_SIZE_MAX - 1);
280 strncpy(options->rev, value, OPTION_VALUE_SIZE_MAX - 1);
282 strncpy(options->custom[0], value, OPTION_VALUE_SIZE_MAX - 1);
284 strncpy(options->custom[1], value, OPTION_VALUE_SIZE_MAX - 1);
286 strncpy(options->custom[2], value, OPTION_VALUE_SIZE_MAX - 1);
288 strncpy(options->custom[3], value, OPTION_VALUE_SIZE_MAX - 1);
332 strncpy(fdt_info->filename, filename, sizeof(fdt_info->filename) - 1);
369 strncpy(
  /external/iproute2/ip/
tunnel.c 77 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
102 strncpy(ifr.ifr_name, name, IFNAMSIZ);
104 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
128 strncpy(ifr.ifr_name, name, IFNAMSIZ);
130 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
155 strncpy(ifr.ifr_name, name, IFNAMSIZ);
  /external/python/cpython2/PC/
getpathp.c 167 strncpy(buffer+n, stuff, k);
431 strncpy(progpath, prog, MAXPATHLEN);
440 strncpy(progpath, path, len);
444 strncpy(progpath, path, MAXPATHLEN);
490 strncpy(prefix, pythonhome, MAXPATHLEN);
499 strncpy(zip_path, dllpath, MAXPATHLEN);
501 strncpy(zip_path, progpath, MAXPATHLEN);
633 strncpy(buf, p, n);
668 strncpy(lookBuf, look+1, nchars);
  /external/libmtp/util/
mtp-probe.c 80 strncpy(pbuf + len, "type", FILENAME_MAX - len);
101 strncpy(pbuf + len, "direction", FILENAME_MAX - len);
143 strncpy(pbuf + len, "bNumEndpoints", FILENAME_MAX - len);
200 strncpy(dirbuf + len, dent->d_name, FILENAME_MAX - len);
265 strncpy(dirbuf + len, dent->d_name, FILENAME_MAX - len);

Completed in 2105 milliseconds

1 23 4 5 6 7 8 91011>>