HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 651 - 675 of 3205) sorted by null

<<21222324252627282930>>

  /external/webkit/WebCore/history/cf/
HistoryPropertyList.cpp 51 UInt8* HistoryPropertyListWriter::buffer(size_t size) function in class:WebCore::HistoryPropertyListWriter
61 UInt8* buffer = m_buffer; local
62 if (!buffer)
65 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreateWithBytesNoCopy(0, buffer, m_bufferSize, 0));
67 CFAllocatorDeallocate(0, buffer);
128 char buffer[32]; local
129 snprintf(buffer, sizeof(buffer), "%.1lf", lastVisitedDate);
130 stream.writeUniqueString(buffer);
  /frameworks/base/include/media/
IOMX.h 83 buffer_id *buffer) = 0;
91 buffer_id *buffer, void **buffer_data) = 0;
95 buffer_id *buffer) = 0;
98 node_id node, OMX_U32 port_index, buffer_id buffer) = 0;
100 virtual status_t fillBuffer(node_id node, buffer_id buffer) = 0;
104 buffer_id buffer,
161 IOMX::buffer_id buffer; member in struct:android::omx_message::__anon8703::__anon8705
166 IOMX::buffer_id buffer; member in struct:android::omx_message::__anon8703::__anon8706
189 virtual void render(IOMX::buffer_id buffer) = 0;
  /frameworks/base/media/libstagefright/
ThreadedSource.cpp 89 MediaBuffer **buffer, const ReadOptions *options) {
90 *buffer = NULL;
115 *buffer = *mQueue.begin();
164 MediaBuffer *buffer; local
170 status_t err = mSource->read(&buffer, &options);
177 mQueue.push_back(buffer);
205 MediaBuffer *buffer = *mQueue.begin(); local
208 buffer->release();
209 buffer = NULL;
WAVExtractor.cpp 61 MediaBuffer **buffer, const ReadOptions *options = NULL);
284 // As a temporary buffer for 8->16 bit conversion.
328 MediaBuffer *buffer; local
329 status_t err = mGroup->acquire_buffer(&buffer);
346 mCurrentPos, buffer->data(),
350 buffer->release();
351 buffer = NULL;
358 buffer->set_range(0, n);
367 // The new buffer holds the sample number of samples, but each
372 const uint8_t *src = (const uint8_t *)buffer->data()
    [all...]
  /external/bluetooth/glib/gio/tests/
data-output-stream.c 134 test_data_array (gpointer buffer, int len,
187 res = g_data_output_stream_put_byte (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
190 res = g_data_output_stream_put_int16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
193 res = g_data_output_stream_put_uint16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
196 res = g_data_output_stream_put_int32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
199 res = g_data_output_stream_put_uint32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
202 res = g_data_output_stream_put_int64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
205 res = g_data_output_stream_put_uint64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
240 g_assert_cmpint (data, ==, TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)buffer + pos)));
255 gpointer buffer; local
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
winnmtst.cpp 142 we don't need to reallocate the buffer. */
182 wchar_t *buffer = stackBuffer; local
184 buffer[0] = 0x0000;
187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
195 buffer = NEW_ARRAY(UChar, newLength);
196 buffer[0] = 0x0000;
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
209 buffer = NEW_ARRAY(UChar, newLength);
210 buffer[0] = 0x0000
    [all...]
  /external/icu4c/test/intltest/
winnmtst.cpp 142 we don't need to reallocate the buffer. */
182 wchar_t *buffer = stackBuffer; local
184 buffer[0] = 0x0000;
187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
195 buffer = NEW_ARRAY(UChar, newLength);
196 buffer[0] = 0x0000;
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
209 buffer = NEW_ARRAY(UChar, newLength);
210 buffer[0] = 0x0000
    [all...]
  /external/iproute2/tc/
