HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 951 - 975 of 6723) sorted by null

<<31323334353637383940>>

  /external/apache-http/src/org/apache/http/auth/
NTCredentials.java 176 StringBuilder buffer = new StringBuilder(); local
177 buffer.append("[principal: ");
178 buffer.append(this.principal);
179 buffer.append("][workstation: ");
180 buffer.append(this.workstation);
181 buffer.append("]");
182 return buffer.toString();
  /external/apache-http/src/org/apache/http/conn/scheme/
Scheme.java 181 StringBuilder buffer = new StringBuilder(); local
182 buffer.append(this.name);
183 buffer.append(':');
184 buffer.append(Integer.toString(this.defaultPort));
185 stringRep = buffer.toString();
  /external/apache-http/src/org/apache/http/impl/auth/
NTLMScheme.java 97 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException {
98 String challenge = buffer.substringTrimmed(pos, len);
140 CharArrayBuffer buffer = new CharArrayBuffer(32); local
142 buffer.append(AUTH.PROXY_AUTH_RESP);
144 buffer.append(AUTH.WWW_AUTH_RESP);
146 buffer.append(": NTLM ");
147 buffer.append(response);
148 return new BufferedHeader(buffer);
  /external/apache-http/src/org/apache/http/impl/client/
AbstractAuthenticationHandler.java 82 CharArrayBuffer buffer; local
85 buffer = ((FormattedHeader) header).getBuffer();
92 buffer = new CharArrayBuffer(s.length());
93 buffer.append(s);
96 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) {
100 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) {
104 String s = buffer.substring(beginIndex, endIndex);
  /external/apache-http/src/org/apache/http/impl/cookie/
NetscapeDraftSpec.java 133 CharArrayBuffer buffer; local
136 buffer = ((FormattedHeader) header).getBuffer();
139 buffer.length());
145 buffer = new CharArrayBuffer(s.length());
146 buffer.append(s);
147 cursor = new ParserCursor(0, buffer.length());
149 return parse(new HeaderElement[] { parser.parseHeader(buffer, cursor) }, origin);
159 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); local
160 buffer.append(SM.COOKIE);
161 buffer.append(": ")
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderElement.java 228 CharArrayBuffer buffer = new CharArrayBuffer(64); local
229 buffer.append(this.name);
231 buffer.append("=");
232 buffer.append(this.value);
235 buffer.append("; ");
236 buffer.append(this.parameters[i]);
238 return buffer.toString();
BasicHeaderElementIterator.java 62 private CharArrayBuffer buffer = null; field in class:BasicHeaderElementIterator
89 this.buffer = null;
93 this.buffer = ((FormattedHeader) h).getBuffer();
94 this.cursor = new ParserCursor(0, this.buffer.length());
100 this.buffer = new CharArrayBuffer(value.length());
101 this.buffer.append(value);
102 this.cursor = new ParserCursor(0, this.buffer.length());
118 // loop while there is data in the buffer
120 HeaderElement e = this.parser.parseHeaderElement(this.buffer, this.cursor);
127 // if at the end of the buffer
    [all...]
  /external/autotest/client/profilers/powertop/src/
cpufreqstats.c 67 static char buffer[1024]; local
68 memset(buffer, 0, 1024);
74 sprintf(buffer,_("%9lli"), Hz);
77 sprintf(buffer, _("%6lli Mhz"), (Hz+500)/1000);
80 sprintf(buffer, _("%6.2f Ghz"), (Hz+5000.0)/1000000);
83 return buffer;
  /external/boringssl/src/crypto/dh/
