HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 876 - 900 of 9473) sorted by null

<<31323334353637383940>>

  /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);
90 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
91 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);
Instruction31c.java 54 private Instruction31c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
55 super(dexFile, opcode, buffer, bufferIndex);
57 this.regA = buffer[bufferIndex + 1];
75 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
76 return new Instruction31c(dexFile, 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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Utils.java 71 StringBuffer buffer = new StringBuffer(); local
80 buffer.append('-');
90 buffer.append(Character.toLowerCase(value.charAt(i)));
94 buffer.append(Character.toUpperCase(value.charAt(i)));
99 return buffer.toString();
395 StringBuffer buffer = new StringBuffer(value.length() * 4 / 3); local
405 case '<': buffer.append("&lt;"); continue;
406 case '>': buffer.append("&gt;"); continue;
407 case '&': buffer.append("&amp;"); continue;
408 case '"': buffer.append(forAttribute ? "&quot;" : "\""); continue
435 StringBuffer buffer = new StringBuffer(value); local
    [all...]
  /frameworks/av/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 76 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) {
77 buffer->clear();
85 *buffer = *mBuffers.begin();
89 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) {
113 const sp<ABuffer> buffer = *mBuffers.begin(); local
117 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) {
125 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
127 MediaBuffer *mediaBuffer = new MediaBuffer(buffer);
148 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) {
150 if (buffer->meta()->findInt32("damaged", &damaged) && damaged)
195 sp<ABuffer> buffer = new ABuffer(0); local
235 const sp<ABuffer> &buffer = *it; local
264 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);
  /frameworks/native/include/ui/
FramebufferNativeWindow.h 69 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
70 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
74 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer);
75 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
76 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* 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);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
UpdatePreviewTask.java 57 SharedBuffer buffer = MasterImage.getImage().getPreviewBuffer(); local
61 mPreviewPipeline.compute(buffer, renderingPreset, 0);
62 // set the preset we used in the buffer for later inspection UI-side
63 buffer.getProducer().setPreset(renderingPreset);
64 buffer.getProducer().sync();
65 buffer.swapProducer(); // push back the result
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
dict_file_writing_utils.cpp 93 const BufferWithExtendableBuffer *const buffer) {
94 const int originalBufSize = buffer->getOriginalBufferSize();
95 if (originalBufSize > 0 && fwrite(buffer->getBuffer(false /* usesAdditionalBuffer */),
100 const int additionalBufSize = buffer->getUsedAdditionalBufferSize();
101 if (additionalBufSize > 0 && fwrite(buffer->getBuffer(true /* usesAdditionalBuffer */),
  /external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/gif/
GIFImageDecoder.cpp 162 ImageFrame& buffer = m_frameBufferCache[frameIndex]; local
163 if ((buffer.status() == ImageFrame::FrameEmpty) && !initFrameBuffer(frameIndex))
169 ImageFrame::PixelData* currentAddress = buffer.getAddr(xBegin, yBegin);
171 // We may or may not need to write transparent pixels to the buffer.
173 // we're writing atop a cleared, fully transparent buffer, it's
205 buffer.copyRowNTimes(xBegin, xEnd, yBegin, yEnd);
219 ImageFrame& buffer = m_frameBufferCache[frameIndex]; local
220 if ((buffer.status() == ImageFrame::FrameEmpty) && !initFrameBuffer(frameIndex))
223 buffer.setStatus(ImageFrame::FrameComplete);
227 // resulting buffer was non-transparent, and we can setHasAlpha(false)
297 ImageFrame& buffer = m_frameBufferCache[i]; local
353 ImageFrame* const buffer = &m_frameBufferCache[frameIndex]; local
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-graphite2.cc 220 hb_buffer_t *buffer,
228 const char *lang = hb_language_to_string (hb_buffer_get_language (buffer));
247 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
254 ALLOCATE_ARRAY (uint32_t, chars, buffer->len);
256 for (unsigned int i = 0; i < buffer->len; ++i)
257 chars[i] = buffer->info[i].codepoint;
260 hb_ot_tags_from_script (hb_buffer_get_script (buffer), &script_tag[0], &script_tag[1]);
265 gr_utf32, chars, buffer->len,
266 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0));
280 scratch = (char *) buffer->get_scratch_buffer (&scratch_size)
    [all...]

Completed in 949 milliseconds

<<31323334353637383940>>