HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 776 - 800 of 5558) sorted by null

<<31323334353637383940>>

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java 175 byte[] buffer = new byte[1];
176 int result = in.read(buffer, 0, 1);
177 return (result != -1) ? buffer[0] & 0xff : -1;
186 byte[] buffer = new byte[1];
187 buffer[0] = (byte) (b & 0xff);
188 out.write(buffer);
230 char[] buffer = new char[1024]; local
232 while ((count = reader.read(buffer)) != -1) {
233 writer.write(buffer, 0, count);
251 * <p>This method reuses the skip buffer but is careful to never use it a
    [all...]
  /external/openssh/
bufec.c 31 #include "buffer.h"
46 * Append an EC_POINT to the buffer as a string containing a SEC1 encoded
50 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
76 buffer_put_string(buffer, buf, len);
88 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve,
91 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1)
92 fatal("%s: buffer error", __func__);
96 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve
    [all...]
  /external/skia/include/core/
SkEmptyShader.h 37 SkEmptyShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
SkRasterizer.h 34 SkRasterizer(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
  /external/skia/include/effects/
SkTransparentShader.h 32 SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
  /external/skia/legacy/include/core/
SkComposeShader.h 49 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
50 return SkNEW_ARGS(SkComposeShader, (buffer)); }
  /external/skia/legacy/src/core/
