Searched refs:buffer (Results 176 - 200 of 3377) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Dvla-lambda-capturing.cpp28 intptr_t buffer[n]; local
29 [&buffer, &n]() {
30 __typeof(buffer) x;
47 intptr_t buffer[n + m]; local
48 [&buffer]() {
49 __typeof(buffer) x;
/external/icu/icu4c/source/common/
H A Dcharstr.cpp25 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1);
35 buffer[len=newLength]=0;
42 buffer[len++]=c;
43 buffer[len]=0;
60 if(s==(buffer.getAlias()+len)) {
62 if(sLength>=(buffer.getCapacity()-len)) {
66 buffer[len+=sLength]=0;
68 } else if(buffer.getAlias()<=s && s<(buffer
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DBOCSU.java106 byte[] buffer = sink.bytes;
107 int capacity = buffer.length;
122 buffer[p++] = 2; // merge separator
125 p = writeDiff(c - prev, buffer, p);
252 * @param buffer byte buffer to append to
253 * @param offset to the byte buffer to start appending
256 private static final int writeDiff(int diff, byte buffer[], int offset) argument
260 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff);
263 buffer[offse
[all...]
/external/libpng/contrib/examples/
H A Dpngtopng.c38 png_bytep buffer; local
45 buffer = malloc(PNG_IMAGE_SIZE(image));
47 if (buffer != NULL)
49 if (png_image_finish_read(&image, NULL/*background*/, buffer,
53 0/*convert_to_8bit*/, buffer, 0/*row_stride*/,
61 free(buffer);
/external/libunwind/src/mi/
H A Dbacktrace.c36 slow_backtrace (void **buffer, int size, unw_context_t *uc) argument
52 buffer[n++] = (void *) (uintptr_t) ip;
58 unw_backtrace (void **buffer, int size) argument
69 if (unlikely (tdep_trace (&cursor, buffer, &n) < 0))
72 return slow_backtrace (buffer, size, &uc);
78 extern int backtrace (void **buffer, int size)
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DExtensionHeaderImpl.java94 StringBuffer buffer = new StringBuffer(encodedHdr);
95 while (buffer.length() > 0 && buffer.charAt(0) != ':') {
96 buffer.deleteCharAt(0);
98 buffer.deleteCharAt(0);
99 this.value = buffer.toString().trim();
/external/skia/src/gpu/gl/debug/
H A DGrFrameBufferObj.cpp12 void GrFrameBufferObj::setColor(GrFBBindableObj *buffer) { argument
14 // automatically break the binding of the old buffer
21 fColorBuffer = buffer;
31 void GrFrameBufferObj::setDepth(GrFBBindableObj *buffer) { argument
33 // automatically break the binding of the old buffer
40 fDepthBuffer = buffer;
50 void GrFrameBufferObj::setStencil(GrFBBindableObj *buffer) { argument
52 // automatically break the binding of the old buffer
59 fStencilBuffer = buffer;
/external/v8/test/cctest/
H A Dtest-fuzz-arm64.cc43 Instruction buffer[kInstructionSize]; local
47 buffer->SetInstructionBits(instr);
48 decoder.Decode(buffer);
63 Instruction buffer[kInstructionSize]; local
68 buffer->SetInstructionBits(instr);
69 decoder.Decode(buffer);
/external/apache-http/src/org/apache/http/message/
H A DBasicHeaderValueFormatter.java112 public CharArrayBuffer formatElements(CharArrayBuffer buffer, argument
121 if (buffer == null) {
122 buffer = new CharArrayBuffer(len);
124 buffer.ensureCapacity(len);
129 buffer.append(", ");
131 formatHeaderElement(buffer, elems[i], quote);
134 return buffer;
181 public CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer, argument
190 if (buffer == null) {
191 buffer
269 formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) argument
337 formatNameValuePair(CharArrayBuffer buffer, final NameValuePair nvp, final boolean quote) argument
394 doFormatValue(final CharArrayBuffer buffer, final String value, boolean quote) argument
[all...]
H A DHeaderValueFormatter.java47 * All formatting methods accept an optional buffer argument.
48 * If a buffer is passed in, the formatted element will be appended
49 * and the modified buffer is returned. If no buffer is passed in,
50 * a new buffer will be created and filled with the formatted element.
51 * In both cases, the caller is allowed to modify the returned buffer.
70 * @param buffer the buffer to append to, or
71 * <code>null</code> to create a new buffer
76 * @return a buffer wit
80 formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote) argument
99 formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote) argument
121 formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) argument
140 formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) argument
[all...]
H A DHeaderValueParser.java88 * @param buffer buffer holding the header value to parse
90 * the bounds within the buffer for the parsing operation
97 CharArrayBuffer buffer,
105 * @param buffer buffer holding the element to parse
107 * the bounds within the buffer for the parsing operation
114 CharArrayBuffer buffer,
191 * @param buffer buffer holdin
96 parseElements( CharArrayBuffer buffer, ParserCursor cursor) argument
113 parseHeaderElement( CharArrayBuffer buffer, ParserCursor cursor) argument
199 parseParameters( CharArrayBuffer buffer, ParserCursor cursor) argument
214 parseNameValuePair( CharArrayBuffer buffer, ParserCursor cursor) argument
[all...]
H A DLineFormatter.java54 * a buffer can be passed as argument to all formatting methods.
55 * The implementation may or may not actually use that buffer for formatting.
56 * If it is used, the buffer will first be cleared by the
58 * The argument buffer can always be re-used after the call. The buffer
59 * returned as the result, if it is different from the argument buffer,
84 * <code>buffer</code> arguments.
85 * It does <i>not</i> clear the argument buffer, but appends instead.
86 * The returned buffer can always be modified by the caller.
90 * @param buffer
98 appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version) argument
113 formatRequestLine(CharArrayBuffer buffer, RequestLine reqline) argument
130 formatStatusLine(CharArrayBuffer buffer, StatusLine statline) argument
154 formatHeader(CharArrayBuffer buffer, Header header) argument
[all...]
/external/apache-http/src/org/apache/http/impl/auth/
H A DAuthSchemeBase.java89 CharArrayBuffer buffer;
92 buffer = ((FormattedHeader) header).getBuffer();
99 buffer = new CharArrayBuffer(s.length());
100 buffer.append(s);
103 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) {
107 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) {
111 String s = buffer.substring(beginIndex, endIndex);
116 parseChallenge(buffer, po
119 parseChallenge( CharArrayBuffer buffer, int pos, int len) argument
[all...]
/external/compiler-rt/test/BlocksRuntime/
H A Dfail.c22 bool readfile(char *buffer, const char *from) { argument
25 int count = read(fd, buffer, 512);
27 buffer[count] = 0; // zap newline
49 char buffer[512]; local
52 sprintf(buffer, "/tmp/errorfile_%d", getpid());
54 int fd = creat(buffer, 0777);
56 fprintf(stderr, "didn't open custom error file %s as 1, got %d\n", buffer, fd);
79 sprintf(buffer, "/tmp/errorfile_%d", child);
85 bool gotOutput = readfile(got, buffer);
94 printf("didn't find contents of %s in %s\n", errorfile, buffer);
[all...]
/external/google-breakpad/src/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const { argument
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
H A Dwidget_test.cc58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
/external/jetty/src/java/org/eclipse/jetty/io/
H A DAbstractBuffers.java44 * @return Returns the buffer size in bytes.
121 * @param buffer
122 * @return True if the buffer is the correct type to be a Header buffer
124 public final boolean isHeader(Buffer buffer) argument
126 if (buffer.capacity()==_headerSize)
131 return buffer instanceof ByteArrayBuffer && !(buffer instanceof IndirectNIOBuffer);
133 return buffer instanceof DirectNIOBuffer;
135 return buffer instanceo
146 isBuffer(Buffer buffer) argument
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_writer.c19 br->buffer = source;
31 if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0)
32 br->buffer[br->pos++] = 0;
/external/protobuf/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const { argument
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
H A Dwidget_test.cc58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
/external/sfntly/cpp/src/sfntly/port/
H A Doutput_stream.h32 virtual void Write(ByteVector* buffer) = 0;
38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length) = 0;
40 // Note: Caller is responsible for the boundary of buffer.
41 virtual void Write(byte_t* buffer, int32_t offset, int32_t length) = 0;
/external/skia/src/ports/
H A DSkDebug_win.cpp20 char buffer[kBufferSize + 1]; local
31 vsnprintf(buffer, kBufferSize, format, args);
34 OutputDebugStringA(buffer);
/external/v8/src/
H A Dfixed-dtoa.cc103 Vector<char> buffer, int* length) {
105 buffer[(*length) + i] = '0' + number % 10;
112 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { argument
118 buffer[(*length) + number_length] = '0' + digit;
125 char tmp = buffer[i];
126 buffer[i] = buffer[j];
127 buffer[j] = tmp;
136 Vector<char> buffer, int* length) {
144 FillDigits32FixedLength(part0, 3, buffer, lengt
102 FillDigits32FixedLength(uint32_t number, int requested_length, Vector<char> buffer, int* length) argument
135 FillDigits64FixedLength(uint64_t number, int requested_length, Vector<char> buffer, int* length) argument
150 FillDigits64(uint64_t number, Vector<char> buffer, int* length) argument
171 RoundUp(Vector<char> buffer, int* length, int* decimal_point) argument
212 FillFractionals(uint64_t fractionals, int exponent, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) argument
271 TrimZeros(Vector<char> buffer, int* length, int* decimal_point) argument
289 FastFixedDtoa(double v, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) argument
357 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-buffer.cc30 #include "hb-buffer-private.hh"
61 /* Here is how the buffer works internally:
73 * to an alternate buffer (which we reuse the pos buffer for!), and its
524 /* If we hit the start of buffer, continue in out-buffer. */
556 /* If we hit the end of out-buffer, continue in buffer. */
571 /* If script is set to INVALID, guess from buffer contents */
598 dump_var_allocation (const hb_buffer_t *buffer) argument
[all...]
/external/apache-http/src/org/apache/http/impl/conn/
H A DWire.java60 StringBuilder buffer = new StringBuilder();
64 buffer.append("[\\r]");
66 buffer.append("[\\n]\"");
67 buffer.insert(0, "\"");
68 buffer.insert(0, header);
69 log.debug(buffer.toString());
70 buffer.setLength(0);
72 buffer.append("[0x");
73 buffer.append(Integer.toHexString(ch));
74 buffer
[all...]

Completed in 671 milliseconds

1234567891011>>