Home
last modified time | relevance | path

Searched refs:formatContext (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp147 std::unique_ptr<AVFormatContext, decltype(&avformat_free_context)> formatContext { in decode()
154 formatContext.reset(tmp); in decode()
157 if (!openAVFormatContext(formatContext.get())) return returnValue; in decode()
159 if (!getStreamInfo(formatContext.get())) return returnValue; in decode()
162 AVStream *stream = getBestAudioStream(formatContext.get()); in decode()
241 while (av_read_frame(formatContext.get(), &avPacket) == 0){ in decode()
/third_party/typescript/src/services/formatting/
Dformatting.ts77 …export function formatOnEnter(position: number, sourceFile: SourceFile, formatContext: FormatConte…
103 return formatSpan(span, sourceFile, formatContext, FormattingRequestKind.FormatOnEnter);
106 …export function formatOnSemicolon(position: number, sourceFile: SourceFile, formatContext: FormatC…
108 …matNodeLines(findOutermostNodeWithinListLevel(semicolon), sourceFile, formatContext, FormattingReq…
111 …export function formatOnOpeningCurly(position: number, sourceFile: SourceFile, formatContext: Form…
136 …return formatSpan(textRange, sourceFile, formatContext, FormattingRequestKind.FormatOnOpeningCurly…
139 …export function formatOnClosingCurly(position: number, sourceFile: SourceFile, formatContext: Form…
141 …deLines(findOutermostNodeWithinListLevel(precedingToken), sourceFile, formatContext, FormattingReq…
144 …export function formatDocument(sourceFile: SourceFile, formatContext: FormatContext): TextChange[]…
149 return formatSpan(span, sourceFile, formatContext, FormattingRequestKind.FormatDocument);
[all …]
/third_party/typescript/src/services/
DtextChanges.ts287 formatContext: formatting.FormatContext; property
306 …ker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContex…
316 …constructor(private readonly newLineCharacter: string, private readonly formatContext: formatting.… property in ts.textChanges.ChangeTracker
647 …PositionForPosition(memberStart, sourceFile), memberStart, sourceFile, this.formatContext.options);
662 …StartPositionForPosition(nodeStart, sourceFile), nodeStart, sourceFile, this.formatContext.options)
663 + (this.formatContext.options.indentSize ?? 4);
879 …rstNonWhitespaceColumn(afterStartLinePosition, afterStart, sourceFile, this.formatContext.options);
949 …oText.getTextChangesFromChanges(this.changes, this.newLineCharacter, this.formatContext, validate);
951 …esToText.newFileChanges(oldFile, fileName, statements, this.newLineCharacter, this.formatContext));
1029 …adonly Statement[], scriptKind: ScriptKind, newLineCharacter: string, formatContext: formatting.Fo…
[all …]
Dcompletions.ts259 formatContext?: formatting.FormatContext,
299 …erOptions, position, preferences, /*detailsEntryId*/ undefined, host, formatContext, cancellationT…
306 …ceFile, host, program, compilerOptions, log, completionData, preferences, formatContext, position);
476 formatContext: formatting.FormatContext | undefined,
528 formatContext,
693 formatContext: formatting.FormatContext | undefined,
769 …pletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext));
907 formatContext: formatting.FormatContext | undefined,
993 if (formatContext) {
998 formatContext);
[all …]
DorganizeImports.ts12 formatContext: formatting.FormatContext,
18 … const changeTracker = textChanges.ChangeTracker.fromContext({ host, formatContext, preferences });
96 suffix: getNewLineOrDefaultFromHost(host, formatContext.options),
DgetEditsForFileRename.ts8 formatContext: formatting.FormatContext,
16 … return textChanges.ChangeTracker.with({ host, formatContext, preferences }, changeTracker => {
Dservices.ts2075 const formatContext = formatting.getFormatContext(toEditorSettings(options), host); constant
2080 return formatting.formatOnOpeningCurly(position, sourceFile, formatContext);
2082 return formatting.formatOnClosingCurly(position, sourceFile, formatContext);
2084 return formatting.formatOnSemicolon(position, sourceFile, formatContext);
2086 return formatting.formatOnEnter(position, sourceFile, formatContext);
2097 const formatContext = formatting.getFormatContext(formatOptions, host); constant
2101 …ixes({ errorCode, sourceFile, span, program, host, cancellationToken, formatContext, preferences }…
2109 const formatContext = formatting.getFormatContext(formatOptions, host); constant
2111 …ix.getAllFixes({ fixId, sourceFile, program, host, cancellationToken, formatContext, preferences }…
2118 const formatContext = formatting.getFormatContext(formatOptions, host); constant
[all …]
/third_party/typescript/src/services/codefixes/
DdisableJsDiagnostics.ts13 const { sourceFile, program, span, host, formatContext } = context; constant
19 …cter = sourceFile.checkJsDirective ? "" : getNewLineOrDefaultFromHost(host, formatContext.options);
DimportFixes.ts345 formatContext: formatting.FormatContext,
363 { host, formatContext, preferences },
372 …symbolToken: Identifier, program: Program, host: LanguageServiceHost, formatContext: formatting.Fo…
377 …return fix && codeFixActionToCodeAction(codeActionForFix({ host, formatContext, preferences }, sou…
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dhtml_printer.py215 self.f.write(self.formatContext(msg.context))
226 '<li>{}</li>\n'.format(self.formatContext(see)))
291 … '<li class="list-inline-item">{}</li>'.format(self.formatContext(context, MessageType.NOTE)))
379 def formatContext(self, context, message_type=None): member in HTMLPrinter
Dbase_printer.py150 def formatContext(self, context, _message_type=None): member in BasePrinter
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts107 formatContext: formatting.getFormatContext(testFormatSettings, notImplementedHost), constant
170 formatContext: formatting.getFormatContext(testFormatSettings, notImplementedHost), constant
/third_party/typescript/src/testRunner/unittests/services/
DconvertToAsyncFunction.ts347 formatContext: formatting.getFormatContext(testFormatSettings, notImplementedHost) constant