/external/easymock/src/org/easymock/internal/matchers/ |
Find.java | 38 public void appendTo(StringBuffer buffer) {
39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
/external/freetype/src/base/ |
ftbitmap.c | 54 if ( source->buffer == NULL ) 65 if ( target->buffer ) 76 (void)FT_QREALLOC( target->buffer, target_size, size ); 79 (void)FT_QALLOC( target->buffer, size ); 86 p = target->buffer; 88 target->buffer = p; 90 FT_MEM_COPY( target->buffer, source->buffer, size ); 108 unsigned char* buffer; local 151 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ) [all...] |
/external/icu4c/tools/genrb/ |
rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
MediaRange.java | 112 public StringBuffer encode(StringBuffer buffer) { 113 return buffer.append(type)
|
RequestLine.java | 76 public StringBuffer encode(StringBuffer buffer) { 78 buffer.append(method); 79 buffer.append(SP); 82 uri.encode(buffer); 83 buffer.append(SP); 85 buffer.append(sipVersion); 86 buffer.append(NEWLINE); 87 return buffer;
|
/external/skia/include/core/ |
SkComposeShader.h | 56 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) { 57 return SkNEW_ARGS(SkComposeShader, (buffer)); }
|
/external/skia/include/effects/ |
SkBlurDrawLooper.h | 40 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) { 41 return SkNEW_ARGS(SkBlurDrawLooper, (buffer));
|
/external/skia/src/core/ |
SkBitmapProcShader.cpp | 27 SkBitmapProcShader::SkBitmapProcShader(SkFlattenableReadBuffer& buffer) 28 : INHERITED(buffer) { 29 fRawBitmap.unflatten(buffer); 30 fState.fTileModeX = buffer.readU8(); 31 fState.fTileModeY = buffer.readU8(); 62 void SkBitmapProcShader::flatten(SkFlattenableWriteBuffer& buffer) { 63 this->INHERITED::flatten(buffer); 65 fRawBitmap.flatten(buffer); 66 buffer.write8(fState.fTileModeX); 67 buffer.write8(fState.fTileModeY) 147 uint32_t buffer[BUF_MAX]; local 179 uint32_t buffer[BUF_MAX]; local [all...] |
SkColorFilter.cpp | 38 SkFilterShader::SkFilterShader(SkFlattenableReadBuffer& buffer) : 39 INHERITED(buffer) 41 fShader = static_cast<SkShader*>(buffer.readFlattenable()); 42 fFilter = static_cast<SkColorFilter*>(buffer.readFlattenable()); 63 void SkFilterShader::flatten(SkFlattenableWriteBuffer& buffer) 65 this->INHERITED::flatten(buffer); 66 buffer.writeFlattenable(fShader); 67 buffer.writeFlattenable(fFilter);
|
SkColorTable.cpp | 145 SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) { 150 fCount = buffer.readU16(); 153 fFlags = buffer.readU8(); 156 buffer.read(fColors, fCount * sizeof(SkPMColor)); 159 void SkColorTable::flatten(SkFlattenableWriteBuffer& buffer) const { 161 buffer.write16(count); 162 buffer.write8(this->getFlags()); 163 buffer.writeMul4(fColors, count * sizeof(SkPMColor));
|
/external/stlport/test/eh/ |
mwerks_console_OS_X.c | 129 long WriteCharsToConsole(char *buffer, long n) 132 return write(1, buffer, n); 138 return __msl_os_x.theWrite(1, buffer, n); 143 long WriteCharsToErrorConsole(char *buffer, long n) 145 return write(2, buffer, n); 149 long ReadCharsFromConsole(char *buffer, long n) 152 return read(0, buffer, n); 158 return __msl_os_x.theRead(0, buffer, n);
|
/external/webkit/JavaScriptCore/API/tests/ |
minidom.c | 100 char* buffer; local 104 buffer = (char*)malloc(buffer_capacity); 113 buffer_size += fread(buffer + buffer_size, 1, buffer_capacity - buffer_size, f); 116 buffer = (char*)realloc(buffer, buffer_capacity); 117 ASSERT(buffer); 123 buffer[buffer_size] = '\0'; 125 return buffer;
|
/external/webkit/WebCore/html/canvas/ |
WebGLArray.cpp | 35 WebGLArray::WebGLArray(PassRefPtr<WebGLArrayBuffer> buffer, 38 , m_buffer(buffer)
|
WebGLArray.h | 47 PassRefPtr<WebGLArrayBuffer> buffer() { function in class:WebCore::WebGLArray 66 WebGLArray(PassRefPtr<WebGLArrayBuffer> buffer, unsigned byteOffset);
|
/external/webkit/WebCore/platform/graphics/gtk/ |
GlyphPageTreeNodeGtk.cpp | 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 40 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters. 51 Glyph glyph = FcFreeTypeCharIndex(face, buffer[i]);
|
/external/webkit/WebCore/platform/graphics/win/ |
GlyphPageTreeNodeCGWin.cpp | 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 39 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs. 46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength);
|
/frameworks/base/core/java/android/content/res/ |
AssetFileDescriptor.java | 217 public int read(byte[] buffer, int offset, int count) throws IOException { 221 int res = super.read(buffer, offset, count); 226 return super.read(buffer, offset, count); 230 public int read(byte[] buffer) throws IOException { 233 int count = buffer.length; 235 int res = super.read(buffer, 0, count); 240 return super.read(buffer); 329 public int read(byte[] buffer, int offset, int count) throws IOException { 330 return mStream.read(buffer, offset, count); 334 public int read(byte[] buffer) throws IOException [all...] |
/frameworks/base/core/java/android/text/method/ |
Touch.java | 97 public static boolean onTouchEvent(TextView widget, Spannable buffer, 103 ds = buffer.getSpans(0, buffer.length(), DragState.class); 106 buffer.removeSpan(ds[i]); 109 buffer.setSpan(new DragState(event.getX(), event.getY(), 115 ds = buffer.getSpans(0, buffer.length(), DragState.class); 118 buffer.removeSpan(ds[i]); 128 ds = buffer.getSpans(0, buffer.length(), DragState.class) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 77 byte[] buffer = new byte[testString.length]; 81 file.readBytes(buffer, 2000, 0, testString.length); 82 compareBuffers(testString, buffer, testString.length); 85 buffer = new byte[testString.length]; 92 is.read(buffer); 93 compareBuffers(testString, buffer, testString.length); 96 buffer = new byte[testString.length]; 98 is.read(buffer); 99 compareBuffers(testString, buffer, testString.length); 112 byte[] buffer = new byte[testString.length + 10] [all...] |
/frameworks/base/media/libstagefright/ |
AMRWriter.cpp | 200 MediaBuffer *buffer; local 201 err = mSource->read(&buffer); 208 buffer->release(); 209 buffer = NULL; 213 mEstimatedSizeBytes += buffer->range_length(); 215 buffer->release(); 216 buffer = NULL; 222 CHECK(buffer->meta_data()->findInt64(kKeyTime, ×tampUs)); 238 buffer->release(); 239 buffer = NULL [all...] |
/libcore/luni/src/main/java/java/io/ |
DataOutput.java | 33 * Writes the entire contents of the byte array {@code buffer} to this 36 * @param buffer 37 * the buffer to write. 43 public abstract void write(byte[] buffer) throws IOException; 46 * Writes {@code count} bytes from the byte array {@code buffer} starting at 49 * @param buffer 50 * the buffer to write. 52 * the index of the first byte in {@code buffer} to write. 54 * the number of bytes from the {@code buffer} to write. 60 public abstract void write(byte[] buffer, int offset, int count) throws IOException [all...] |
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 126 StringBuffer buffer = new StringBuffer(); local 175 buffer.setLength(0); 177 upTo(template, position, buffer, '|'); 180 formats.add(buffer.toString()); 226 * double value fits to the specified string buffer. 230 * @param buffer 231 * the target string buffer to append the formatted value to. 234 * @return the string buffer. 237 public StringBuffer format(double value, StringBuffer buffer, 241 return buffer.append(choiceFormats[i]) 449 StringBuilder buffer = new StringBuilder(); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
Util.java | 91 StringBuilder buffer = new StringBuilder(len); local 95 buffer.append((char) (c + ('a' - 'A'))); 97 buffer.append(c); 100 return buffer.toString(); 105 StringBuilder buffer = new StringBuilder(len); local 109 buffer.append((char) (c - ('a' - 'A'))); 111 buffer.append(c); 114 return buffer.toString();
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
AVT.java | 182 FastStringBuffer buffer = null; local 185 buffer = StringBufferPool.get(); 188 buffer = new FastStringBuffer(6); 218 buffer.append(t); 234 buffer.append(lookahead); 251 if (buffer.length() > 0) 253 m_parts.addElement(new AVTPartSimple(buffer.toString())); 254 buffer.setLength(0); 306 buffer.setLength(0); 359 buffer.append(lookahead) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InputStreamReaderTest.java | 37 char[] buffer = new char[1024]; local 38 int count = reader.read(buffer);
|