HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 576 - 600 of 4833) sorted by null

<<21222324252627282930>>

  /external/skia/src/core/
SkBitmapProcShader.cpp 34 SkBitmapProcShader::SkBitmapProcShader(SkFlattenableReadBuffer& buffer)
35 : INHERITED(buffer) {
36 fRawBitmap.unflatten(buffer);
37 fState.fTileModeX = buffer.readU8();
38 fState.fTileModeY = buffer.readU8();
71 void SkBitmapProcShader::flatten(SkFlattenableWriteBuffer& buffer) {
72 this->INHERITED::flatten(buffer);
74 fRawBitmap.flatten(buffer);
75 buffer.write8(fState.fTileModeX);
76 buffer.write8(fState.fTileModeY)
169 uint32_t buffer[BUF_MAX + TEST_BUFFER_EXTRA]; local
213 uint32_t buffer[BUF_MAX]; local
    [all...]
  /external/skia/src/effects/
SkLayerDrawLooper.cpp 183 void SkLayerDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) {
184 this->INHERITED::flatten(buffer);
198 buffer.writeInt(fCount);
202 buffer.writeInt(rec->fInfo.fPaintBits);
203 buffer.writeInt(rec->fInfo.fColorMode);
204 buffer.writeScalar(rec->fInfo.fOffset.fX);
205 buffer.writeScalar(rec->fInfo.fOffset.fY);
206 buffer.writeBool(rec->fInfo.fPostTranslate);
207 rec->fPaint.flatten(buffer);
212 SkLayerDrawLooper::SkLayerDrawLooper(SkFlattenableReadBuffer& buffer)
    [all...]
  /external/skia/src/ports/
SkOSFile_brew.cpp 57 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f)
60 if (buffer == NULL)
70 return IFILE_Read((IFile*)f, buffer, byteCount);
73 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f)
76 return IFILE_Write((IFile*)f, buffer, byteCount);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction10t.java 53 private Instruction10t(Opcode opcode, byte[] buffer, int bufferIndex) {
56 assert buffer[bufferIndex] == opcode.value;
58 this.targetAddressOffset = buffer[bufferIndex + 1];
88 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
89 return new Instruction10t(opcode, buffer, bufferIndex);
Instruction11n.java 60 private Instruction11n(Opcode opcode, byte[] buffer, int bufferIndex) {
63 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
64 this.litB = NumberUtils.decodeHighSignedNibble(buffer[bufferIndex + 1]);
85 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
86 return new Instruction11n(opcode, buffer, bufferIndex);
Instruction12x.java 55 private Instruction12x(Opcode opcode, byte[] buffer, int bufferIndex) {
57 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
58 this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
79 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
80 return new Instruction12x(opcode, buffer, bufferIndex);
Instruction20t.java 54 private Instruction20t(Opcode opcode, byte[] buffer, int bufferIndex) {
57 assert buffer[bufferIndex] == opcode.value;
59 this.targetAddressOffset = NumberUtils.decodeShort(buffer, bufferIndex+2);
90 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
91 return new Instruction20t(opcode, buffer, bufferIndex);
Instruction21h.java 55 private Instruction21h(Opcode opcode, byte[] buffer, int bufferIndex) {
58 this.regA = buffer[bufferIndex + 1];
59 this.litB = NumberUtils.decodeShort(buffer, bufferIndex + 2);
81 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
82 return new Instruction21h(opcode, buffer, bufferIndex);
Instruction21s.java 55 private Instruction21s(Opcode opcode, byte[] buffer, int bufferIndex) {
58 this.regA = buffer[bufferIndex + 1];
59 this.litB = NumberUtils.decodeShort(buffer, bufferIndex + 2);
81 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
82 return new Instruction21s(opcode, buffer, bufferIndex);
Instruction22x.java 58 private Instruction22x(Opcode opcode, byte[] buffer, int bufferIndex) {
61 this.regA = buffer[bufferIndex + 1];
62 this.regB = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
84 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
85 return new Instruction22x(opcode, buffer, bufferIndex);
Instruction30t.java 47 private Instruction30t(Opcode opcode, byte[] buffer, int bufferIndex) {
50 assert buffer[bufferIndex] == opcode.value;
52 this.targetAddressOffset = NumberUtils.decodeInt(buffer, bufferIndex+2);
74 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
75 return new Instruction30t(opcode, buffer, bufferIndex);
Instruction31i.java 55 private Instruction31i(Opcode opcode, byte[] buffer, int bufferIndex) {
58 this.regA = (byte)NumberUtils.decodeUnsignedByte(buffer[bufferIndex + 1]);
59 this.litB = NumberUtils.decodeInt(buffer, bufferIndex + 2);
81 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
82 return new Instruction31i(opcode, buffer, bufferIndex);
Instruction31t.java 55 private Instruction31t(Opcode opcode, byte[] buffer, int bufferIndex) {
58 this.regA = buffer[bufferIndex + 1];
59 this.targetAddressOffset = NumberUtils.decodeInt(buffer, bufferIndex + 2);
86 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
87 return new Instruction31t(opcode, buffer, bufferIndex);
Instruction32x.java 55 private Instruction32x(Opcode opcode, byte[] buffer, int bufferIndex) {
58 this.regA = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
59 this.regB = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 4);
82 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
83 return new Instruction32x(opcode, buffer, bufferIndex);
Instruction51l.java 55 private Instruction51l(Opcode opcode, byte[] buffer, int bufferIndex) {
58 regA = (byte)NumberUtils.decodeUnsignedByte(buffer[bufferIndex + 1]);
59 litB = NumberUtils.decodeLong(buffer, bufferIndex + 2);
81 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
82 return new Instruction51l(opcode, buffer, bufferIndex);
  /external/webkit/Source/WebCore/platform/graphics/win/
IconWin.cpp 70 WCHAR buffer[MAX_PATH];
71 UINT length = ::GetSystemDirectoryW(buffer, WTF_ARRAY_LENGTH(buffer));
75 if (wcscat_s(buffer, L"\\shell32.dll"))
79 if (!::ExtractIconExW(buffer, shell32MultipleFileIconIndex, 0, &hIcon, 1))
  /external/webkit/Source/WebCore/platform/win/
LoggingWin.cpp 40 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[length]);
42 if (!GetEnvironmentVariableA(channel.defaultName, buffer.get(), length))
45 String variableValue(buffer.get());
49 LOG_ERROR("Unable to parse hex value for %s (%s), logging is off", channel.defaultName, buffer.get());
60 LOG_ERROR("Unable to parse hex value for %s (%s), logging is off", channel.defaultName, buffer.get());
  /frameworks/av/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 65 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) {
66 buffer->clear();
74 *buffer = *mBuffers.begin();
78 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) {
102 const sp<ABuffer> buffer = *mBuffers.begin(); local
106 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) {
114 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
116 MediaBuffer *mediaBuffer = new MediaBuffer(buffer);
137 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) {
139 if (buffer->meta()->findInt32("damaged", &damaged) && damaged)
175 sp<ABuffer> buffer = new ABuffer(0); local
215 const sp<ABuffer> &buffer = *it; local
244 sp<ABuffer> buffer = *mBuffers.begin(); local
    [all...]
  /frameworks/av/media/libstagefright/tests/
DummyRecorder.cpp 78 MediaBuffer *buffer; local
80 while (mStarted && (err = mSource->read(&buffer)) == OK){
81 // if not getting a valid buffer from source, then exit
82 if (buffer == NULL) {
85 buffer->release();
86 buffer = NULL;
  /frameworks/base/core/java/android/net/dhcp/
DhcpNakPacket.java 59 void finishPacket(ByteBuffer buffer) {
60 addTlv(buffer, DHCP_MESSAGE_TYPE, DHCP_MESSAGE_TYPE_NAK);
61 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier);
62 addTlv(buffer, DHCP_MESSAGE, mMessage);
63 addTlvEnd(buffer);
  /libcore/luni/src/main/java/java/io/
BufferedOutputStream.java 25 * most (smaller) requests can be satisfied by accessing the buffer alone. The
26 * drawback is that some extra space is required to hold the buffer and that
27 * copying takes place when flushing that buffer, but this is usually outweighed
40 * The buffer containing the bytes to be written to the target stream.
50 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with a buffer
53 * @param out the {@code OutputStream} the buffer writes to.
61 * of buffer.
63 * @param out the {@code OutputStream} the buffer writes to.
64 * @param size the size of buffer in bytes.
96 * Writes {@code count} bytes from the byte array {@code buffer} starting a
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DerInputStream.java 73 && buffer[contentOffset] != 0
74 && (buffer[offset - 1] & UNUSED_BITS_MASK[buffer[contentOffset] - 1]) != 0) {
84 if (buffer[contentOffset] != 0 && buffer[contentOffset] != (byte) 0xFF) {
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
BytesBufferPool.java 79 public synchronized void recycle(BytesBuffer buffer) {
80 if (buffer.data.length != mBufferSize) return;
82 buffer.offset = 0;
83 buffer.length = 0;
84 mList.add(buffer);
  /external/e2fsprogs/ext2ed/
inode_com.c 26 char *ptr,buffer [80]; local
32 ptr=parse_word (command_line,buffer);
35 ptr=parse_word (ptr,buffer);
36 mult=atol (buffer);
55 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
56 strcpy (buffer,"show");dispatch (buffer);
73 char *ptr,buffer [80]; local
79 ptr=parse_word (command_line,buffer);
285 char *ptr,buffer [80]; local
318 char buffer [80]; local
332 char buffer [80]; local
350 char buffer [80]; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 421 StringBuffer buffer = new StringBuffer(); local
424 buffer.append("00:00:"); //$NON-NLS-1$
425 if (seconds < 10) buffer.append('0');
426 buffer.append(seconds);
430 buffer.append("00:"); //$NON-NLS-1$
431 if (minutes < 10) buffer.append('0');
432 buffer.append(minutes);
433 buffer.append(':');
435 if (seconds < 10) buffer.append('0');
436 buffer.append(seconds)
486 StringBuffer buffer = new StringBuffer(); local
    [all...]

Completed in 485 milliseconds

<<21222324252627282930>>