Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libefivar/
H A Defivar-dp-parse.c124 NodeNameLength = StrLen (NodeName); in GetParamByNodeName()
456 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()
2601 SerialNumberStrLen = StrLen (SerialNumberStr); in DevPathFromTextUsbWwid()
2832 DataLen = StrLen (SSIdStr); in DevPathFromTextWiFi()
2833 if (StrLen (SSIdStr) > 32) { in DevPathFromTextWiFi()
3033 StrCpyS (File->PathName, StrLen (TextDeviceNode) + 1, TextDeviceNode); in DevPathFromTextFilePath()
[all …]
H A Duefi-dplib.h523 #define StrLen(x) strlen(x) macro
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h148 template <std::size_t StrLen> in alignas()
149 bool isStr(const char (&Str)[StrLen]) const { in alignas()
150 return getLength() == StrLen-1 && in alignas()
151 memcmp(getNameStart(), Str, StrLen-1) == 0; in alignas()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTF.h85 uint32_t StrLen; ///< Length of string section member
H A DBTFDebug.cpp792 uint32_t TypeLen = 0, StrLen; in emitBTFSection() local
795 StrLen = StringTable.getSize(); in emitBTFSection()
800 OS.emitInt32(StrLen); in emitBTFSection()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp559 template <std::size_t StrLen>
561 const char (&Str)[StrLen]) { in ModifierIs() argument
562 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs()
/freebsd-13.1/sys/dev/hptmv/
H A Dglobal.h155 #define StrLen strlen macro
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp315 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) in optimizeStrChr() local
316 return B.CreateGEP(B.getInt8Ty(), SrcStr, StrLen, "strchr"); in optimizeStrChr()
524 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local
525 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy()
808 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local
809 if (!StrLen) in optimizeStrStr()
812 StrLen, B, DL, TLI); in optimizeStrStr()
3331 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local
3332 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
/freebsd-13.1/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp353 size_t StrLen = StrEnd - Offset; in terminatedSubstr() local
354 return Str.substr(Offset, StrLen); in terminatedSubstr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2915 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local
2916 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
2917 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
2918 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2922 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
2938 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local
2939 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
2940 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
2941 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2945 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
H A DSemaChecking.cpp636 size_t StrLen = in checkFortifiedBuiltinMemoryFunction() local
639 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
9538 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() local
9543 Str, Str + StrLen, S.getLangOpts(), S.Context.getTargetInfo())) in CheckFormatString()
9559 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString()
9576 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, in CheckFormatString()
9586 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen, in CheckFormatString()
9601 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg() local
9602 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg()
9900 template <std::size_t StrLen>
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp736 size_t StrLen = Str.size(); in ConstantFoldLoadFromConstPtr() local
740 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && in ConstantFoldLoadFromConstPtr()
/freebsd-13.1/sys/contrib/edk2/Include/Library/
H A DBaseLib.h1060 StrLen (
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DItaniumMangle.cpp5985 template <std::size_t StrLen>
5987 const char (&Str)[StrLen]) { in isStreamCharSpecialization() argument
/freebsd-13.1/sys/contrib/edk2/
H A DMdePkg.dec2132 # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>