/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
H A D | BTFParser.cpp | 129 uint32_t StrLen = Extractor.getU32(C); in parseBTF() 131 uint32_t StrEnd = StrStart + StrLen; in parseBTF() 125 uint32_t StrLen = Extractor.getU32(C); parseBTF() local
|
/freebsd/lib/libefivar/ |
H A D | efivar-dp-parse.c | 115 NodeNameLength = StrLen (NodeName); in GetParamByNodeName() 455 DataLength = StrLen (DataStr) / 2; in DevPathFromTextGenericPath() 638 Length = StrLen (DataStr); in ConvertFromTextVendor() 985 Length = (UINT16)(sizeof (ACPI_EXTENDED_HID_DEVICE_PATH) + StrLen (HIDSTRStr) + 1); in DevPathFromTextAcpiEx() 986 Length = (UINT16)(Length + StrLen (UIDSTRStr) + 1); in DevPathFromTextAcpiEx() 987 Length = (UINT16)(Length + StrLen (CIDSTRStr) + 1); in DevPathFromTextAcpiEx() 1032 Length = (UINT16)(sizeof (ACPI_EXTENDED_HID_DEVICE_PATH) + StrLen (UIDSTRStr) + 3); in DevPathFromTextAcpiExp() 2742 SerialNumberStrLen = StrLen (SerialNumberStr); in DevPathFromTextUsbWwid() 2845 … (UINT16)(sizeof (ISCSI_DEVICE_PATH_WITH_NAME) + StrLen (NameStr)) in DevPathFromTextiSCSI() 2984 DataLen = StrLen (SSIdStr); in DevPathFromTextWiFi() [all …]
|
H A D | uefi-dplib.h | 512 #define StrLen(x) strlen(x) macro
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 227 template <std::size_t StrLen> 228 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument 229 return getLength() == StrLen-1 && in isStr() 230 memcmp(getNameStart(), Str, StrLen-1) == 0; in isStr()
|
H A D | Builtins.td | 2862 def StrLen : LibBuiltin<"string.h"> {
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/ |
H A D | BTF.h | 89 uint32_t StrLen; ///< Length of string section 88 uint32_t StrLen; ///< Length of string section global() member
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APInt.cpp | 515 size_t StrLen = Str.size(); in getSufficientBitsNeeded() local 521 StrLen--; in getSufficientBitsNeeded() 522 assert(StrLen && "String is only a sign, needs a value."); in getSufficientBitsNeeded() 528 return StrLen + IsNegative; in getSufficientBitsNeeded() 530 return StrLen * 3 + IsNegative; in getSufficientBitsNeeded() 532 return StrLen * 4 + IsNegative; in getSufficientBitsNeeded() 539 return (StrLen == 1 ? 4 : StrLen * 64 / 18) + IsNegative; in getSufficientBitsNeeded() 542 return (StrLen == 1 ? 7 : StrLen * 16 / 3) + IsNegative; in getSufficientBitsNeeded()
|
/freebsd/sys/dev/hptmv/ |
H A D | global.h | 153 #define StrLen strlen macro
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 573 template <std::size_t StrLen> 575 const char (&Str)[StrLen]) { in ModifierIs() argument 576 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 512 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) in optimizeStrChr() local 513 return B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, StrLen, "strchr"); in optimizeStrChr() 734 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local 735 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 1164 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local 1165 if (!StrLen) in optimizeStrStr() 1168 StrLen, B, DL, TLI); in optimizeStrStr() 3419 Value *StrLen = ConstantInt::get(CI->getType(), Str.size()); in emitSnPrintfMemCpy() local 3421 return StrLen; in emitSnPrintfMemCpy() 3445 return StrLen; in emitSnPrintfMemCpy() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 436 size_t StrLen = StrEnd - Offset; in terminatedSubstr() local 437 return Str.substr(Offset, StrLen); in terminatedSubstr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.cpp | 1046 uint32_t TypeLen = 0, StrLen; in emitBTFSection() local 1049 StrLen = StringTable.getSize(); in emitBTFSection() 1054 OS.emitInt32(StrLen); in emitBTFSection()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 1122 StringRef &FormatStrRef, size_t &StrLen, in ProcessFormatStringLiteral() argument 1132 StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, FormatStrRef.find(0)); in ProcessFormatStringLiteral() 1290 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local 1291 if (!ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) in checkFortifiedBuiltinMemoryFunction() 1310 FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction() 1325 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local 1326 if (ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) { in checkFortifiedBuiltinMemoryFunction() 1330 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction() 1413 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local 1415 ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) { in checkFortifiedBuiltinMemoryFunction() [all …]
|
H A D | SemaInit.cpp | 3216 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local 3217 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 3218 StrLen = cast<ConstantArrayType>(AT)->getZExtSize(); in CheckDesignatedInitializer() 3219 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 3223 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer() 3239 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local 3240 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 3241 StrLen = cast<ConstantArrayType>(AT)->getZExtSize(); in CheckDesignatedInitializer() 3242 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 3246 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
|
/freebsd/sys/contrib/edk2/Include/Library/ |
H A D | BaseLib.h | 1060 StrLen (
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 12816 uint64_t StrLen; in VisitBuiltinCallExpr() local 12817 if (EvaluateBuiltinStrLen(E->getArg(0), StrLen, Info)) in VisitBuiltinCallExpr() 12818 return Success(StrLen, E); in VisitBuiltinCallExpr()
|
/freebsd/sys/contrib/edk2/ |
H A D | MdePkg.dec | 2132 # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|