q_tbf.c 47 unsigned buffer=0, mtu=0, mpu=0, latency=0; local
79 strcmp(*argv, "buffer") == 0 ||
82 if (buffer) {
83 fprintf(stderr, "Double \"buffer/burst\" spec\n");
86 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) {
87 explain1("buffer");
164 if (opt.rate.rate == 0 || !buffer) {
181 double lim = opt.rate.rate*(double)latency/TIME_UNITS_PER_SEC + buffer;
196 opt.buffer = tc_calc_xmittime(opt.rate.rate, buffer);
222 double buffer, mtu; local
    [all...]
  /external/ppp/pppd/plugins/radius/
dict.c 49 char buffer[256]; local
63 while (fgets (buffer, sizeof (buffer), dictfd) != (char *) NULL)
68 if (*buffer == '#' || *buffer == '\0' || *buffer == '\n')
73 if (strncmp (buffer, "VENDOR", 6) == 0) {
75 if (sscanf(buffer, "%s%s%d", dummystr, namestr, &value) != 3) {
101 else if (strncmp (buffer, "ATTRIBUTE", 9) == 0)
108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr)
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/cg/
ImageDiffCG.cpp 70 unsigned char buffer[2048]; local
75 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
76 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead));
100 void* buffer = calloc(height, rowBytes); local
101 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
110 unsigned char* pixel = (unsigned char*)buffer;
157 if (buffer)
158 free(buffer);
191 char buffer[2048]; local
195 while (fgets(buffer, sizeof(buffer), stdin))
    [all...]
  /frameworks/base/core/java/android/text/method/
ScrollingMovementMethod.java 33 protected boolean left(TextView widget, Spannable buffer) {
63 protected boolean right(TextView widget, Spannable buffer) {
94 protected boolean up(TextView widget, Spannable buffer) {
118 protected boolean down(TextView widget, Spannable buffer) {
146 public boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event) {
147 return executeDown(widget, buffer, keyCode);
150 private boolean executeDown(TextView widget, Spannable buffer, int keyCode) {
155 handled |= left(widget, buffer);
159 handled |= right(widget, buffer);
163 handled |= up(widget, buffer);
    [all...]
  /frameworks/base/include/private/surfaceflinger/
SharedBufferStack.h 44 * dequeue-able buffer. When these various conditions are not met, the caller
97 status_t setDirtyRegion(int buffer, const Region& reg);
98 status_t setCrop(int buffer, const Rect& reg);
99 status_t setTransform(int buffer, uint8_t transform);
100 Region getDirtyRegion(int buffer) const;
101 Rect getCrop(int buffer) const;
102 uint32_t getTransform(int buffer) const;
105 volatile int32_t head; // server's current front buffer
118 int8_t headBuf; // last retired buffer
207 bool needNewBuffer(int buffer) const
    [all...]
  /libcore/luni/src/main/java/java/text/
MessageFormat.java 386 StringBuffer buffer = new StringBuffer(); local
394 if (Format.upTo(template, position, buffer, '{')) {
426 localStrings.addElement(buffer.toString());
427 buffer.setLength(0);
517 StringBuffer buffer = new StringBuffer(); local
521 formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
523 // create an AttributedString with the formatted buffer
524 AttributedString as = new AttributedString(buffer.toString());
538 * specified string buffer using the pattern of this message format.
547 * @param buffer
987 StringBuffer buffer = new StringBuffer(); local
1175 StringBuffer buffer = new StringBuffer(); local
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
GridQuadMesh.java 168 int[] buffer = new int[1]; local
169 buffer[0] = mVertBufferIndex;
170 gl11.glDeleteBuffers(1, buffer, 0);
172 buffer[0] = mTextureCoordBufferIndex;
173 gl11.glDeleteBuffers(1, buffer, 0);
175 buffer[0] = mIndexBufferIndex;
176 gl11.glDeleteBuffers(1, buffer, 0);
185 * if a buffer has not already been previously allocated. Note that this
196 int[] buffer = new int[1]; local
198 // Allocate and fill the vertex buffer
    [all...]
  /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...]
  /system/bluetooth/brcm_patchram_plus/
brcm_patchram_plus.c 103 unsigned char buffer[1024]; variable
367 read_event(int fd, unsigned char *buffer)
373 while ((count = read(fd, &buffer[i], len)) < len) {
379 len = buffer[2];
381 while ((count = read(fd, &buffer[i], len)) < len) {
390 dump(buffer, count);
422 read_event(uart_fd, buffer);
434 read_event(uart_fd, buffer);
436 read(uart_fd, &buffer[0], 2);
440 while (read(hcdfile_fd, &buffer[1], 3))
    [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...]
normalizer2impl.cpp 354 ReorderingBuffer *buffer,
367 if(buffer!=NULL) {
368 buffer->appendZeroCC(prevSrc, src, errorCode);
375 // buffer!=NULL: normalize
376 // buffer==NULL: isNormalized/spanQuickCheckYes
379 ReorderingBuffer *buffer,
383 src=copyLowPrefixFromNulTerminated(src, minNoCP, buffer, errorCode);
428 if(buffer!=NULL) {
429 if(!buffer->appendZeroCC(prevSrc, src, errorCode)) {
443 if(buffer!=NULL)
    [all...]
  /external/qemu/
tap-win32.c 87 * The data member "buffer" must be the first element in the tun_buffer
91 unsigned char buffer [TUN_BUFFER_SIZE]; member in struct:tun_buffer_s
117 tun_buffer_t* buffer = NULL; local
120 buffer = overlapped->free_list;
121 // assert(buffer != NULL);
122 overlapped->free_list = buffer->next;
124 buffer->next = NULL;
125 return buffer;
128 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer)
131 buffer->next = overlapped->free_list
139 tun_buffer_t* buffer = NULL; local
495 tun_buffer_t* buffer = get_buffer_from_free_list(overlapped); local
549 tun_buffer_t* buffer = get_buffer_from_output_queue_immediate(overlapped); local
565 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/
event_trace_provider_win.cc 28 ULONG EtwTraceProvider::EnableEvents(void* buffer) {
29 session_handle_ = ::GetTraceLoggerHandle(buffer);
54 ULONG EtwTraceProvider::Callback(WMIDPREQUESTCODE request, void* buffer) {
57 return EnableEvents(buffer);
67 void* context, ULONG *reserved, void* buffer) {
70 return provider->Callback(request, buffer);
  /external/chromium/base/test/
test_file_util_win.cc 54 // Allocate a buffer for the reads and the writes.
55 char* buffer = reinterpret_cast<char*>(VirtualAlloc(NULL, local
67 ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
72 // Zero out the remaining part of the buffer.
73 // WriteFile will fail if we provide a buffer size that isn't a
74 // sector multiple, so we'll have to write the entire buffer with
76 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
85 if (!WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) ||
87 BOOL freed = VirtualFree(buffer, 0, MEM_RELEASE);
100 BOOL freed = VirtualFree(buffer, 0, MEM_RELEASE)
    [all...]

Completed in 1523 milliseconds

<<21222324252627282930>>