HomeSort by relevance Sort by last modified time
    Searched refs:StrNCmp (Results 1 - 4 of 4) sorted by null

  /external/compiler-rt/lib/asan/tests/
asan_str_test.cc 238 // strncmp
239 EXPECT_EQ(0, strncmp("a", "b", 0));
240 EXPECT_EQ(0, strncmp("abcd", "abcd", 10));
241 EXPECT_EQ(0, strncmp("abcd", "abcef", 3));
242 EXPECT_GT(0, strncmp("abcde", "abcfa", 4));
243 EXPECT_GT(0, strncmp("a", "b", 5));
244 EXPECT_GT(0, strncmp("bc", "bcde", 4));
245 EXPECT_LT(0, strncmp("xyz", "xyy", 10));
246 EXPECT_LT(0, strncmp("baa", "aaa", 1));
247 EXPECT_LT(0, strncmp("zyx", "", 2))
    [all...]
  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 119 /// EmitStrNCmp - Emit a call to the strncmp function to the builder.
123 if (!TLI->has(LibFunc::strncmp))
135 Value *StrNCmp = M->getOrInsertFunction("strncmp",
142 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B),
143 CastToCStr(Ptr2, B), Len, "strncmp");
145 if (const Function *F = dyn_cast<Function>(StrNCmp->stripPointerCasts()))
SimplifyLibCalls.cpp 609 // Verify the "strncmp" function prototype.
619 if (Str1P == Str2P) // strncmp(x,x,n) -> 0
629 if (Length == 0) // strncmp(x,y,0) -> 0
632 if (DL && Length == 1) // strncmp(x,y,1) -> memcmp(x,y,1)
639 // strncmp(x, y) -> cnst (if both x and y are constant strings)
646 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x
650 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
shlwapi.h 216 #define StrNCmp StrCmpN
    [all...]

Completed in 185 milliseconds