/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 155 SkPath1DPathEffect::SkPath1DPathEffect(SkFlattenableReadBuffer& buffer) 157 fAdvance = buffer.readScalar(); 159 fPath.unflatten(buffer); 160 fInitialOffset = buffer.readScalar(); 161 fStyle = (Style) buffer.readU8(); 170 void SkPath1DPathEffect::flatten(SkFlattenableWriteBuffer& buffer) 172 buffer.writeScalar(fAdvance); 174 fPath.flatten(buffer); 175 buffer.writeScalar(fInitialOffset); 176 buffer.write8(fStyle) [all...] |
SkEmbossMaskFilter.cpp | 86 // create a larger buffer for the other two channels (should force fBlur to do this for us) 118 SkFlattenable* SkEmbossMaskFilter::CreateProc(SkFlattenableReadBuffer& buffer) 120 return SkNEW_ARGS(SkEmbossMaskFilter, (buffer)); 128 SkEmbossMaskFilter::SkEmbossMaskFilter(SkFlattenableReadBuffer& buffer) : SkMaskFilter(buffer) 130 buffer.read(&fLight, sizeof(fLight)); 132 fBlurRadius = buffer.readScalar(); 135 void SkEmbossMaskFilter::flatten(SkFlattenableWriteBuffer& buffer) 137 this->INHERITED::flatten(buffer); 140 buffer.writeMul4(&fLight, sizeof(fLight)) [all...] |
/external/skia/src/images/ |
SkFlipPixelRef.cpp | 56 void SkFlipPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const { 57 this->INHERITED::flatten(buffer); 59 buffer.write32(fSize); 61 buffer.writePad(fPage0, fSize); 64 SkFlipPixelRef::SkFlipPixelRef(SkFlattenableReadBuffer& buffer) 65 : INHERITED(buffer, NULL) { 66 fSize = buffer.readU32(); 70 buffer.read(fPage0, fSize); 73 SkPixelRef* SkFlipPixelRef::Create(SkFlattenableReadBuffer& buffer) { 74 return SkNEW_ARGS(SkFlipPixelRef, (buffer)); [all...] |
/external/webkit/WebCore/page/ |
WindowFeatures.cpp | 80 String buffer = features.lower(); local 83 while (isSeparator(buffer[i])) { 91 while (!isSeparator(buffer[i])) 96 while (buffer[i] != '=') { 97 if (buffer[i] == ',' || i >= length) 103 while (isSeparator(buffer[i])) { 104 if (buffer[i] == ',' || i >= length) 111 while (!isSeparator(buffer[i])) 117 String keyString(buffer.substring(keyBegin, keyEnd - keyBegin)); 118 String valueString(buffer.substring(valueBegin, valueEnd - valueBegin)) [all...] |
/frameworks/base/media/libdrm/mobile1/include/xml/ |
xml_tinyParser.h | 74 uint8_t *XML_DOM_getNode(uint8_t *buffer, const uint8_t *const node); 75 uint8_t *XML_DOM_getNodeValue(uint8_t *buffer, uint8_t *node, 78 uint8_t *XML_DOM_getValue(uint8_t *buffer, uint8_t **pValue, int32_t *valueLen); 79 uint8_t *XML_DOM_getAttr(uint8_t *buffer, uint8_t **pName, int32_t *nameLen, 82 uint8_t *XML_DOM_getNextNode(uint8_t *buffer, uint8_t **pNodeName, 85 uint8_t *XML_DOM_getTag(uint8_t *buffer, int32_t *tagLen, int32_t *tagType); 122 uint8_t *WBXML_DOM_getNode(uint8_t *buffer, int32_t bufferLen, 124 uint8_t *WBXML_DOM_getNodeValue(uint8_t *buffer, int32_t bufferLen, 130 XML_BOOL WBXML_DOM_Init(WBXML * pWbxml, uint8_t *buffer, 138 int32_t WBXML_GetUintVar(const uint8_t *const buffer, int32_t *len) [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/ |
MP3Decoder.cpp | 136 // Make sure that the next buffer output does not still 160 MediaBuffer *buffer; 161 CHECK_EQ(mBufferGroup->acquire_buffer(&buffer), OK); 170 mConfig->outputFrameSize = buffer->size() / sizeof(int16_t); 171 mConfig->pOutputBuffer = static_cast<int16_t *>(buffer->data()); 179 buffer->release(); 180 buffer = NULL; 190 memset(buffer->data(), 0, mConfig->outputFrameSize * sizeof(int16_t)); 194 buffer->set_range( 206 buffer->meta_data()->setInt64 [all...] |
/frameworks/base/media/libstagefright/ |
MPEG4Extractor.cpp | 57 MediaBuffer **buffer, const ReadOptions *options = NULL); 449 char buffer[256]; 451 if (n > sizeof(buffer)) { 452 n = sizeof(buffer); 454 if (mDataSource->readAt(*offset, buffer, n) 459 hexdump(buffer, n); 653 uint8_t buffer[8]; local 654 if (chunk_data_size < (off_t)sizeof(buffer)) { 659 data_offset, buffer, 8) < 8) { 663 if (U32_AT(buffer) != 0) 697 uint8_t buffer[8 + 20]; local 756 uint8_t buffer[78]; local 884 uint8_t buffer[256]; local 923 char buffer[256]; local 942 uint8_t buffer[4]; local 1046 uint8_t buffer[36 + 60]; local 1121 uint8_t *buffer = new uint8_t[size + 1]; local [all...] |
/external/webkit/JavaScriptCore/runtime/ |
StringPrototype.cpp | 269 UChar* buffer; 270 PassRefPtr<UStringImpl> impl = UStringImpl::tryCreateUninitialized(totalLength, buffer); 278 UStringImpl::copyChars(buffer + bufferPos, source.data() + substringRanges[i].position, substringRanges[i].length); 282 UStringImpl::copyChars(buffer + bufferPos, separators[i].data(), separators[i].size()); 298 UChar* buffer; 299 PassRefPtr<UStringImpl> impl = UStringImpl::tryCreateUninitialized(totalLength, buffer); 303 UStringImpl::copyChars(buffer, source.data(), rangeStart); 304 UStringImpl::copyChars(buffer + rangeStart, replacement.data(), replacementLength); 306 UStringImpl::copyChars(buffer + rangeStart + replacementLength, source.data() + rangeEnd, source.size() - rangeEnd); 795 Vector<UChar> buffer(sSize) 939 UChar* buffer; local 988 UChar* buffer; local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexFileImpl.java | 38 private final DexBuffer buffer; field in class:DexFileImpl 42 public DexFileImpl(DexBuffer buffer, String[] stringPool, int[] typeIds, 45 this.buffer = buffer; 63 classes.add(new DexClassImpl(buffer.createCopy(),
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
Scheme.java | 176 StringBuilder buffer = new StringBuilder(); local 177 buffer.append(this.name); 178 buffer.append(':'); 179 buffer.append(Integer.toString(this.defaultPort)); 180 stringRep = buffer.toString();
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionInputBuffer.java | 50 /** Original session input buffer. */ 57 * Create an instance that wraps the specified session input buffer. 58 * @param in The session input buffer. 103 public int readLine(final CharArrayBuffer buffer) throws IOException { 104 int l = this.in.readLine(buffer); 106 int pos = buffer.length() - l; 107 String s = new String(buffer.buffer(), pos, l);
|
/external/chromium/net/disk_cache/ |
trace.cc | 31 char buffer[kNumberOfEntries][kEntrySize]; member in struct:__anon2428::TraceBuffer 47 // buffer to be destroyed and re-created when the last user goes away, and it 48 // must be straightforward to access the buffer from the debugger. 85 vsprintf_s(s_trace_buffer->buffer[s_trace_buffer->current], format, ap); 87 vsnprintf(s_trace_buffer->buffer[s_trace_buffer->current], 88 sizeof(s_trace_buffer->buffer[s_trace_buffer->current]), format, 115 memcpy(line, s_trace_buffer->buffer[current], kEntrySize);
|
/external/kernel-headers/original/linux/ |
kdev_t.h | 11 #define print_dev_t(buffer, dev) \ 12 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) 14 #define format_dev_t(buffer, dev) \ 16 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ 17 buffer; \
|
/external/libvpx/vp8/encoder/ |
boolhuff.c | 53 br->buffer = source; 119 while (x >= 0 && br->buffer[x] == 0xff) 121 br->buffer[x] = (unsigned char)0; 125 br->buffer[x] += 1; 128 br->buffer[br->pos++] = (lowvalue >> (24 - offset));
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Accept.java | 95 protected StringBuffer encodeBody(StringBuffer buffer) { 97 mediaRange.encode(buffer); 99 buffer.append(';'); 100 parameters.encode(buffer); 102 return buffer;
|
/external/openssl/crypto/rand/ |
rand_os2.c | 137 char *buffer = OPENSSL_malloc(256 * 1024); local 139 if (DosQuerySysState(0x1F, 0, 0, 0, buffer, 256 * 1024) == 0) { 140 /* First 4 bytes in buffer is a pointer to the thread count 143 RAND_add(buffer, 256 * 1024, **(ULONG **)buffer); 146 OPENSSL_free(buffer);
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
MoreZeroFrame.java | 148 StringBuffer buffer = new StringBuffer(super.toString()).append("Var: ..."); local 152 buffer = buffer.append('[') 157 buffer.append(", Stack: (empty)"); 159 return buffer.toString();
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 62 private char[] buffer = new char[2]; field in class:ManifestRewriter.SplitLineReader 81 return buffer[bufferIndex++]; 93 buffer[bufferSize++] = '\n'; 105 buffer[bufferSize++] = (char)c2; 117 buffer[bufferSize++] = (char)c3;
|
/external/qemu/ |
compatfd.c | 45 char buffer[128]; local 48 memcpy(buffer, &err, sizeof(err)); 49 while (offset < sizeof(buffer)) { 52 len = write(info->fd, buffer + offset, 53 sizeof(buffer) - offset);
|
/external/skia/src/ports/ |
SkOSFile_stdio.cpp | 62 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) 65 if (buffer == NULL) 82 return ::fread(buffer, 1, byteCount, (FILE*)f); 85 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) 88 return ::fwrite(buffer, 1, byteCount, (FILE*)f);
|
/external/srec/portable/src/ |
plog.c | 112 * used, it needs to flush the buffer. 271 LCHAR buffer[BUFFER_SIZE] = L(""); local 323 psprintf(buffer + LSTRLEN(buffer), L("%s|"), timeStr); 324 passert(LSTRLEN(buffer) < BUFFER_SIZE); 329 rc = psprintf(buffer + LSTRLEN(buffer), L("trd=%u|"), PtrdGetCurrentThreadId()); 330 passert(LSTRLEN(buffer) < BUFFER_SIZE); 371 rc = psprintf(buffer + LSTRLEN(buffer), L("Module=%s|"), text) [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
FontCustomPlatformData.cpp | 102 SharedBuffer* buffer = static_cast<SharedBuffer*>(info); local 103 buffer->ref(); 104 return (void*)buffer->data(); 112 size_t getBytesWithOffset(void *info, void* buffer, size_t offset, size_t count) 118 memcpy(buffer, sharedBuffer->data() + offset, availBytes); 136 size_t read(void* buffer, size_t count); 148 size_t EOTStream::read(void* buffer, size_t count) 153 memcpy(buffer, m_eotHeader.data() + m_offset, bytesFromHeader); 163 memcpy(buffer, m_fontData->data() + m_offset, bytesFromData); 168 memcpy(reinterpret_cast<char*>(buffer) + dstOffset, m_fontData->data() + m_overlaySrc + srcOffset, bytesToCopy) [all...] |
/external/webkit/WebCore/platform/text/ |
TextCodecUTF16.cpp | 76 StringBuffer buffer(numChars); 77 UChar* q = buffer.characters(); 111 buffer.shrink(q - buffer.characters()); 113 return String::adopt(buffer);
|
/external/webkit/WebKit/chromium/src/ |
WebCString.cpp | 60 RefPtr<WebCore::CStringBuffer> buffer = local 61 WebCore::CString::newUninitialized(length, newData).buffer(); 63 assign(static_cast<WebCStringPrivate*>(buffer.get())); 70 // NOTE: The buffer's length includes the null byte. 101 : m_private(static_cast<WebCStringPrivate*>(s.buffer())) 109 assign(static_cast<WebCStringPrivate*>(s.buffer()));
|
/frameworks/base/services/audioflinger/ |
AudioHardwareInterface.cpp | 170 char buffer[SIZE]; local 172 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); 173 result.append(buffer); 174 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); 175 result.append(buffer);
|