HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 576 - 600 of 5558) sorted by null

<<21222324252627282930>>

  /external/chromium/third_party/libjingle/source/talk/base/
stringencode.h 48 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value);
55 size_t escape(char * buffer, size_t buflen,
58 // Note: in-place unescaping (buffer == source) is allowed.
59 size_t unescape(char * buffer, size_t buflen,
67 size_t encode(char * buffer, size_t buflen,
70 // Note: in-place decoding (buffer == source) is allowed.
71 size_t decode(char * buffer, size_t buflen,
81 size_t url_encode(char * buffer, size_t buflen,
83 // Note: in-place decoding (buffer == source) is allowed.
84 size_t url_decode(char * buffer, size_t buflen
    [all...]
  /external/e2fsprogs/lib/ss/
help.c 44 char *buffer; local
62 buffer = malloc(80+2*strlen(request_name));
63 if (!buffer) {
68 sprintf(buffer, "usage:\n\t%s [topic|command]\nor\t%s\n",
70 ss_perror(sci_idx, 0, buffer);
71 free(buffer);
84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 +
86 if (!buffer) {
91 (void) strcpy(buffer, info->info_dirs[idx]);
92 (void) strcat(buffer, "/");
    [all...]
  /external/quake/quake/src/WinQuake/
net_loop.cpp 156 byte *buffer; local
167 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
170 *buffer++ = 1;
173 *buffer++ = data->cursize & 0xff;
174 *buffer++ = data->cursize >> 8;
177 buffer++;
180 Q_memcpy(buffer, data->data, data->cursize);
190 byte *buffer; local
201 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
204 *buffer++ = 2
    [all...]
  /external/skia/legacy/include/core/
SkStream.h 30 If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped.
31 If buffer is NULL and size == 0, return the total length of the stream.
32 If buffer != NULL, copy the requested number of bytes into buffer, returning how many were copied.
33 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer
37 virtual size_t read(void* buffer, size_t size) = 0;
73 @param buffer the address of at least size bytes to be written to the stream
74 @param size The number of bytes in buffer to write to the strea
    [all...]
  /external/skia/legacy/src/core/
SkString.cpp 21 #define VSNPRINTF(buffer, size, format, args) \
22 _vsnprintf_s(buffer, size, _TRUNCATE, format, args)
29 #define ARGS_TO_BUFFER(format, buffer, size) \
33 VSNPRINTF(buffer, size, format, args); \
70 char buffer[SkStrAppendS32_MaxSize]; local
71 char* p = buffer + sizeof(buffer);
88 SkASSERT(p >= buffer);
89 char* stop = buffer + sizeof(buffer);
100 char buffer[SkStrAppendS64_MaxSize]; local
137 char buffer[SkStrAppendScalar_MaxSize + 1]; local
470 char buffer[kMaxBytesInUTF8Sequence]; local
479 char buffer[SkStrAppendS32_MaxSize]; local
485 char buffer[SkStrAppendS64_MaxSize]; local
495 char buffer[8]; local
513 char buffer[SkStrAppendScalar_MaxSize]; local
519 char buffer[kBufferSize]; local
526 char buffer[kBufferSize]; local
533 char buffer[kBufferSize]; local
605 char buffer[kBufferSize]; local
    [all...]
  /external/skia/legacy/src/images/
SkImageRef.cpp 178 SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer)
179 : INHERITED(buffer, &gImageRefMutex), fErrorInDecoding(false) {
180 fConfig = (SkBitmap::Config)buffer.readU8();
181 fSampleSize = buffer.readU8();
182 fDoDither = buffer.readBool();
184 size_t length = buffer.readU32();
186 buffer.read((void*)fStream->getMemoryBase(), length);
192 void SkImageRef::flatten(SkFlattenableWriteBuffer& buffer) const {
193 this->INHERITED::flatten(buffer);
195 buffer.write8(fConfig)
    [all...]
  /external/skia/src/core/
SkString.cpp 21 #define VSNPRINTF(buffer, size, format, args) \
22 _vsnprintf_s(buffer, size, _TRUNCATE, format, args)
29 #define ARGS_TO_BUFFER(format, buffer, size) \
33 VSNPRINTF(buffer, size, format, args); \
74 char buffer[SkStrAppendS32_MaxSize]; local
75 char* p = buffer + sizeof(buffer);
92 SkASSERT(p >= buffer);
93 char* stop = buffer + sizeof(buffer);
104 char buffer[SkStrAppendS64_MaxSize]; local
140 char buffer[SkStrAppendScalar_MaxSize + 1]; local
472 char buffer[kMaxBytesInUTF8Sequence]; local
481 char buffer[SkStrAppendS32_MaxSize]; local
487 char buffer[SkStrAppendS64_MaxSize]; local
497 char buffer[8]; local
515 char buffer[SkStrAppendScalar_MaxSize]; local
521 char buffer[kBufferSize]; local
528 char buffer[kBufferSize]; local
535 char buffer[kBufferSize]; local
607 char buffer[kBufferSize]; local
    [all...]
  /external/webkit/Source/WebCore/platform/text/
LineEnding.cpp 49 CStringBuffer(CString& buffer)
50 : m_buffer(buffer)
67 const CString& buffer() const { return m_buffer; } function in class:__anon17887::CStringBuffer
75 VectorCharAppendBuffer(Vector<char>& buffer)
76 : m_buffer(buffer)
97 void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer)
121 buffer.copy(from);
126 char* q = buffer.allocate(newLen);
175 // Grow the result buffer.
206 CStringBuffer buffer(result)
    [all...]
  /external/webkit/Source/WebKit2/Platform/CoreIPC/
ArgumentDecoder.cpp 34 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize)
36 initialize(buffer, bufferSize);
39 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Deque<Attachment>& attachments)
41 initialize(buffer, bufferSize);
59 void ArgumentDecoder::initialize(const uint8_t* buffer, size_t bufferSize)
64 memcpy(m_buffer, buffer, bufferSize);
79 uint8_t* buffer = roundUpToAlignment(m_bufferPos, alignment); local
80 if (static_cast<size_t>(m_bufferEnd - buffer) < size) {
81 // We've walked off the end of this buffer.
86 m_bufferPos = buffer;
    [all...]
  /external/webkit/Tools/DumpRenderTree/qt/
ImageDiff.cpp 41 char buffer[2048]; local
45 while (fgets(buffer, sizeof(buffer), stdin)) {
47 char* newLineCharacter = strchr(buffer, '\n');
51 if (!strncmp("Content-Length: ", buffer, 16)) {
52 strtok(buffer, " ");
58 unsigned char buffer[2048]; local
65 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
66 data.write(reinterpret_cast<const char*>(buffer), bytesRead);
129 QBuffer buffer; local
    [all...]
  /frameworks/av/services/camera/libcameraservice/camera3/
Camera3InputStream.cpp 45 camera3_stream_buffer *buffer) {
51 ALOGE("%s: Stream %d: Buffer registration for input streams"
70 ALOGE("%s: Stream %d: Can't acquire next output buffer: %s (%d)",
83 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
91 const camera3_stream_buffer &buffer,
106 // Find the buffer we are returning
114 if (anb != NULL && &(anb->handle) == buffer.buffer) {
123 ALOGE("%s: Stream %d: Can't return buffer that wasn't sent to HAL",
128 if (buffer.status == CAMERA3_BUFFER_STATUS_ERROR)
    [all...]
  /libcore/luni/src/main/java/java/text/
MessageFormat.java 387 StringBuffer buffer = new StringBuffer(); local
395 if (Format.upTo(template, position, buffer, '{')) {
427 localStrings.add(buffer.toString());
428 buffer.setLength(0);
512 StringBuffer buffer = new StringBuffer(); local
516 formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
518 // create an AttributedString with the formatted buffer
519 AttributedString as = new AttributedString(buffer.toString());
532 * specified string buffer using the pattern of this message format.
541 * @param buffer
971 StringBuffer buffer = new StringBuffer(); local
1146 StringBuffer buffer = new StringBuffer(); local
    [all...]
  /external/apache-http/src/org/apache/http/
ProtocolVersion.java 274 CharArrayBuffer buffer = new CharArrayBuffer(16); local
275 buffer.append(this.protocol);
276 buffer.append('/');
277 buffer.append(Integer.toString(this.major));
278 buffer.append('.');
279 buffer.append(Integer.toString(this.minor));
280 return buffer.toString();
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-arabic.cc 31 /* buffer var allocations */
162 hb_buffer_t *buffer);
244 arabic_joining (hb_buffer_t *buffer)
246 unsigned int count = buffer->len;
249 HB_BUFFER_ALLOCATE_VAR (buffer, arabic_shaping_action);
252 if (!(buffer->flags & HB_BUFFER_FLAG_BOT))
253 for (unsigned int i = 0; i < buffer->context_len[0]; i++)
255 unsigned int this_type = get_joining_type (buffer->context[0][i], buffer->unicode->general_category (buffer->context[0][i]))
    [all...]
test.cc 100 hb_buffer_t *buffer = hb_buffer_create (); local
102 hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1);
104 hb_shape (font, buffer, NULL, 0);
106 unsigned int count = hb_buffer_get_length (buffer);
107 hb_glyph_info_t *infos = hb_buffer_get_glyph_infos (buffer, NULL);
108 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL);
125 hb_buffer_destroy (buffer);
  /external/libvpx/libvpx/vp8/encoder/
boolhuff.h 31 unsigned char *buffer; member in struct:__anon10980
40 extern void vp8_start_encode(BOOL_CODER *bc, unsigned char *buffer, unsigned char *buffer_end);
104 while (x >= 0 && br->buffer[x] == 0xff)
106 br->buffer[x] = (unsigned char)0;
110 br->buffer[x] += 1;
113 validate_buffer(br->buffer + br->pos, 1, br->buffer_end, br->error);
114 br->buffer[br->pos++] = (lowvalue >> (24 - offset));
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
SchemeTypeBox.java 93 StringBuilder buffer = new StringBuilder(); local
94 buffer.append("Schema Type Box[");
95 buffer.append("schemeUri=").append(schemeUri).append("; ");
96 buffer.append("schemeType=").append(schemeType).append("; ");
97 buffer.append("schemeVersion=").append(schemeUri).append("; ");
98 buffer.append("]");
99 return buffer.toString();
  /external/nist-sip/java/gov/nist/javax/sip/header/
From.java 80 protected StringBuffer encodeBody(StringBuffer buffer) {
82 buffer.append(LESS_THAN);
84 address.encode(buffer);
86 buffer.append(GREATER_THAN);
89 buffer.append(SEMICOLON);
90 parameters.encode(buffer);
92 return buffer;
To.java 93 protected StringBuffer encodeBody(StringBuffer buffer) {
96 buffer.append(LESS_THAN);
98 address.encode(buffer);
100 buffer.append(GREATER_THAN);
104 buffer.append(SEMICOLON);
105 parameters.encode(buffer);
108 return buffer;
  /external/skia/src/effects/
SkDiscretePathEffect.cpp 73 void SkDiscretePathEffect::flatten(SkFlattenableWriteBuffer& buffer) const {
74 this->INHERITED::flatten(buffer);
75 buffer.writeScalar(fSegLength);
76 buffer.writeScalar(fPerterb);
79 SkDiscretePathEffect::SkDiscretePathEffect(SkFlattenableReadBuffer& buffer) {
80 fSegLength = buffer.readScalar();
81 fPerterb = buffer.readScalar();
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction20bc.java 60 private Instruction20bc(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
61 super(dexFile, opcode, buffer, bufferIndex);
63 short val = NumberUtils.decodeUnsignedByte(buffer[bufferIndex+1]);
67 protected ReferenceType readReferenceType(Opcode opcode, byte[] buffer, int bufferIndex) {
68 short val = NumberUtils.decodeUnsignedByte(buffer[bufferIndex+1]);
96 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
97 return new Instruction20bc(dexFile, opcode, buffer, bufferIndex);
Instruction22t.java 62 private Instruction22t(Opcode opcode, byte[] buffer, int bufferIndex) {
65 assert buffer[bufferIndex] == opcode.value;
67 regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
68 regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
69 targetAddressOffset = NumberUtils.decodeShort(buffer, bufferIndex + 2);
108 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
109 return new Instruction22t(opcode, buffer, bufferIndex);
  /external/v8/src/
v8conversions.cc 50 explicit StringInputBufferIterator(StringInputBuffer* buffer);
65 StringInputBuffer* buffer) : buffer_(buffer) {
97 StringInputBuffer buffer(str);
99 StringInputBufferIterator(&buffer),
120 StringInputBuffer buffer(str);
122 StringInputBufferIterator(&buffer),
  /external/webkit/Source/JavaScriptCore/API/
JSStringRef.cpp 47 Vector<UChar, 1024> buffer(length);
48 UChar* p = buffer.data();
50 return OpaqueJSString::create(buffer.data(), p - buffer.data()).leakRef();
84 size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize)
89 char* p = buffer;
96 return p - buffer;
  /frameworks/av/cmds/stagefright/
SineSource.cpp 64 MediaBuffer *buffer; local
65 status_t err = mGroup->acquire_buffer(&buffer);
72 size_t numFramesPerBuffer = buffer->size() / frameSize;
74 int16_t *ptr = (int16_t *)buffer->data();
90 buffer->meta_data()->setInt64(
95 buffer->set_range(0, numFramesPerBuffer * frameSize);
97 *out = buffer;

Completed in 1200 milliseconds

<<21222324252627282930>>