Home
last modified time | relevance | path

Searched refs:StrLen (Results 1 – 14 of 14) sorted by relevance

/external/zlib/contrib/pascal/
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/llvm/include/llvm/Support/
DPathV1.h203 Path(const char *StrStart, unsigned StrLen);
671 unsigned StrLen ///< Length of the path. in PathWithStatus() argument
672 ) : Path(StrStart, StrLen), status(), fsIsValid(false) {} in PathWithStatus()
/external/clang/include/clang/Basic/
DIdentifierTable.h82 template <std::size_t StrLen>
83 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument
84 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1); in isStr()
/external/llvm/include/llvm/ADT/
DStringMap.h44 unsigned StrLen; variable
46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase()
48 unsigned getKeyLength() const { return StrLen; } in getKeyLength()
/external/clang/lib/Basic/
DDiagnostic.cpp302 template <std::size_t StrLen>
304 const char (&Str)[StrLen]) { in ModifierIs() argument
305 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp41 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2), in EmitStrLen() local
45 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen()
46 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in EmitStrLen()
/external/llvm/lib/Analysis/
DConstantFolding.cpp445 unsigned StrLen = Str.length(); in ConstantFoldLoadFromConstPtr() local
450 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && in ConstantFoldLoadFromConstPtr()
455 for (signed i = StrLen-1; i >= 0; i--) { in ConstantFoldLoadFromConstPtr()
460 for (unsigned i = 0; i < StrLen; i++) { in ConstantFoldLoadFromConstPtr()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp674 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, TD); in CallOptimizer() local
676 StrLen, B, TD); in CallOptimizer()
1451 StrNCpyOpt StrNCpy; StrLenOpt StrLen; StrPBrkOpt StrPBrk; member in __anona5041a2b0311::SimplifyLibCalls
1512 Optimizations["strlen"] = &StrLen; in InitOptimizations()
/external/llvm/lib/Support/Windows/
DPath.inc57 Path::Path(const char *StrStart, unsigned StrLen)
58 : path(StrStart, StrLen) {
/external/clang/lib/Serialization/
DASTWriter.cpp1142 unsigned StrLen = strlen(path); in EmitKeyDataLength() local
1143 clang::io::Emit16(Out, StrLen); in EmitKeyDataLength()
1146 return std::make_pair(StrLen + 1, DataLen); in EmitKeyDataLength()
1295 unsigned StrLen = strlen(path); in EmitKeyDataLength() local
1296 clang::io::Emit16(Out, StrLen); in EmitKeyDataLength()
1299 return std::make_pair(StrLen + 1, DataLen); in EmitKeyDataLength()
DASTReader.cpp4630 unsigned StrLen = (((unsigned) StrLenPtr[0]) in DecodeIdentifierInfo() local
4633 = &PP->getIdentifierTable().get(llvm::StringRef(Str, StrLen)); in DecodeIdentifierInfo()
/external/llvm/lib/Support/Unix/
DPath.inc88 Path::Path(const char *StrStart, unsigned StrLen)
89 : path(StrStart, StrLen) {}
/external/clang/lib/Sema/
DSemaChecking.cpp1818 unsigned StrLen = StrRef.size(); in CheckFormatString() local
1821 if (StrLen == 0) { in CheckFormatString()
1833 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen)) in CheckFormatString()
1842 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen)) in CheckFormatString()
/external/clang/lib/AST/
DItaniumMangle.cpp3067 template <std::size_t StrLen>
3069 const char (&Str)[StrLen]) { in isStreamCharSpecialization() argument