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

<<81828384858687888990>>

  /hardware/ti/omap3/omx/ti_omx_config_parser/inc/
ti_m4v_config_parser.h 101 uint8 *buffer,
117 uint8 *buffer,
127 int32 FindNAL(uint8** nal_pnt, uint8* buffer, int32 length);
  /libcore/luni/src/main/java/java/io/
CharArrayWriter.java 33 * The buffer for characters.
38 * The ending index of the buffer.
43 * Constructs a new {@code CharArrayWriter} which has a buffer allocated
44 * with the default size of 32 characters. This buffer is also used as the
53 * Constructs a new {@code CharArrayWriter} which has a buffer allocated
54 * with the size of {@code initialSize} characters. The buffer is also used
58 * the initial size of this CharArrayWriters buffer.
79 /* Can the buffer handle @i more chars, if not expand it */
100 * of the buffer. All written characters are lost and the size of this
155 * @param buffer
    [all...]
DataOutputStream.java 79 * Writes {@code count} bytes from the byte array {@code buffer} starting at
82 * @param buffer
83 * the buffer to write to the target stream.
85 * the index of the first byte in {@code buffer} to write.
87 * the number of bytes from the {@code buffer} to write.
91 * if {@code buffer} is {@code null}.
94 public void write(byte[] buffer, int offset, int count) throws IOException {
95 if (buffer == null) {
96 throw new NullPointerException("buffer == null");
98 out.write(buffer, offset, count)
    [all...]
  /libcore/luni/src/main/java/java/util/jar/
JarInputStream.java 134 * {@code buffer} starting at {@code offset}.
136 * @param buffer
137 * Buffer to store into
139 * offset in buffer to store at
147 public int read(byte[] buffer, int offset, int length) throws IOException {
151 int r = super.read(buffer, offset, length);
171 verStream.write(buffer, offset, r);
  /libcore/luni/src/main/java/java/util/zip/
DeflaterOutputStream.java 37 * The buffer for the data to be written to.
68 * default settings for the {@code Deflater} and internal buffer are used.
81 * as the internal buffer size to be used.
90 * is the size to be used for the internal buffer.
132 * Compress the data in the input buffer and write it to the underlying
193 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException {
197 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
201 def.setInput(buffer, offset, byteCount);
InflaterInputStream.java 45 * The input buffer used for decompression.
50 * The length of the buffer.
70 * settings for the {@code Inflater} and internal buffer are be used. In
95 * the internal buffer size to be used.
102 * the size to be used for the internal buffer.
135 * {@code buffer} starting at {@code offset}.
140 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
142 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
159 int result = inf.inflate(buffer, offset, byteCount);
184 * Fills the input buffer with data to be decompressed
    [all...]
  /libcore/luni/src/main/java/libcore/io/
IoUtils.java 118 byte[] buffer = new byte[8192];
120 int byteCount = f.read(buffer);
124 bytes.write(buffer, 0, byteCount);
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 264 byte[] buffer = new byte[KAT_SECRET.length];
265 int secretLengthBytes = keyAgreement.generateSecret(buffer, 0);
267 assertTrue(Arrays.equals(KAT_SECRET, buffer));
279 // Place the shared secret in the middle of the larger buffer and check that only that
280 // part of the buffer is affected.
281 byte[] buffer = new byte[KAT_SECRET.length + 2];
282 buffer[0] = (byte) 0x85; // arbitrary canary value
283 buffer[buffer.length - 1] = (byte) 0x3b; // arbitrary canary value
284 int secretLengthBytes = keyAgreement.generateSecret(buffer, 1)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/
ServerSocketFactoryTest.java 125 byte[] buffer = new byte[1024];
127 while ((count = in.read(buffer)) != -1) {
128 out.write(buffer, 0, count);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
EvenMoreAsserts.java 71 final byte[] buffer = new byte[4096];
73 while ((count = actualStream.read(buffer)) != -1) {
74 baos.write(buffer, 0, count);
PhotoLoadingTestCase.java 103 byte[] buffer = new byte[10000];
106 while ((count = is.read(buffer)) != -1) {
107 os.write(buffer, 0, count);
  /system/core/include/usbhost/
usbhost.h 45 void* buffer; member in struct:usb_request
198 void* buffer,
207 void* buffer,
  /system/core/libctest/
ctest.c 78 char buffer[512]; local
80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) {
82 fwrite(buffer, sizeof(char), read, stderr);
  /bootable/recovery/updater/
install.c 308 char buffer[10]; local
309 sprintf(buffer, "%d", success);
310 return StringValue(strdup(buffer));
627 char* buffer = NULL; local
649 buffer = malloc(st.st_size+1);
650 if (buffer == NULL) {
662 if (fread(buffer, 1, st.st_size, f) != st.st_size) {
668 buffer[st.st_size] = '\0';
672 char* line = strtok(buffer, "\n");
714 free(buffer);
782 char* buffer = malloc(BUFSIZ); local
949 char* buffer = malloc(size+1); local
1018 char buffer[20]; local
1026 char* buffer = malloc(SHA_DIGEST_SIZE*2 + 1); local
    [all...]
  /external/harfbuzz_ng/src/hb-old/
harfbuzz-shaper.cpp 457 static void dump_string(HB_Buffer buffer)
459 for (uint i = 0; i < buffer->in_length; ++i) {
460 qDebug(" %x: cluster=%d", buffer->in_string[i].gindex, buffer->in_string[i].cluster);
630 face->buffer = 0;
669 if (HB_Buffer_new(&face->buffer) != HB_Err_Ok) {
687 if (face->buffer)
688 HB_Buffer_free(face->buffer);
799 HB_Buffer_clear(face->buffer);
812 HB_Buffer_add_glyph(face->buffer, item->glyphs[i], properties ? properties[i] : 0, i)
    [all...]
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
VideoEditorAudioDecoder.cpp 60 virtual status_t read(MediaBuffer **buffer,
62 virtual void storeBuffer(MediaBuffer *buffer);
166 ALOGW("VideoEditorAudioDecoderSource::stop : %d buffer remained", n);
207 status_t VideoEditorAudioDecoderSource::read(MediaBuffer **buffer,
220 // Get a buffer from the reader if we don't have any
224 *buffer = NULL;
230 *buffer = mBuffers.itemAt(0);
236 void VideoEditorAudioDecoderSource::storeBuffer(MediaBuffer *buffer) {
243 // If the user didn't give us a buffer, get it from the reader.
244 if(buffer == NULL)
623 MediaBuffer* buffer = NULL; local
    [all...]
  /frameworks/native/libs/gui/
BufferQueue.cpp 175 ST_LOGE("setBufferCount: requested buffer count (%d) is less than "
181 // and will release all of its buffer references.
292 // Free up any buffers that are in slots beyond the max buffer
302 // look for a free buffer to give to the client
324 // clients are not allowed to dequeue more than one buffer
325 // if they didn't set a buffer count.
328 "setting the buffer count");
332 // See whether a buffer has been queued since the last
341 ST_LOGE("dequeueBuffer: min undequeued buffer count (%d) "
349 // If no buffer is found, wait for a buffer to be released or fo
712 char buffer[1024]; local
    [all...]
  /device/ti/panda/audio/
audio_hw.c 541 /* buffer_remix: functor for doing in-place buffer manipulations.
607 char *buffer; member in struct:omap4_stream_out
627 int16_t *buffer; member in struct:omap4_stream_in
680 ALOGE("BUG: remove_channels_from_buf() can not add channels to a buffer.\n");
714 if (in->buffer) {
716 free(in->buffer);
717 in->buffer = malloc(in->config.period_size * br->sample_size * chans);
718 if (!in->buffer)
719 ALOGE("Could not reallocate memory for input buffer\n");
    [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/ui/
ComponentResultsView.java 493 StringBuffer buffer = null;
499 if (buffer == null) {
501 buffer = new StringBuffer("'"+token.toUpperCase());
502 buffer.append('/');
504 buffer = new StringBuffer("'Platform/");
506 buffer.append(Character.toUpperCase(token.charAt(0)));
507 buffer.append(token.substring(1));
509 buffer.append(token.toUpperCase());
514 buffer.append(Character.toUpperCase(token.charAt(0)));
515 buffer.append(token.substring(1))
    [all...]
  /external/icu4c/io/
ustdio.c 91 uprv_free(file->fTranslit->buffer);
92 file->fTranslit->buffer=NULL;
110 file->fTranslit->buffer = NULL;
147 memmove(f->fTranslit->buffer, f->fTranslit->buffer + f->fTranslit->pos,
153 /* Calculate new buffer size needed */
158 if(f->fTranslit->buffer == NULL)
160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar));
164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar))
    [all...]
  /external/icu4c/tools/toolutil/
ucbuf.c 40 UChar* buffer; member in struct:UCHARBUF
80 /* convert and ignore initial U+FEFF, and the buffer overflow */
159 /* fill the uchar buffer */
172 pTarget = buf->buffer;
173 /* check if we arrived here without exhausting the buffer*/
176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
244 context[len]= 0 ; /* null terminate the buffer */
253 /* null terminate the buffer */
261 /* null terminate the buffer */
381 /* Fill the buffer if it is empty *
    [all...]
  /external/iptables/iptables/
iptables-xml.c 628 char buffer[10240]; local
666 while (fgets(buffer, sizeof(buffer), in)) {
671 if (buffer[0] == '\n')
673 else if (buffer[0] == '#') {
674 xmlComment(buffer);
680 xmlCommentEscape(buffer);
684 if ((strcmp(buffer, "COMMIT\n") == 0) && (curTable[0])) {
688 } else if ((buffer[0] == '*')) {
692 table = strtok(buffer + 1, " \t\n")
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDSLoader.java 438 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize); local
455 buffer.put(data);
461 return buffer;
541 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize); local
553 buffer.put(flipped);
557 buffer.put(data);
563 buffer.rewind();
565 return buffer;
576 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize * depth); local
595 buffer.put(data)
687 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize); local
    [all...]
  /external/skia/src/effects/
SkDashPathEffect.cpp 533 void SkDashPathEffect::flatten(SkFlattenableWriteBuffer& buffer) const {
536 this->INHERITED::flatten(buffer);
537 buffer.writeInt(fInitialDashIndex);
538 buffer.writeScalar(fInitialDashLength);
539 buffer.writeScalar(fIntervalLength);
540 buffer.writeBool(fScaleToFit);
541 buffer.writeScalarArray(fIntervals, fCount);
544 SkFlattenable* SkDashPathEffect::CreateProc(SkFlattenableReadBuffer& buffer) {
545 return SkNEW_ARGS(SkDashPathEffect, (buffer));
548 SkDashPathEffect::SkDashPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer)
    [all...]
  /external/v8/src/x64/
codegen-x64.cc 60 // Allocate buffer in executable space.
61 byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, local
64 if (buffer == NULL) {
75 MacroAssembler masm(NULL, buffer, static_cast<int>(actual_size));
96 CPU::FlushICache(buffer, actual_size);
97 OS::ProtectCode(buffer, actual_size);
98 return FUNCTION_CAST<UnaryMathFunction>(buffer);
104 // Allocate buffer in executable space.
105 byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, local
108 if (buffer == NULL) return &sqrt
131 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
    [all...]

Completed in 590 milliseconds

<<81828384858687888990>>