HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 326 - 350 of 9401) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
strutil.cc 46 // char buffer[32];
47 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f);
69 // string manipulation is all in relation to the protocol buffer and C++
425 // a dest buffer. This should be used for non performance critical
607 // Offset into buffer where FastInt64ToBuffer places the end of string
611 char *FastInt64ToBuffer(int64 i, char* buffer) {
615 char* p = buffer + kFastInt64ToBufferOffset;
649 // Offset into buffer where FastInt32ToBuffer places the end of string
656 char *FastInt32ToBuffer(int32 i, char* buffer) {
660 char* p = buffer + kFastInt32ToBufferOffset
928 char buffer[kFastToBufferSize]; local
935 char buffer[kFastToBufferSize]; local
942 char buffer[kFastToBufferSize]; local
949 char buffer[kFastToBufferSize]; local
956 char buffer[kFastToBufferSize]; local
963 char buffer[kFastToBufferSize]; local
1011 char buffer[kDoubleToBufferSize]; local
1016 char buffer[kFloatToBufferSize]; local
    [all...]
strutil.h 56 // to identifiers in the protocol buffer language, not to natural-language
131 // identifiers used in the Protocol Buffer language, not to natural-language
240 // a dest buffer. This should be used for non performance critical
346 // All functions take the output buffer as an arg.
348 // which may not be the beginning of the input buffer.
351 // Suggested buffer size for FastToBuffer functions. Also works with
355 LIBPROTOBUF_EXPORT char* FastInt32ToBuffer(int32 i, char* buffer);
356 LIBPROTOBUF_EXPORT char* FastInt64ToBuffer(int64 i, char* buffer);
357 char* FastUInt32ToBuffer(uint32 i, char* buffer); // inline below
358 char* FastUInt64ToBuffer(uint64 i, char* buffer); // inline belo
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
deep-heap-profile.cc 68 bool DeepHeapProfile::AppendCommandLine(TextBuffer* buffer) {
89 buffer->AppendString("CommandLine: ", 0);
90 buffer->AppendString(cmdline, 0);
91 buffer->AppendChar('\n');
109 TextBuffer* buffer) const {
140 DeepHeapProfile::TextBuffer* buffer) const {
165 buffer != NULL && state.pfn != 0) {
167 buffer->AppendString(" PF:", 0);
170 buffer->AppendChar(' ');
172 buffer->AppendChar('<')
845 char buffer[1024]; local
978 char buffer[1024]; local
    [all...]
  /external/nist-sip/java/gov/nist/core/
StringTokenizer.java 43 protected String buffer; field in class:StringTokenizer
51 public StringTokenizer(String buffer) {
52 this.buffer = buffer;
53 bufferLen = buffer.length();
61 char c = buffer.charAt(ptr);
68 return buffer.substring(startIdx, ptr);
114 while (ptr < bufferLen && buffer.charAt(ptr) != '\n') {
117 if (ptr < bufferLen && buffer.charAt(ptr) == '\n') {
120 return buffer.substring(startIdx, ptr)
    [all...]
  /external/apache-http/src/org/apache/http/auth/
BasicUserPrincipal.java 87 StringBuilder buffer = new StringBuilder(); local
88 buffer.append("[principal: ");
89 buffer.append(this.username);
90 buffer.append("]");
91 return buffer.toString();
  /external/apache-http/src/org/apache/http/impl/cookie/
BasicClientCookie.java 329 StringBuilder buffer = new StringBuilder(); local
330 buffer.append("[version: ");
331 buffer.append(Integer.toString(this.cookieVersion));
332 buffer.append("]");
333 buffer.append("[name: ");
334 buffer.append(this.name);
335 buffer.append("]");
336 buffer.append("[value: ");
337 buffer.append(this.value);
338 buffer.append("]")
    [all...]
  /external/apache-http/src/org/apache/http/message/
LineParser.java 72 * @param buffer a buffer holding the protocol version to parse
74 * the bounds within the buffer for the parsing operation
81 CharArrayBuffer buffer,
94 * @param buffer a buffer holding the line to inspect
105 CharArrayBuffer buffer,
112 * @param buffer a buffer holding the line to parse
114 * the bounds within the buffer for the parsing operatio
    [all...]
  /external/chromium_org/media/base/
bit_reader_unittest.cc 22 uint8 buffer[] = {0x55, 0x99, 0x55, 0x99, 0x55, 0x99, 0x55, 0x99}; local
23 BitReader reader1(buffer, 6); // Initialize with 6 bytes only
37 BitReader reader2(buffer, 8);
46 uint8 buffer[] = {0x12}; local
47 BitReader reader1(buffer, sizeof(buffer));
57 uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; local
58 BitReader reader1(buffer, sizeof(buffer));
75 uint8 buffer[256] = {0} local
123 uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; local
    [all...]
  /external/chromium_org/third_party/libsrtp/srtp/crypto/replay/
ut_sim.c 62 utc->buffer[i] = i;
64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
73 tmp = utc->buffer[0];
75 utc->buffer[0] = utc->index;
77 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_zscan.h 84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
88 vl_zscan_cleanup_buffer(struct vl_zscan_buffer *buffer);
91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout);
94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
  /external/chromium_org/third_party/webrtc/test/testsupport/
frame_writer_unittest.cc 47 uint8_t buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
57 uint8_t buffer[3]; local
59 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
  /external/easymock/src/org/easymock/internal/matchers/
And.java 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("and(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
Or.java 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("or(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
  /external/guava/guava/src/com/google/common/hash/
AbstractStreamingHashFunction.java 70 /** Buffer via which we pass data to the hash algorithm (the implementor) */
71 private final ByteBuffer buffer; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
92 * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of
97 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
103 // TODO(user): benchmark performance difference with longer buffer
104 this.buffer = ByteBuffer
112 * Processes the available bytes of the buffer (at most {@code chunk} bytes).
147 if (readBuffer.remaining() <= buffer.remaining()) {
148 buffer.put(readBuffer);
153 // First add just enough to fill buffer size, and munch tha
    [all...]
  /external/junit/src/junit/framework/
TestFailure.java 41 StringBuffer buffer= new StringBuffer(); local
42 buffer.append(fFailedTest+": "+fThrownException.getMessage());
43 return buffer.toString();
49 StringBuffer buffer= stringWriter.getBuffer(); local
50 return buffer.toString();
  /external/junit/src/org/junit/runner/notification/
Failure.java 55 StringBuffer buffer= new StringBuffer(); local
56 buffer.append(getTestHeader() + ": "+fThrownException.getMessage());
57 return buffer.toString();
68 StringBuffer buffer= stringWriter.getBuffer(); local
69 return buffer.toString();
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_zscan.h 84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
88 vl_zscan_cleanup_buffer(struct vl_zscan_buffer *buffer);
91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout);
94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-buffer-deserialize-json.hh 2 #line 1 "../../src/hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh.tmp"
438 #line 97 "../../src/hb-buffer-deserialize-json.rl"
442 _hb_buffer_deserialize_glyphs_json (hb_buffer_t *buffer,
451 (void) hb_buffer_get_glyph_positions (buffer, NULL);
455 if (p < pe && *p == (buffer->len ? ',' : '['))
465 #line 466 "hb-buffer-deserialize-json.hh.tmp"
470 #line 471 "hb-buffer-deserialize-json.hh.tmp"
496 #line 38 "../../src/hb-buffer-deserialize-json.rl"
503 #line 43 "../../src/hb-buffer-deserialize-json.rl
    [all...]
  /external/harfbuzz_ng/src/
hb-buffer-deserialize-json.hh 2 #line 1 "../../src/hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh.tmp"
438 #line 97 "../../src/hb-buffer-deserialize-json.rl"
442 _hb_buffer_deserialize_glyphs_json (hb_buffer_t *buffer,
451 (void) hb_buffer_get_glyph_positions (buffer, NULL);
455 if (p < pe && *p == (buffer->len ? ',' : '['))
465 #line 466 "hb-buffer-deserialize-json.hh.tmp"
470 #line 471 "hb-buffer-deserialize-json.hh.tmp"
496 #line 38 "../../src/hb-buffer-deserialize-json.rl"
503 #line 43 "../../src/hb-buffer-deserialize-json.rl
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
AtomicString.cpp 168 static unsigned hash(const HashAndCharacters<CharacterType>& buffer)
170 ASSERT(buffer.hash == StringHasher::computeHashAndMaskTop8Bits(buffer.characters, buffer.length));
171 return buffer.hash;
174 static bool equal(StringImpl* const& string, const HashAndCharacters<CharacterType>& buffer)
176 return WTF::equal(string, buffer.characters, buffer.length);
179 static void translate(StringImpl*& location, const HashAndCharacters<CharacterType>& buffer, unsigned hash)
181 location = StringImpl::create(buffer.characters, buffer.length).leakRef()
341 SubstringLocation buffer = { baseString, start, length }; local
402 CharBuffer buffer = { characters, length }; local
414 HashAndCharacters<CharacterType> buffer = { stringImpl->existingHash(), stringImpl->getCharacters<CharacterType>(), stringImpl->length() }; local
461 HashAndUTF8Characters buffer; local
505 NumberToStringBuffer buffer; local
    [all...]
  /external/okhttp/okio/src/test/java/okio/
OkBufferTest.java 31 OkBuffer buffer = new OkBuffer(); local
32 buffer.writeUtf8("ab");
33 assertEquals(2, buffer.size());
34 buffer.writeUtf8("cdef");
35 assertEquals(6, buffer.size());
36 assertEquals("abcd", buffer.readUtf8(4));
37 assertEquals(2, buffer.size());
38 assertEquals("ef", buffer.readUtf8(2));
39 assertEquals(0, buffer.size());
41 buffer.readUtf8(1)
48 OkBuffer buffer = new OkBuffer(); local
53 OkBuffer buffer = new OkBuffer(); local
59 OkBuffer buffer = new OkBuffer(); local
65 OkBuffer buffer = new OkBuffer(); local
72 OkBuffer buffer = new OkBuffer(); local
78 OkBuffer buffer = new OkBuffer(); local
83 OkBuffer buffer = new OkBuffer(); local
89 OkBuffer buffer = new OkBuffer(); local
95 OkBuffer buffer = new OkBuffer(); local
101 OkBuffer buffer = new OkBuffer(); local
119 OkBuffer buffer = new OkBuffer(); local
164 OkBuffer buffer = new OkBuffer(); local
286 OkBuffer buffer = new OkBuffer(); local
328 OkBuffer buffer = new OkBuffer(); local
532 OkBuffer buffer = new OkBuffer(); local
544 OkBuffer buffer = new OkBuffer(); local
553 OkBuffer buffer = new OkBuffer(); local
    [all...]
  /external/chromium_org/media/mojo/services/
media_type_converters_unittest.cc 23 scoped_refptr<DecoderBuffer> buffer(DecoderBuffer::CopyFrom(
26 buffer->set_timestamp(base::TimeDelta::FromMilliseconds(123));
27 buffer->set_duration(base::TimeDelta::FromMilliseconds(456));
28 buffer->set_splice_timestamp(base::TimeDelta::FromMilliseconds(200));
29 buffer->set_discard_padding(media::DecoderBuffer::DiscardPadding(
34 MediaDecoderBufferPtr ptr(MediaDecoderBuffer::From(buffer));
42 EXPECT_EQ(buffer->timestamp(), result->timestamp());
43 EXPECT_EQ(buffer->duration(), result->duration());
44 EXPECT_EQ(buffer->splice_timestamp(), result->splice_timestamp());
45 EXPECT_EQ(buffer->discard_padding(), result->discard_padding())
    [all...]
  /external/chromium_org/third_party/icu/source/common/
charstr.h 41 CharString() : len(0) { buffer[0]=0; }
43 buffer[0]=0;
47 buffer[0]=0;
51 buffer[0]=0;
66 char operator[](int32_t index) const { return buffer[index]; }
67 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); }
69 const char *data() const { return buffer.getAlias(); }
70 char *data() { return buffer.getAlias(); }
72 CharString &clear() { len=0; buffer[0]=0; return *this; }
84 * Returns a writable buffer for appending and writes the buffer's capacity t
118 MaybeStackArray<char, 40> buffer; member in class:CharString
    [all...]
  /external/icu/icu4c/source/common/
charstr.h 41 CharString() : len(0) { buffer[0]=0; }
43 buffer[0]=0;
47 buffer[0]=0;
51 buffer[0]=0;
66 char operator[](int32_t index) const { return buffer[index]; }
67 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); }
69 const char *data() const { return buffer.getAlias(); }
70 char *data() { return buffer.getAlias(); }
72 CharString &clear() { len=0; buffer[0]=0; return *this; }
84 * Returns a writable buffer for appending and writes the buffer's capacity t
118 MaybeStackArray<char, 40> buffer; member in class:CharString
    [all...]
  /external/chromium_org/remoting/base/
compound_buffer.cc 15 : buffer(buffer_value),
36 void CompoundBuffer::Append(net::IOBuffer* buffer,
38 // A weak check that the |start| is within |buffer|.
39 DCHECK_GE(start, buffer->data());
44 chunks_.push_back(DataChunk(buffer, start, size));
48 void CompoundBuffer::Append(net::IOBuffer* buffer, int size) {
49 Append(buffer, buffer->data(), size);
52 void CompoundBuffer::Append(const CompoundBuffer& buffer) {
53 for (DataChunkList::const_iterator it = buffer.chunks_.begin()
82 net::IOBuffer* buffer = new net::IOBuffer(size); local
88 net::IOBuffer* buffer = new net::IOBuffer(size); local
    [all...]

Completed in 1103 milliseconds

<<11121314151617181920>>