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

<<41424344454647484950>>

  /external/webkit/Source/WebCore/platform/graphics/chromium/
GlyphPageTreeNodeChromiumWin.cpp 64 // Multilingual Plane (<= U+FFFF). The input buffer size should be the
69 UChar* buffer,
84 return fillBMPGlyphs(offset, length, buffer, page, fontData, false);
131 GetGlyphIndices(dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS);
143 UChar c = buffer[i];
168 // For non-BMP characters, each is two words (UTF-16) and the input buffer
186 UChar* buffer,
192 UniscribeHelperTextRun state(buffer, length * 2, false,
201 // Each character in this input buffer is a surrogate pair, which
222 // FIXME: Add assertions to make sure that buffer is entirely in BM
    [all...]
  /external/yaffs2/yaffs2/
yaffs_nand.c 24 __u8 * buffer,
37 result = dev->readChunkWithTagsFromNAND(dev, realignedChunkInNAND, buffer,
42 buffer,
56 const __u8 * buffer,
79 return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer,
84 buffer,
  /frameworks/base/core/java/android/nfc/
NdefMessage.java 96 ByteBuffer buffer = ByteBuffer.wrap(data); local
98 mRecords = NdefRecord.parse(buffer, false);
100 if (buffer.remaining() > 0) {
194 ByteBuffer buffer = ByteBuffer.allocate(length); local
199 mRecords[i].writeToByteBuffer(buffer, mb, me);
202 return buffer.array();
  /frameworks/base/core/java/android/speech/tts/
SynthesisPlaybackQueueItem.java 96 byte[] buffer = null;
100 // (a) there is a buffer available to tread. In which case
104 while ((buffer = take()) != null) {
105 mAudioTrack.write(buffer);
177 void put(byte[] buffer) throws InterruptedException {
187 // Don't bother queueing the buffer if we've stopped. The playback thread
195 mDataBufferList.add(new ListEntry(buffer));
196 mUnconsumedBytes += buffer.length;
  /hardware/samsung_slsi/exynos5/libion_exynos/
libion.cpp 106 void ion_free(ion_buffer buffer)
108 close(buffer);
111 void *ion_map(ion_buffer buffer, size_t len, off_t offset)
114 buffer, offset);
122 int ion_sync(ion_client client, ion_buffer buffer)
126 data.fd = buffer;
  /libcore/luni/src/main/java/javax/xml/namespace/
QName.java 372 StringBuilder buffer = new StringBuilder(nsLength + localPart.length() + 2); local
373 buffer.append('{');
374 buffer.append(namespaceURI);
375 buffer.append('}');
376 buffer.append(localPart);
377 _qNameAsString = buffer.toString();
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Oid.java 81 int octet = in.buffer[in.contentOffset + i];
85 octet = in.buffer[in.contentOffset + i];
138 int octet = in.buffer[in.contentOffset];
144 octet = in.buffer[in.contentOffset + index];
163 octet = in.buffer[in.contentOffset + index];
168 octet = in.buffer[in.contentOffset + index];
  /ndk/tests/device/test-gnustl-full/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));
  /ndk/tests/device/test-stlport/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));
  /packages/apps/Email/src/org/apache/commons/io/
