/external/skia/src/ports/ |
FontHostConfiguration_android.cpp | 52 // Malloc new buffer to store the string 175 char buffer[512]; local 178 fgets(buffer, sizeof(buffer), file); 179 int len = strlen(buffer); 183 XML_Parse(parser, buffer, len, done);
|
/external/smack/src/org/jivesoftware/smack/ |
ConnectionConfiguration.java | 204 StringBuilder buffer = new StringBuilder(); local 205 buffer.append(javaHome).append(File.separator).append("lib"); 206 buffer.append(File.separator).append("security"); 207 buffer.append(File.separator).append("cacerts"); 208 truststorePath = buffer.toString();
|
/external/v8/src/ |
unicode.h | 106 class Buffer { 108 inline Buffer(Data data, unsigned length) : data_(data), length_(length) { } 109 inline Buffer() : data_(0), length_(0) { } 157 static const byte* ReadBlock(Buffer<const char*> str, byte* buffer, 193 static inline bool EncodeCharacter(uchar c, byte* buffer, unsigned capacity, 195 static inline bool EncodeAsciiCharacter(uchar c, byte* buffer, 197 static inline bool EncodeNonAsciiCharacter(uchar c, byte* buffer, 199 static inline uchar DecodeCharacter(const byte* buffer, unsigned* offset); 204 // The number of characters left in the current buffer [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Framebuffer.cpp | 37 Renderbuffer *buffer = NULL; local 41 buffer = NULL; 45 buffer = context->getRenderbuffer(handle); 49 buffer = context->getTexture(handle)->getColorbuffer(type); 56 return buffer;
|
/external/webkit/Source/WebCore/loader/ |
SubresourceLoader.cpp | 143 RefPtr<SharedBuffer> buffer = resourceData(); local 144 if (m_loadingMultipartContent && buffer && buffer->size()) { 149 m_client->didReceiveData(this, buffer->data(), buffer->size());
|
/external/webkit/Source/WebCore/platform/mac/ |
DragImageMac.mm | 140 static bool canUseFastRenderer(const UniChar* buffer, unsigned length) 144 UCharDirection direction = u_charDirection(buffer[i]); 154 Vector<UniChar, 2048> buffer(length); 156 [string getCharacters:buffer.data()]; 158 if (canUseFastRenderer(buffer.data(), length)) { 160 TextRun run(buffer.data(), length); 177 Vector<UniChar, 2048> buffer(length); 179 [string getCharacters:buffer.data()]; 181 if (canUseFastRenderer(buffer.data(), length)) { 198 TextRun run(buffer.data(), length) [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextCodecUTF8.cpp | 219 // That includes all bytes in the partial-sequence buffer because 221 StringBuffer buffer(m_partialSequenceSize + length); 226 UChar* destination = buffer.characters(); 291 buffer.shrink(destination - buffer.characters()); 293 return String::adopt(buffer);
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebKitNSStringExtras.mm | 53 static BOOL canUseFastRenderer(const UniChar *buffer, unsigned length) 57 UCharDirection direction = u_charDirection(buffer[i]); 72 Vector<UniChar, 2048> buffer(length); 74 [self getCharacters:buffer.data()]; 76 if (canUseFastRenderer(buffer.data(), length)) { 93 TextRun run(buffer.data(), length); 132 Vector<UniChar, 2048> buffer(length); 134 [self getCharacters:buffer.data()]; 136 if (canUseFastRenderer(buffer.data(), length)) { 138 TextRun run(buffer.data(), length) [all...] |
/external/webkit/Source/WebKit2/UIProcess/cf/ |
WebPageProxyCF.cpp | 95 // Put the session state version number at the start of the buffer 112 const unsigned char* buffer = webData->bytes(); local 113 UInt32 versionHeader = (buffer[0] << 24) + (buffer[1] << 16) + (buffer[2] << 8) + buffer[3];
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
pitch_filter.c | 86 * buffer : a buffer where the sum of previous inputs and outputs 105 double buffer[PITCH_INTBUFFSIZE + QLOOKAHEAD]; member in struct:__anon18291 130 * out_data : pointer to a buffer where the filtered signal is written to. 131 * out_dg : [only used in kPitchFilterPreGain] pointer to a buffer 143 /* Index of |parameters->buffer| where the output is written to. */ 145 /* Index of |parameters->buffer| where samples are read for fractional-lag 157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m]; 202 /* Subtract from input and update buffer. */ 204 parameters->buffer[pos] = in_data[parameters->index] [all...] |
/frameworks/av/cmds/stagefright/ |
recordvideo.cpp | 85 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 94 status_t err = mGroup.acquire_buffer(buffer); 103 //memset((*buffer)->data(), x, mSize); 104 (*buffer)->set_range(0, mSize); 105 (*buffer)->meta_data()->clear(); 106 (*buffer)->meta_data()->setInt64(
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
GenericSource.cpp | 236 sp<ABuffer> buffer = new ABuffer(outLength); local 238 memcpy(buffer->data(), 249 memcpy(buffer->data() + mbuf->range_length(), 257 buffer->meta()->setInt64("timeUs", timeUs); 271 track->mPackets->queueAccessUnit(buffer);
|
/frameworks/av/media/libnbaio/ |
MonoPipe.cpp | 96 ssize_t MonoPipe::write(const void *buffer, size_t count) 115 memcpy((char *) mBuffer + (rear << mBitShift), buffer, part1 << mBitShift); 119 memcpy(mBuffer, (char *) buffer + (part1 << mBitShift), part2 << mBitShift); 129 buffer = (char *) buffer + (written << mBitShift); 219 // frames are in the buffer, and offset the timestamp by that amt. Then
|
/frameworks/av/media/libstagefright/foundation/ |
AString.cpp | 327 char *buffer; local 328 vasprintf(&buffer, format, ap); 332 AString result(buffer); 334 free(buffer); 335 buffer = NULL;
|
/frameworks/base/core/java/android/database/ |
AbstractCursor.java | 166 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { 170 char[] data = buffer.data; 172 buffer.data = result.toCharArray(); 176 buffer.sizeCopied = result.length(); 178 buffer.sizeCopied = 0;
|
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 93 StringBuilder buffer = new StringBuilder(); local 94 buffer.append(template.substring(0, placeHolderIndex)); 98 buffer.append(query); 103 buffer.append(template.substring( 106 return buffer.toString();
|
/frameworks/base/media/mca/filterfw/native/core/ |
gl_frame.cpp | 32 // containers for this: Textures and Frame Buffer Objects (FBOs). Textures are 166 bool GLFrame::CopyDataTo(uint8_t* buffer, int size) { 168 ? CopyPixelsTo(buffer) 172 bool GLFrame::CopyPixelsTo(uint8_t* buffer) { 176 return ReadFboPixels(buffer); 178 return ReadTexturePixels(buffer); 371 "inefficient. Please consider using your original pixel buffer " 404 // Bind the frame buffer, and check if we it is already bound 407 // Bind the texture to the frame buffer
|
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 75 * @param pool a buffer pool that improves GC performance in copy operations 204 byte[] buffer = null; 210 buffer = mPool.getBuf(1024); 212 while ((count = in.read(buffer)) != -1) { 213 bytes.write(buffer, 0, count); 225 mPool.returnBuf(buffer);
|
/hardware/libhardware_legacy/qemu/ |
qemu.c | 251 qemu_command_vformat( char* buffer, 262 len = vsnprintf(buffer+4, buffer_size-4, format, args); 267 memcpy(buffer, header, 4); 272 qemu_command_format( char* buffer, 281 ret = qemu_command_format(buffer, buffer_size, format, args);
|
/hardware/ril/rild/ |
rild.c | 146 char buffer[1024], *p, *q; local 156 len = read(fd,buffer,sizeof(buffer)); } 166 if (strstr(buffer, "android.qemud=") != NULL) 214 p = strstr( buffer, KERNEL_OPTION );
|
/libcore/luni/src/main/java/java/io/ |
BufferedInputStream.java | 25 * most (smaller) requests can be satisfied by accessing the buffer alone. The 26 * drawback is that some extra space is required to hold the buffer and that 27 * copying takes place when filling that buffer, but this is usually outweighed 40 * The buffer containing the current bytes read from the target InputStream. 66 * Constructs a new {@code BufferedInputStream}, providing {@code in} with a buffer 73 * @param in the {@code InputStream} the buffer reads from. 81 * of buffer. 87 * @param in the {@code InputStream} the buffer reads from. 88 * @param size the size of buffer in bytes. 101 * input. This method returns the number of bytes available in the buffer [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BucketHelper.java | 156 ArrayList<BucketEntry> buffer = new ArrayList<BucketEntry>(); local 170 if (!buffer.contains(entry)) { 171 buffer.add(entry); 179 return buffer.toArray(new BucketEntry[buffer.size()]);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
FilteringPipeline.java | 74 TripleBufferBitmap buffer = MasterImage.getImage().getDoubleBuffer(); 75 buffer.swapConsumer(); 99 TripleBufferBitmap buffer = MasterImage.getImage().getDoubleBuffer(); local 100 mPreviewPipeline.compute(buffer, preset, COMPUTE_PRESET); 101 buffer.swapProducer();
|
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 77 sSendBuffer.buffer = (uint8_t*)e->GetByteArrayElements(data, NULL); 111 if (sSendBuffer.buffer != NULL) 113 e->ReleaseByteArrayElements(data, (jbyte*)sSendBuffer.buffer, JNI_ABORT); 159 sReceiveBuffer.buffer = (uint8_t*)malloc(linkMiu); 195 /* Set Llcp Packet Buffer */ 196 ALOGD("Set LlcpPacket Data Buffer\n"); 199 e->SetByteArrayRegion(receivedData, 0, sReceiveBuffer.length,(jbyte *)sReceiveBuffer.buffer);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionaryGetter.java | 238 final BinaryDictInputOutput.ByteBufferWrapper buffer = local 241 final int magic = buffer.readInt(); 245 final int formatVersion = buffer.readInt(); 246 final int headerSize = buffer.readInt(); 248 BinaryDictInputOutput.populateOptions(buffer, headerSize, options);
|