/external/lzma/CPP/Windows/ |
PropVariantConversions.cpp | 14 wchar_t buffer[32];
local 15 ConvertUInt64ToString(value, buffer);
16 return buffer;
21 wchar_t buffer[32];
local 22 ConvertInt64ToString(value, buffer);
23 return buffer;
|
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.c | 35 static char buffer[1024]; local 37 memset(buffer, 0, sizeof(buffer)); 43 buffer, 44 sizeof(buffer), 49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1])) 50 buffer[--n] = '\0'; 52 return buffer; 111 int get_string(const char **ptr, const char *const end, char *buffer, int buflen) 115 *buffer = 0 [all...] |
mDNSDebug.c | 55 char buffer[512]; local 58 buffer[mDNS_vsnprintf(buffer, sizeof(buffer), format, ptr)] = 0; 60 mDNSPlatformWriteDebugMsg(buffer); 67 char buffer[512]; local 68 buffer[mDNS_vsnprintf((char *)buffer, sizeof(buffer), format, ptr)] = 0; 69 mDNSPlatformWriteLogMsg(ProgramName, buffer, logLevel) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_buffer.c | 56 struct i915_buffer *buffer = i915_buffer(resource); local 57 if (buffer->free_on_destroy) 58 align_free(buffer->data); 59 FREE(buffer); 99 struct i915_buffer *buffer = i915_buffer(transfer->resource); local 100 return buffer->data + transfer->box.x; 114 struct i915_buffer *buffer = i915_buffer(resource); local 116 memcpy(buffer->data + box->x,
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_vdecl.c | 66 * buffer offset below. The important thing is that all vertex buffer 77 struct svga_buffer *buffer; local 81 if (!vb->buffer) 84 buffer = svga_buffer(vb->buffer); 85 if (buffer->uploaded.start > offset) { 86 tmp_neg_bias = buffer->uploaded.start - offset; 97 struct svga_buffer *buffer; local 99 if (!vb->buffer) [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_renderer.h | 29 float buffer[BUF_SIZE]; member in struct:xorg_renderer 52 const float *buffer,
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.h | 38 * Intel vertex/pixel buffer object, derived from Mesa's gl_buffer_object. 43 drm_intel_bo *buffer; /* the low-level buffer manager's buffer handle */ member in struct:intel_buffer_object 44 GLuint offset; /* any offset into that buffer */ 46 /** System memory buffer data, if not using a BO to store the data. */ 58 /* Get the bm buffer associated with a GL bufferobject:
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
ByteBufferHelper.java | 29 for (ByteBuffer buffer : samples) { 31 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() && 32 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) { 34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice(); 38 buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer && 39 nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) { 42 oldBuffer.limit(buffer.limit() + oldBuffer.limit()); 44 buffer.rewind() [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitReaderBuffer.java | 7 private ByteBuffer buffer; field in class:BitReaderBuffer 11 public BitReaderBuffer(ByteBuffer buffer) { 12 this.buffer = buffer; 13 initialPos = buffer.position(); 17 byte b = buffer.get(initialPos + position / 8); 31 buffer.position(initialPos + (int) Math.ceil((double) position / 8)); 49 return buffer.limit() * 8 - position;
|
BitWriterBuffer.java | 7 private ByteBuffer buffer; field in class:BitWriterBuffer 11 public BitWriterBuffer(ByteBuffer buffer) { 12 this.buffer = buffer; 13 this.initialPos = buffer.position(); 22 int current = (buffer.get(initialPos + position / 8)); 25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current)); 32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ExtensionHeaderImpl.java | 94 StringBuffer buffer = new StringBuffer(encodedHdr); local 95 while (buffer.length() > 0 && buffer.charAt(0) != ':') { 96 buffer.deleteCharAt(0); 98 buffer.deleteCharAt(0); 99 this.value = buffer.toString().trim();
|
/external/openssl/apps/ |
app_rand.c | 125 char buffer[200]; local 135 file = RAND_file_name(buffer, sizeof buffer); 196 char buffer[200]; local 206 file = RAND_file_name(buffer, sizeof buffer);
|
winrand.c | 76 char buffer[200]; local 79 filename = RAND_file_name(buffer, sizeof buffer);
|
/external/openssl/crypto/pem/ |
pem_seal.c | 125 unsigned char buffer[1600]; local 137 EVP_EncryptUpdate(&ctx->cipher,buffer,&j,in,i); 138 EVP_EncodeUpdate(&ctx->encode,out,&j,buffer,j);
|
/external/oprofile/libop/ |
op_xml_events.c | 20 static char buffer[MAX_BUFFER]; variable 26 buffer[0] = '\0'; 28 open_xml_element(HELP_EVENTS, 1, buffer, MAX_BUFFER); 29 init_xml_str_attr(SCHEMA_VERSION, schema_version, buffer, MAX_BUFFER); 30 close_xml_element(NONE, 1, buffer, MAX_BUFFER); 31 open_xml_element(HELP_HEADER, 1, buffer, MAX_BUFFER); 32 init_xml_str_attr(HELP_TITLE, title, buffer, MAX_BUFFER); 33 init_xml_str_attr(HELP_DOC, doc, buffer, MAX_BUFFER); 34 close_xml_element(NONE, 0, buffer, MAX_BUFFER); 35 printf("%s", buffer); [all...] |
/external/ppp/pppd/plugins/radius/ |
clientid.c | 36 char buffer[1024]; local 50 while (fgets(buffer, sizeof(buffer), mapfd) != NULL) 54 q = buffer;
|
radrealms.c | 47 char buffer[512], *p; local 74 while ((fgets(buffer, sizeof(buffer), fd) != NULL)) { 77 if ((*buffer == '\n') || (*buffer == '#') || (*buffer == '\0')) 80 buffer[strlen(buffer)-1] = '\0'; 82 p = strtok(buffer, "\t "); 88 line, buffer); [all...] |
/external/qemu/distrib/jpeg-6b/ |
example.c | 57 * pointer to our image buffer. In particular, let's say that the image is 93 int row_stride; /* physical row width in image buffer */ 219 * buffer, but to send it line-by-line someplace else. We need a one- 220 * scanline-high JSAMPLE array as a work buffer, and we will let the JPEG 222 * because we don't need to remember to deallocate the buffer separately: it 242 * longjmp(). But we need to make the setjmp buffer accessible to the 297 JSAMPARRAY buffer; /* Output row buffer */ local 298 int row_stride; /* physical row width in output buffer */ 358 * In this example, we need to make an output work buffer of the right size [all...] |
jdatadst.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon26644 47 /* Allocate the output buffer --- it will be released when done with image */ 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 58 * Empty the output buffer --- called whenever buffer fills up. 60 * In typical applications, this should write the entire output buffer 62 * reset the pointer & count to the start of the buffer, and return TRUE 63 * indicating that the buffer has been dumped [all...] |
jdatasrc.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon26645 49 * but we don't clear the input buffer. 57 * Fill the input buffer --- called whenever buffer is emptied. 59 * In typical applications, this should read fresh data into the buffer 61 * reset the pointer & count to the start of the buffer, and return TRUE 62 * indicating that the buffer has been reloaded. It is not necessary to 63 * fill the buffer entirely, only to obtain at least one more byte. 67 * the buffer. In most cases, generating a warning message and inserting [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
SDL_ataridevmouse.c | 120 unsigned char buffer[3]; local 128 while (read(handle, buffer, sizeof(buffer))==sizeof(buffer)) { 129 mouseb = buffer[0] & 7; 130 mousex += (char) buffer[1]; 131 mousey += (char) buffer[2];
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testiconv.c | 32 char buffer[BUFSIZ]; local 48 while ( fgets(buffer, sizeof(buffer), file) ) { 51 ucs4 = SDL_iconv_string("UCS-4", "UTF-8", buffer, SDL_strlen(buffer)+1);
|
/external/skia/gm/ |
factory.cpp | 36 void* buffer = sk_malloc_throw(length); variable 37 stream->read(buffer, length); 38 SkAutoDataUnref data(SkData::NewFromMalloc(buffer, length));
|
/external/skia/src/utils/ |
SkFrontBufferedStream.cpp | 35 // Only allow a rewind if we have not exceeded the buffer. 81 // bytes read so far, and the destination buffer. 93 // Buffer any more data that should be buffered, and copy it to the 96 // Data needs to be buffered. Buffer up to the lesser of the size requested 97 // and the remainder of the max buffer size. 99 char* buffer = this->getBufferAtOffset(); local 100 const size_t buffered = fStream->read(buffer, bytesToBuffer); 104 // Copy the buffer to the destination buffer and update the amount read. 106 memcpy(dst, buffer, buffered) [all...] |
/external/srec/portable/src/ |
PFileImpl.c | 167 static LCHAR buffer[BUFFER_SIZE]; local 189 *result = vsprintf(buffer, format, args); 191 vsprintf(buffer, format, args); 192 len = LSTRLEN(buffer); 195 CHKLOG(rc, self->write(self, buffer, sizeof(LCHAR), &len));
|