| /freebsd-12.1/lib/libefivar/ |
| H A D | efivar-dp-parse.c | 124 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 D | uefi-dplib.h | 523 #define StrLen(x) strlen(x) macro
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 136 template <std::size_t StrLen> in alignas() 137 bool isStr(const char (&Str)[StrLen]) const { in alignas() 138 return getLength() == StrLen-1 && in alignas() 139 memcmp(getNameStart(), Str, StrLen-1) == 0; in alignas()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 208 template<std::size_t StrLen> 209 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BTF.h | 76 uint32_t StrLen; ///< Length of string section member
|
| H A D | BTFDebug.cpp | 557 uint32_t TypeLen = 0, StrLen; in emitBTFSection() local 560 StrLen = StringTable.getSize(); in emitBTFSection() 565 OS.EmitIntValue(StrLen, 4); in emitBTFSection()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 40 size_t StrLen; variable 43 explicit StringMapEntryBase(size_t Len) : StrLen(Len) {} in StringMapEntryBase() 45 size_t getKeyLength() const { return StrLen; } in getKeyLength()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 545 template <std::size_t StrLen> 547 const char (&Str)[StrLen]) { in ModifierIs() argument 548 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs()
|
| /freebsd-12.1/sys/dev/hptmv/ |
| H A D | global.h | 155 #define StrLen strlen macro
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 451 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local 452 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 703 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local 704 if (!StrLen) in optimizeStrStr() 707 StrLen, B, DL, TLI); in optimizeStrStr() 2808 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local 2809 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
|
| H A D | BuildLibCalls.cpp | 801 Constant *StrLen = M->getOrInsertFunction(StrlenName, DL.getIntPtrType(Context), in emitStrLen() local 804 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), StrlenName); in emitStrLen() 805 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in emitStrLen()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 2689 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local 2690 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 2691 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer() 2692 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 2696 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer() 2711 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local 2712 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 2713 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer() 2714 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 2718 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
|
| H A D | SemaChecking.cpp | 8255 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() local 8271 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString() 8288 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, in CheckFormatString() 8298 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen, in CheckFormatString() 8313 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg() local 8314 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg() 8612 template <std::size_t StrLen> 8614 const char (&Str)[StrLen]) { in IsStdFunction() argument
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 637 size_t StrLen = Str.size(); in ConstantFoldLoadFromConstPtr() local 641 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && in ConstantFoldLoadFromConstPtr()
|
| /freebsd-12.1/sys/contrib/edk2/Include/Library/ |
| H A D | BaseLib.h | 1143 StrLen (
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ItaniumMangle.cpp | 4638 template <std::size_t StrLen> 4640 const char (&Str)[StrLen]) { in isStreamCharSpecialization() argument
|
| /freebsd-12.1/sys/contrib/edk2/ |
| H A D | MdePkg.dec | 1934 # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 8375 unsigned StrLen = (((unsigned) StrLenPtr[0]) in DecodeIdentifierInfo() local 8377 auto &II = PP.getIdentifierTable().get(StringRef(Str, StrLen)); in DecodeIdentifierInfo()
|