/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/ |
InBandBytestreamSession.java | 237 /* buffer containing the data from one data packet */
238 private byte[] buffer;
field in class:InBandBytestreamSession.IBBInputStream 240 /* pointer to the next byte to read from buffer */
281 // if nothing read yet or whole buffer has been read fill buffer
282 if (bufferPointer == -1 || bufferPointer >= buffer.length) {
289 // return byte and increment buffer pointer
290 return ((int) buffer[bufferPointer++]) & 0xff;
307 // if nothing read yet or whole buffer has been read fill buffer
[all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction21c.java | 62 private Instruction21c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 63 super(dexFile, opcode, buffer, bufferIndex); 71 this.regA = buffer[bufferIndex + 1]; 111 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 112 return new Instruction21c(dexFile, opcode, buffer, bufferIndex);
|
/external/srec/srec_jni/ |
android_speech_srec_MicrophoneInputStream.cpp | 84 jbyte buffer[4096]; local 85 if (length > (int)sizeof(buffer)) length = sizeof(buffer); 86 length = ((AudioRecord*)audioRecord)->read(buffer, length); 91 env->SetByteArrayRegion(array, offset, length, buffer);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
CryptographicallyRandomNumber.cpp | 58 void randomValues(void* buffer, size_t length); 152 void ARC4RandomNumberGenerator::randomValues(void* buffer, size_t length) 158 unsigned char* result = reinterpret_cast<unsigned char*>(buffer); 180 void cryptographicallyRandomValues(void* buffer, size_t length) 182 sharedRandomNumberGenerator().randomValues(buffer, length);
|
/external/webkit/Source/WebCore/platform/mac/ |
PurgeableBufferMac.cpp | 60 vm_address_t buffer = 0; 61 kern_return_t ret = vm_allocate(mach_task_self(), &buffer, size, VM_FLAGS_PURGABLE | VM_FLAGS_ANYWHERE | VM_TAG_FOR_WEBCORE_PURGEABLE_MEMORY); 67 ret = vm_copy(mach_task_self(), reinterpret_cast<vm_address_t>(data), size, buffer); 71 vm_deallocate(mach_task_self(), buffer, size); local 75 return adoptPtr(new PurgeableBuffer(reinterpret_cast<char*>(buffer), size));
|
/external/webkit/Source/WebCore/platform/text/ |
TextCodecUTF16.cpp | 80 StringBuffer buffer(numChars); 81 UChar* q = buffer.characters(); 115 buffer.shrink(q - buffer.characters()); 117 return String::adopt(buffer); 124 // character buffer, each character is two bytes, and we know 125 // the buffer doesn't occupy the entire address space, we can
|
/frameworks/av/libvideoeditor/lvpp/ |
DummyVideoSource.cpp | 71 // Get the frame buffer from the rgb file, mUri, 142 MediaBuffer *buffer = new MediaBuffer( local 145 // Set timestamp of buffer 163 buffer->meta_data()->setInt64(kKeyTime, mFrameTimeUs); 164 buffer->set_range(buffer->range_offset(), 167 *out = buffer;
|
/frameworks/av/media/libstagefright/include/ |
SimpleSoftOMXComponent.h | 108 OMX_BUFFERHEADERTYPE **buffer, 115 OMX_BUFFERHEADERTYPE **buffer, 122 OMX_BUFFERHEADERTYPE *buffer); 125 OMX_BUFFERHEADERTYPE *buffer); 128 OMX_BUFFERHEADERTYPE *buffer);
|
/frameworks/av/media/libstagefright/rtsp/ |
ARawAudioAssembler.cpp | 74 sp<ABuffer> buffer = *queue->begin(); local 78 mNextExpectedSeqNo = (uint32_t)buffer->int32Data(); 79 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) { 85 // hexdump(buffer->data(), buffer->size()); 87 if (buffer->size() < 1) { 97 msg->setBuffer("access-unit", buffer);
|
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 120 byte[] buffer = new byte[32 * 1024]; 124 int toRead = (size > buffer.length) ? buffer.length : (int)size; 125 int got = in.read(buffer, 0, toRead); 133 out.write(buffer, 0, got);
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 42 protected char[] buffer; field in class:SimpleCharStream 61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 62 System.arraycopy(buffer, 0, newbuffer, 64 buffer = newbuffer; 78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 79 buffer = newbuffer; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 204 return buffer[bufpos]; 210 char c = buffer[bufpos]; 265 buffer = new char[buffersize] [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 42 protected char[] buffer; field in class:SimpleCharStream 61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 62 System.arraycopy(buffer, 0, newbuffer, 64 buffer = newbuffer; 78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 79 buffer = newbuffer; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 204 return buffer[bufpos]; 210 char c = buffer[bufpos]; 265 buffer = new char[buffersize] [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 42 protected char[] buffer; field in class:SimpleCharStream 61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 62 System.arraycopy(buffer, 0, newbuffer, 64 buffer = newbuffer; 78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 79 buffer = newbuffer; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 204 return buffer[bufpos]; 210 char c = buffer[bufpos]; 265 buffer = new char[buffersize] [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverClient.java | 109 byte[] buffer = msg.toByteArray(); 114 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message"); 115 while (offset < buffer.length) { 116 int length = Math.min(buffer.length - offset, remoteMiu); 117 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length);
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
NdefPushClient.java | 99 byte[] buffer = proto.toByteArray(); 105 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message"); 106 while (offset < buffer.length) { 107 int length = Math.min(buffer.length - offset, remoteMiu); 108 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length);
|
/external/flac/libFLAC/ |
metadata_iterators.c | 166 static FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); 254 FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) 256 (void)decoder, (void)frame, (void)buffer, (void)client_data; 2122 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH], *b; local 2185 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH]; local 2211 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2243 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2271 FLAC__byte buffer[32]; \/* asserted below that this is big enough *\/ local 2341 FLAC__byte buffer[1024]; \/* MSVC needs a constant expression so we put a magic number and assert *\/ local 2385 FLAC__byte buffer[sizeof(FLAC__uint32)]; local 2417 FLAC__byte buffer[4]; \/* asserted below that this is big enough *\/ local 2515 FLAC__byte buffer[FLAC__STREAM_METADATA_HEADER_LENGTH]; local 2554 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH]; local 2582 FLAC__byte buffer[1024]; local 2618 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH]; local 2637 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2665 FLAC__byte buffer[1024]; \/* asserted below that this is big enough *\/ local 2760 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2980 FLAC__byte buffer[4]; local 3134 FLAC__byte buffer[8192]; local 3156 FLAC__byte buffer[8192]; local 3178 FLAC__byte buffer[8192]; local 3198 FLAC__byte buffer[8192]; local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/lib/gcc/mipsel-linux-android/4.6/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6/lib/gcc/i686-linux-android/4.6/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/lib/gcc/x86_64-linux/4.6.x-google/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/lib/gcc/mipsel-linux-android/4.6/gcov-src/ |
gcov-io.c | 202 free (gcov_var.buffer); 204 gcov_var.buffer = 0; 341 gcov_var.buffer = XRESIZEVAR (gcov_unsigned_t, gcov_var.buffer, new_size << 2); 351 if (_GCOV_fwrite (gcov_var.buffer, size << 2, 1, gcov_var.file) != 1) 391 memcpy (gcov_var.buffer, 392 gcov_var.buffer + GCOV_BLOCK_SIZE, 400 result = &gcov_var.buffer[gcov_var.offset]; 412 gcov_unsigned_t *buffer = gcov_write_words (1); local 414 buffer[0] = value 424 gcov_unsigned_t *buffer = gcov_write_words (2); local 442 gcov_unsigned_t *buffer; local 465 gcov_unsigned_t *buffer = gcov_write_words (2); local 483 gcov_unsigned_t *buffer; local 503 gcov_unsigned_t *buffer = gcov_write_words (2); local 587 const gcov_unsigned_t *buffer = gcov_read_words (1); local 602 const gcov_unsigned_t *buffer = gcov_read_words (2); local [all...] |