Home
last modified time | relevance | path

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

/freebsd/lib/libefivar/
H A Defivar-dp-parse.c115 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()
2640 SerialNumberStrLen = StrLen (SerialNumberStr); in DevPathFromTextUsbWwid()
2867 DataLen = StrLen (SSIdStr); in DevPathFromTextWiFi()
2868 if (StrLen (SSIdStr) > 32) { in DevPathFromTextWiFi()
3196 StrCpyS (File->PathName, StrLen (TextDeviceNode) + 1, TextDeviceNode); in DevPathFromTextFilePath()
[all …]
H A Duefi-dplib.h512 #define StrLen(x) strlen(x) macro
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h218 template <std::size_t StrLen> in alignas()
219 bool isStr(const char (&Str)[StrLen]) const { in alignas()
220 return getLength() == StrLen-1 && in alignas()
221 memcmp(getNameStart(), Str, StrLen-1) == 0; in alignas()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h207 template<std::size_t StrLen>
208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
/freebsd/sys/dev/hptmv/
H A Dglobal.h153 #define StrLen strlen macro
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h89 uint32_t StrLen; ///< Length of string section member
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp515 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/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp572 template <std::size_t StrLen>
574 const char (&Str)[StrLen]) { in ModifierIs() argument
575 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp503 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) in optimizeStrChr() local
725 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local
726 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy()
1156 if (!StrLen) in optimizeStrStr()
1159 StrLen, B, DL, TLI); in optimizeStrStr()
3185 Value *StrLen = ConstantInt::get(CI->getType(), Str.size()); in emitSnPrintfMemCpy() local
3187 return StrLen; in emitSnPrintfMemCpy()
3211 return StrLen; in emitSnPrintfMemCpy()
3218 return StrLen; in emitSnPrintfMemCpy()
3959 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp129 uint32_t StrLen = Extractor.getU32(C); in parseBTF() local
131 uint32_t StrEnd = StrStart + StrLen; in parseBTF()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp436 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 DBTFDebug.cpp1046 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 DSemaChecking.cpp1093 StringRef &FormatStrRef, size_t &StrLen, in ProcessFormatStringLiteral() argument
1261 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1296 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1301 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
1384 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1390 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
12595 Str, Str + StrLen, S.getLangOpts(), S.Context.getTargetInfo())) in CheckFormatString()
12610 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString()
12651 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg()
12949 template <std::size_t StrLen>
[all …]
H A DSemaInit.cpp3077 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local
3078 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
3079 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
3080 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
3084 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
3100 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local
3101 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
3102 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
3103 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
3107 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
/freebsd/sys/contrib/edk2/Include/Library/
H A DBaseLib.h1060 StrLen (
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12522 uint64_t StrLen; in VisitBuiltinCallExpr() local
12523 if (EvaluateBuiltinStrLen(E->getArg(0), StrLen, Info)) in VisitBuiltinCallExpr()
12524 return Success(StrLen, E); in VisitBuiltinCallExpr()
/freebsd/sys/contrib/edk2/
H A DMdePkg.dec2132 # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>