/external/clang/lib/Format/ |
H A D | FormatTokenLexer.cpp | 27 const FormatStyle &Style, 31 SourceMgr(SourceMgr), ID(ID), Style(Style), 32 IdentTable(getFormattingLangOpts(Style)), Keywords(IdentTable), 34 MacroBlockBeginRegex(Style.MacroBlockBegin), 35 MacroBlockEndRegex(Style.MacroBlockEnd) { 37 getFormattingLangOpts(Style))); 40 for (const std::string &ForEachMacro : Style.ForEachMacros) 50 if (Style.Language == FormatStyle::LK_JavaScript) { 69 if (Style 26 FormatTokenLexer(const SourceManager &SourceMgr, FileID ID, const FormatStyle &Style, encoding::Encoding Encoding) argument [all...] |
H A D | SortJavaScriptImports.cpp | 123 JavaScriptImportSorter(const Environment &Env, const FormatStyle &Style) argument 124 : TokenAnalyzer(Env, Style), 430 tooling::Replacements sortJavaScriptImports(const FormatStyle &Style, argument 437 JavaScriptImportSorter Sorter(*Env, Style);
|
H A D | BreakableToken.cpp | 141 Style.TabWidth, Encoding); 147 encoding::Encoding Encoding, const FormatStyle &Style) 148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), 158 encoding::Encoding Encoding, const FormatStyle &Style) 160 InPPDirective, Encoding, Style) {} 167 ColumnLimit, Style.TabWidth, Encoding); 202 bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) 205 InPPDirective, Encoding, Style) { 222 ColumnLimit, Style.TabWidth, Encoding); 255 encoding::Encoding Encoding, const FormatStyle &Style) 144 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 155 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 200 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 252 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument [all...] |
H A D | ContinuationIndenter.cpp | 55 const FormatStyle &Style) { 58 Style.BreakConstructorInitializersBeforeComma) 62 !Style.BreakConstructorInitializersBeforeComma); 65 ContinuationIndenter::ContinuationIndenter(const FormatStyle &Style, argument 71 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), 74 CommentPragmasRegex(Style.CommentPragmas) {} 104 Current.closesBlockOrBlockTypeList(Style))) 135 if (Style.AlwaysBreakAfterReturnType == FormatStyle::RTBS_None) 148 Current.closesBlockOrBlockTypeList(Style)) 54 startsNextParameter(const FormatToken &Current, const FormatStyle &Style) argument [all...] |
H A D | WhitespaceManager.cpp | 199 static void AlignTokens(const FormatStyle &Style, F &&Matches, argument 291 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter; 309 if (!Style.AlignConsecutiveAssignments) 312 AlignTokens(Style, 328 if (!Style.AlignConsecutiveDeclarations) 338 AlignTokens(Style, [](Change const &C) { return C.IsStartOfDeclName; }, 356 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; 387 CommentColumn == NextColumn + Style.IndentWidth; 391 if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) { 443 Style [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::__anon1306::LevelIndentTracker 131 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, const SmallVectorImpl<AnnotatedLine *> &Lines) argument 446 const FormatStyle &Style; member in class:clang::format::__anon1306::LineJoiner 475 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, UnwrappedLineFormatter *BlockFormatter) argument 567 const FormatStyle &Style; member in class:clang::format::__anon1306::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 | Format.cpp | 201 static void mapping(IO &IO, FormatStyle &Style) { argument 203 IO.mapOptional("Language", Style.Language); 212 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && 213 Style == PredefinedStyle) { 222 FormatStyle::LanguageKind OldLanguage = Style.Language; 225 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { 229 Style.Language = OldLanguage; 235 IO.mapOptional("DerivePointerBinding", Style.DerivePointerAlignment); 237 Style.IndentWrappedFunctionNames); 238 IO.mapOptional("PointerBindsToType", Style 439 expandPresets(const FormatStyle &Style) argument 671 FormatStyle Style = getLLVMStyle(); local 691 FormatStyle Style = getLLVMStyle(); local 711 getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, FormatStyle *Style) argument 735 parseConfiguration(StringRef Text, FormatStyle *Style) argument 781 configurationAsText(const FormatStyle &Style) argument 796 Formatter(const Environment &Env, const FormatStyle &Style, bool *IncompleteFormat) argument 986 Cleaner(const Environment &Env, const FormatStyle &Style) argument 1216 sortCppIncludes(const FormatStyle &Style, const SmallVectorImpl<IncludeDirective> &Includes, ArrayRef<tooling::Range> Ranges, StringRef FileName, tooling::Replacements &Replaces, unsigned *Cursor) argument 1270 IncludeCategoryManager(const FormatStyle &Style, StringRef FileName) argument 1311 const FormatStyle &Style; member in class:clang::format::__anon1304::IncludeCategoryManager [all...] |
H A D | FormatToken.h | 430 bool opensBlockOrBlockTypeList(const FormatStyle &Style) const { 434 (!Style.Cpp11BracedListStyle && NestingLevel == 0))); 438 bool closesBlockOrBlockTypeList(const FormatStyle &Style) const { 439 return MatchingParen && MatchingParen->opensBlockOrBlockTypeList(Style); 481 TokenRole(const FormatStyle &Style) : Style(Style) {} argument 512 const FormatStyle &Style; member in class:clang::format::TokenRole 517 CommaSeparatedList(const FormatStyle &Style) argument 518 : TokenRole(Style), HasNestedBracedLis [all...] |
H A D | TokenAnnotator.cpp | 35 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, argument 37 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), 74 if (Style.Language == FormatStyle::LK_Java && 87 Style.Language == FormatStyle::LK_Java) { 137 } else if (Style.Language == FormatStyle::LK_JavaScript && 148 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && 154 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && 309 Style.Language == FormatStyle::LK_Cpp && 324 } else if (Style 1336 const FormatStyle &Style; member in class:clang::format::__anon1305::AnnotatingParser 1356 ExpressionParser(const FormatStyle &Style, const AdditionalKeywords &Keywords, AnnotatedLine &Line) argument 1540 const FormatStyle &Style; member in class:clang::format::__anon1305::ExpressionParser [all...] |
H A D | UnwrappedLineParser.cpp | 155 const FormatStyle &Style, unsigned &LineLevel) 157 if (Style.BraceWrapping.AfterControlStatement) 159 if (Style.BraceWrapping.IndentBraces) 200 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style, argument 205 CurrentLines(&Lines), Style(Style), Keywords(Keywords), Tokens(nullptr), 258 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; 299 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1))) 335 if (Style.Language == FormatStyle::LK_JavaScript && PrevTok && 349 if (Style 154 CompoundStatementIndenter(UnwrappedLineParser *Parser, const FormatStyle &Style, unsigned &LineLevel) argument 471 ShouldBreakBeforeBrace(const FormatStyle &Style, const FormatToken &InitialToken) argument [all...] |
/external/clang/tools/clang-format-vs/ClangFormat/ |
H A D | ClangFormatPackage.cs | 78 [DisplayName("Style")]
92 public string Style
property in class:LLVM.ClangFormat.OptionPageGrid 146 [DisplayName("Fallback Style")]
331 return page.Style;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | ListFormatter.java | 46 public enum Style { enum in class:ListFormatter 55 * Style for full durations 62 * Style for durations in abbrevated form 69 * Style for durations in narrow form 78 Style(String name) { method in class:ListFormatter.Style 141 return getInstance(locale, Style.STANDARD); 152 return getInstance(ULocale.forLocale(locale), Style.STANDARD); 165 public static ListFormatter getInstance(ULocale locale, Style style) {
|
H A D | RelativeDateTimeFormatter.java | 79 public static enum Style { enum in class:RelativeDateTimeFormatter 361 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 371 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 394 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 410 Style style, 636 private String getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) { 697 public Style getFormatStyle() { 716 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, 717 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, 721 Style styl [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | ListFormatter.java | 46 public enum Style { enum in class:ListFormatter 55 * Style for full durations 62 * Style for durations in abbrevated form 69 * Style for durations in narrow form 78 Style(String name) { method in class:ListFormatter.Style 142 return getInstance(locale, Style.STANDARD); 154 return getInstance(ULocale.forLocale(locale), Style.STANDARD); 167 public static ListFormatter getInstance(ULocale locale, Style style) {
|
H A D | RelativeDateTimeFormatter.java | 81 public static enum Style { enum in class:RelativeDateTimeFormatter 411 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 422 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 447 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 464 Style style, 695 private String getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) { 760 public Style getFormatStyle() { 779 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, 780 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, 784 Style styl [all...] |
/external/skia/include/core/ |
H A D | SkTypeface.h | 45 /** Style specifies the intrinsic style attributes of a given typeface 47 enum Style { enum in class:SkTypeface 64 Style style() const { 65 return static_cast<Style>( 112 static sk_sp<SkTypeface> MakeDefault(Style style = SkTypeface::kNormal); 133 static sk_sp<SkTypeface> MakeFromTypeface(SkTypeface* family, Style); 345 static SkTypeface* GetDefaultTypeface(Style style = SkTypeface::kNormal);
|
/external/skia/src/ports/ |
H A D | SkFontMgr_android_parser.h | 70 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } 75 enum class Style { kAuto, kNormal, kItalic } fStyle; class in struct:FontFileInfo
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | TrieMap.java | 36 public enum Style { enum in class:TrieMap 59 static public <K extends CharSequence, V> Builder<V> with(Style style, Map<K, V> keyValuePairs) { 63 static public <K extends CharSequence, V> Builder<V> with(Style style, Option option, Map<K, V> keyValuePairs) { 64 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 70 static public <K extends CharSequence, V> Builder<V> with(Style style, K key, V value) { 74 static public <K extends CharSequence, V> Builder<V> with(Style style, Option option, K key, V value) { 75 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieMap.java | 35 public enum Style { enum in class:TrieMap 58 static public <K extends CharSequence, V> Builder<V> with(Style style, Map<K, V> keyValuePairs) { 62 static public <K extends CharSequence, V> Builder<V> with(Style style, Option option, Map<K, V> keyValuePairs) { 63 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 69 static public <K extends CharSequence, V> Builder<V> with(Style style, K key, V value) { 73 static public <K extends CharSequence, V> Builder<V> with(Style style, Option option, K key, V value) { 74 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
|
/external/clang/unittests/Format/ |
H A D | FormatTest.cpp | 37 const FormatStyle &Style = getLLVMStyle(), 44 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat); 57 FormatStyle Style = getLLVMStyle(); local 58 Style.ColumnLimit = ColumnLimit; 59 return Style; 63 FormatStyle Style = getGoogleStyle(); local 64 Style.ColumnLimit = ColumnLimit; 65 return Style; 69 const FormatStyle &Style = getLLVMStyle()) { 70 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); 764 FormatStyle Style = getLLVMStyle(); local 1238 FormatStyle Style = getLLVMStyleWithColumns(20); local 2256 FormatStyle Style = getLLVMStyle(); local 2395 FormatStyle Style = getLLVMStyle(); local 2475 FormatStyle Style = getLLVMStyle(); local 3270 FormatStyle Style = getGoogleStyle(); local 3312 FormatStyle Style = getLLVMStyle(); local 3484 FormatStyle Style = getLLVMStyle(); local 3552 FormatStyle Style = getLLVMStyle(); local 3584 FormatStyle Style = getLLVMStyle(); local 3885 FormatStyle Style = getLLVMStyle(); local 3917 FormatStyle Style = getGoogleStyle(); local 4204 FormatStyle Style = getLLVMStyleWithColumns(15); local 4450 FormatStyle Style = getLLVMStyle(); local 4520 FormatStyle Style = getLLVMStyleWithColumns(40); local 4673 FormatStyle Style = getLLVMStyle(); local 4788 FormatStyle Style = getGoogleStyle(); local 4867 FormatStyle Style = getLLVMStyle(); local 5519 FormatStyle Style = getLLVMStyle(); local 6290 FormatStyle Style = getLLVMStyle(); local 7213 FormatStyle Style = getLLVMStyle(); local 8070 FormatStyle Style = getLLVMStyleWithColumns(12); local 8128 FormatStyle Style = getGoogleStyleWithColumns(15); local 8138 FormatStyle Style = getLLVMStyleWithColumns(20); local 8245 FormatStyle Style = getLLVMStyle(); local 10149 FormatStyle Style = {}; local 10205 FormatStyle Style = {}; local 10387 FormatStyle Style = {}; local 10489 FormatStyle Style = {}; local 10510 FormatStyle Style = getLLVMStyle(); local 10643 FormatStyle Style = getLLVMStyle(); local 10677 FormatStyle Style = getLLVMStyle(); local 10759 FormatStyle Style = getWebKitStyle(); local 11481 FormatStyle Style = getLLVMStyle(); local 11554 format::FormatStyle Style = format::getLLVMStyle(); local 11583 format::FormatStyle Style = format::getLLVMStyle(); local [all...] |
/external/skia/samplecode/ |
H A D | SampleFatBits.cpp | 82 enum Style { enum in class:FatBits 86 Style getStyle() const { return fStyle; } 87 void setStyle(Style s) { fStyle = s; } 116 Style fStyle; 377 void setStyle(FatBits::Style s) {
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
H A D | X86Subtarget.h | 33 enum Style { enum in namespace:llvm::PICStyles 54 PICStyles::Style PICStyle; 168 PICStyles::Style getPICStyle() const { return PICStyle; } 169 void setPICStyle(PICStyles::Style Style) { PICStyle = Style; } argument
|
/external/freetype/include/freetype/ |
H A D | tttables.h | 488 FT_UShort Style; member in struct:TT_PCLT_
|
/external/pdfium/third_party/freetype/include/freetype/ |
H A D | tttables.h | 470 FT_UShort Style; member in struct:TT_PCLT_
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 515 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) argument 516 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style), CXXThisCaptureIndex(0),
|