/external/okhttp/okio/okio/src/main/java/okio/ |
Source.java | 27 * <p>Most applications shouldn't operate on a source directly, but rather 29 * {@link Okio#buffer(Source)} to wrap any source with a buffer. 42 * <p>Source avoids the impossible-to-implement {@linkplain 46 * <p>Source omits the unsafe-to-compose {@linkplain java.io.InputStream#mark 50 * <p>When implementing a source, you need not worry about the {@linkplain 54 * <p>And source has a stronger {@code skip} method: {@link BufferedSource#skip} 58 * Use {@link Okio#source} to adapt an {@code InputStream} to a source. Use 59 * {@link BufferedSource#inputStream} to adapt a source to an {@cod [all...] |
/libcore/luni/src/main/java/javax/xml/transform/ |
Source.java | 18 // $Id: Source.java 446598 2006-09-15 12:55:40Z jeremias $ 24 * needed to act as source input (XML source or transformation instructions). 26 public interface Source { 29 * Set the system identifier for this Source. 31 * <p>The system identifier is optional if the source does not
|
/external/clang/lib/AST/ |
DeclFriend.cpp | 5 // This file is distributed under the University of Illinois Open Source 63 ExternalASTSource *Source = getParentASTContext().getExternalSource(); 64 Decl *First = data().FirstFriend.get(Source);
|
DeclCXX.cpp | 5 // This file is distributed under the University of Illinois Open Source 38 ExternalASTSource *Source = C.getExternalSource(); 40 assert(Source && "getFromExternalSource with no external source"); 43 I.setDecl(cast<NamedDecl>(Source->GetExternalDecl( [all...] |
TypeLoc.cpp | 1 //===--- TypeLoc.cpp - Type Source Info Wrapper -----------------*- C++ -*-===// 5 // This file is distributed under the University of Illinois Open Source 57 /// \brief Returns the alignment of the type source info data block. 75 /// \brief Returns the size of the type source info data block. 132 TypeLoc Source; 134 TypeLocCopier(TypeLoc source) : Source(source) { } 139 dest.copyLocal(Source.castAs<CLASS##TypeLoc>()); \ 190 // FIXME: Currently QualifiedTypeLoc does not have a source rang [all...] |
/external/clang/unittests/AST/ |
ExternalASTSourceTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 28 TestFrontendAction(ExternalASTSource *Source) : Source(Source) {} 32 getCompilerInstance().getASTContext().setExternalSource(Source); 43 IntrusiveRefCntPtr<ExternalASTSource> Source; 46 bool testExternalASTSource(ExternalASTSource *Source, 60 TestFrontendAction Action(Source); 65 // Ensure that a failed name lookup into an external source only occurs once.
|
CommentLexer.cpp | 5 // This file is distributed under the University of Illinois Open Source 46 void lexString(const char *Source, std::vector<Token> &Toks); 61 void CommentLexerTest::lexString(const char *Source, 63 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Source); 67 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source)); 80 // Empty source range should be handled. 82 const char *Source = ""; 85 lexString(Source, Toks) [all...] |
/external/llvm/unittests/AsmParser/ |
AsmParserTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 25 StringRef Source = "; Empty module \n"; 27 auto Mod = parseAssemblyString(Source, Error, Ctx); 38 StringRef Source = "; Empty module \n\1\2"; 41 EXPECT_DEATH(Mod = parseAssemblyString(Source.substr(0, Source.size() - 2), 51 StringRef Source = "@0 = global i32 0\n !0 = !{}\n !42 = !{i32 42}"; 54 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping); 71 StringRef Source = "define void @test() {\n entry:\n ret void\n}"; 72 auto Mod = parseAssemblyString(Source, Error, Ctx) [all...] |
/frameworks/base/tools/aapt2/ |
Source.h | 2 * Copyright (C) 2015 The Android Open Source Project 32 struct Source { 36 Source() = default; 38 inline Source(const StringPiece& path) : path(path.toString()) { 41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { 44 inline Source withLine(size_t line) const { 45 return Source(path, line); 53 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) { 54 out << source.path [all...] |
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 2 * Copyright 2012, The Android Open Source Project 17 #include "bcc/Source.h" 59 void Source::setModule(llvm::Module *pModule) { 64 Source *Source::CreateFromBuffer(BCCContext &pContext, 81 // the error check below or in ~Source() (since pNoDelete is false). 87 Source *result = CreateFromModule(pContext, pName, *module, /* pNoDelete */false); 95 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { 111 // the error check below or in ~Source() (since pNoDelete is false) [all...] |
/frameworks/compile/libbcc/include/bcc/ |
Source.h | 2 * Copyright 2010-2012, The Android Open Source Project 34 class Source { 50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule, 54 static Source *CreateFromBuffer(BCCContext &pContext, 59 static Source *CreateFromFile(BCCContext &pContext, 62 // Create a Source object from an existing module. If pNoDelete 64 static Source *CreateFromModule(BCCContext &pContext, 69 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName); 73 // Merge the current source with pSource. pSource 75 bool merge(Source &pSource) [all...] |
/external/deqp/external/ |
fetch_sources.py | 7 # Copyright 2015 The Android Open Source Project 41 class Source: 51 class SourcePackage (Source): 53 Source.__init__(self, baseDir, extractDir) 61 Source.clean(self) 69 Source.clean(self) 136 class GitRepo (Source): 138 Source.__init__(self, baseDir, extractDir)
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
Source.java | 28 * Reads a single source file and allows access to it through special probe 31 public class Source { 34 * Reads the source for the given type from the <code>./src/</code> folder 38 * type to load the source file for 42 public static Source getSourceFor(final Class<?> type) throws IOException { 44 return new Source(new FileReader(file)); 55 * Reads a source file from the given reader. 60 public Source(final Reader reader) throws IOException { 80 * Returns all lines of the source file as a list. 82 * @return all lines of the source fil [all...] |
SourceTest.java | 25 * Unit tests for {@link Source}. 32 final Source s = new Source(new StringReader(src)); 39 final Source s = new Source(new StringReader(src)); 46 final Source s = new Source(new StringReader(src)); 53 final Source s = new Source(new StringReader(src)); 62 final Source s = new Source(new StringReader(src)) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
AbstractClassGenerator.java | 41 private Source source; field in class:AbstractClassGenerator 49 protected static class Source { 52 public Source(String name) { 57 protected AbstractClassGenerator(Source source) { 58 this.source = source; 73 return namingPolicy.getClassName(namePrefix, source.name, key, new Predicate() { 81 return (Set)((Map)source.cache.get(loader)).get(NAME_KEY) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Source.java | 2 * Copyright (C) 2009 The Android Open Source Project 31 public interface Source extends SuggestionCursorProvider<SourceResult> { 34 * Gets the name activity that intents from this source are sent to. 39 * Gets the suggestion URI for getting suggestions from this Source. 44 * Gets the localized, human-readable label for this source. 49 * Gets the icon for this suggestion source. 54 * Gets the icon URI for this suggestion source. 59 * Gets an icon from this suggestion source. 66 * Gets the URI for an icon form this suggestion source. 73 * Gets the search hint text for this suggestion source [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerSource.h | 2 * Copyright (C) 2010 The Android Open Source Project 33 struct NuPlayer::Source : public AHandler { 62 Source(const sp<AMessage> ¬ify) 73 // Explicitly disconnect the underling data source 126 virtual ~Source() {} 140 DISALLOW_EVIL_CONSTRUCTORS(Source);
|
/external/clang/include/clang/Driver/ |
Job.h | 5 // This file is distributed under the University of Illinois Open Source 44 /// Source - The action which caused the creation of this job. 45 const Action &Source; 85 Command(const Action &Source, const Tool &Creator, const char *Executable, 100 const Action &getSource() const { return Source; }
|
/external/clang/unittests/Tooling/ |
CommentHandlerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 201 const char *Source = 208 EXPECT_TRUE(Visitor.runOver(Source)); 210 Verifier.Match(Source, 1, 1);
|
RewriterTestContext.h | 5 // This file is distributed under the University of Illinois Open Source 56 std::unique_ptr<llvm::MemoryBuffer> Source = 58 InMemoryFileSystem->addFile(Name, 0, std::move(Source));
|
/external/libchrome/base/containers/ |
stack_container.h | 2 // Use of this source code is governed by a BSD-style license that can be 27 // StackAllocator::Source which contains the data. Copying the allocator 28 // merely copies the pointer to this shared source, so all allocators created 47 struct Source { 48 Source() : used_stack_buffer_(false) { 86 // no guarantee that the Source buffer of Ts is large enough 102 explicit StackAllocator(Source* source) : source_(source) { 128 Source* source_ [all...] |
/external/llvm/utils/TableGen/ |
PseudoLoweringEmitter.cpp | 5 // This file is distributed under the University of Illinois Open Source 37 CodeGenInstruction Source; // The source pseudo instruction definition. 43 Source(s), Dest(d), OperandMap(m) {} 98 // Source operand maps to destination operand. The Data element 163 // argument in the source instruction, in either the (outs) or (ins) list. 166 // Record the mapping of the source to result arguments for use by 184 "' has no matching source operand."); 185 // Map the source operand to the destination operand index for each 199 emitSourceFileHeader("Pseudo-instruction MC lowering Source Fragment", o) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.h | 52 /* For rgb and alpha instructions when arg[n].Source = RC_PAIR_PRESUB_SRC, then 65 unsigned int Source:2;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.h | 2 * Copyright 2013 The Android Open Source Project 96 enum Source {SOURCE_SINK = 0, SOURCE_SCRATCH = 1}; 136 static Source fbSourceForCompositionType(CompositionType type); 137 status_t dequeueBuffer(Source source, PixelFormat format, uint32_t usage, 144 // ("source slots", or "sslot"). We have to merge these into the single 147 // a producer slot switches which source it comes from, we map source slot 148 // numbers to producer slot numbers differently for each source. 149 static int mapSource2ProducerSlot(Source source, int sslot) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comdef.h | 51 _bstr_t Source() const; 113 inline _bstr_t _com_error::Source() const {
|