/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/lib/Format/ |
H A D | UnwrappedLineFormatter.h | 35 const FormatStyle &Style, 38 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), 66 const FormatStyle &Style; member in class:clang::format::UnwrappedLineFormatter 33 UnwrappedLineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, const AdditionalKeywords &Keywords, bool *IncompleteFormat) argument
|
H A D | Format.cpp | 183 static void mapping(IO &IO, FormatStyle &Style) { argument 185 IO.mapOptional("Language", Style.Language); 194 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && 195 Style == PredefinedStyle) { 204 FormatStyle::LanguageKind OldLanguage = Style.Language; 207 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { 211 Style.Language = OldLanguage; 217 IO.mapOptional("DerivePointerBinding", Style.DerivePointerAlignment); 219 Style.IndentWrappedFunctionNames); 220 IO.mapOptional("PointerBindsToType", Style 415 expandPresets(const FormatStyle &Style) argument 636 FormatStyle Style = getLLVMStyle(); local 656 FormatStyle Style = getLLVMStyle(); local 676 getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, FormatStyle *Style) argument 700 parseConfiguration(StringRef Text, FormatStyle *Style) argument 746 configurationAsText(const FormatStyle &Style) argument 761 FormatTokenLexer(SourceManager &SourceMgr, FileID ID, FormatStyle &Style, encoding::Encoding Encoding) argument 1347 FormatStyle &Style; member in class:clang::format::__anon1195::FormatTokenLexer 1418 Formatter(const FormatStyle &Style, SourceManager &SourceMgr, FileID ID, ArrayRef<CharSourceRange> Ranges) argument 1704 FormatStyle Style; member in class:clang::format::__anon1195::Formatter 1738 sortIncludes(const FormatStyle &Style, const SmallVectorImpl<IncludeDirective> &Includes, ArrayRef<tooling::Range> Ranges, StringRef FileName, tooling::Replacements &Replaces, unsigned *Cursor) argument 1792 sortIncludes(const FormatStyle &Style, StringRef Code, ArrayRef<tooling::Range> Ranges, StringRef FileName, unsigned *Cursor) argument [all...] |
H A D | UnwrappedLineFormatter.cpp | 39 LevelIndentTracker(const FormatStyle &Style, argument 42 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) { 44 IndentForLevel.push_back(Style.IndentWidth * i + AdditionalIndent); 59 Indent = Line.Level * Style.IndentWidth + AdditionalIndent; 88 if (Style.Language == FormatStyle::LK_Java || 89 Style.Language == FormatStyle::LK_JavaScript) 95 return Style.AccessModifierOffset; 109 return getIndent(IndentForLevel, Level - 1) + Style.IndentWidth; 112 const FormatStyle &Style; member in class:clang::format::__anon1197::LevelIndentTracker 131 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, const SmallVectorImpl<AnnotatedLine *> &Lines) argument 446 const FormatStyle &Style; member in class:clang::format::__anon1197::LineJoiner 475 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, UnwrappedLineFormatter *BlockFormatter) argument 567 const FormatStyle &Style; member in class:clang::format::__anon1197::LineFormatter 574 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, UnwrappedLineFormatter *BlockFormatter) argument 602 NoLineBreakFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, UnwrappedLineFormatter *BlockFormatter) argument 623 OptimizingLineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, UnwrappedLineFormatter *BlockFormatter) argument [all...] |
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) {} 203 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.closesBlockOrBlockTypeList(Style))) 129 if (Style.AlwaysBreakAfterReturnType == FormatStyle::RTBS_None) 142 Current.closesBlockOrBlockTypeList(Style)) 48 startsNextParameter(const FormatToken &Current, const FormatStyle &Style) argument [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/clang/unittests/Format/ |
H A D | FormatTestJS.cpp | 23 unsigned Length, const FormatStyle &Style) { 29 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat); 39 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { 40 return format(Code, 0, Code.size(), Style); 44 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); local 45 Style.ColumnLimit = ColumnLimit; 46 return Style; 51 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { 52 std::string result = format(test::messUp(Code), Style); 403 FormatStyle Style local 22 format(llvm::StringRef Code, unsigned Offset, unsigned Length, const FormatStyle &Style) argument [all...] |
H A D | FormatTestSelective.cpp | 29 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat); 37 FormatStyle Style = getLLVMStyle(); member in class:clang::format::__anon3068::FormatTestSelective 57 Style.ColumnLimit = 12; 102 Style.AllowShortIfStatementsOnASingleLine = true; 298 Style.AlignEscapedNewlinesLeft = true; 427 Style.ColumnLimit = 11; 438 Style.IndentWidth = 8; 439 Style.UseTab = FormatStyle::UT_Always; 440 Style.AlignEscapedNewlinesLeft = true;
|
H A D | FormatTest.cpp | 32 const FormatStyle &Style = getLLVMStyle(), 39 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat); 52 FormatStyle Style = getLLVMStyle(); local 53 Style.ColumnLimit = ColumnLimit; 54 return Style; 58 FormatStyle Style = getGoogleStyle(); local 59 Style.ColumnLimit = ColumnLimit; 60 return Style; 64 const FormatStyle &Style = getLLVMStyle()) { 65 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); 746 FormatStyle Style = getLLVMStyle(); local 1201 FormatStyle Style = getLLVMStyleWithColumns(20); local 2219 FormatStyle Style = getLLVMStyle(); local 2358 FormatStyle Style = getLLVMStyle(); local 2438 FormatStyle Style = getLLVMStyle(); local 3227 FormatStyle Style = getGoogleStyle(); local 3269 FormatStyle Style = getLLVMStyle(); local 3441 FormatStyle Style = getLLVMStyle(); local 3509 FormatStyle Style = getLLVMStyle(); local 3541 FormatStyle Style = getLLVMStyle(); local 3829 FormatStyle Style = getLLVMStyle(); local 3861 FormatStyle Style = getGoogleStyle(); local 4125 FormatStyle Style = getLLVMStyleWithColumns(15); local 4351 FormatStyle Style = getLLVMStyle(); local 4397 FormatStyle Style = getLLVMStyleWithColumns(40); local 4550 FormatStyle Style = getLLVMStyle(); local 4657 FormatStyle Style = getGoogleStyle(); local 4736 FormatStyle Style = getLLVMStyle(); local 5363 FormatStyle Style = getLLVMStyle(); local 6104 FormatStyle Style = getLLVMStyle(); local 7011 FormatStyle Style = getLLVMStyle(); local 7918 FormatStyle Style = getGoogleStyleWithColumns(15); local 7928 FormatStyle Style = getLLVMStyleWithColumns(20); local 8035 FormatStyle Style = getLLVMStyle(); local 9714 FormatStyle Style = {}; local 9768 FormatStyle Style = {}; local 9946 FormatStyle Style = {}; local 10048 FormatStyle Style = {}; local 10069 FormatStyle Style = getLLVMStyle(); local 10202 FormatStyle Style = getLLVMStyle(); local 10227 FormatStyle Style = getLLVMStyle(); local 10306 FormatStyle Style = getWebKitStyle(); local [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 236 FormatStyle Style = getStyleWithColumns(65); local [all...] |
H A D | SortIncludesTest.cpp | 26 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); 28 reformat(Style, Sorted, Ranges, FileName)); 33 sortIncludes(Style, Code, Ranges, "input.cpp", &Cursor); 37 FormatStyle Style = getLLVMStyle(); member in class:clang::format::__anon3069::SortIncludesTest 70 Style.SortIncludes = false; 142 Style = getGoogleStyle(FormatStyle::LK_Cpp); 221 Style.IncludeCategories = {{".*important_os_header.*", -1}, {".*", 1}};
|
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
|
/external/skia/src/ports/ |
H A D | SkFontConfigInterface_direct.h | 21 SkTypeface::Style requested, 24 SkTypeface::Style* outStyle) override;
|
/external/skia/include/effects/ |
H A D | Sk1DPathEffect.h | 44 enum Style { enum in class:SkPath1DPathEffect 59 static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style); 68 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 79 Style fStyle; // copied from constructor
|
/external/skia/include/core/ |
H A D | SkStrokeRec.h | 23 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 26 enum Style { enum in class:SkStrokeRec 36 Style getStyle() const; 80 Style style = this->getStyle(); 118 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);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 33 import android.icu.text.TimeZoneFormat.Style; 546 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL, 549 {"Z", 0, "en_US", Style.SPECIFIC_LONG, 552 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL, 555 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION, 558 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 561 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL, 564 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL, 567 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 570 {"-2222", 0, "en_US", Style [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 32 import com.ibm.icu.text.TimeZoneFormat.Style; 542 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL, 545 {"Z", 0, "en_US", Style.SPECIFIC_LONG, 548 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL, 551 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION, 554 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 557 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL, 560 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL, 563 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, 566 {"-2222", 0, "en_US", Style [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCInstPrinter.h | 30 enum Style { enum in namespace:llvm::HexStyle 55 HexStyle::Style PrintHexStyle; 92 HexStyle::Style getPrintHexStyle() const { return PrintHexStyle; } 93 void setPrintHexStyle(HexStyle::Style Value) { PrintHexStyle = Value; }
|
/external/skia/src/core/ |
H A D | SkFontDescriptor.h | 52 SkFontDescriptor(SkTypeface::Style = SkTypeface::kNormal); 58 SkTypeface::Style getStyle() { return fStyle; } 59 void setStyle(SkTypeface::Style style) { fStyle = style; } 80 SkTypeface::Style fStyle;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 77 public static enum Style { enum in class:RelativeDateTimeFormatter 261 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 271 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 294 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 310 Style style, 420 private String getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) { 479 public Style getFormatStyle() { 498 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, 499 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, 503 Style styl [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 79 public static enum Style { enum in class:RelativeDateTimeFormatter 295 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 306 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 331 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 348 Style style, 461 private String getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) { 526 public Style getFormatStyle() { 545 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, 546 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, 550 Style styl [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | TrieMapTest.java | 21 import android.icu.dev.test.util.TrieMap.Style; 127 checkGet(unicodeTestMap, TrieMap.Style.BYTES); 128 checkGet(unicodeTestMap, TrieMap.Style.CHARS); 131 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { 153 timeIteration(unicodeTestMap, comparisonTime, Style.BYTES, 5); 154 timeIteration(unicodeTestMap, comparisonTime, Style.CHARS, 3); 158 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) { 203 checkContents(unicodeTestMap, Style.BYTES); 204 checkContents(unicodeTestMap, Style.CHARS); 207 public void checkContents(Map<String, Integer> testMap, Style styl [all...] |