HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 501 - 525 of 4833) sorted by null

<<21222324252627282930>>

  /external/bluetooth/glib/gio/xdgmime/
xdgmimecache.c 83 char *buffer; member in struct:_XdgMimeCache
104 munmap (cache->buffer, cache->size);
118 char *buffer = NULL; local
129 buffer = (char *) mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
131 if (buffer == MAP_FAILED)
135 if (GET_UINT16 (buffer, 0) != MAJOR_VERSION ||
136 GET_UINT16 (buffer, 2) != MINOR_VERSION)
138 munmap (buffer, st.st_size);
145 cache->buffer = buffer;
    [all...]
  /device/generic/goldfish/audio/
AudioHardwareGeneric.cpp 166 char buffer[SIZE]; local
169 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
170 result.append(buffer);
230 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes)
233 return ssize_t(::write(mFd, buffer, bytes));
245 char buffer[SIZE]; local
247 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n");
248 result.append(buffer);
249 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
250 result.append(buffer);
353 char buffer[SIZE]; local
    [all...]
  /hardware/libhardware_legacy/audio/
AudioHardwareGeneric.cpp 169 char buffer[SIZE]; local
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
173 result.append(buffer);
233 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes)
236 return ssize_t(::write(mFd, buffer, bytes));
248 char buffer[SIZE]; local
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n");
251 result.append(buffer);
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
253 result.append(buffer);
356 char buffer[SIZE]; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbelo.c 134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) {
143 (char *) (buffer + *buffer_p),
155 if ((*buffer_p == 0) && (buffer[0] != ELO_START_BYTE)) {
156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1);
160 *checksum = *checksum + buffer[*buffer_p];
169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]);
330 const char *buffer = NULL; local
336 buffer = SDL_getenv("SDL_ELO_MIN_X");
337 if(buffer) {
422 unsigned char buffer[ELO_PACKET_SIZE]; local
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
ARTPSource.cpp 85 void ARTPSource::processRTPPacket(const sp<ABuffer> &buffer) {
86 if (queuePacket(buffer) && mAssembler != NULL) {
102 bool ARTPSource::queuePacket(const sp<ABuffer> &buffer) {
103 uint32_t seqNum = (uint32_t)buffer->int32Data();
107 mQueue.push_back(buffer);
142 buffer->setInt32Data(seqNum);
150 ALOGW("Discarding duplicate buffer");
154 mQueue.insert(it, buffer);
163 void ARTPSource::addFIR(const sp<ABuffer> &buffer) {
176 if (buffer->size() + 20 > buffer->capacity())
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3debughandlers.c 207 // Buffer to construct our message in
332 // Local buffer to read the next character in to
334 char buffer; local
339 // to buffer the input or anything.
343 rCount = recv(delboy->socket, &buffer, 1, 0);
345 while (rCount == 1 && buffer != '\n');
355 ANTLR3_PRINTF("Received char count was %d, and last char received was %02X\n", rCount, buffer);
360 // Given a buffer string and a source string, serialize the
365 serializeText(pANTLR3_STRING buffer, pANTLR3_STRING text)
372 buffer->append(buffer, "\t\"")
550 char buffer[512]; local
561 char buffer[512]; local
572 char buffer[512]; local
583 char buffer[512]; local
594 char buffer[512]; local
605 char buffer[512]; local
617 char buffer[512]; local
698 char buffer[128]; local
710 char buffer[128]; local
729 char buffer[128]; local
741 char buffer[128]; local
753 char buffer[128]; local
765 char buffer[256]; local
789 unsigned char * buffer; local
874 pANTLR3_STRING buffer; local
891 pANTLR3_STRING buffer; local
910 char buffer[128]; local
1005 char buffer[128]; local
1015 char buffer[128]; local
1027 char buffer[128]; local
1038 char buffer[128]; local
    [all...]
  /external/icu4c/io/
ustream.cpp 44 char buffer[200]; local
53 char *s, *sLimit = buffer + (sizeof(buffer) - 1);
56 s = buffer;
61 if(s > buffer) {
62 stream << buffer; local
83 char buffer[16]; local
133 buffer[idx++] = ch;
135 stream.putback(buffer[--idx]);
158 buffer[idx++] = ch
    [all...]
  /external/qemu/
json-parser.c 110 static void wchar_to_utf8(uint16_t wchar, char *buffer, size_t buffer_length)
115 buffer[0] = wchar & 0x7F;
116 buffer[1] = 0;
120 buffer[0] = 0xC0 | ((wchar >> 6) & 0x1F);
121 buffer[1] = 0x80 | (wchar & 0x3F);
122 buffer[2] = 0;
126 buffer[0] = 0xE0 | ((wchar >> 12) & 0x0F);
127 buffer[1] = 0x80 | ((wchar >> 6) & 0x3F);
128 buffer[2] = 0x80 | (wchar & 0x3F);
129 buffer[3] = 0
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction35ms.java 78 private Instruction35ms(Opcode opcode, byte[] buffer, int bufferIndex) {
81 this.regCount = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
82 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
83 this.regD = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 4]);
84 this.regE = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 4]);
85 this.regF = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 5]);
86 this.regG = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 5]);
87 this.methodIndex = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
131 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
132 return new Instruction35ms(opcode, buffer, bufferIndex)
    [all...]
  /libcore/luni/src/main/java/java/io/