dh_test.cc 436 uint8_t buffer[sizeof(kPrime1536)]; local
438 BN_bn2bin(bn.get(), buffer) != sizeof(kPrime1536) ||
439 OPENSSL_memcmp(buffer, kPrime1536, sizeof(kPrime1536)) != 0) {
  /external/brotli/csharp/org/brotli/dec/
BrotliInputStream.cs 17 /// <summary>Internal buffer used for efficient byte-by-byte reading.</summary>
18 private byte[] buffer; field in class:Org.Brotli.Dec.BrotliInputStream
20 /// <summary>Number of decoded but still unused bytes in internal buffer.</summary>
35 /// ) internal buffer with
53 /// ) internal buffer of specified size is
59 /// size of internal buffer used in case of
74 /// ) internal buffer of specified size is
80 /// size of internal buffer used in case of
93 throw new System.ArgumentException("Bad buffer size:" + byteReadBufferSize);
99 this.buffer = new byte[byteReadBufferSize];
    [all...]
  /external/curl/lib/
strerror.c 524 p = "No buffer space";
699 * The glibc-style strerror_r() only *might* use the buffer we pass to
704 char buffer[256]; local
705 char *msg = strerror_r(err, buffer, sizeof(buffer));
713 * The vxworks-style strerror_r() does use the buffer we pass to the function.
714 * The buffer size should be at least NAME_MAX (256)
717 char buffer[256]; local
718 if(OK == strerror_r(err, buffer))
719 strncpy(buf, buffer, max)
    [all...]
  /external/curl/src/
tool_cb_hdr.c 139 * Copies a file name part and returns an ALLOCATED data buffer.
222 char buffer[512]; /* suitably large */ local
223 snprintf(buffer, sizeof(buffer), "%s/%s", tdir, copy);
225 copy = strdup(buffer); /* clone the buffer, we don't use the libcurl
  /external/curl/tests/libtest/
lib540.c 189 char buffer[246]; /* naively fixed-size */ local
201 snprintf(buffer, sizeof(buffer), "Host: %s", HOST);
204 headers = curl_slist_append(headers, buffer);
  /external/deqp/external/openglcts/modules/glesext/gpu_shader5/
esextcGPUShader5SamplerArrayIndexing.cpp 170 /* Configure vertex buffer */
178 GLU_EXPECT_NO_ERROR(gl.getError(), "Error creating vertex buffer object!");
292 GLU_EXPECT_NO_ERROR(gl.getError(), "Error clearing color buffer!");
299 glw::GLubyte buffer[m_n_texture_components]; local
301 memset(buffer, 0, m_n_texture_components * sizeof(glw::GLubyte));
309 GL_RGBA, GL_UNSIGNED_BYTE, buffer);
313 if (memcmp(referenceColor, buffer, sizeof(referenceColor)))
315 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered color [" << (int)buffer[0] << ", " << (int)buffer[1]
316 << ", " << (int)buffer[2] << ", " << (int)buffer[3
    [all...]
  /external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
esextcTextureBorderClampParameterTextureBorderColor.cpp 412 * @param expected_data pointer to buffer with expected data
418 std::vector<glw::GLfloat> buffer(m_buffer_length);
423 memset(&buffer[0], 0, m_buffer_length * sizeof(glw::GLfloat));
425 gl.getSamplerParameterfv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0]);
430 if (expected_data[i] != buffer[i])
435 returnedDataStream << buffer[j] << ","; local
457 * @param expected_data pointer to buffer with expected data
464 std::vector<glw::GLint> buffer(m_buffer_length);
469 memset(&buffer[0], 0, m_buffer_length * sizeof(glw::GLint));
471 gl.getSamplerParameteriv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0])
481 returnedDataStream << buffer[j] << ","; local
524 returnedDataStream << buffer[j] << ","; local
566 returnedDataStream << buffer[j] << ","; local
607 returnedDataStream << buffer[j] << ","; local
648 returnedDataStream << buffer[j] << ","; local
690 returnedDataStream << buffer[j] << ","; local
732 returnedDataStream << buffer[j] << ","; local
    [all...]
  /external/deqp/framework/delibs/deimage/
deTarga.c 45 deUint8* buffer; local
64 /* Allocate buffer. */
66 buffer = deMalloc(bufSize);
67 DE_TEST_ASSERT(buffer);
84 const deUint8* src = buffer;
87 fread(buffer, 1, bufSize, file);
112 deFree(buffer);
  /external/e2fsprogs/ext2ed/
