/external/webkit/WebCore/platform/graphics/win/ |
FontCustomPlatformDataCairo.cpp | 45 FontCustomPlatformDataCairo* createFontCustomPlatformData(SharedBuffer* buffer) 47 ASSERT_ARG(buffer, buffer); 49 buffer->ref(); 50 HFONT font = reinterpret_cast<HFONT>(buffer); 56 cairo_font_face_set_user_data(fontFace, &bufferKey, buffer, releaseData);
|
/frameworks/base/cmds/stagefright/ |
record.cpp | 66 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 73 status_t err = mGroup.acquire_buffer(buffer); 79 memset((*buffer)->data(), x, mSize); 80 (*buffer)->set_range(0, mSize); 81 (*buffer)->meta_data()->clear(); 82 (*buffer)->meta_data()->setInt64( 86 // printf("DummySource::read - returning buffer\n"); 87 // LOGI("DummySource::read - returning buffer"); 194 MediaBuffer *buffer; local 195 while (encoder->read(&buffer) == OK) [all...] |
/frameworks/base/libs/surfaceflinger/tests/overlays/ |
overlays.cpp | 49 overlay_buffer_t buffer; local 50 overlay->dequeueBuffer(&buffer); 51 printf("buffer = %p\n", buffer); 53 void* address = overlay->getBufferAddress(buffer); 56 overlay->queueBuffer(buffer);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_decoder.h | 39 * \param dest dest buffer to save decode base64 data 40 * \param destLen dest buffer length 42 * \param srcLen source buffer length, and when return, give out how many bytes has been decoded 44 * -when success, return a positive integer of dest buffer length, 45 * if input dest buffer is NULL or destLen is 0, 46 * return dest buffer length that user should allocate to save decoding data
|
/dalvik/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 29 * most (smaller) requests can be satisfied by accessing the buffer alone. The 30 * drawback is that some extra space is required to hold the buffer and that 31 * copying takes place when flushing that buffer, but this is usually outweighed 44 * The buffer containing the bytes to be written to the target stream. 55 * {@code out}. The buffer size is set to the default value of 8 KB. 74 "Default buffer size used in BufferedOutputStream " + 76 "better to be explicit if an 8k buffer is required."); 82 * {@code out}. The buffer size is set to {@code size}. 87 * the size of the buffer in bytes. 118 * Writes {@code count} bytes from the byte array {@code buffer} starting a [all...] |
PushbackInputStream.java | 26 * during construction. If the buffer of pushed back bytes is empty, bytes are 31 * The buffer that contains pushed-back bytes. 38 * indicates that the buffer is full. 44 * stream as source. The size of the pushback buffer is set to the default 58 * input stream. The size of the pushback buffer is set to {@code size}. 63 * the size of the pushback buffer. 86 * and releases the pushback buffer. 116 * range from 0 to 255. If the pushback buffer does not contain any 143 * the byte array {@code buffer} starting at {@code offset}. Bytes are read 144 * from the pushback buffer first, then from the source stream if more byte [all...] |
/external/apache-http/src/org/apache/http/util/ |
CharArrayBuffer.java | 47 private char[] buffer; field in class:CharArrayBuffer 53 throw new IllegalArgumentException("Buffer capacity may not be negative"); 55 this.buffer = new char[capacity]; 59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; 60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 61 this.buffer = newbuffer; 76 if (newlen > this.buffer.length) { 79 System.arraycopy(b, off, this.buffer, this.len, len); 89 if (newlen > this.buffer.length) { 92 str.getChars(0, strlen, this.buffer, this.len) 172 public char[] buffer() { method in class:CharArrayBuffer [all...] |
/external/skia/include/core/ |
SkStream.h | 35 If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped. 36 If buffer is NULL and size == 0, return the total length of the stream. 37 If buffer != NULL, copy the requested number of bytes into buffer, returning how many were copied. 38 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer 42 virtual size_t read(void* buffer, size_t size) = 0; 78 @param buffer the address of at least size bytes to be written to the stream 79 @param size The number of bytes in buffer to write to the strea [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 105 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 106 buffer.append(value); 108 return parser.parseElements(buffer, cursor); 113 public HeaderElement[] parseElements(final CharArrayBuffer buffer, 116 if (buffer == null) { 117 throw new IllegalArgumentException("Char array buffer may not be null"); 125 HeaderElement element = parseHeaderElement(buffer, cursor); 156 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 157 buffer.append(value); 159 return parser.parseHeaderElement(buffer, cursor) 221 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 291 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexMethodImpl.java | 39 private DexBuffer buffer; field in class:DexMethodImpl 54 public DexMethodImpl(DexBuffer buffer, DexClass declaringClass, 59 this.buffer = buffer; 76 buffer.setPosition(parameterAnnotation.annotationsOff); 77 int numberOfParameters = buffer.readUInt(); 79 parameterIdToIndex.put(i, buffer.readUInt()); 87 buffer.setPosition(methodAnnotation.annotationsOff); 88 final int size = buffer.readUInt(); 90 annotations.add(new DexAnnotationImpl(buffer.createCopy() [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/parsers/ |
FilePathToURI.java | 64 StringBuffer buffer = new StringBuffer(len*3); local 65 buffer.append("file://"); 70 buffer.append('/'); 82 buffer.append('%'); 83 buffer.append(gAfterEscaping1[ch]); 84 buffer.append(gAfterEscaping2[ch]); 88 buffer.append((char)ch); 111 buffer.append('%'); 112 buffer.append(gHexChs[ch >> 4]); 113 buffer.append(gHexChs[ch & 0xf]) [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/transform/stream/ |
FilePathToURI.java | 64 StringBuffer buffer = new StringBuffer(len*3); local 65 buffer.append("file://"); 70 buffer.append('/'); 82 buffer.append('%'); 83 buffer.append(gAfterEscaping1[ch]); 84 buffer.append(gAfterEscaping2[ch]); 88 buffer.append((char)ch); 111 buffer.append('%'); 112 buffer.append(gHexChs[ch >> 4]); 113 buffer.append(gHexChs[ch & 0xf]) [all...] |
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 46 * @param bufferX the x offset of the buffer image. 47 * @param bufferY the y offset of the buffer image. 48 * @param width the width of the buffer image. 49 * @param height the height of the buffer image. 50 * @param sprite the Sprite that is painted in the buffer. 51 * @param x the variable x ordinate of the image buffer for painting. 52 * @param y the variable y ordinate of the image buffer for painting. 76 * @param bufferX the x offset of the buffer image. 77 * @param bufferY the y offset of the buffer image. 79 * @param backgroundColor the background color that is used for the buffer [all...] |
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimecache.c | 83 char *buffer; member in struct:_XdgMimeCache 104 munmap (cache->buffer, cache->size); 118 char *buffer = NULL; local 129 buffer = (char *) mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); 131 if (buffer == MAP_FAILED) 135 if (GET_UINT16 (buffer, 0) != MAJOR_VERSION || 136 GET_UINT16 (buffer, 2) != MINOR_VERSION) 138 munmap (buffer, st.st_size); 145 cache->buffer = buffer; [all...] |
/frameworks/base/libs/audioflinger/ |
AudioHardwareGeneric.cpp | 167 char buffer[SIZE]; local 170 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); 171 result.append(buffer); 231 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes) 234 return ssize_t(::write(mFd, buffer, bytes)); 246 char buffer[SIZE]; local 248 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); 249 result.append(buffer); 250 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 251 result.append(buffer); 354 char buffer[SIZE]; local [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
GZIPInputStream.java | 29 * its buffer. 71 * underlying stream. Set the internal buffer size to {@code size}. 76 * the internal read buffer size. 135 private long getLong(byte[] buffer, int off) { 137 l |= (buffer[off] & 0xFF); 138 l |= (buffer[off + 1] & 0xFF) << 8; 139 l |= (buffer[off + 2] & 0xFF) << 16; 140 l |= ((long) (buffer[off + 3] & 0xFF)) << 24; 144 private int getShort(byte[] buffer, int off) { 145 return (buffer[off] & 0xFF) | ((buffer[off + 1] & 0xFF) << 8) [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/ |
bufferPoolApi.h | 2 * \brief This file include public definitions for the buffer pool data structure, 72 * \brief Defines a buffer data type (pointer to void) 83 * \brief This structure holds buffer pool debug information.\n 106 * buffer if its allocation status 125 * \brief Creates a buffer pool object 130 * \param bufferSize - the size of each buffer in this pool.\n 131 * \return a handle to a buffer pool object, NULL if an error occurred.\n 138 * \brief Configures a buffer pool object.\n 141 * \param hbufferPool - handle to a buffer pool object.\n 149 * \brief releasing a buffer pool object.\ [all...] |
/external/e2fsprogs/ext2ed/ |
blockbitmap_com.c | 43 char *ptr,buffer [80]; local 47 ptr=parse_word (command_line,buffer); /* Get the requested entry */ 52 ptr=parse_word (ptr,buffer); 54 entry_num=atol (buffer); 66 strcpy (buffer,"show");dispatch (buffer); /* dispatch a show command */ 79 char *ptr,buffer [80]; local 81 ptr=parse_word (command_line,buffer); 83 ptr=parse_word (ptr,buffer); 84 entry_offset=atol (buffer); 95 char *ptr,buffer [80]; local 119 char *ptr,buffer [80]; local 148 char *ptr,buffer [80]; local [all...] |
/frameworks/base/core/java/android/net/ |
SntpClient.java | 79 byte[] buffer = new byte[NTP_PACKET_SIZE]; 80 DatagramPacket request = new DatagramPacket(buffer, buffer.length, address, NTP_PORT); 85 buffer[0] = NTP_MODE_CLIENT | (NTP_VERSION << 3); 90 writeTimeStamp(buffer, TRANSMIT_TIME_OFFSET, requestTime); 95 DatagramPacket response = new DatagramPacket(buffer, buffer.length); 102 long originateTime = readTimeStamp(buffer, ORIGINATE_TIME_OFFSET); 103 long receiveTime = readTimeStamp(buffer, RECEIVE_TIME_OFFSET); 104 long transmitTime = readTimeStamp(buffer, TRANSMIT_TIME_OFFSET) [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
CharacterDataImpl.java | 35 protected StringBuffer buffer; field in class:CharacterDataImpl 43 buffer.append(arg); 47 buffer.delete(offset, offset + count); 51 return buffer.toString(); 58 stringBuilder.append(buffer); 62 return buffer.length(); 72 buffer.insert(offset, arg); 81 buffer.replace(offset, offset + count, arg); 88 buffer = new StringBuffer(data); 93 return buffer.substring(offset, offset + count) [all...] |
/external/icu4c/common/ |
cmemory.c | 53 uprv_realloc(void * buffer, size_t size) { 54 if (buffer == zeroMem) { 58 (*pFree)(pContext, buffer); 60 free(buffer); 66 return (*pRealloc)(pContext, buffer, size); 68 return realloc(buffer, size); 74 uprv_free(void *buffer) { 75 if (buffer != zeroMem) { 77 (*pFree)(pContext, buffer); 79 free(buffer); [all...] |
/external/icu4c/io/ |
ufile.h | 27 /* The buffer size for fromUnicode calls */ 30 /* The buffer size for toUnicode calls */ 38 UChar *buffer; /* Beginning of buffer */ member in struct:__anon2270 39 int32_t capacity; /* Capacity of buffer */ 41 int32_t length; /* Length *from beginning of buffer* of untranslitted data */ 68 UChar fUCBuffer[UFILE_UCHARBUFFER_SIZE];/* buffer used for toUnicode */ 86 * Fill a UFILE's buffer with converted codepage data. 87 * @param f The UFILE containing the buffer to fill. 118 * Flush the buffer in the transliterator [all...] |
/external/icu4c/tools/genrb/ |
rbutil.c | 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) 83 buffer[length++]= digits[digit]; 88 buffer[length++] = '0';/*zero padding */ 93 buffer[length++]='-'; 96 /* null terminate the buffer */ 98 buffer[length] = 0x0000; 106 temp = buffer[(length-1) - j]; 107 buffer[(length-1) - j] = buffer[j]; 108 buffer[j] = temp [all...] |
/frameworks/base/core/java/android/net/http/ |
CharArrayBuffers.java | 32 * Returns true if the buffer contains the given string. Ignores leading 35 * @param buffer to search 39 static boolean containsIgnoreCaseTrimmed(CharArrayBuffer buffer, 41 int len = buffer.length(); 42 char[] chars = buffer.buffer(); 64 static int setLowercaseIndexOf(CharArrayBuffer buffer, final int ch) { 67 int endIndex = buffer.length(); 68 char[] chars = buffer.buffer(); [all...] |
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
GLImplHeader.java-impl | 27 import java.nio.Buffer; 43 Buffer _colorPointer = null; 44 Buffer _normalPointer = null; 45 Buffer _texCoordPointer = null; 46 Buffer _vertexPointer = null; 47 Buffer _pointSizePointerOES = null; 48 Buffer _matrixIndexPointerOES = null; 49 Buffer _weightPointerOES = null; 60 public void glGetPointerv(int pname, java.nio.Buffer[] params) { 77 "Application %s (SDK target %d) called a GL11 Pointer method with an indirect Buffer." [all...] |