/external/clang/tools/clang-format/fuzzer/ |
H A D | ClangFormatFuzzer.cpp | 21 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp); local 22 Style.ColumnLimit = 60; 24 Style, s, {clang::tooling::Range(0, s.size())}));
|
/external/clang/unittests/Format/ |
H A D | FormatTestJS.cpp | 23 unsigned Length, const FormatStyle &Style) { 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 36 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { 37 return format(Code, 0, Code.size(), Style); 41 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); local 42 Style.ColumnLimit = ColumnLimit; 43 return Style; 48 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { 49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); 313 FormatStyle Style local 22 format(llvm::StringRef Code, unsigned Offset, unsigned Length, const FormatStyle &Style) argument [all...] |
H A D | FormatTestJava.cpp | 23 unsigned Length, const FormatStyle &Style) { 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 36 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { 37 return format(Code, 0, Code.size(), Style); 41 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java); local 42 Style.ColumnLimit = ColumnLimit; 43 return Style; 48 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { 49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); 62 FormatStyle Style local 22 format(llvm::StringRef Code, unsigned Offset, unsigned Length, const FormatStyle &Style) argument 234 FormatStyle Style = getStyleWithColumns(65); local [all...] |
H A D | FormatTestProto.cpp | 23 unsigned Length, const FormatStyle &Style) { 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 35 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Proto); local 36 Style.ColumnLimit = 60; // To make writing tests easier. 37 return format(Code, 0, Code.size(), Style); 22 format(llvm::StringRef Code, unsigned Offset, unsigned Length, const FormatStyle &Style) argument
|
H A D | FormatTest.cpp | 27 const FormatStyle &Style) { 31 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 40 format(llvm::StringRef Code, const FormatStyle &Style = getLLVMStyle()) { 41 return format(Code, 0, Code.size(), Style); 45 FormatStyle Style = getLLVMStyle(); local 46 Style.ColumnLimit = ColumnLimit; 47 return Style; 51 FormatStyle Style = getGoogleStyle(); local 52 Style.ColumnLimit = ColumnLimit; 53 return Style; 26 format(llvm::StringRef Code, unsigned Offset, unsigned Length, const FormatStyle &Style) argument 753 FormatStyle Style = getLLVMStyle(); local 2199 FormatStyle Style = getLLVMStyle(); local 2324 FormatStyle Style = getLLVMStyle(); local 3174 FormatStyle Style = getGoogleStyle(); local 3418 FormatStyle Style = getLLVMStyle(); local 3481 FormatStyle Style = getLLVMStyle(); local 3514 FormatStyle Style = getLLVMStyle(); local 3791 FormatStyle Style = getLLVMStyle(); local 3821 FormatStyle Style = getGoogleStyle(); local 4064 FormatStyle Style = getLLVMStyleWithColumns(15); local 4269 FormatStyle Style = getLLVMStyle(); local 4298 FormatStyle Style = getLLVMStyleWithColumns(40); local 4452 FormatStyle Style = getLLVMStyle(); local 4559 FormatStyle Style = getGoogleStyle(); local 5141 FormatStyle Style = getLLVMStyle(); local 5834 FormatStyle Style = getLLVMStyle(); local 7621 FormatStyle Style = getGoogleStyleWithColumns(15); local 7631 FormatStyle Style = getLLVMStyleWithColumns(20); local 7738 FormatStyle Style = getLLVMStyle(); local 8901 FormatStyle Style = {}; local 8940 FormatStyle Style = {}; local 9065 FormatStyle Style = {}; local 9167 FormatStyle Style = {}; local 9186 FormatStyle Style = getLLVMStyle(); local 9317 FormatStyle Style = getLLVMStyle(); local 9342 FormatStyle Style = getLLVMStyle(); local 9421 FormatStyle Style = getWebKitStyle(); local [all...] |
/external/clang/lib/Format/ |
H A D | Format.cpp | 140 static void mapping(IO &IO, FormatStyle &Style) { argument 142 IO.mapOptional("Language", Style.Language); 151 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && 152 Style == PredefinedStyle) { 161 FormatStyle::LanguageKind OldLanguage = Style.Language; 164 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { 168 Style.Language = OldLanguage; 172 IO.mapOptional("AccessModifierOffset", Style.AccessModifierOffset); 173 IO.mapOptional("AlignAfterOpenBracket", Style.AlignAfterOpenBracket); 174 IO.mapOptional("AlignEscapedNewlinesLeft", Style 475 FormatStyle Style = getLLVMStyle(); local 495 FormatStyle Style = getLLVMStyle(); local 513 getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, FormatStyle *Style) argument 537 parseConfiguration(StringRef Text, FormatStyle *Style) argument 583 configurationAsText(const FormatStyle &Style) argument 598 FormatTokenLexer(SourceManager &SourceMgr, FileID ID, FormatStyle &Style, encoding::Encoding Encoding) argument 1121 FormatStyle &Style; member in class:clang::format::__anon1025::FormatTokenLexer 1188 Formatter(const FormatStyle &Style, SourceManager &SourceMgr, FileID ID, ArrayRef<CharSourceRange> Ranges) argument 1459 FormatStyle Style; member in class:clang::format::__anon1025::Formatter 1472 reformat(const FormatStyle &Style, Lexer &Lex, SourceManager &SourceMgr, ArrayRef<CharSourceRange> Ranges) argument 1481 reformat(const FormatStyle &Style, SourceManager &SourceMgr, FileID ID, ArrayRef<CharSourceRange> Ranges) argument 1490 reformat(const FormatStyle &Style, StringRef Code, ArrayRef<tooling::Range> Ranges, StringRef FileName) argument 1518 getFormattingLangOpts(const FormatStyle &Style) argument 1559 FormatStyle Style = getLLVMStyle(); local [all...] |
H A D | UnwrappedLineFormatter.h | 35 const FormatStyle &Style, 37 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), 80 if (Style.Language == FormatStyle::LK_Java || 81 Style.Language == FormatStyle::LK_JavaScript) 85 return Style.AccessModifierOffset; 106 return Style.ColumnLimit - (InPPDirective ? 2 : 0); 159 FormatStyle Style; member in class:clang::format::UnwrappedLineFormatter 33 UnwrappedLineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, const AdditionalKeywords &Keywords) argument
|
H A D | BreakableToken.h | 77 const FormatStyle &Style) 79 Encoding(Encoding), Style(Style) {} 85 const FormatStyle &Style; member in class:clang::format::BreakableToken 102 const FormatStyle &Style); 123 encoding::Encoding Encoding, const FormatStyle &Style); 141 encoding::Encoding Encoding, const FormatStyle &Style); 168 encoding::Encoding Encoding, const FormatStyle &Style); 75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
|
H A D | WhitespaceManager.h | 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, argument 42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} 196 const FormatStyle &Style; member in class:clang::format::WhitespaceManager
|
H A D | ContinuationIndenter.cpp | 49 const FormatStyle &Style) { 52 Style.BreakConstructorInitializersBeforeComma) 56 !Style.BreakConstructorInitializersBeforeComma); 59 ContinuationIndenter::ContinuationIndenter(const FormatStyle &Style, argument 65 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), 68 CommentPragmasRegex(Style.CommentPragmas) {} 98 Current.closesBlockTypeList(Style))) 129 !Style.AlwaysBreakAfterDefinitionReturnType && State.Column < 6) 141 Current.closesBlockTypeList(Style)) 48 startsNextParameter(const FormatToken &Current, const FormatStyle &Style) argument [all...] |
H A D | TokenAnnotator.cpp | 34 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, argument 36 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), 54 if (Style.Language == FormatStyle::LK_Java && 67 Style.Language == FormatStyle::LK_Java) { 312 Style.Language != FormatStyle::LK_Proto && 350 Style.Language == FormatStyle::LK_Proto) && 354 Style.Language == FormatStyle::LK_JavaScript) 367 (Style.Language == FormatStyle::LK_JavaScript && 374 Left->Role.reset(new CommaSeparatedList(Style)); 1129 const FormatStyle &Style; member in class:clang::format::__anon1026::AnnotatingParser 1143 ExpressionParser(const FormatStyle &Style, const AdditionalKeywords &Keywords, AnnotatedLine &Line) argument 1315 const FormatStyle &Style; member in class:clang::format::__anon1026::ExpressionParser [all...] |
H A D | TokenAnnotator.h | 116 TokenAnnotator(const FormatStyle &Style, const AdditionalKeywords &Keywords) argument 117 : Style(Style), Keywords(Keywords) {} 145 const FormatStyle &Style; member in class:clang::format::TokenAnnotator
|
H A D | WhitespaceManager.cpp | 158 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; 178 CommentColumn == NextColumn + Style.IndentWidth; 183 if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) { 235 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; 244 MaxEndOfLine = Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; 324 switch (Style.UseTab) { 330 Style.TabWidth - WhitespaceStartColumn % Style [all...] |
H A D | UnwrappedLineFormatter.cpp | 30 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords) argument 31 : Style(Style), Keywords(Keywords) {} 51 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) 55 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; 65 Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All || 66 (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_Empty && 68 (Style 300 const FormatStyle &Style; member in class:clang::format::__anon1027::LineJoiner [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | scientificnumberformatter.h | 144 class U_I18N_API Style : public UObject { class in class:ScientificNumberFormatter 146 virtual Style *clone() const = 0; 159 class U_I18N_API SuperscriptStyle : public Style { 161 virtual Style *clone() const; 172 class U_I18N_API MarkupStyle : public Style { 177 : Style(), 180 virtual Style *clone() const; 196 Style *styleToAdopt, 207 Style *styleToAdopt, 212 Style *fStyl [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 74 public static enum Style { enum in class:RelativeDateTimeFormatter 276 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 287 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 313 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 331 Style style, 460 public Style getFormatStyle() { 514 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, 515 EnumMap<Style, EnumMap<RelativeUnit, QuantityFormatter[]>> quantitativeUnitMap, 519 Style style, 542 private final EnumMap<Style, EnumMa [all...] |
/external/skia/include/effects/ |
H A D | Sk1DPathEffect.h | 44 enum Style { enum in class:SkPath1DPathEffect 60 Style style) { 71 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 82 Style fStyle; // copied from constructor
|
/external/skia/src/core/ |
H A D | SkFontDescriptor.h | 17 SkFontDescriptor(SkTypeface::Style = SkTypeface::kNormal); 23 SkTypeface::Style getStyle() { return fStyle; } 24 void setStyle(SkTypeface::Style style) { fStyle = style; } 50 SkTypeface::Style fStyle;
|
/external/skia/tools/ |
H A D | sk_tool_utils.h | 32 SkTypeface::Style style = SkTypeface::kNormal); 33 SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style style); 43 SkTypeface* create_font(const char* name, SkTypeface::Style ); 44 SkTypeface* resource_font(const char* name, SkTypeface::Style );
|
/external/skia/include/core/ |
H A D | SkStrokeRec.h | 24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 27 enum Style { enum in class:SkStrokeRec 37 Style getStyle() const; 77 Style style = this->getStyle(); 115 void init(const SkPaint&, SkPaint::Style, SkScalar resScale);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | BarFormatter.java | 45 fillPaint.setStyle(Paint.Style.FILL);
48 borderPaint.setStyle(Paint.Style.STROKE);
|
H A D | XYRegionFormatter.java | 32 paint.setStyle(Paint.Style.FILL);
53 //paint.setStyle(Paint.Style.FILL);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 29 import com.ibm.icu.text.TimeZoneFormat.Style; 539 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL, 542 {"Z", 0, "en_US", Style.SPECIFIC_LONG, 545 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL, 548 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION, 551 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 554 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL, 557 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL, 560 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 563 {"-2222", 0, "en_US", Style [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCInstPrinter.h | 26 enum Style { enum in namespace:llvm::HexStyle 51 HexStyle::Style PrintHexStyle; 89 HexStyle::Style getPrintHexStyleHex() const { return PrintHexStyle; } 90 void setPrintImmHex(HexStyle::Style Value) { PrintHexStyle = Value; }
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieMapTest.java | 20 import com.ibm.icu.dev.test.util.TrieMap.Style; 123 checkGet(unicodeTestMap, TrieMap.Style.BYTES); 124 checkGet(unicodeTestMap, TrieMap.Style.CHARS); 127 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { 149 timeIteration(unicodeTestMap, comparisonTime, Style.BYTES, 5); 150 timeIteration(unicodeTestMap, comparisonTime, Style.CHARS, 3); 154 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) { 199 checkContents(unicodeTestMap, Style.BYTES); 200 checkContents(unicodeTestMap, Style.CHARS); 203 public void checkContents(Map<String, Integer> testMap, Style styl [all...] |