Searched refs:StrLen (Results 1 - 17 of 17) sorted by relevance

/external/libcxx/test/std/experimental/string.view/string.view.cons/
H A Dfrom_literal.pass.cpp24 size_t StrLen ( const CharT *s ) { function
33 assert ( sv1.size() == StrLen( s ));
/external/pdfium/third_party/lcms2-2.6/src/
H A Dcmsnamed.c350 cmsUInt32Number StrLen = 0; local
360 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL);
363 ASCIIlen = StrLen / sizeof(wchar_t);
395 cmsUInt32Number StrLen = 0; local
403 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL);
407 if (Buffer == NULL) return StrLen + sizeof(wchar_t);
413 if (BufferSize < StrLen + sizeof(wchar_t))
414 StrLen = BufferSize - + sizeof(wchar_t);
416 memmove(Buffer, Wide, StrLen);
417 Buffer[StrLen / sizeo
[all...]
/external/clang/include/clang/Basic/
H A DIdentifierTable.h89 template <std::size_t StrLen>
90 bool isStr(const char (&Str)[StrLen]) const {
91 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1);
/external/zlib/src/contrib/pascal/
H A Dexample.pas61 len := StrLen(hello)+1;
90 len := StrLen(hello)+1;
162 uncomprLen := StrLen(PChar(uncompr));
189 len := StrLen(hello)+1;
373 len := StrLen(hello)+1;
461 err := deflateSetDictionary(c_stream, dictionary, StrLen(dictionary));
469 c_stream.avail_in := StrLen(hello)+1;
513 err := inflateSetDictionary(d_stream, dictionary, StrLen(dictionary));
/external/clang/include/clang/Sema/
H A DTypoCorrection.h188 template<std::size_t StrLen>
189 bool isKeyword(const char (&Str)[StrLen]) const {
/external/llvm/include/llvm/ADT/
H A DStringMap.h32 unsigned StrLen; member in class:llvm::StringMapEntryBase
35 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
37 unsigned getKeyLength() const { return StrLen; }
/external/clang/lib/Basic/
H A DDiagnostic.cpp410 template <std::size_t StrLen>
412 const char (&Str)[StrLen]) {
413 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1);
/external/libbrillo/brillo/dbus/
H A Ddbus_object_unittest.cc38 const char kTestMethod_StrLen[] = "StrLen";
66 int StrLen(const std::string& str) { function in namespace:brillo::dbus_utils::__anon9082
128 itf2->AddSimpleMethodHandler(kTestMethod_StrLen, StrLen);
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp48 Constant *StrLen = M->getOrInsertFunction( local
51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
52 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts()))
H A DSimplifyLibCalls.cpp482 Value *StrLen = EmitStrLen(Src, B, DL, TLI);
483 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr;
703 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, DL, TLI);
704 if (!StrLen)
707 StrLen, B, DL, TLI);
2479 Value *StrLen = EmitStrLen(Src, B, DL, TLI);
2480 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr;
/external/avahi/avahi-compat-howl/include/salt/
H A Dplatform.h231 # define sw_strlen(ARG1) StrLen(ARG1)
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp561 unsigned StrLen = Str.size(); local
566 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 &&
571 for (signed i = StrLen-1; i >= 0; i--) {
576 for (unsigned i = 0; i < StrLen; i++) {
/external/clang/lib/Sema/
H A DSemaInit.cpp2406 uint64_t StrLen = SL->getLength(); local
2407 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2408 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2409 StructuredList->resizeInits(Context, StrLen);
2413 for (unsigned i = 0, e = StrLen; i != e; ++i) {
2428 uint64_t StrLen = Str.size(); local
2429 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2430 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2431 StructuredList->resizeInits(Context, StrLen);
2435 for (unsigned i = 0, e = StrLen;
[all...]
H A DSemaChecking.cpp4683 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); local
4699 if (StrLen == 0 && numDataArgs > 0) {
4714 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen,
4724 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen,
4739 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); local
4740 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen,
/external/clang/lib/AST/
H A DItaniumMangle.cpp3893 template <std::size_t StrLen>
3895 const char (&Str)[StrLen]) {
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2197 static StringEncoding getStringEncoding(const char *Str, unsigned StrLen) {
2199 for (const char *C = Str, *E = C + StrLen; C != E; ++C) {
/external/clang/lib/Serialization/
H A DASTReader.cpp7429 unsigned StrLen = (((unsigned) StrLenPtr[0])
7432 = &PP.getIdentifierTable().get(StringRef(Str, StrLen));

Completed in 693 milliseconds