CopyUtils.java 53 * let you specify the buffer size because in modern VMs the impact on speed
54 * seems to be minimal. We're using a default buffer size of 4 KB.
56 * The <code>copy</code> methods use an internal buffer when copying. It is
69 * underlying InputStream, to fill an internal buffer, from which further
70 * <code>read</code> requests can inexpensively get their data (until the buffer
74 * internal buffer, populated by
77 * and the unnecessary buffer management hurts performance slightly (about 3%,
117 * The default size of the buffer.
196 byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
199 while (-1 != (n = input.read(buffer))) {
221 char[] buffer = new char[DEFAULT_BUFFER_SIZE]; local
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtilsTests.java 106 private static void printNode(final FusionDictionaryBufferInterface buffer,
108 Log.d(TAG, "Node at " + buffer.position());
109 final int count = BinaryDictInputOutput.readCharGroupCount(buffer);
112 final CharGroupInfo currentInfo = BinaryDictInputOutput.readCharGroup(buffer,
113 buffer.position(), formatOptions);
117 final int forwardLinkAddress = buffer.readUnsignedInt24();
122 private static void printBinaryFile(final FusionDictionaryBufferInterface buffer)
124 FileHeader header = BinaryDictInputOutput.readHeader(buffer);
125 while (buffer.position() < buffer.limit())
135 final FusionDictionaryBufferInterface buffer = new ByteBufferWrapper( local
157 final FusionDictionaryBufferInterface buffer = new ByteBufferWrapper( local
180 FusionDictionaryBufferInterface buffer = null; local
222 FusionDictionaryBufferInterface buffer = null; local
245 final FusionDictionaryBufferInterface buffer = new ByteBufferWrapper( local
    [all...]
  /libcore/xml/src/main/java/org/kxml2/io/
KXmlParser.java 113 * If non-null, the contents of the read buffer must be copied into this
114 * string builder before the read buffer is overwritten. This is used to
142 private char[] buffer = new char[8192]; field in class:KXmlParser
147 * Track the number of newlines and columns preceding the current buffer. To
148 * compute the line and column of a position in the buffer, compute the line
149 * and column in the buffer and add the preceding values.
476 result.append(buffer, start, position - start);
486 // TODO: replace with Arrays.equals(buffer, position, delimiter, 0, delimiter.length)
489 if (buffer[position + i] != delimiter[i]) {
504 return stringPool.get(buffer, start, end - start)
2126 private final char[] buffer; field in class:KXmlParser.ContentSource
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
stringutils.h 189 size_t strlenn(const CTYPE* buffer, size_t buflen) {
191 while (buffer[bufpos] && (bufpos < buflen)) {
201 size_t strcpyn(CTYPE* buffer, size_t buflen,
211 memcpy(buffer, source, srclen * sizeof(CTYPE));
212 buffer[srclen] = 0;
217 size_t strcatn(CTYPE* buffer, size_t buflen,
222 size_t bufpos = strlenn(buffer, buflen - 1);
223 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen);
229 size_t vsprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format,
231 int len = vsnprintf(buffer, buflen, format, args)
    [all...]
  /external/elfutils/libdwfl/
core-file.c 197 void **buffer, size_t *buffer_available,
211 /* We already malloc'd the buffer. */
212 *elfp = elf_memory (*buffer, whole);
217 *buffer = NULL;
223 *elfp = elf_begin_rand (core, *buffer - core->map_address, whole, NULL);
224 *buffer = NULL;
259 void **buffer, size_t *buffer_available,
270 free (*buffer);
271 *buffer = NULL;
339 if (*buffer == NULL
    [all...]
  /external/icu4c/i18n/
coleitr.cpp 102 // buffer
119 // checking normalization buffer
124 // both are in the normalization buffer
129 // not in the same position in the normalization buffer
217 UChar *buffer = NULL; local
220 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
222 if (buffer == NULL) {
226 *buffer = 0;
229 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
231 if (buffer == NULL)
352 UChar *buffer; local
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2965Spec.java 181 protected void formatCookieAsVer(final CharArrayBuffer buffer,
183 super.formatCookieAsVer(buffer, cookie, version);
189 buffer.append("; $Port");
190 buffer.append("=\"");
196 buffer.append(",");
198 buffer.append(Integer.toString(ports[i]));
202 buffer.append("\"");
250 CharArrayBuffer buffer = new CharArrayBuffer(40); local
251 buffer.append(SM.COOKIE2);
252 buffer.append(": ")
    [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/db/
SQL_Results.java 144 StringBuffer buffer = new StringBuffer("select DIM_ID, VALUE from SCALAR where "); //$NON-NLS-1$ local
145 buffer.append("DATAPOINT_ID = ? and "); //$NON-NLS-1$
150 buffer.append("(");
152 buffer.append(" or ");
154 buffer.append("DIM_ID = ");
155 buffer.append(dimensions[i].getId());
157 buffer.append(") order by DIM_ID");
158 this.queryDimScalars = this.fConnection.prepareStatement(buffer.toString());
258 StringBuffer buffer = new StringBuffer(); local
266 buffer.append('_')
    [all...]
  /external/javassist/src/main/javassist/bytecode/
ByteStream.java 102 byte[] buffer = buf;
103 buffer[pos++] = (byte)(sLen >>> 8);
104 buffer[pos++] = (byte)sLen;
108 buffer[pos++] = (byte)c;
134 byte[] buffer = buf;
135 buffer[pos] = (byte)(size >>> 8);
136 buffer[pos + 1] = (byte)size;
141 buffer[pos++] = (byte) c;
143 buffer[pos] = (byte)(0xe0 | ((c >> 12) & 0x0f));
144 buffer[pos + 1] = (byte)(0x80 | ((c >> 6) & 0x3f))
    [all...]
  /external/kernel-headers/original/linux/
moduleparam.h 33 /* Returns length written or -errno. Buffer is 4k (ie. be short!) */
34 typedef int (*param_get_fn)(char *buffer, struct kernel_param *kp);
108 extern int param_get_byte(char *buffer, struct kernel_param *kp);
112 extern int param_get_short(char *buffer, struct kernel_param *kp);
116 extern int param_get_ushort(char *buffer, struct kernel_param *kp);
120 extern int param_get_int(char *buffer, struct kernel_param *kp);
124 extern int param_get_uint(char *buffer, struct kernel_param *kp);
128 extern int param_get_long(char *buffer, struct kernel_param *kp);
132 extern int param_get_ulong(char *buffer, struct kernel_param *kp);
136 extern int param_get_charp(char *buffer, struct kernel_param *kp)
    [all...]
  /external/webkit/Source/WebCore/platform/win/
FileSystemWin.cpp 91 Vector<UChar> buffer(MAX_PATH);
93 if (path.length() + 1 > buffer.size())
96 memcpy(buffer.data(), path.characters(), path.length() * sizeof(UChar));
97 buffer[path.length()] = '\0';
100 if (!PathAppendW(buffer.data(), componentCopy.charactersWithNullTermination()))
103 buffer.resize(wcslen(buffer.data()));
105 return String::adopt(buffer);
166 Vector<UChar> buffer(MAX_PATH);
167 if (FAILED(SHGetFolderPathW(0, pathIdentifier | CSIDL_FLAG_CREATE, 0, 0, buffer.data()))
    [all...]
  /frameworks/base/media/tests/omxjpegdecoder/
omx_jpeg_decoder.cpp 41 static void getJpegOutput(MediaBuffer* buffer, const char* filename) {
42 int size = buffer->range_length();
43 int offset = buffer->range_offset();
49 char* data = (char*) buffer->data();
148 MediaBuffer *buffer; local
151 status_t err = decoder->read(&buffer, NULL);
155 CHECK(buffer == NULL);
160 /* Mark the code for now, since we attend to copy buffer to SkBitmap.
162 installPixelRef(buffer, decoder, bm);*/
164 // Copy pixels from buffer to bm
    [all...]
  /hardware/invensense/mlsdk/mllite/
mldl.c 146 * @param buffer Result for data.
154 unsigned char *buffer)
167 memcpy(buffer, &localDmpMemory[offset], length);
725 * @param buffer Result for data.
733 unsigned short length, unsigned char *buffer)
739 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) {
744 memcpy(buffer, &mldlCfg.ram[bank][memAddr], length);
748 ((bank << 8) | memAddr), length, buffer);
771 * @param buffer Result for data.
779 const unsigned char *buffer)
    [all...]
  /external/v8/test/cctest/
test-assembler-x64.cc 67 // a buffer and executing them. These tests do not initialize the
105 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
108 CHECK(buffer);
109 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
119 int result = FUNCTION_CAST<F2>(buffer)(3, 2);
127 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
130 CHECK(buffer);
131 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
151 int result = FUNCTION_CAST<F2>(buffer)(3, 2);
159 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize local
163 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
181 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
185 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
209 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
213 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
243 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
247 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
272 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, local
276 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); local
378 v8::internal::byte buffer[1024]; local
379 Assembler assm(Isolate::Current(), buffer, sizeof(buffer)); local
    [all...]
test-mark-compact.cc 463 static uintptr_t ReadLong(char* buffer, intptr_t* position, int base) {
464 char* end_address = buffer + *position;
465 uintptr_t result = strtoul(buffer + *position, &end_address, base);
467 CHECK(end_address > buffer + *position);
468 *position = end_address - buffer;
480 char buffer[kBufSize]; local
481 int length = read(fd, buffer, kBufSize);
483 CHECK_LT(length, kBufSize); // Make the buffer bigger.
486 if (buffer[line_start] == '\n') {
491 uintptr_t start = ReadLong(buffer, &position, 16)
    [all...]
  /frameworks/av/media/libstagefright/wifi-display/source/
Converter.cpp 475 sp<ABuffer> buffer = *mInputBufferQueue.begin(); local
478 int16_t *ptr = (int16_t *)buffer->data();
479 int16_t *stop = (int16_t *)(buffer->data() + buffer->size());
494 size_t copy = buffer->size();
500 buffer->data(),
505 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
508 CHECK(buffer->meta()->findInt64("timeUs", &timeUs))
586 sp<ABuffer> buffer = *mInputBufferQueue.begin(); local
670 sp<ABuffer> buffer = new ABuffer(size); local
    [all...]

Completed in 2409 milliseconds

<<41424344454647484950>>