PushbackInputStream.java 26 * during construction. If the buffer of pushed back bytes is empty, bytes are
31 * The buffer that contains pushed-back bytes.
38 * indicates that the buffer is full.
44 * stream as source. The size of the pushback buffer is set to the default
62 * input stream. The size of the pushback buffer is set to {@code size}.
71 * the size of the pushback buffer.
94 * and releases the pushback buffer.
124 * range from 0 to 255. If the pushback buffer does not contain any
151 * the byte array {@code buffer} starting at {@code offset}. Bytes are read
152 * from the pushback buffer first, then from the source stream if more byte
    [all...]
PushbackReader.java 26 * specified during construction. If the buffer of pushed back bytes is empty,
38 * the buffer is full.
44 * source. The size of the pushback buffer is set to the default value of 1
58 * The size of the pushback buffer is set to {@code size}.
63 * the size of the pushback buffer.
78 * and releases the pushback buffer.
124 * reader has been reached. If the pushback buffer does not contain any
159 * byte array {@code buffer} starting at {@code offset}. Characters are
160 * read from the pushback buffer first, then from the source reader if more
164 * @param buffer
    [all...]
  /libcore/luni/src/main/java/java/util/logging/
MemoryHandler.java 22 * buffer.
25 * the internal buffer and doesn't perform any formatting or any other process.
26 * When the buffer is full, the earliest buffered records will be discarded.
31 * buffer will be cleared.
48 * <li>java.util.logging.MemoryHandler.size specifies the buffer size in number
63 // buffer size
72 // buffer
73 private LogRecord[] buffer; field in class:MemoryHandler
75 // current position in buffer
123 buffer = new LogRecord[size]
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
DeflaterInputStreamTest.java 55 byte[] buffer = new byte[1024];
57 while ((count = in.read(buffer)) != -1) {
58 out.write(buffer, 0, count);
65 byte[] buffer = new byte[8];
70 while ((count = in.read(buffer, 0, 5)) != -1) {
72 out.write(buffer, 0, count);
88 byte[] buffer = new byte[8];
91 in.read(buffer, 0, 10);
101 in.read(buffer, -1, 5);
107 in.read(buffer, 0, 5)
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
ImageCacheService.java 79 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); local
80 buffer.put(key);
81 buffer.put(value);
84 mCache.insert(cacheKey, buffer.array());
99 private static boolean isSameKey(byte[] key, byte[] buffer) {
101 if (buffer.length < n) {
105 if (key[i] != buffer[i]) {
138 public static final long crc64Long(byte[] buffer) {
140 for (int k = 0, n = buffer.length; k < n; ++k) {
141 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8)
    [all...]
  /external/v8/src/
bignum-dtoa.cc 78 Vector<char> buffer, int* length);
82 Vector<char>(buffer), int* length);
89 Vector<char>(buffer), int* length);
93 Vector<char> buffer, int* length, int* decimal_point) {
108 buffer[0] = '\0';
140 is_even, buffer, length);
145 buffer, length);
150 buffer, length);
155 buffer[*length] = '\0';
175 Vector<char> buffer, int* length)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
VideoSinkGStreamer.cpp 26 * current video buffer.
62 GstBuffer* buffer; member in struct:_WebKitVideoSinkPrivate
74 // Protected by the buffer mutex
116 GstBuffer* buffer; local
119 buffer = priv->buffer;
120 priv->buffer = 0;
123 if (!buffer || priv->unlocked || G_UNLIKELY(!GST_IS_BUFFER(buffer))) {
129 g_signal_emit(sink, webkit_video_sink_signals[REPAINT_REQUESTED], 0, buffer);
    [all...]
  /external/nist-sip/java/gov/nist/core/
NameValue.java 162 public StringBuffer encode(StringBuffer buffer) {
166 buffer.append(name).append(separator).append(quotes);
167 gv.encode(buffer);
168 buffer.append(quotes);
169 return buffer;
172 buffer.append(name).append(separator).append(gvlist.encode());
173 return buffer;
181 buffer.append(name).append(separator).append(quotes).append(quotes);
182 return buffer;
184 buffer.append(name).append(separator); // JvB: fix, case: "sip:host?subject=
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
HandleNativeHeap.java 131 ByteBuffer buffer = ByteBuffer.wrap(copy); local
132 buffer.order(ByteOrder.LITTLE_ENDIAN);
143 int mapSize = buffer.getInt();
144 int allocSize = buffer.getInt();
145 int allocInfoSize = buffer.getInt();
146 int totalMemory = buffer.getInt();
147 int backtraceSize = buffer.getInt();
162 buffer.get(maps, 0, mapSize);
170 buffer.getInt() /* size */,
171 buffer.getInt() /* allocations */)
207 ByteBuffer buffer = ByteBuffer.wrap(copy); local
    [all...]
  /external/protobuf/src/google/protobuf/io/
coded_stream.h 43 // buffer library in order to encode and decode protocol buffers. Clients
82 // coded_input->ReadRaw(buffer, size);
151 explicit CodedInputStream(const uint8* buffer, int size);
166 // underlying buffer, and *size to the size of that buffer, but does not
168 // a non-empty buffer or return false. If the caller consumes any of
175 // attempt to Refresh() if the buffer is currently empty.
179 // Read raw bytes, copying them into the given buffer.
180 bool ReadRaw(void* buffer, int size);
189 bool ReadString(string* buffer, int size)
    [all...]
  /build/tools/
java-event-log-tags.py 91 buffer = cStringIO.StringIO() variable
92 buffer.write("/* This file is auto-generated. DO NOT MODIFY.\n"
96 buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0],))
101 buffer.write("/**\n"
104 buffer.write("public class %s {\n" % (basename,))
105 buffer.write(" private %s() { } // don't instantiate\n" % (basename,))
109 buffer.write("\n /** %d %s %s */\n" % (t.tagnum, t.tagname, t.description))
111 buffer.write("\n /** %d %s */\n" % (t.tagnum, t.tagname))
113 buffer.write(" public static final int %s = %d;\n" %
141 buffer.write("\n public static void %s(%s) {" % (methodName, argTypesNames)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
stringencode.h 48 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value);
55 size_t escape(char * buffer, size_t buflen,
58 // Note: in-place unescaping (buffer == source) is allowed.
59 size_t unescape(char * buffer, size_t buflen,
67 size_t encode(char * buffer, size_t buflen,
70 // Note: in-place decoding (buffer == source) is allowed.
71 size_t decode(char * buffer, size_t buflen,
81 size_t url_encode(char * buffer, size_t buflen,
83 // Note: in-place decoding (buffer == source) is allowed.
84 size_t url_decode(char * buffer, size_t buflen
    [all...]
  /external/e2fsprogs/lib/ss/
help.c 44 char *buffer; local
62 buffer = malloc(80+2*strlen(request_name));
63 if (!buffer) {
68 sprintf(buffer, "usage:\n\t%s [topic|command]\nor\t%s\n",
70 ss_perror(sci_idx, 0, buffer);
71 free(buffer);
84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 +
86 if (!buffer) {
91 (void) strcpy(buffer, info->info_dirs[idx]);
92 (void) strcat(buffer, "/");
    [all...]
  /external/quake/quake/src/WinQuake/
net_loop.cpp 156 byte *buffer; local
167 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
170 *buffer++ = 1;
173 *buffer++ = data->cursize & 0xff;
174 *buffer++ = data->cursize >> 8;
177 buffer++;
180 Q_memcpy(buffer, data->data, data->cursize);
190 byte *buffer; local
201 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
204 *buffer++ = 2
    [all...]
  /external/skia/include/core/
SkStream.h 30 If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped.
31 If buffer is NULL and size == 0, return the total length of the stream.
32 If buffer != NULL, copy the requested number of bytes into buffer, returning how many were copied.
33 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer
37 virtual size_t read(void* buffer, size_t size) = 0;
73 @param buffer the address of at least size bytes to be written to the stream
74 @param size The number of bytes in buffer to write to the strea
    [all...]
  /external/skia/src/core/
SkString.cpp 21 #define VSNPRINTF(buffer, size, format, args) \
22 _vsnprintf_s(buffer, size, _TRUNCATE, format, args)
29 #define ARGS_TO_BUFFER(format, buffer, size) \
33 VSNPRINTF(buffer, size, format, args); \
70 char buffer[SkStrAppendS32_MaxSize]; local
71 char* p = buffer + sizeof(buffer);
88 SkASSERT(p >= buffer);
89 char* stop = buffer + sizeof(buffer);
100 char buffer[SkStrAppendS64_MaxSize]; local
137 char buffer[SkStrAppendScalar_MaxSize + 1]; local
470 char buffer[kMaxBytesInUTF8Sequence]; local
479 char buffer[SkStrAppendS32_MaxSize]; local
485 char buffer[SkStrAppendS64_MaxSize]; local
495 char buffer[8]; local
513 char buffer[SkStrAppendScalar_MaxSize]; local
519 char buffer[kBufferSize]; local
526 char buffer[kBufferSize]; local
533 char buffer[kBufferSize]; local
605 char buffer[kBufferSize]; local
    [all...]

Completed in 795 milliseconds

<<21222324252627282930>>