HomeSort by relevance Sort by last modified time
    Searched defs:StrNCpy (Results 1 - 11 of 11) sorted by null

  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 174 /// EmitStrNCpy - Emit a call to the strncpy function to the builder, for the
179 if (!TLI->has(LibFunc::strncpy))
188 Value *StrNCpy = M->getOrInsertFunction(Name,
193 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B),
194 Len, "strncpy");
195 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts()))
SimplifyLibCalls.cpp 705 // strncpy(x, "", y) -> memset(x, '\0', y, 1)
716 if (Len == 0) return Dst; // strncpy(x, y, 0) -> x
721 // Let strncpy handle the zero padding
725 // strncpy(x, s, c) -> memcpy(x, s, c, 1) [s and c are constant]
    [all...]
  /external/v8/src/
platform-posix.cc 348 void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) {
349 strncpy(dest.start(), src, n);
platform-win32.cc 810 void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) {
    [all...]
  /external/open-vcdiff/gtest/include/gtest/internal/
gtest-port.h 906 inline const char* StrNCpy(char* dest, const char* src, size_t n) {
907 return strncpy(dest, src, n);
    [all...]
  /external/protobuf/gtest/include/gtest/internal/
gtest-port.h 898 inline const char* StrNCpy(char* dest, const char* src, size_t n) {
899 return strncpy(dest, src, n);
    [all...]
  /external/chromium/testing/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /external/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-port.h     [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h     [all...]
  /external/ceres-solver/internal/ceres/gtest/
gtest.h     [all...]

Completed in 480 milliseconds