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

<<21222324252627282930>>

  /external/chromium_org/sandbox/linux/tests/
scoped_temporary_file_unittest.cc 25 bool FullWrite(int fd, const char* buffer, size_t count) {
27 const ssize_t transfered = HANDLE_EINTR(write(fd, buffer, count));
32 buffer += transfered;
37 bool FullRead(int fd, char* buffer, size_t count) {
39 const ssize_t transfered = HANDLE_EINTR(read(fd, buffer, count));
44 buffer += transfered;
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
SourceBufferList.cpp 53 void SourceBufferList::add(SourceBuffer* buffer)
55 m_list.append(buffer);
59 void SourceBufferList::insert(size_t position, SourceBuffer* buffer)
61 m_list.insert(position, buffer);
65 void SourceBufferList::remove(SourceBuffer* buffer)
67 size_t index = m_list.find(buffer);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ThreadSafeDataTransport.cpp 45 void ThreadSafeDataTransport::setData(SharedBuffer* buffer, bool allDataReceived)
47 ASSERT(buffer->size() >= m_readPosition);
51 while (size_t length = buffer->getSomeData(segment, m_readPosition)) {
61 void ThreadSafeDataTransport::data(SharedBuffer** buffer, bool* allDataReceived)
63 ASSERT(buffer);
73 *buffer = m_readBuffer.get();
ImageFrameGeneratorTest.cpp 117 char buffer[100 * 100 * 4]; local
118 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
122 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
131 char buffer[100 * 100 * 4]; local
132 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
139 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
144 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
150 char buffer[100 * 100 * 4]; local
151 generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
158 char buffer[100 * 100 * 4] local
159 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
173 m_generator->decodeAndScale(imageInfo(), 0, buffer, 100 * 4); local
181 char buffer[100 * 100 * 4]; local
182 m_generator->decodeAndScale(imageInfo(), 1, buffer, 100 * 4); local
193 m_generator->decodeAndScale(imageInfo(), 1, buffer, 100 * 4); local
    [all...]
  /external/chromium_org/third_party/cld/encodings/compact_lang_det/
compact_lang_det.h 71 // We distinguish between bytes of the raw input buffer and bytes of non-tag
109 const char* buffer,
118 const char* buffer,
131 const char* buffer,
152 const char* buffer,
171 const char* buffer,
189 const char* buffer,
  /external/chromium_org/third_party/icu/source/io/
ufmt_cmn.h 27 #define MAX_UCHAR_BUFFER_SIZE(buffer) (sizeof(buffer)/(U16_MAX_LENGTH*sizeof(UChar)))
91 * @param buffer The target buffer
92 * @param len On input, the size of <TT>buffer</TT>. On output,
93 * the number of UChars written to <TT>buffer</TT>.
101 ufmt_64tou(UChar *buffer,
114 ufmt_ptou(UChar *buffer,
121 * @param buffer The target buffer
    [all...]
  /external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/
cipher.c 57 cipher_output(cipher_t *c, uint8_t *buffer, int num_octets_to_output) {
59 /* zeroize the buffer */
60 octet_string_set_to_zero(buffer, num_octets_to_output);
62 /* exor keystream into buffer */
63 return cipher_encrypt(c, buffer, (unsigned int *) &num_octets_to_output);
88 uint8_t buffer[SELF_TEST_BUF_OCTETS]; local
126 /* copy plaintext into test buffer */
132 buffer[i] = test_case->plaintext[i];
135 octet_string_hex_string(buffer,
147 status = cipher_encrypt(c, buffer, &len)
    [all...]
  /external/chromium_org/third_party/webrtc/common_video/libyuv/
scaler.cc 62 return libyuv::I420Scale(src_frame.buffer(kYPlane),
64 src_frame.buffer(kUPlane),
66 src_frame.buffer(kVPlane),
69 dst_frame->buffer(kYPlane),
71 dst_frame->buffer(kUPlane),
73 dst_frame->buffer(kVPlane),
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSource.java 26 public static OpenSSLBIOSource wrap(ByteBuffer buffer) {
27 return new OpenSSLBIOSource(new OpenSSLBIOInputStream(new ByteBufferInputStream(buffer)));
76 public int read(byte[] buffer) throws IOException {
78 source.get(buffer);
83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
86 source.get(buffer, byteOffset, toRead);
  /external/icu/icu4c/source/io/
ufmt_cmn.h 27 #define MAX_UCHAR_BUFFER_SIZE(buffer) (sizeof(buffer)/(U16_MAX_LENGTH*sizeof(UChar)))
91 * @param buffer The target buffer
92 * @param len On input, the size of <TT>buffer</TT>. On output,
93 * the number of UChars written to <TT>buffer</TT>.
101 ufmt_64tou(UChar *buffer,
114 ufmt_ptou(UChar *buffer,
121 * @param buffer The target buffer
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
AlbumBox.java 103 StringBuilder buffer = new StringBuilder(); local
104 buffer.append("AlbumBox[language=").append(getLanguage()).append(";");
105 buffer.append("albumTitle=").append(getAlbumTitle());
107 buffer.append(";trackNumber=").append(getTrackNumber());
109 buffer.append("]");
110 return buffer.toString();
  /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);
  /external/openssl/crypto/md4/
md4s.cpp 38 void md4_block_x86(MD4_CTX *ctx, unsigned char *buffer,int num);
43 unsigned char buffer[64*256]; local
65 md4_block_x86(&ctx,buffer,numm);
67 md4_block_x86(&ctx,buffer,numm);
70 md4_block_x86(&ctx,buffer,num);
72 md4_block_x86(&ctx,buffer,num);
  /external/openssl/crypto/md5/
md5s.cpp 38 void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num);
43 unsigned char buffer[64*256]; local
65 md5_block_x86(&ctx,buffer,numm);
67 md5_block_x86(&ctx,buffer,numm);
70 md5_block_x86(&ctx,buffer,num);
72 md5_block_x86(&ctx,buffer,num);
  /cts/tools/dex-tools/src/dex/reader/
DexMethodImpl.java 39 private DexBuffer buffer; field in class:DexMethodImpl
54 public DexMethodImpl(DexBuffer buffer, DexClass declaringClass,
59 this.buffer = buffer;
76 buffer.setPosition(parameterAnnotation.annotationsOff);
77 int numberOfParameters = buffer.readUInt();
79 parameterIdToIndex.put(i, buffer.readUInt());
87 buffer.setPosition(methodAnnotation.annotationsOff);
88 final int size = buffer.readUInt();
90 annotations.add(new DexAnnotationImpl(buffer.createCopy()
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
BrowserCompatSpec.java 135 CharArrayBuffer buffer; local
138 buffer = ((FormattedHeader) header).getBuffer();
141 buffer.length());
147 buffer = new CharArrayBuffer(s.length());
148 buffer.append(s);
149 cursor = new ParserCursor(0, buffer.length());
151 elems = new HeaderElement[] { parser.parseHeader(buffer, cursor) };
165 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); local
166 buffer.append(SM.COOKIE);
167 buffer.append(": ")
    [all...]
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/chromium_org/gpu/command_buffer/client/
buffer_tracker_unittest.cc 28 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
83 // Check we can create a Buffer.
84 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId1, size); local
85 ASSERT_TRUE(buffer != NULL);
86 // Check we can get the same Buffer.
87 EXPECT_EQ(buffer, buffer_tracker_->GetBuffer(kId1));
89 EXPECT_TRUE(buffer->address() != NULL);
92 // Check we get nothing for a non-existent buffer.
94 // Check we can delete the buffer
107 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, 0); local
123 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, size); local
139 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, size); local
    [all...]
  /external/clang/test/Layout/
ms-x86-pack-and-align.cpp 7 char buffer[419430400]; variable
12 printf("A = %d\n", (int)((char*)this - buffer));
13 printf("A.a = %d\n", (int)((char*)&a - buffer));
20 printf("B = %d\n", (int)((char*)this - buffer));
21 printf("B.a = %d\n", (int)((char*)&a - buffer));
31 printf("X = %d\n", (int)((char*)this - buffer));
32 printf("X.a = %d\n", (int)((char*)&a - buffer));
33 printf("X.b = %d\n", (int)((char*)&b - buffer));
34 printf("X.c = %d\n", (int)((char*)&c - buffer));
65 printf("Y = %d\n", (int)((char*)this - buffer));
    [all...]
  /external/clang/include/clang/AST/
APValue.h 202 return *(APSInt*)(char*)Data.buffer;
210 return *(APFloat*)(char*)Data.buffer;
218 return ((ComplexAPSInt*)(char*)Data.buffer)->Real;
226 return ((ComplexAPSInt*)(char*)Data.buffer)->Imag;
234 return ((ComplexAPFloat*)(char*)Data.buffer)->Real;
242 return ((ComplexAPFloat*)(char*)Data.buffer)->Imag;
261 return ((Vec*)(char*)Data.buffer)->Elts[I];
268 return ((const Vec*)(const void *)Data.buffer)->NumElts;
274 return ((Arr*)(char*)Data.buffer)->Elts[I];
285 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]
    [all...]
  /external/chromium_org/content/browser/renderer_host/media/
video_capture_controller_unittest.cc 132 const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer,
139 reinterpret_cast<uint8*>(buffer->data()),
147 const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer,
330 // Now, simulate an incoming captured buffer from the capture device. As a
331 // side effect this will cause the first buffer to be shared with clients.
333 scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer; local
334 buffer
580 scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer = local
619 scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer = local
    [all...]
  /external/chromium_org/mojo/public/c/system/tests/
core_unittest.cc 27 char buffer[10] = {0}; local
46 MojoWriteMessage(h0, buffer, 3, NULL, 0, MOJO_WRITE_MESSAGE_FLAG_NONE));
47 buffer_size = static_cast<uint32_t>(sizeof(buffer));
51 h0, buffer, &buffer_size, NULL, NULL, MOJO_READ_MESSAGE_FLAG_NONE));
54 buffer_size = static_cast<uint32_t>(sizeof(buffer));
56 MojoWriteData(h0, buffer, &buffer_size, MOJO_WRITE_DATA_FLAG_NONE));
62 buffer_size = static_cast<uint32_t>(sizeof(buffer));
64 MojoReadData(h0, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE));
71 // Shared buffer:
82 char buffer[10] = {0} local
155 char buffer[20] = {0}; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringConcatenate.h 50 StringTypeAdapter<char>(char buffer)
51 : m_buffer(buffer)
73 StringTypeAdapter<LChar>(LChar buffer)
74 : m_buffer(buffer)
96 StringTypeAdapter<UChar>(UChar buffer)
97 : m_buffer(buffer)
120 StringTypeAdapter<char*>(char* buffer)
121 : m_buffer(buffer)
122 , m_length(strlen(buffer))
142 StringTypeAdapter<LChar*>(LChar* buffer);
314 LChar* buffer; local
327 UChar* buffer; local
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-arabic.cc 31 /* buffer var allocations */
135 hb_buffer_t *buffer);
140 hb_buffer_t *buffer);
244 arabic_joining (hb_buffer_t *buffer)
246 unsigned int count = buffer->len;
247 hb_glyph_info_t *info = buffer->info;
251 if (!(buffer->flags & HB_BUFFER_FLAG_BOT))
252 for (unsigned int i = 0; i < buffer->context_len[0]; i++)
254 unsigned int this_type = get_joining_type (buffer->context[0][i], buffer->unicode->general_category (buffer->context[0][i]))
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3debughandlers.c 207 // Buffer to construct our message in
332 // Local buffer to read the next character in to
334 char buffer; local
339 // to buffer the input or anything.
343 rCount = recv(delboy->socket, &buffer, 1, 0);
345 while (rCount == 1 && buffer != '\n');
355 ANTLR3_PRINTF("Received char count was %d, and last char received was %02X\n", rCount, buffer);
360 // Given a buffer string and a source string, serialize the
365 serializeText(pANTLR3_STRING buffer, pANTLR3_STRING text)
372 buffer->append(buffer, "\t\"")
550 char buffer[512]; local
561 char buffer[512]; local
572 char buffer[512]; local
583 char buffer[512]; local
594 char buffer[512]; local
605 char buffer[512]; local
617 char buffer[512]; local
698 char buffer[128]; local
710 char buffer[128]; local
729 char buffer[128]; local
741 char buffer[128]; local
753 char buffer[128]; local
765 char buffer[256]; local
789 unsigned char * buffer; local
874 pANTLR3_STRING buffer; local
891 pANTLR3_STRING buffer; local
910 char buffer[128]; local
1005 char buffer[128]; local
1015 char buffer[128]; local
1027 char buffer[128]; local
1038 char buffer[128]; local
    [all...]

Completed in 1704 milliseconds

<<21222324252627282930>>