| /external/harfbuzz_ng/util/ |
| main-font-text.hh | 60 hb_buffer_t *buffer = hb_buffer_create (); local 64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after); 65 hb_buffer_destroy (buffer);
|
| /external/icu4c/io/unicode/ |
| ustdio.h | 47 and make sure that a character that is contained across buffer boundries 63 internal conversion buffer. For example, read the buffer size # of 65 at the end of the last buffer. 70 order to prevent buffer overruns. (e.g. %256.256d). 76 better testing. This prevents buffer overflows. 759 * @param buffer The Unicode String to which to write. 762 * @return The number of Unicode code units written to <TT>buffer</TT>. This 767 u_sprintf(UChar *buffer, 774 * units of data are stored in <TT>buffer</TT> and a negative value i [all...] |
| /external/icu4c/samples/csdet/ |
| csdet.c | 18 static char buffer[BUFFER_SIZE]; local 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); 52 ucsdet_setText(csd, buffer, inputLength, &status);
|
| /external/javassist/src/main/javassist/bytecode/ |
| InstructionPrinter.java | 224 StringBuffer buffer = new StringBuffer("lookupswitch {\n"); local 227 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n"); 234 buffer.append("\t\t").append(match).append(": ").append(target).append("\n"); 237 buffer.setCharAt(buffer.length() - 1, '}'); 238 return buffer.toString(); 243 StringBuffer buffer = new StringBuffer("tableswitch {\n"); local 246 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n"); 254 buffer.append("\t\t").append(key).append(": ").append(target).append("\n"); 257 buffer.setCharAt(buffer.length() - 1, '}') [all...] |
| /external/jmonkeyengine/engine/src/core/com/jme3/util/ |
| SafeArrayList.java | 88 private List<E> buffer; field in class:SafeArrayList 119 if( buffer == null ) { 122 // Only keep the array or the buffer but never both at 125 backingArray = buffer.toArray( createArray(buffer.size()) ); 126 buffer = null; 132 if( buffer != null ) 133 return buffer; 136 buffer = new ArrayList(); 138 // Only keep the array or the buffer but never both a [all...] |
| /external/jpeg/ |
| jdpostct.c | 24 /* Private buffer controller object */ 29 /* Color quantization source buffer: this holds output data from 31 * For two-pass color quantization, we need a full-image buffer; 32 * for one-pass operation, a strip buffer is sufficient. 35 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon21437 36 JDIMENSION strip_height; /* buffer size in rows */ 84 * allocate a strip buffer. Use the virtual-array buffer as workspace. 86 if (post->buffer == NULL) [all...] |
| /external/mesa3d/docs/ |
| MESA_copy_sub_buffer.spec | 33 of the back color buffer to the front color buffer. This can be 35 when the back color buffer cannot be damaged by other windows. 63 may be used to copy a rectangular region of the back color buffer to 64 the front color buffer. This can be used to quickly repaint 3D windows 65 in response to expose events when the back color buffer cannot be
|
| /external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
| pb_bufmgr_pool.c | 31 * Batch buffer pool management. 69 struct pb_buffer *buffer; member in struct:pool_pb_manager 150 return pb_validate(pool->buffer, vl, flags); 160 pb_fence(pool->buffer, fence); 171 pb_get_base_buffer(pool->buffer, base_buf, offset); 203 debug_printf("warning: out of fixed size buffer objects\n"); 211 debug_printf("error: fixed size buffer pool corruption\n"); 245 pb_unmap(pool->buffer); 246 pb_reference(&pool->buffer, NULL); 284 pool->buffer = provider->create_buffer(provider, numBufs*bufSize, desc); [all...] |
| /external/mesa3d/src/gallium/drivers/softpipe/ |
| sp_draw_arrays.c | 82 buf = softpipe_resource(sp->vertex_buffer[i].buffer)->data; 86 /* Map index buffer, if present */ 90 mapped_indices = softpipe_resource(sp->index_buffer.buffer)->data; 99 void *buf = softpipe_resource(sp->so_targets[i]->target.buffer)->data; 120 * TODO: Flush only when a user vertex/index buffer is present
|
| /external/nist-sip/java/gov/nist/javax/sip/header/ |
| CallID.java | 85 protected StringBuffer encodeBody(StringBuffer buffer) { 87 callIdentifier.encode(buffer); 89 return buffer;
|
| Protocol.java | 70 public StringBuffer encode(StringBuffer buffer) { 71 buffer.append(protocolName.toUpperCase()) 77 return buffer;
|
| /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
| RetryableOutputStream.java | 57 @Override public synchronized void write(byte[] buffer, int offset, int count) 60 checkOffsetAndCount(buffer.length, offset, count); 64 content.write(buffer, offset, count);
|
| /external/opencv/cv/src/ |
| cvemd.cpp | 112 char *buffer; member in struct:CvEMDState 323 if( state.buffer && state.buffer != local_buffer_ptr ) 324 cvFree( &state.buffer ); 347 char *buffer, *buffer_end; local 353 /* calculate buffer size */ 373 buffer = local_buffer; 377 buffer = (char*)cvAlloc( buffer_size ); 378 if( !buffer ) 382 state->buffer = buffer [all...] |
| /external/ppp/pppd/plugins/pppoatm/ |
| atm.h | 91 int atm2text(char *buffer,int length,const struct sockaddr *addr,int flags); 98 int qos2text(char *buffer,int length,const struct atm_qos *qos,int flags); 102 int sap2text(char *buffer,int length,const struct atm_sap *sap,int flags);
|
| /external/protobuf/src/google/protobuf/stubs/ |
| common.cc | 63 << " of the Protocol Buffer runtime library, but the installed version " 74 << VersionString(headerVersion) << " of the Protocol Buffer runtime " 91 char buffer[128]; local 92 snprintf(buffer, sizeof(buffer), "%d.%d.%d", major, minor, micro); 95 buffer[sizeof(buffer)-1] = '\0'; 97 return buffer; 160 char buffer[128]; \ 161 snprintf(buffer, sizeof(buffer), FORMAT, value); [all...] |
| /external/qemu/distrib/jpeg-6b/ |
| jdpostct.c | 24 /* Private buffer controller object */ 29 /* Color quantization source buffer: this holds output data from 31 * For two-pass color quantization, we need a full-image buffer; 32 * for one-pass operation, a strip buffer is sufficient. 35 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon26688 36 JDIMENSION strip_height; /* buffer size in rows */ 84 * allocate a strip buffer. Use the virtual-array buffer as workspace. 86 if (post->buffer == NULL) [all...] |
| /external/qemu/ |
| qjson.c | 130 char buffer[1024]; local 132 snprintf(buffer, sizeof(buffer), "%" PRId64, qint_get_int(val)); 133 qstring_append(str, buffer); 244 char buffer[1024]; local 247 len = snprintf(buffer, sizeof(buffer), "%f", qfloat_get_double(val)); 248 while (len > 0 && buffer[len - 1] == '0') { 252 if (len && buffer[len - 1] == '.') { 253 buffer[len - 1] = 0 [all...] |
| /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
| RawResourceLoaderTest.java | 45 char[] buffer = new char[1024]; local 49 while ((n = reader.read(buffer)) != -1) { 50 writer.write(buffer, 0, n);
|
| /external/skia/tools/lua/ |
| lua_app.cpp | 26 void* buffer = sk_malloc_throw(len); local 27 stream->read(buffer, len); 28 return SkData::NewFromMalloc(buffer, len);
|
| /external/smack/src/com/kenai/jbosh/ |
| GZIPCodec.java | 31 * Size of the internal buffer when decoding. 90 byte[] buffer = new byte[BUFFER_SIZE]; 92 read = gzIn.read(buffer); 94 byteOut.write(buffer, 0, read);
|
| StaticBody.java | 48 * Size of the internal buffer when copying from a stream. 88 byte[] buffer = new byte[BUFFER_SIZE]; 91 read = inStream.read(buffer); 93 byteOut.write(buffer, 0, read);
|
| ZLIBCodec.java | 31 * Size of the internal buffer when decoding. 90 byte[] buffer = new byte[BUFFER_SIZE]; 92 read = inflaterIn.read(buffer); 94 byteOut.write(buffer, 0, read);
|
| /external/tremolo/Tremolo/ |
| misc.c | 94 char buffer[80]; local 117 snprintf(buffer,80,"%s",file); 118 if(strchr(buffer,'.'))strchr(buffer,'.')[0]=0; 119 strcat(buffer,_VDBG_GRAPHFILE); 120 out=fopen(buffer,"a"); 150 char buffer[80]; local 165 snprintf(buffer,80,"%s",file); 166 if(strchr(buffer,'.'))strchr(buffer,'.')[0]=0 [all...] |
| /external/valgrind/main/none/tests/ |
| coolo_sigaction.cpp | 44 char buffer[200]; local 48 int n = fread(buffer, 200, 1, p); 49 __attribute__((unused)) ssize_t nw = write(2, buffer, n);
|
| /frameworks/av/include/media/stagefright/ |
| MediaBuffer.h | 39 virtual void signalBufferReturned(MediaBuffer *buffer) = 0; 55 MediaBuffer(const sp<ABuffer> &buffer); 57 // Decrements the reference count and returns the buffer to its 114 void setNextBuffer(MediaBuffer *buffer);
|