/frameworks/base/opengl/java/android/opengl/ |
ETC1.java | 19 import java.nio.Buffer; 57 * @param in a native order direct buffer of size DECODED_BLOCK_SIZE that represent a 64 * @param out a native order direct buffer of size ENCODED_BLOCK_SIZE that receives the 68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out); 73 * @param in a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the 76 * @param out a native order direct buffer of size DECODED_BLOCK_SIZE that will receive 81 public static native void decodeBlock(Buffer in, Buffer out); 90 * @param in a native order direct buffer of the image data. Formatted such tha [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebClipboard.h | 54 enum Buffer { 59 // Read-only buffer corresponding to the current drag operation, if any. 63 virtual bool isFormatAvailable(Format, Buffer) { return false; } 65 virtual WebString readPlainText(Buffer) { return WebString(); } 66 virtual WebString readHTML(Buffer, WebURL*) { return WebString(); } 67 virtual WebData readImage(Buffer) { return WebData(); } 85 Buffer, bool* containsFilenames) { return WebVector<WebString>(); } 86 // Returns true if the requested type was successfully read from the buffer. 88 Buffer, const WebString& type, WebString* data, 91 Buffer) { return WebVector<WebString>(); [all...] |
/system/core/libcutils/ |
buffer.h | 18 * Byte buffer utilities. 31 * Byte buffer of known size. Keeps track of how much data has been read 32 * into or written out of the buffer. 46 /** Actual # of bytes in the buffer. */ 49 /** Amount of memory allocated for this buffer. */ 51 } Buffer; 54 * Returns true if all data has been read into the buffer. 56 #define bufferReadComplete(buffer) (buffer->expected == buffer->size [all...] |
/frameworks/base/services/audioflinger/ |
AudioBufferProvider.h | 31 struct Buffer { 42 virtual status_t getNextBuffer(Buffer* buffer) = 0; 43 virtual void releaseBuffer(Buffer* buffer) = 0;
|
/external/llvm/utils/count/ |
count.c | 15 char Buffer[4096], *End; 32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin); 35 if (Buffer[i] == '\n') 37 } while (NumRead == sizeof(Buffer));
|
/external/llvm/include/llvm/Support/ |
IRReader.h | 35 inline Module *getLazyIRModule(MemoryBuffer *Buffer, 38 if (isBitcode((const unsigned char *)Buffer->getBufferStart(), 39 (const unsigned char *)Buffer->getBufferEnd())) { 41 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg); 43 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, 45 // ParseBitcodeFile does not take ownership of the Buffer in the 47 delete Buffer; 52 return ParseAssembly(Buffer, 0, Err, Context); 76 inline Module *ParseIR(MemoryBuffer *Buffer, 79 if (isBitcode((const unsigned char *)Buffer->getBufferStart() [all...] |
/external/chromium/chrome/browser/ |
clipboard_dispatcher.h | 26 static bool ReadAvailableTypes(ui::Clipboard::Buffer buffer, 29 static bool ReadData(ui::Clipboard::Buffer buffer, const string16& type, 31 static bool ReadFilenames(ui::Clipboard::Buffer buffer,
|
clipboard_dispatcher_gtk.cc | 8 bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer, 18 bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer, 27 bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer,
|
clipboard_dispatcher_win.cc | 8 bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer, 18 bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer, 27 bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer,
|
/libcore/luni/src/main/java/java/nio/ |
NIOAccess.java | 26 * Buffer starting at the Buffer's current position, or 0 if the 27 * Buffer is not backed by native heap storage. Note that this is 31 * @param Buffer b the Buffer to be queried 32 * @return the native pointer to the Buffer's data at its current 35 static long getBasePointer(Buffer b) { 45 * given Buffer, or null if the Buffer is not backed by a Java array. 47 * @param Buffer b the Buffer to be querie [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Buffer.h | 7 // Buffer.h: Defines the gl::Buffer class, representing storage of vertex and/or 8 // index data. Implements GL buffer objects and related functionality. 28 class Buffer : public RefCountObject 31 explicit Buffer(GLuint id); 33 virtual ~Buffer(); 47 DISALLOW_COPY_AND_ASSIGN(Buffer);
|
Buffer.cpp | 7 // Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or 8 // index data. Implements GL buffer objects and related functionality. 11 #include "libGLESv2/Buffer.h" 20 Buffer::Buffer(GLuint id) : RefCountObject(id) 30 Buffer::~Buffer() 37 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 68 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset [all...] |
/external/chromium/webkit/glue/ |
webclipboard_impl.h | 25 virtual bool isFormatAvailable(Format, Buffer); 26 virtual WebKit::WebString readPlainText(Buffer); 27 virtual WebKit::WebString readHTML(Buffer, WebKit::WebURL* source_url); 28 virtual WebKit::WebData readImage(Buffer); 48 Buffer, bool* contains_filenames); 49 virtual bool readData(Buffer, const WebKit::WebString& type, 51 virtual WebKit::WebVector<WebKit::WebString> readFilenames(Buffer); 54 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*);
|
/external/libnfc-nxp/src/ |
phFriNfc_NdefRecord.c | 52 * Get a specific NDEF record from the data, provided by the caller. The data is a buffer holding 55 * \param[in] Buffer The data buffer holding the NDEF Message, as provided by the caller. 87 NFCSTATUS phFriNfc_NdefRecord_GetRecords( uint8_t *Buffer, 105 if (Buffer == NULL || BufferLength == 0 || NumberOfRawRecords == NULL) 135 if ((*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) != 148 if ((*Buffer & PH_FRINFC_NDEFRECORD_TNFBYTE_MASK) == 160 if ((*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) == PH_FRINFC_NDEFRECORD_FLAGS_MB && 161 (*Buffer & PH_FRINFC_NDEFRECORD_TNF_UNCHANGED) == PH_FRINFC_NDEFRECORD_TNF_UNCHANGED) 171 if ( (*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) == PH_FRINFC_NDEFRECORD_FLAGS_MB & [all...] |
/frameworks/compile/libbcc/bcinfo/ |
BitcodeTranslator.cpp | 113 std::vector<unsigned char> Buffer; 114 llvm::BitstreamWriter Stream(Buffer); 115 Buffer.reserve(mBitcodeSize); 118 char *c = new char[Buffer.size()]; 119 memcpy(c, &Buffer.front(), Buffer.size()); 122 mTranslatedBitcodeSize = Buffer.size();
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitReader_2_7.h | 36 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, 40 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
|
/hardware/ril/mock-ril/src/cpp/ |
node_buffer.cpp | 79 Persistent<FunctionTemplate> Buffer::constructor_template; 82 // Each javascript Buffer object is backed by a Blob object. 131 // When someone calls buffer.asciiSlice, data is not copied. Instead V8 134 friend class Buffer; 136 AsciiSliceExt(Buffer *parent, size_t start, size_t end) { 163 Buffer* Buffer::New(size_t size) { 164 DBG("Buffer::New(size) E"); 170 DBG("Buffer::New(size) X"); 171 return ObjectWrap::Unwrap<Buffer>(b) 179 Buffer *buffer; local 421 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 463 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 495 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 534 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local [all...] |
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 84 /// Match - Match the pattern string against the input buffer Buffer. This 90 size_t Match(StringRef Buffer, size_t &MatchLen, 95 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer, 103 /// matching this pattern at the start of \arg Buffer; a distance of zero 105 unsigned ComputeMatchDistance(StringRef Buffer, 282 /// Match - Match the pattern string against the input buffer Buffer. This 285 size_t Pattern::Match(StringRef Buffer, size_t &MatchLen, 290 return Buffer.size() [all...] |
/external/clang/lib/Serialization/ |
GeneratePCH.cpp | 36 SemaPtr(0), StatCalls(0), Stream(Buffer), Writer(Stream) { 55 Out->write((char *)&Buffer.front(), Buffer.size()); 61 Buffer.clear();
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
lexer.ml | 11 let buffer = Buffer.create 1 in var 12 Buffer.add_char buffer c; 13 lex_ident buffer stream 17 let buffer = Buffer.create 1 in var 18 Buffer.add_char buffer c; 19 lex_number buffer strea [all...] |