SkColorFilter.cpp 48 SkFilterShader::SkFilterShader(SkFlattenableReadBuffer& buffer) :
49 INHERITED(buffer) {
50 fShader = static_cast<SkShader*>(buffer.readFlattenable());
51 fFilter = static_cast<SkColorFilter*>(buffer.readFlattenable());
69 void SkFilterShader::flatten(SkFlattenableWriteBuffer& buffer) {
70 this->INHERITED::flatten(buffer);
71 buffer.writeFlattenable(fShader);
72 buffer.writeFlattenable(fFilter);
SkColorTable.cpp 138 SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) {
143 fCount = buffer.readU16();
146 fFlags = buffer.readU8();
149 buffer.read(fColors, fCount * sizeof(SkPMColor));
152 void SkColorTable::flatten(SkFlattenableWriteBuffer& buffer) const {
154 buffer.write16(count);
155 buffer.write8(this->getFlags());
156 buffer.writeMul4(fColors, count * sizeof(SkPMColor));
  /external/skia/legacy/src/effects/
SkBitmapCache.h 20 bool find(const void* buffer, size_t len, SkBitmap*) const;
21 void add(const void* buffer, size_t len, const SkBitmap&);
  /external/skia/src/core/
SkColorFilter.cpp 55 SkFilterShader::SkFilterShader(SkFlattenableReadBuffer& buffer) :
56 INHERITED(buffer) {
57 fShader = buffer.readFlattenableT<SkShader>();
58 fFilter = buffer.readFlattenableT<SkColorFilter>();
66 void SkFilterShader::flatten(SkFlattenableWriteBuffer& buffer) const {
67 this->INHERITED::flatten(buffer);
68 buffer.writeFlattenable(fShader);
69 buffer.writeFlattenable(fFilter);
SkFlattenableBuffers.cpp 14 // via setFlags() if the buffer came from serialization.
54 void SkFlattenableWriteBuffer::flattenObject(SkFlattenable* obj, SkFlattenableWriteBuffer& buffer) {
55 obj->flatten(buffer);
SkImageFilter.cpp 45 SkImageFilter::SkImageFilter(SkFlattenableReadBuffer& buffer)
46 : fInputCount(buffer.readInt()), fInputs(new SkImageFilter*[fInputCount]) {
48 if (buffer.readBool()) {
49 fInputs[i] = static_cast<SkImageFilter*>(buffer.readFlattenable());
56 void SkImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
57 buffer.writeInt(fInputCount);
60 buffer.writeBool(input != NULL);
62 buffer.writeFlattenable(input);
  /external/skia/src/effects/
SkTestImageFilters.cpp 66 SkComposeImageFilter::SkComposeImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {
121 void SkDownSampleImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
122 this->INHERITED::flatten(buffer);
124 buffer.writeScalar(fScale);
127 SkDownSampleImageFilter::SkDownSampleImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {
128 fScale = buffer.readScalar();
  /external/skia/src/effects/gradients/
SkBitmapCache.h 20 bool find(const void* buffer, size_t len, SkBitmap*) const;
21 void add(const void* buffer, size_t len, const SkBitmap&);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
PackedSwitchDataPseudoInstruction.java 62 public PackedSwitchDataPseudoInstruction(byte[] buffer, int bufferIndex) {
65 byte opcodeByte = buffer[bufferIndex];
69 byte subopcodeByte = buffer[bufferIndex+1];
74 int targetCount = NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
75 this.firstKey = NumberUtils.decodeInt(buffer, bufferIndex + 4);
79 targets[i] = NumberUtils.decodeInt(buffer, bufferIndex + 8 + 4*i);
151 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
155 return new PackedSwitchDataPseudoInstruction(buffer, bufferIndex);
  /external/stlport/test/eh/
mwerks_console_OS_X.c 129 long WriteCharsToConsole(char *buffer, long n)
132 return write(1, buffer, n);
138 return __msl_os_x.theWrite(1, buffer, n);
143 long WriteCharsToErrorConsole(char *buffer, long n)
145 return write(2, buffer, n);
149 long ReadCharsFromConsole(char *buffer, long n)
152 return read(0, buffer, n);
158 return __msl_os_x.theRead(0, buffer, n);
  /external/stressapptest/src/
logger.cc 39 char buffer[4096]; local
40 int length = vsnprintf(buffer, sizeof buffer, format, args);
41 if (static_cast<size_t>(length) >= sizeof buffer) {
42 length = sizeof buffer;
43 buffer[sizeof buffer - 1] = '\n';
45 QueueLogLine(new string(buffer, length));
  /external/webkit/Source/JavaScriptCore/API/tests/
minidom.c 100 char* buffer; local
104 buffer = (char*)malloc(buffer_capacity);
113 buffer_size += fread(buffer + buffer_size, 1, buffer_capacity - buffer_size, f);
116 buffer = (char*)realloc(buffer, buffer_capacity);
117 ASSERT(buffer);
123 buffer[buffer_size] = '\0';
125 return buffer;
  /external/webkit/Source/JavaScriptCore/wtf/
Assertions.cpp 77 static void printLog(const Vector<char>& buffer)
91 const char* p = buffer.data();
92 const char* end = buffer.data() + buffer.size();
111 char* buffer = (char*)malloc(length + 1); local
113 CFStringGetCString(str, buffer, length, kCFStringEncodingUTF8);
115 fputs(buffer, stderr);
117 free(buffer);
127 Vector<char> buffer(size);
128 vsnprintf(buffer.data(), size, format, args)
    [all...]
DecimalNumber.cpp 102 unsigned DecimalNumber::toStringDecimal(UChar* buffer, unsigned bufferLength) const
108 UChar* next = buffer;
124 return next - buffer;
140 return next - buffer;
155 return next - buffer;
158 unsigned DecimalNumber::toStringExponential(UChar* buffer, unsigned bufferLength) const
164 UChar* next = buffer;
196 return next - buffer;
  /external/webkit/Source/WebCore/html/canvas/
Int16Array.h 39 static PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length);
48 Int16Array(PassRefPtr<ArrayBuffer> buffer,
IntegralTypedArrayBase.h 62 IntegralTypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
63 : TypedArrayBase<T>(buffer, byteOffset, length)
  /external/webkit/Source/WebCore/platform/graphics/freetype/
GlyphPageTreeNodeFreeType.cpp 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
43 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters.
54 Glyph glyph = FcFreeTypeCharIndex(face, buffer[i]);
  /external/webkit/Source/WebCore/platform/graphics/win/
GlyphPageTreeNodeCGWin.cpp 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
39 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs.
46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength);
  /external/webkit/Source/WebCore/platform/image-decoders/webp/
WEBPImageDecoder.cpp 101 ImageFrame& buffer = m_frameBufferCache[0]; local
102 if (buffer.status() == ImageFrame::FrameEmpty) {
105 if (!buffer.setSize(width, height))
107 buffer.setStatus(allDataReceived ? ImageFrame::FrameComplete : ImageFrame::FramePartial);
109 buffer.setHasAlpha(false);
110 buffer.setOriginalFrameRect(IntRect(IntPoint(), size()));
136 buffer.setRGBA(x, y, src[bytesPerPixel * x + 0], src[bytesPerPixel * x + 1], src[bytesPerPixel * x + 2], 0xff);
140 buffer.setStatus(ImageFrame::FrameComplete);

Completed in 452 milliseconds

<<31323334353637383940>>