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

<<41424344454647484950>>

  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitActivity.java 260 byte[] buffer = new byte[16384];
265 ret = mInputStream.read(buffer);
274 switch (buffer[i]) {
278 m.obj = new SwitchMsg(buffer[i + 1], buffer[i + 2]);
288 m.obj = new TemperatureMsg(composeInt(buffer[i + 1],
289 buffer[i + 2]));
298 m.obj = new LightMsg(composeInt(buffer[i + 1],
299 buffer[i + 2]));
308 m.obj = new JoyMsg(buffer[i + 1], buffer[i + 2])
    [all...]
  /frameworks/av/media/libstagefright/
AACWriter.cpp 250 * 11 bits of buffer fullness. 0x7FF for VBR.
312 MediaBuffer *buffer; local
313 err = mSource->read(&buffer);
320 buffer->release();
321 buffer = NULL;
325 mEstimatedSizeBytes += kAdtsHeaderLength + buffer->range_length();
327 buffer->release();
328 buffer = NULL;
334 if (buffer->meta_data()->findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) {
335 ALOGV("Drop codec specific info buffer");
    [all...]
  /external/icu4c/common/
locdispnames.cpp 46 * buffer size. For all the following getDisplay functions we first attempt
47 * to fill up a stack allocated buffer. If it is to small we heap allocated
48 * the exact buffer we need copy it to the UnicodeString and delete it*/
53 UChar *buffer; local
57 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY);
58 if(buffer==0) {
64 buffer, result.getCapacity(),
69 buffer=result.getBuffer(length);
70 if(buffer==0) {
76 buffer, result.getCapacity()
93 UChar *buffer; local
133 UChar *buffer; local
173 UChar *buffer; local
213 UChar *buffer; local
    [all...]
  /external/qemu/
tap-win32.c 81 * The data member "buffer" must be the first element in the tun_buffer
85 unsigned char buffer [TUN_BUFFER_SIZE]; member in struct:tun_buffer_s
111 tun_buffer_t* buffer = NULL; local
114 buffer = overlapped->free_list;
115 // assert(buffer != NULL);
116 overlapped->free_list = buffer->next;
118 buffer->next = NULL;
119 return buffer;
122 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer)
125 buffer->next = overlapped->free_list
133 tun_buffer_t* buffer = NULL; local
489 tun_buffer_t* buffer = get_buffer_from_free_list(overlapped); local
543 tun_buffer_t* buffer = get_buffer_from_output_queue_immediate(overlapped); local
559 tun_buffer_t* buffer = (tun_buffer_t*)pbuf; local
    [all...]
  /external/srec/portable/src/
pstream.c 58 #define FILEBUFFERSIZE 4096 /* 4k for each file buffer entry */
62 unsigned char *buffer; /* do not use pointer here and set it the first */ member in struct:FileBufferFrame
64 size_t index; /* nth buffer, from 0, 1, ... */
67 BOOL bMalloc; /* flag, if the buffer malloced here ? */
106 size: size of buffer.
107 buffer: is NULL, allocate here and set bMalloc as TRUE; otherwise use the external buffer
109 FileBufferFrame* CreateFileBufferFrame(size_t size, unsigned char *buffer)
123 if (buffer)
124 fb->buffer = buffer
446 unsigned char *buffer = (unsigned char *)data; local
    [all...]
  /cts/tools/dasm/src/dasm/
Scanner.java 38 * Chars buffer with autoexpanding.
42 private char[] buffer = new char[buffer_size]; field in class:Scanner.CharBuffer
47 System.arraycopy(buffer, 0, tmp, 0, buffer_size);
49 buffer = tmp;
53 buffer[cur_pos] = c;
63 return buffer[idx];
67 return new String(buffer, 0, cur_pos);
  /development/host/windows/usb/winusb/
adb_winusb_endpoint_object.cpp 49 void* buffer,
78 reinterpret_cast<PUCHAR>(buffer),
84 reinterpret_cast<PUCHAR>(buffer),
109 void* buffer,
129 reinterpret_cast<PUCHAR>(buffer),
135 reinterpret_cast<PUCHAR>(buffer),
  /external/apache-http/src/org/apache/http/util/
EntityUtils.java 75 ByteArrayBuffer buffer = new ByteArrayBuffer(i); local
80 buffer.append(tmp, 0, l);
85 return buffer.toByteArray();
131 CharArrayBuffer buffer = new CharArrayBuffer(i); local
136 buffer.append(tmp, 0, l);
141 return buffer.toString();
  /external/chromium/base/win/
event_trace_provider.cc 31 ULONG EtwTraceProvider::EnableEvents(void* buffer) {
32 session_handle_ = ::GetTraceLoggerHandle(buffer);
59 ULONG EtwTraceProvider::Callback(WMIDPREQUESTCODE request, void* buffer) {
62 return EnableEvents(buffer);
72 void* context, ULONG *reserved, void* buffer) {
75 return provider->Callback(request, buffer);
  /external/chromium/chrome/common/
service_process_util_posix.cc 26 int buffer; local
27 int length = read(fd, &buffer, sizeof(buffer));
28 if ((length == sizeof(buffer)) && (buffer == kShutDownMessage)) {
32 LOG(ERROR) << "Unexpected read: " << buffer;
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
Arrow.java 123 FloatBuffer buffer = (FloatBuffer)pvb.getData(); local
124 buffer.rewind();
132 buffer.put(vec.x);
133 buffer.put(vec.y);
134 buffer.put(vec.z);
137 pvb.updateData(buffer);
  /external/jpeg/
jdatasrc.c 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon9371
49 * but we don't clear the input buffer.
57 * Fill the input buffer --- called whenever buffer is emptied.
59 * In typical applications, this should read fresh data into the buffer
61 * reset the pointer & count to the start of the buffer, and return TRUE
62 * indicating that the buffer has been reloaded. It is not necessary to
63 * fill the buffer entirely, only to obtain at least one more byte.
67 * the buffer. In most cases, generating a warning message and inserting
    [all...]
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
NonVolatileStore.cpp 48 ** Parameters p_buf - buffer to read the data into.
49 ** nbytes - number of bytes to read into the buffer.
54 ** called with the buffer of data, along with the number
55 ** of bytes read into the buffer, and a status. The
74 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
106 ** Parameters p_buf - buffer to read the data from.
168 char buffer [100]; local
169 memset (buffer, 0, sizeof(buffer));
170 if (!GetStrValue (NAME_NFA_STORAGE, buffer, sizeof(buffer))
    [all...]
  /external/linux-tools-perf/util/
debugfs.c 23 int debugfs_make_path(const char *element, char *buffer, int size)
28 buffer[0] = '\0';
36 snprintf(buffer, size-1, "%s/%s", debugfs_mountpoint, element);
214 int debugfs_read(const char *entry, char *buffer, size_t size)
235 ret = read(fd, buffer, size);
246 buffer[ret] = '\0';
  /external/llvm/lib/Archive/
ArchiveWriter.cpp 87 char buffer[32]; local
88 sprintf(buffer, "%-8o", mbr.getMode());
89 memcpy(hdr.mode,buffer,8);
90 sprintf(buffer, "%-6u", mbr.getUser());
91 memcpy(hdr.uid,buffer,6);
92 sprintf(buffer, "%-6u", mbr.getGroup());
93 memcpy(hdr.gid,buffer,6);
97 sprintf(buffer,"%-12u", unsigned(secondsSinceEpoch));
98 memcpy(hdr.date,buffer,12);
146 buffer[0] = '-'
301 char buffer[32]; local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/address/
Authority.java 62 public StringBuffer encode(StringBuffer buffer) {
64 userInfo.encode(buffer);
65 buffer.append(AT);
66 hostPort.encode(buffer);
68 hostPort.encode(buffer);
70 return buffer;
TelephoneNumber.java 188 public StringBuffer encode(StringBuffer buffer) {
190 buffer.append('+');
191 buffer.append(phoneNumber);
193 buffer.append(SEMICOLON);
194 parameters.encode(buffer);
196 return buffer;
  /external/qemu/distrib/jpeg-6b/
jdatasrc.c 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon13211
49 * but we don't clear the input buffer.
57 * Fill the input buffer --- called whenever buffer is emptied.
59 * In typical applications, this should read fresh data into the buffer
61 * reset the pointer & count to the start of the buffer, and return TRUE
62 * indicating that the buffer has been reloaded. It is not necessary to
63 * fill the buffer entirely, only to obtain at least one more byte.
67 * the buffer. In most cases, generating a warning message and inserting
    [all...]
  /external/skia/legacy/include/core/
SkBuffer.h 18 The RBuffer is given the buffer to read from, with either a specified size
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
57 null, copy those bytes into buffer.
59 void read(void* buffer, size_t size) {
61 this->readNoSizeCheck(buffer, size);
78 void readNoSizeCheck(void* buffer, size_t size);
88 The WBuffer is given the buffer to write into, with either a specified size
115 void write(const void* buffer, size_t size) {
117 this->writeNoSizeCheck(buffer, size)
    [all...]
  /external/skia/src/core/
SkBuffer.h 18 The RBuffer is given the buffer to read from, with either a specified size
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
57 null, copy those bytes into buffer.
59 void read(void* buffer, size_t size) {
61 this->readNoSizeCheck(buffer, size);
78 void readNoSizeCheck(void* buffer, size_t size);
88 The WBuffer is given the buffer to write into, with either a specified size
115 void write(const void* buffer, size_t size) {
117 this->writeNoSizeCheck(buffer, size)
    [all...]
  /external/skia/src/effects/
SkColorFilterImageFilter.cpp 82 SkColorFilterImageFilter::SkColorFilterImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {
83 fColorFilter = buffer.readFlattenableT<SkColorFilter>();
86 void SkColorFilterImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
87 this->INHERITED::flatten(buffer);
89 buffer.writeFlattenable(fColorFilter);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction5rc.java 75 private Instruction5rc(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
76 super(dexFile, opcode, buffer, bufferIndex);
78 this.regCount = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 6);
79 this.startReg = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 8);
129 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
130 return new Instruction5rc(dexFile, opcode, buffer, bufferIndex);
  /external/smali/util/src/main/java/org/jf/util/
IndentingWriter.java 36 protected final char[] buffer = new char[16]; field in class:IndentingWriter
166 buffer[bufferIndex++] = (char)(digit + '0');
168 buffer[bufferIndex++] = (char)((digit - 10) + 'a');
175 write(buffer[--bufferIndex]);
189 buffer[bufferIndex++] = (char)(digit + '0');
195 write(buffer[--bufferIndex]);
  /external/srec/audio/AudioIn/UNIX/src/
audioinwrapper.cpp 97 // TODO: get record buffer size from hardware.
125 int AudioRead(short *buffer, int frame_count)
129 n = read(audiofd, buffer, frame_count*sizeof(short)*N_CHANNELS);
134 n = record->read(buffer, nreq);
143 fwrite ( buffer, 2, n, audio_data );
191 int AudioRead(short *buffer, int frame_count)
196 int AudioWrite(short *buffer, int frame_count)
  /external/stlport/test/unit/
istmit_test.cpp 60 char buffer[100]; local
68 (i < sizeof(buffer) / sizeof(buffer[0]))) { //*TY 07/28/98 - added index check
69 buffer[i++] = *s++;
71 buffer[i] = '\0'; // Null terminate buffer.
73 CPPUNIT_ASSERT(!strcmp(buffer, buff));

Completed in 1601 milliseconds

<<41424344454647484950>>