| /freebsd-src/lib/libefivar/ |
| H A D | efivar-dp-parse.c | 115 NodeNameLength = StrLen (NodeName); in GetParamByNodeName() 455 DataLength = StrLen (DataStr) / 2; in DevPathFromTextGenericPath() 629 Length = StrLen (DataStr); in ConvertFromTextVendor() 965 Length = (UINT16)(sizeof (ACPI_EXTENDED_HID_DEVICE_PATH) + StrLen (HIDSTRStr) + 1); in DevPathFromTextAcpiEx() 966 Length = (UINT16)(Length + StrLen (UIDSTRStr) + 1); in DevPathFromTextAcpiEx() 967 Length = (UINT16)(Length + StrLen (CIDSTRStr) + 1); in DevPathFromTextAcpiEx() 1010 Length = (UINT16)(sizeof (ACPI_EXTENDED_HID_DEVICE_PATH) + StrLen (UIDSTRStr) + 3); in DevPathFromTextAcpiExp() 2640 SerialNumberStrLen = StrLen (SerialNumberStr); in DevPathFromTextUsbWwid() 2738 … (UINT16)(sizeof (ISCSI_DEVICE_PATH_WITH_NAME) + StrLen (NameStr)) in DevPathFromTextiSCSI() 2867 DataLen = StrLen (SSIdStr); in DevPathFromTextWiFi() [all …]
|
| H A D | uefi-dplib.h | 512 #define StrLen(x) strlen(x) macro
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 227 template <std::size_t StrLen> in isStr() 228 bool isStr(const char (&Str)[StrLen]) const { in isStr() 229 return getLength() == StrLen-1 && 230 memcmp(getNameStart(), Str, StrLen-1) == 0; 219 isStr(const char (& Str)[StrLen]) isStr() argument
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 207 template<std::size_t StrLen> 208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/ |
| H A D | BTF.h | 89 uint32_t StrLen; ///< Length of string section member
|
| /freebsd-src/sys/dev/hptmv/ |
| H A D | global.h | 153 #define StrLen strlen macro
|
| /freebsd-src/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 * 1 in getSufficientBitsNeeded() [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 573 template <std::size_t StrLen> in ModifierIs() 575 const char (&Str)[StrLen]) { in ModifierIs() 576 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs() 574 ModifierIs(const char * Modifier,unsigned ModifierLen,const char (& Str)[StrLen]) ModifierIs() argument
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 512 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) in optimizeStrChr() 513 return B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, StrLen, "strchr"); in optimizeStrChr() 734 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() 735 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 1164 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() 1165 if (!StrLen) in optimizeStrStr() 1168 StrLen, B, DL, TLI); in optimizeStrStr() 3419 Value *StrLen = ConstantInt::get(CI->getType(), Str.size()); in optimizeFPuts() 3421 return StrLen; in optimizeFPuts() 503 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) optimizeStrChr() local 725 Value *StrLen = emitStrLen(Src, B, DL, TLI); optimizeStpCpy() local 1155 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); optimizeStrStr() local 3185 Value *StrLen = ConstantInt::get(CI->getType(), Str.size()); emitSnPrintfMemCpy() local 3959 Value *StrLen = emitStrLen(Src, B, DL, TLI); optimizeStrpCpyChk() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
| H A D | BTFParser.cpp | 129 uint32_t StrLen = Extractor.getU32(C); in parseBTF() local 131 uint32_t StrEnd = StrStart + StrLen; in parseBTF()
|
| /freebsd-src/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-src/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-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 1122 StringRef &FormatStrRef, size_t &StrLen, in checkFortifiedBuiltinMemoryFunction() 1132 StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, FormatStrRef.find(0)); in checkFortifiedBuiltinMemoryFunction() 1290 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() 1291 if (!ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) in checkFortifiedBuiltinMemoryFunction() 1310 FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction() 1325 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() 1326 if (ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) { in checkFortifiedBuiltinMemoryFunction() 1330 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction() 1413 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() 1415 ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Contex in checkFortifiedBuiltinMemoryFunction() 1093 ProcessFormatStringLiteral(const Expr * FormatExpr,StringRef & FormatStrRef,size_t & StrLen,ASTContext & Context) ProcessFormatStringLiteral() argument 1261 size_t StrLen; checkFortifiedBuiltinMemoryFunction() local 1296 size_t StrLen; checkFortifiedBuiltinMemoryFunction() local 1384 size_t StrLen; checkFortifiedBuiltinMemoryFunction() local 12590 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); CheckFormatString() local 12650 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); FormatStringHasSArg() local 12951 IsStdFunction(const FunctionDecl * FDecl,const char (& Str)[StrLen]) IsStdFunction() argument [all...] |
| H A D | SemaInit.cpp | 3216 uint64_t StrLen = SL->getLength(); in getStructuredSubobjectInit() 3217 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in getStructuredSubobjectInit() 3218 StrLen = cast<ConstantArrayType>(AT)->getZExtSize(); in getStructuredSubobjectInit() 3219 StructuredList->resizeInits(Context, StrLen); in getStructuredSubobjectInit() 3223 for (unsigned i = 0, e = StrLen; i != e; ++i) { in getStructuredSubobjectInit() 3239 uint64_t StrLen = Str.size(); in getStructuredSubobjectInit() 3240 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in getStructuredSubobjectInit() 3241 StrLen = cast<ConstantArrayType>(AT)->getZExtSize(); in getStructuredSubobjectInit() 3242 StructuredList->resizeInits(Context, StrLen); 3246 for (unsigned i = 0, e = StrLen; in createInitListExpr() 3077 uint64_t StrLen = SL->getLength(); CheckDesignatedInitializer() local 3100 uint64_t StrLen = Str.size(); CheckDesignatedInitializer() local [all...] |
| /freebsd-src/sys/contrib/edk2/Include/Library/ |
| H A D | BaseLib.h | 1060 StrLen (
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 12816 uint64_t StrLen; in isOnePastTheEndOfCompleteObject() 12817 if (EvaluateBuiltinStrLen(E->getArg(0), StrLen, Info)) in isOnePastTheEndOfCompleteObject() 12818 return Success(StrLen, E); in isOnePastTheEndOfCompleteObject() 12522 uint64_t StrLen; VisitBuiltinCallExpr() local
|
| /freebsd-src/sys/contrib/edk2/ |
| H A D | MdePkg.dec | 2132 # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|