/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 119 /// EmitStrNCpy - Emit a call to the strncpy function to the builder, for the 128 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), 131 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), 132 Len, "strncpy"); 133 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts()))
|
/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/llvm/lib/Transforms/Scalar/ |
SimplifyLibCalls.cpp | 462 // 'strncpy' Optimizations 483 // strncpy(x, "", y) -> memset(x, '\0', y, 1) 494 if (Len == 0) return Dst; // strncpy(x, y, 0) -> x 499 // Let strncpy handle the zero padding 502 // strncpy(x, s, c) -> memcpy(x, s, c, 1) [s and c are constant] [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/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | [all...] |
/frameworks/compile/mclinker/utils/gtest/include/ |
gtest.h | [all...] |