inode_com.c 27 char *ptr,buffer [80]; local
33 ptr=parse_word (command_line,buffer);
36 ptr=parse_word (ptr,buffer);
37 mult=atol (buffer);
56 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
57 strcpy (buffer,"show");dispatch (buffer);
74 char *ptr,buffer [80]; local
80 ptr=parse_word (command_line,buffer);
286 char *ptr,buffer [80]; local
319 char buffer [80]; local
333 char buffer [80]; local
351 char buffer [80]; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
qcow2.c 57 void *buffer = NULL; local
62 ret = ext2fs_get_mem(sizeof(struct ext2_qcow2_hdr), &buffer);
65 memset(buffer, 0, sizeof(struct ext2_qcow2_hdr));
68 ext2fs_free_mem(&buffer);
72 size = read(fd, buffer, sizeof(struct ext2_qcow2_hdr));
74 ext2fs_free_mem(&buffer);
78 hdr = (struct ext2_qcow2_hdr *)(buffer);
  /external/elfutils/libdwfl/
elf-from-memory.c 49 local buffer at DATA; it should return -1 for errors (with code in
73 unsigned char *buffer = malloc (initial_bufsize); local
74 if (unlikely (buffer == NULL))
81 ssize_t nread = (*read_memory) (arg, buffer, ehdr_vma,
86 free (buffer);
92 if (memcmp (buffer, ELFMAG, SELFMAG) != 0)
95 free (buffer);
111 .d_buf = buffer,
127 switch (buffer[EI_CLASS])
131 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL
    [all...]
  /external/freetype/src/cid/
cidparse.c 98 * 1. Fill the buffer with 256 + STARTDATA_LEN bytes.
101 * buffer[0], buffer[1], ...,
102 * buffer[255 + STARTDATA_LEN - SFNTS_LEN].
104 * 3. Move the last STARTDATA_LEN bytes to buffer[0].
106 * 4. Fill the buffer with 256 bytes, starting at STARTDATA_LEN.
111 FT_Byte buffer[256 + STARTDATA_LEN + 1]; local
116 FT_Byte* p = buffer;
130 /* ensure that we do not compare with data beyond the buffer */
135 for ( p = buffer; p < limit; p++
    [all...]
  /external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
Util.java 37 char[] buffer = new char[1024]; local
39 while ((count = reader.read(buffer)) != -1) {
40 writer.write(buffer, 0, count);
  /external/google-breakpad/src/client/linux/minidump_writer/
cpu_set.h 56 char buffer[512]; local
57 int ret = sys_read(fd, buffer, sizeof(buffer)-1);
61 buffer[ret] = '\0';
71 const char* p = buffer;
  /external/google-breakpad/src/common/dwarf/
bytereader-inl.h 38 inline uint8 ByteReader::ReadOneByte(const char* buffer) const {
39 return buffer[0];
43 const unsigned char *buffer local
45 const uint16 buffer0 = buffer[0];
46 const uint16 buffer1 = buffer[1];
55 const unsigned char *buffer local
57 const uint32 buffer0 = buffer[0];
58 const uint32 buffer1 = buffer[1];
59 const uint32 buffer2 = buffer[2];
60 const uint32 buffer3 = buffer[3]
69 const unsigned char *buffer local
    [all...]
  /external/google-breakpad/src/tools/linux/md2core/
minidump_memory_range_unittest.cc 225 uint8_t buffer[100] = { 0 }; local
227 MDString* md_str = reinterpret_cast<MDString*>(buffer);
229 md_str->buffer[0] = 'T';
230 md_str->buffer[1] = 'e';
231 md_str->buffer[2] = 's';
232 md_str->buffer[3] = 't';
233 md_str->buffer[4] = '\0';
238 md_str = reinterpret_cast<MDString*>(buffer + str2_offset);
240 md_str->buffer[0] = 'S';
241 md_str->buffer[1] = 't'
    [all...]
  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.cc 66 uint8_t* buffer = new unsigned char[buffer_size]; local
67 uint8_t* pos = buffer;
84 SHA256(buffer, buffer_size, &(*alpha)[0]);
85 delete[] buffer;

Completed in 1143 milliseconds

<<31323334353637383940>>