/freebsd/crypto/openssl/demos/cms/ |
H A D | comp.txt | 3 Some Text To be Compressed 4 Some Text To be Compressed 5 Some Text To be Compressed 6 Some Text To be Compressed 7 Some Text To be Compressed 8 Some Text To be Compressed 9 Some Text To be Compressed 10 Some Text To be Compressed 11 Some Text To be Compressed 12 Some Text To be Compressed [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | Encoding.h | 33 inline Encoding detectEncoding(StringRef Text) { in detectEncoding() argument 34 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin()); in detectEncoding() 35 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end()); in detectEncoding() 44 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { in columnWidth() argument 46 int ContentWidth = llvm::sys::unicode::columnWidthUTF8(Text); in columnWidth() 54 return Text.size(); in columnWidth() 60 inline unsigned columnWidthWithTabs(StringRef Text, unsigned StartColumn, in columnWidthWithTabs() argument 63 StringRef Tail = Text; in columnWidthWithTabs() 96 inline unsigned getEscapeSequenceLength(StringRef Text) { in getEscapeSequenceLength() argument 97 assert(Text[0] == '\\'); in getEscapeSequenceLength() [all …]
|
H A D | IntegerLiteralSeparatorFixer.cpp | 94 auto Text = StringRef(SourceMgr.getCharacterData(Location), Length); in process() local 96 if (isClangFormatOff(Text)) in process() 98 else if (isClangFormatOn(Text)) in process() 102 if (Skip || Tok.isNot(tok::numeric_constant) || Text[0] == '.' || in process() 107 const auto B = getBase(Text); in process() 119 Text.find_first_of(IsBase16 ? Suffixes.drop_back() : Suffixes); in process() 121 Text = Text.substr(0, Pos); in process() 125 if ((IsBase10 && Text.find_last_of(".eEfFdDmM") != StringRef::npos) || in process() 126 (IsBase16 && Text.find_last_of(".pP") != StringRef::npos)) { in process() 129 const auto Start = Text[0] == '0' ? 2 : 0; in process() [all …]
|
H A D | BreakableToken.cpp | 68 getCommentSplit(StringRef Text, unsigned ContentStartColumn, in getCommentSplit() argument 72 LLVM_DEBUG(llvm::dbgs() << "Comment split: \"" << Text in getCommentSplit() 82 NumChars < MaxSplit && MaxSplitBytes < Text.size();) { in getCommentSplit() 84 encoding::getCodePointNumBytes(Text[MaxSplitBytes], Encoding); in getCommentSplit() 86 Text.substr(MaxSplitBytes, BytesInChar), ContentStartColumn + NumChars, in getCommentSplit() 96 Text.find_first_of(Blanks, MaxSplitBytes); in getCommentSplit() 97 if (SpaceOffset != StringRef::npos && SpaceOffset + 1 < Text.size() && in getCommentSplit() 98 Text[SpaceOffset + 1] == '{') { in getCommentSplit() 103 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() 115 Text.find_last_not_of(Blanks, SpaceOffset); in getCommentSplit() [all …]
|
H A D | FormatTokenLexer.cpp | 826 auto Text = Lex->getBuffer().substr(OpenOffset, CloseOffset - OpenOffset + 2); in handleTableGenMultilineString() local 827 MultiLineString->TokenText = Text; in handleTableGenMultilineString() 829 Lex->getSourceLocation(Lex->getBufferLocation() - 2 + Text.size()))); in handleTableGenMultilineString() 830 auto FirstLineText = Text; in handleTableGenMultilineString() 831 auto FirstBreak = Text.find('\n'); in handleTableGenMultilineString() 835 FirstLineText = Text.substr(0, FirstBreak + 1); in handleTableGenMultilineString() 837 auto LastBreak = Text.rfind('\n'); in handleTableGenMultilineString() 839 Text.substr(LastBreak + 1), MultiLineString->OriginalColumn, in handleTableGenMultilineString() 853 StringRef Text = Tok->TokenText; in handleTableGenNumericLikeIdentifier() local 862 if (Text.size() < 1 || Text[0] == '+' || Text[0] == '-') in handleTableGenNumericLikeIdentifier() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCodeBuilders.cpp | 77 StringRef Text = getText(E, Context); in buildParens() local 78 if (Text.empty()) in buildParens() 81 return ("(" + Text + ")").str(); in buildParens() 82 return Text.str(); in buildParens() 90 StringRef Text = in buildDereference() local 92 if (Text.empty()) in buildDereference() 94 return Text.str(); in buildDereference() 97 StringRef Text = getText(E, Context); in buildDereference() local 98 if (Text.empty()) in buildDereference() 102 return ("*(" + Text + ")").str(); in buildDereference() [all …]
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | basic.t | 40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE); 41 ok(defined $template) or diag $Text::Template::ERROR; 63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X'); 69 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl); 70 ok defined $template or diag $Text::Template::ERROR; 83 $template = Text::Template->new( 103 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => 'B{"\\}"}C{"\\{"}D'); 111 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => qq{A{"\t"}B}); 141 my $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => $test); 153 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl); [all …]
|
H A D | error.t | 14 Text::Template->new(); 20 eval { Text::Template->new(TYPE => 'FILE'); }; 24 eval { Text::Template->new(TYPE => 'wlunch', SOURCE => 'fish food'); }; 28 my $o = Text::Template->new( 33 ok defined($Text::Template::ERROR) 34 && $Text::Template::ERROR =~ /^Couldn't open file/;
|
H A D | delimiters.t | 17 my $template1 = Text::Template->new( 21 or die "Couldn't construct template object: $Text::Template::ERROR; aborting"; 27 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template); 34 $template1 = Text::Template->new( 38 or die "Couldn't construct template object: $Text::Template::ERROR; aborting"; 44 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template); 73 my $tmpl = Text::Template->new(
|
H A D | broken.t | 12 my $r = Text::Template->new( 20 my $r = Text::Template->new( 29 my $r = Text::Template->new( 37 my $r = Text::Template->new( 49 my $r = Text::Template->new( 62 my $r = Text::Template->new(TYPE => 'string', SOURCE => 'abc{1/0}defg')
|
H A D | safe.t | 37 my $template1 = Text::Template->new(type => 'STRING', source => $goodtemplate); 38 my $template2 = Text::Template->new(type => 'STRING', source => $goodtemplate); 71 $template1 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate); 74 $template2 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate); 107 $template1 = Text::Template->new('type' => 'STRING', 'source' => $template); 110 $template2 = Text::Template->new('type' => 'STRING', 'source' => $template); 126 my $templateB = Text::Template->new(TYPE => 'STRING', SOURCE => '{die}');
|
H A D | taint.t | 37 my $obj = Text::Template->new(@_); 48 my $obj = Text::Template->new(@_); 59 ok !Text::Template::_is_clean($_[0]); 63 ok Text::Template::_is_clean($_[0]); 109 Text::Template::_unconditionally_untaint($ttemplate); 111 Text::Template::_unconditionally_untaint($tfile);
|
H A D | warnings.t | 5 use Text::Template; 31 $template = Text::Template->new(type => 'STRING', source => $template); 40 $template = Text::Template->new(type => 'STRING', package => 'MY', source => ''); 43 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 70 if (Last.Kind == FragmentKind::Text) { in appendUnduplicatedTextCharacter() 77 append("", FragmentKind::Text); in appendUnduplicatedTextCharacter() 98 if (Last.Kind == FragmentKind::Text && Last.Spelling.back() == ';') in removeTrailingSemicolon() 127 case DeclarationFragments::FragmentKind::Text: in getFragmentKindString() 148 .Case("text", DeclarationFragments::FragmentKind::Text) in parseFragmentKindFromString() 159 return Fragments.append(" ", DeclarationFragments::FragmentKind::Text) in getExceptionSpecificationString() 161 .append("(", DeclarationFragments::FragmentKind::Text) in getExceptionSpecificationString() 162 .append(")", DeclarationFragments::FragmentKind::Text); in getExceptionSpecificationString() 167 return Fragments.append(" ", DeclarationFragments::FragmentKind::Text) in getExceptionSpecificationString() 173 return Fragments.append(" ", DeclarationFragments::FragmentKind::Text) in getExceptionSpecificationString() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Testing/Annotations/ |
H A D | Annotations.cpp | 26 Annotations::Annotations(llvm::StringRef Text) { in Annotations() argument 27 auto Require = [Text](bool Assertion, const char *Msg) { in Annotations() 28 require(Assertion, Msg, Text); in Annotations() 34 Code.reserve(Text.size()); in Annotations() 35 while (!Text.empty()) { in Annotations() 36 if (Text.consume_front("^")) { in Annotations() 44 if (Text.consume_front("[[")) { in Annotations() 52 if (Text.consume_front("]]")) { in Annotations() 63 if (Text.consume_front("$")) { in Annotations() 65 Text.take_while([](char C) { return llvm::isAlnum(C) || C == '_'; }); in Annotations() [all …]
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 508 std::string Text; member 509 TextPiece(StringRef Text, StringRef Role = "") in TextPiece() 510 : Piece(TextPieceClass), Role(Role), Text(Text.str()) {} in TextPiece() 635 DiagText(DiagnosticTextBuilder &Builder, StringRef Text) in DiagText() 636 : Builder(Builder), Root(parseDiagText(Text, StopAt::End)) {} in DiagText() 647 Piece *parseDiagText(StringRef &Text, StopAt Stop); 733 CASE(Text); in Visit() 875 StringRef T = P->Text; in VisitText() 949 void VisitText(TextPiece *P) { Result += P->Text; } in VisitText() 1006 int DiagnosticTextBuilder::DiagText::parseModifier(StringRef &Text) const { in parseModifier() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | CodeCompleteConsumer.cpp | 183 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() argument 184 : Kind(Kind), Text("") { in Chunk() 192 this->Text = Text; in Chunk() 199 this->Text = "("; in Chunk() 203 this->Text = ")"; in Chunk() 207 this->Text = "["; in Chunk() 211 this->Text = "]"; in Chunk() 215 this->Text = "{"; in Chunk() 219 this->Text = "}"; in Chunk() 223 this->Text = "<"; in Chunk() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | Markup.cpp | 78 parseTextOutsideMarkup(takeTo(Line, Element->Text.begin())); in nextNode() 80 advanceTo(Line, Element->Text.end()); in nextNode() 125 Element.Text = Line.slice(BeginPos, EndPos); in parseElement() 129 StringRef Content = Element.Text.drop_front(3).drop_back(3); in parseElement() 145 static MarkupNode textNode(StringRef Text) { in textNode() argument 147 Node.Text = Text; in textNode() 154 void MarkupParser::parseTextOutsideMarkup(StringRef Text) { in parseTextOutsideMarkup() argument 155 if (Text.empty()) in parseTextOutsideMarkup() 158 while (SGRSyntax.match(Text, &Matches)) { in parseTextOutsideMarkup() 160 if (Matches.begin()->begin() != Text.begin()) in parseTextOutsideMarkup() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | RawCommentList.h | 121 StringRef Text = getRawText(SourceMgr); in hasUnsupportedSplice() local 122 if (Text.size() < 6 || Text[0] != '/') in hasUnsupportedSplice() 124 if (Text[1] == '*') in hasUnsupportedSplice() 125 return Text[Text.size() - 1] != '/' || Text[Text.size() - 2] != '*'; in hasUnsupportedSplice() 126 return Text[1] != '/'; in hasUnsupportedSplice() 154 std::string Text; member 158 CommentLine(StringRef Text, PresumedLoc Begin, PresumedLoc End) in CommentLine() 159 : Text(Text), Begin(Begin), End(End) {} in CommentLine()
|
H A D | CommentLexer.h | 103 void setText(StringRef Text) { in setText() argument 105 TextPtr = Text.data(); in setText() 106 IntVal = Text.size(); in setText() 145 void setVerbatimBlockText(StringRef Text) { in setVerbatimBlockText() argument 147 TextPtr = Text.data(); in setVerbatimBlockText() 148 IntVal = Text.size(); in setVerbatimBlockText() 166 void setVerbatimLineText(StringRef Text) { in setVerbatimLineText() argument 168 TextPtr = Text.data(); in setVerbatimLineText() 169 IntVal = Text.size(); in setVerbatimLineText() 303 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Unicode.cpp | 481 int columnWidthUTF8(StringRef Text) { in columnWidthUTF8() argument 484 for (size_t i = 0, e = Text.size(); i < e; i += Length) { in columnWidthUTF8() 485 Length = getNumBytesForUTF8(Text[i]); in columnWidthUTF8() 489 if (!isprintableascii(Text[i])) in columnWidthUTF8() 495 if (Length <= 0 || i + Length > Text.size()) in columnWidthUTF8() 498 const UTF8 *Start = reinterpret_cast<const UTF8 *>(Text.data() + i); in columnWidthUTF8()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
H A D | Markup.h | 35 StringRef Text; member 45 return Text == Other.Text && Tag == Other.Tag && Fields == Other.Fields; 85 return SGRSyntax.match(Node.Text); in isSGR() 90 void parseTextOutsideMarkup(StringRef Text);
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | EditedSource.cpp | 128 if (FA.Text.empty()) { in commitInsert() 129 FA.Text = copyString(text); in commitInsert() 134 FA.Text = copyString(Twine(text) + FA.Text); in commitInsert() 136 FA.Text = copyString(Twine(FA.Text) + text); in commitInsert() 184 StrVec += FA.Text; in commitInsertFromRange() 248 TopFA->Text = StringRef(); in commitRemove() 297 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev); in commit() 420 StrVec = I->second.Text; in applyRewrites() 431 StrVec += act.Text; in applyRewrites() 440 StrVec = act.Text; in applyRewrites()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MinidumpYAML.h | 187 BlockStringRef Text; member 189 TextContentStream(minidump::StreamType Type, StringRef Text = {}) 190 : Stream(StreamKind::TextContent, Type), Text(Text) {} in Stream() 225 static void output(const MinidumpYAML::BlockStringRef &Text, void *, 227 OS << Text; 231 MinidumpYAML::BlockStringRef &Text) { 232 Text = Scalar;
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/Template/ |
H A D | Preprocess.pm | 2 package Text::Template::Preprocess; 3 $Text::Template::Preprocess::VERSION = '1.56'; 9 use Text::Template;
|