/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
IndexDataManager.cpp | 8 // runs the Buffer translation process for index buffers. 14 #include "libGLESv2/Buffer.h" 99 GLenum IndexDataManager::prepareIndexData(GLenum type, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated) 105 if (buffer != NULL) 115 if (typeSize(type) * count + offset > static_cast<std::size_t>(buffer->size())) 120 indices = static_cast<const GLubyte*>(buffer->data()) + offset; 125 StaticIndexBuffer *staticBuffer = buffer ? buffer->getIndexBuffer() : NULL; 150 convertCount = buffer->size() / typeSize(type) [all...] |
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/ |
JPEGImageDecoder.cpp | 236 // Don't allocate a giant and superfluous memory buffer when the 259 // We can stop here. Reduce our buffer length and available 396 // called, then we have hit the end of the buffer. A return value of false 462 ImageFrame& buffer = m_frameBufferCache[0]; 463 if (buffer.status() == ImageFrame::FrameEmpty) { 464 if (!buffer.setSize(scaledSize().width(), scaledSize().height())) 466 buffer.setStatus(ImageFrame::FramePartial); 467 buffer.setHasAlpha(false); 468 buffer.setColorProfile(m_colorProfile); 471 buffer.setOriginalFrameRect(IntRect(IntPoint(), size())) [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FrameFormat.java | 329 StringBuffer buffer = new StringBuffer(); local 334 buffer.append("[]"); 336 buffer.append("[" + String.valueOf(dimensions[i]) + "]"); 340 return buffer.toString(); 374 StringBuffer buffer = new StringBuffer(); local 375 buffer.append("{ "); 377 buffer.append(entry.getKey() + ": " + entry.getValue() + " "); 379 buffer.append("}"); 380 return buffer.toString();
|
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 47 self.buffer = '' 52 index = self.buffer.find('\n', self.pos) 54 result = self.buffer[self.pos:index] 58 self.buffer = self.buffer[self.pos:] 67 if len(self.buffer) == 0: 70 result = self.buffer 71 self.buffer = '' 74 self.buffer += chunk
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/ |
CMcKMod.cpp | 67 // mapping response data is in the buffer 113 // mapping response data is in the buffer 174 int CMcKMod::read(addr_t buffer, uint32_t len) 183 ret = ::read(fdKMod, buffer, len); 217 // Init MC with NQ and MCP buffer addresses 246 // Init MC with NQ and MCP buffer addresses 309 mcResult_t CMcKMod::free(uint32_t handle, addr_t buffer, uint32_t len) 319 if (::munmap(buffer, len)) { 320 LOG_I("buffer = %p, len = %d", buffer, len) [all...] |
/libcore/luni/src/main/java/java/util/ |
Locale.java | 442 StringBuilder buffer = new StringBuilder(); local 445 buffer.append(displayLanguage.isEmpty() ? languageCode : displayLanguage); 450 buffer.append(" ("); 453 buffer.append(displayCountry.isEmpty() ? countryCode : displayCountry); 458 buffer.append(" ("); 460 buffer.append(","); 463 buffer.append(displayVariant.isEmpty() ? variantCode : displayVariant); 467 buffer.append(")"); 469 return buffer.toString();
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_enc.h | 27 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize); 28 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize); 30 EGLint rcGetConfigs_enc(void *self , uint32_t bufSize, GLuint* buffer);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 42 private ByteBuffer buffer; field in class:SourceChannelTest 51 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1)); 91 sink.write(buffer); 154 ByteBuffer[] bufArray = { buffer, positionedBuffer }; 164 buffer.position(0); 223 ByteBuffer[] nullBufArray2 = { buffer, nullBuf }; 238 sink.write(buffer); 297 ByteBuffer[] bufArray = { buffer, positionedBuffer }; 308 buffer.position(0); 392 ByteBuffer[] nullBufArray2 = { buffer, nullBuf } [all...] |
/external/bzip2/ |
bzip2recover.c | 146 Int32 buffer; member in struct:__anon3535 159 bs->buffer = 0; 172 bs->buffer = 0; 183 Int32 retVal = putc ( (UChar) bs->buffer, bs->handle ); 187 bs->buffer = bit & 0x1; 189 bs->buffer = ( (bs->buffer << 1) | (bit & 0x1) ); 203 return ( ((bs->buffer) >> (bs->buffLive)) & 0x1 ); 211 bs->buffer = retVal; 212 return ( ((bs->buffer) >> 7) & 0x1 ) [all...] |
/external/chromium/base/win/ |
event_trace_consumer.h | 67 static bool ProcessBuffer(EVENT_TRACE_LOGFILE* buffer) { 80 static ULONG WINAPI ProcessBufferCallback(PEVENT_TRACE_LOGFILE buffer) { 81 return ImplClass::ProcessBuffer(buffer);
|
/external/chromium/chrome/browser/importer/ |
toolbar_importer.cc | 432 std::string* buffer) { 434 DCHECK(buffer); 438 if (!reader->ReadElementContent(buffer)) 451 std::string buffer; 452 if (!ExtractNamedValueFromXmlReader(reader, kTitleXmlTag, &buffer)) { 455 entry->title = UTF8ToUTF16(buffer); 467 std::string buffer; 468 if (!ExtractNamedValueFromXmlReader(reader, kUrlXmlTag, &buffer)) { 471 entry->url = GURL(buffer); 482 std::string buffer; [all...] |
/external/chromium/chrome/browser/renderer_host/ |
save_file_resource_handler.cc | 82 // We are passing ownership of this buffer to the save file manager. 83 scoped_refptr<net::IOBuffer> buffer; 84 read_buffer_.swap(buffer); 90 buffer,
|
/external/chromium/net/disk_cache/ |
storage_block-inl.h | 31 template<typename T> void* StorageBlock<T>::buffer() const { function in class:disk_cache::StorageBlock 141 void* buffer = new char[address_.num_blocks() * sizeof(*data_)]; local 142 data_ = new(buffer) T;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 87 size_t asccpyn(wchar_t* buffer, size_t buflen, 102 std::copy(source, source + srclen, buffer); 103 buffer[srclen] = 0;
|
/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/ |
BuildResults.java | 524 StringBuffer buffer = new StringBuffer(this.name); local 525 buffer.append(": "); //$NON-NLS-1$ 528 if (i>0) buffer.append(", "); //$NON-NLS-1$ 529 buffer.append('['); 530 buffer.append(this.dimensions[i].getId()); 531 buffer.append("]="); //$NON-NLS-1$ 532 buffer.append(this.average[i]); 533 buffer.append('/'); 534 buffer.append(this.count[i]); 535 buffer.append('/') [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-sea-machine.hh | 110 find_syllables (hb_buffer_t *buffer) 114 hb_glyph_info_t *info = buffer->info; 128 pe = eof = buffer->len;
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
ConnectorAdapter.java | 159 ByteBuffer buffer = connector.read(); local 160 if( buffer == null ) { 164 // Just dump out because a null buffer is expected 170 protocol.addBuffer( buffer );
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/ |
Serializer.java | 338 * Read the class from given buffer and return its SerializerRegistration. 340 * @param buffer The buffer to read from. 343 public static SerializerRegistration readClass(ByteBuffer buffer) { 344 short classID = buffer.getShort(); 352 * @param buffer Buffer to read from. 357 public static Object readClassAndObject(ByteBuffer buffer) throws IOException { 358 SerializerRegistration reg = readClass(buffer); 360 if (reg == null) throw new SerializerException( "Class not found for buffer data." ) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
HydraulicErodeFilter.java | 80 public FloatBuffer filter(float sx, float sy, float base, FloatBuffer buffer, int workSize) {
81 float[] ga = buffer.array();
151 return buffer;
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
android_logmsg.cpp | 46 static char buffer [BTE_LOG_BUF_SIZE]; local 52 vsnprintf (buffer, BTE_LOG_MAX_SIZE, fmt_str, ap); 56 __android_log_write (android_log_type, "NfcNciHal", buffer);
|
/external/libvorbis/examples/ |
encoder_example.c | 194 /* expose the buffer to submit data */ 195 float **buffer=vorbis_analysis_buffer(&vd,READ); local 199 buffer[0][i]=((readbuffer[i*4+1]<<8)| 201 buffer[1][i]=((readbuffer[i*4+3]<<8)|
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeReader.java | 91 byte[] buffer = new byte[length]; 92 byteBuffer.get(buffer); 93 return Utf8.convert(buffer);
|
/external/objenesis/tck/test/org/objenesis/tck/ |
ObjenesisTest.java | 64 ByteArrayOutputStream buffer = new ByteArrayOutputStream();
local 65 PrintStream out = new PrintStream(buffer);
69 fail(buffer.toString());
|
/external/openssl/apps/ |
winrand.c | 76 char buffer[200]; local 79 filename = RAND_file_name(buffer, sizeof buffer);
|
/external/proguard/src/proguard/ |
GPL.java | 105 StringBuffer buffer = new StringBuffer(); local 113 buffer.append(packageName).append(", "); 117 return buffer.toString();
|