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

<<51525354555657585960>>

  /external/chromium_org/media/base/
stream_parser_unittest.cc 26 static bool IsAudio(scoped_refptr<StreamParserBuffer> buffer) {
27 return buffer->type() == DemuxerStream::AUDIO;
30 static bool IsVideo(scoped_refptr<StreamParserBuffer> buffer) {
31 return buffer->type() == DemuxerStream::VIDEO;
34 static bool IsText(scoped_refptr<StreamParserBuffer> buffer) {
35 return buffer->type() == DemuxerStream::TEXT;
41 // end of the sequence and no buffer is appended for it. Each new buffer's
52 scoped_refptr<StreamParserBuffer> buffer = local
55 buffer->SetDecodeTimestamp
132 const StreamParserBuffer& buffer = *(itr->get()); local
    [all...]
  /external/chromium_org/remoting/base/
util_unittest.cc 59 // Check the the desination buffer is filled within expected bounds.
106 // Reset RGB buffer and do opposite conversion.
126 // Whole buffer.
201 std::string buffer; local
202 buffer.resize(kLineNum * kLineSize);
204 memcpy(&buffer[i * kLineSize], &line[0], kLineSize);
207 buffer = ReplaceLfByCrLf(buffer);
209 EXPECT_EQ(static_cast<size_t>((kLineSize + 1) * kLineNum), buffer.size());
210 const char* p = &buffer[0]
237 std::string buffer; local
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
winnmfmt.cpp 255 we don't need to reallocate the buffer. */
294 UChar *buffer = stackBuffer; local
298 buffer[0] = 0x0000;
309 result = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE);
317 buffer = NEW_ARRAY(UChar, newLength);
318 buffer[0] = 0x0000;
319 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength);
331 result = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE);
337 buffer = NEW_ARRAY(UChar, newLength);
338 buffer[0] = 0x0000
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
intel_regions.c 30 * - refcounting of buffers for multiple images in a buffer.
31 * - refcounting of buffer mappings.
116 * in software fallbacks we may end up mapping the same buffer multiple
123 * flush is only needed on first map of the buffer.
171 uint32_t tiling, drm_intel_bo *buffer)
184 region->bo = buffer;
198 drm_intel_bo *buffer; local
206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region",
209 if (buffer == NULL)
213 aligned_pitch / cpp, tiling, buffer);
245 drm_intel_bo *buffer; local
    [all...]
  /external/icu/icu4c/source/i18n/
winnmfmt.cpp 255 we don't need to reallocate the buffer. */
294 UChar *buffer = stackBuffer; local
298 buffer[0] = 0x0000;
309 result = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE);
317 buffer = NEW_ARRAY(UChar, newLength);
318 buffer[0] = 0x0000;
319 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength);
331 result = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE);
337 buffer = NEW_ARRAY(UChar, newLength);
338 buffer[0] = 0x0000
    [all...]
collationkeys.cpp 67 // Do not write ignored bytes right at the end of the buffer.
87 * uint8_t byte buffer, similar to CharString but simpler.
98 const uint8_t *data() const { return buffer.getAlias(); }
99 uint8_t operator[](int32_t index) const { return buffer[index]; }
101 uint8_t *data() { return buffer.getAlias(); }
110 U_ASSERT(len > 0 && buffer[len - 1] == 1);
111 sink.Append(reinterpret_cast<const char *>(buffer.getAlias()), len - 1);
115 MaybeStackArray<uint8_t, 40> buffer; member in class:__anon1447::SortKeyLevel
126 if(len < buffer.getCapacity() || ensureCapacity(1)) {
127 buffer[len++] = (uint8_t)b
332 char buffer[3] = { p2, (char)(p >> 8), (char)p }; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_regions.c 30 * - refcounting of buffers for multiple images in a buffer.
31 * - refcounting of buffer mappings.
116 * in software fallbacks we may end up mapping the same buffer multiple
123 * flush is only needed on first map of the buffer.
171 uint32_t tiling, drm_intel_bo *buffer)
184 region->bo = buffer;
198 drm_intel_bo *buffer; local
206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region",
209 if (buffer == NULL)
213 aligned_pitch / cpp, tiling, buffer);
245 drm_intel_bo *buffer; local
    [all...]
  /external/opencv/otherlibs/highgui/
loadsave.cpp 63 // the result is put into the specified buffer
64 static int Preprocess( const char* filename, char* buffer );
76 const char* Find( const char* filename, char* buffer ) const;
117 char buffer[_MAX_PATH + 1];
118 int len = Preprocess( path, buffer );
142 memcpy( m_path + m_len, buffer, len );
186 const char* CvFilePath::Find( const char* filename, char* buffer ) const
203 memcpy( buffer, folder, folder_len );
204 strcpy( buffer + folder_len, name );
206 f = fopen( buffer, "rb" )
    [all...]
  /external/chromium_org/content/browser/geolocation/
wifi_data_provider_win.cc 43 // The limits on the size of the buffer used for the OID query.
141 // Remembers scan result buffer size across calls.
153 BYTE* buffer,
157 scoped_ptr<BYTE, base::FreeDeleter>* buffer);
473 scoped_ptr<BYTE, base::FreeDeleter> buffer(
475 if (buffer == NULL) {
484 result = PerformQuery(adapter_handle, buffer.get(),
491 // The buffer we supplied is too small, so increase it. bytes_out should
492 // provide the required buffer size, but this is not always the case.
498 if (!ResizeBuffer(oid_buffer_size_, &buffer)) {
    [all...]
  /external/chromium_org/media/formats/mp4/
avc_unittest.cc 113 static void WriteStartCodeAndNALUType(std::vector<uint8>* buffer,
115 buffer->push_back(0x00);
116 buffer->push_back(0x00);
117 buffer->push_back(0x00);
118 buffer->push_back(0x01);
119 buffer->push_back(StringToNALUType(nal_unit_type));
122 void StringToAnnexB(const std::string& str, std::vector<uint8>* buffer,
129 buffer->clear();
132 size_t start = buffer->size();
134 WriteStartCodeAndNALUType(buffer, tokens[i])
    [all...]
  /external/chromium_org/mojo/public/cpp/system/tests/
core_unittest.cc 130 char buffer[10] = { 0 }; local
133 buffer, sizeof(buffer),
141 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer));
144 buffer, &buffer_size,
208 char buffer[10] = { 0 }; local
209 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer));
212 buffer, &buffer_size,
216 EXPECT_STREQ(kHello, buffer);
250 memset(buffer, 0, sizeof(buffer))
    [all...]
  /external/chromium_org/third_party/webrtc/base/
unixfilesystem.cc 178 unsigned char buffer[NAME_MAX+1]; local
179 if (0 != FSRefMakePath(&fr, buffer, ARRAY_SIZE(buffer)))
181 pathname.SetPathname(reinterpret_cast<char*>(buffer), "");
379 char buffer[PATH_MAX + 2];
380 ssize_t len = readlink("/proc/self/exe", buffer, ARRAY_SIZE(buffer) - 1);
383 buffer[len] = '\0';
384 path->SetPathname(buffer);
401 unsigned char buffer[NAME_MAX+1] local
540 char buffer[PATH_MAX]; local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/
drive_file_stream_reader_unittest.cc 118 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize));
119 int result = proxy.Read(buffer.get(), kBufferSize, callback.callback());
133 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize));
136 int result = proxy.Read(buffer.get(), kBufferSize, callback.callback());
143 // The returned data should be fit to the buffer size.
146 EXPECT_EQ("abc", std::string(buffer->data(), result));
149 result = proxy.Read(buffer.get(), kBufferSize, callback.callback());
151 EXPECT_EQ("de", std::string(buffer->data(), result));
160 result = proxy.Read(buffer.get(), kBufferSize, callback.callback());
162 EXPECT_EQ("fgh", std::string(buffer->data(), result))
    [all...]
  /external/chromium_org/courgette/
encoded_program.cc 45 CheckBool WriteVector(const V& items, SinkStream* buffer) {
47 bool ok = buffer->WriteSizeVarint32(count);
51 ok = buffer->WriteSizeVarint32(items[i]);
57 bool ReadVector(V* items, SourceStream* buffer) {
59 if (!buffer->ReadVarint32(&count))
67 ok = buffer->ReadVarint32(&item);
77 CheckBool WriteU32Delta(const V& set, SinkStream* buffer) {
79 bool ok = buffer->WriteSizeVarint32(count);
84 ok = buffer->WriteVarint32(delta);
91 static CheckBool ReadU32Delta(V* set, SourceStream* buffer) {
    [all...]
  /external/libnfc-nxp/src/
phFriNfc_Llcp.c 111 pDest->buffer = phOsalNfc_GetMemory(pOrig->length);
112 if (pDest->buffer == NULL)
117 memcpy(pDest->buffer, pOrig->buffer, pOrig->length);
125 if (pDest->buffer != NULL)
127 phOsalNfc_FreeMemory(pDest->buffer);
138 if (pData->buffer != NULL)
140 phOsalNfc_FreeMemory(pData->buffer);
144 LLCP_PRINT("Warning, deallocating empty buffer");
215 sParamsTLV.buffer = pTLVBuffer
    [all...]
  /external/chromium_org/v8/test/mjsunit/
external-array-no-sse2.js 57 assertSame(ab, derived_uint8.buffer);
64 assertSame(ab, derived_uint8_2.buffer);
71 assertSame(ab, derived_int16.buffer);
78 assertSame(ab, derived_int16_2.buffer);
85 assertSame(ab, derived_uint32.buffer);
92 assertSame(ab, derived_uint32_2.buffer);
99 assertSame(ab, derived_uint32_3.buffer);
106 assertSame(ab, derived_float64.buffer);
139 // Test that an array constructed without an array buffer creates one properly.
141 assertEquals(a.byteLength, a.buffer.byteLength)
    [all...]
external-array.js 57 assertSame(ab, derived_uint8.buffer);
64 assertSame(ab, derived_uint8_2.buffer);
71 assertSame(ab, derived_int16.buffer);
78 assertSame(ab, derived_int16_2.buffer);
85 assertSame(ab, derived_uint32.buffer);
92 assertSame(ab, derived_uint32_2.buffer);
99 assertSame(ab, derived_uint32_3.buffer);
106 assertSame(ab, derived_float64.buffer);
139 // Test that an array constructed without an array buffer creates one properly.
141 assertEquals(a.byteLength, a.buffer.byteLength)
    [all...]
  /external/libxml2/
xmlIO.c 176 "Inappropriate message buffer length",/* EMSGSIZE */
204 "buffer full",
811 * @buffer: where to drop data
814 * Read @len bytes to @buffer from the I/O channel.
819 xmlFdRead (void * context, char * buffer, int len) {
822 ret = read((int) (long) context, &buffer[0], len);
831 * @buffer: where to get data
834 * Write @len bytes from @buffer to the I/O channel.
839 xmlFdWrite (void * context, const char * buffer, int len) {
843 ret = write((int) (long) context, &buffer[0], len)
2074 char buffer[ 4096 ]; local
3292 char *buffer = NULL; local
    [all...]
  /external/chromium_org/content/browser/gamepad/
xbox_data_fetcher_mac.cc 451 // This buffer will be released in WriteComplete when WritePipeAsync
453 UInt8* buffer = new UInt8[length]; local
454 buffer[0] = static_cast<UInt8>(CONTROL_MESSAGE_SET_LED);
455 buffer[1] = length;
456 buffer[2] = static_cast<UInt8>(pattern);
459 buffer,
462 buffer);
464 delete[] buffer;
486 UInt8* buffer = static_cast<UInt8*>(context); local
487 delete[] buffer;
524 uint8* buffer = read_buffer_.get(); local
565 uint8* buffer = read_buffer_.get(); local
606 UInt8* buffer = new UInt8[length]; local
    [all...]
  /external/chromium_org/chrome/utility/media_galleries/
image_metadata_extractor.cc 35 const scoped_refptr<net::DrainableIOBuffer>& buffer,
44 buffer->DidConsume(bytes_read);
46 if (buffer->BytesRemaining() > 0) {
49 buffer->BytesRemaining(),
50 reinterpret_cast<uint8*>(buffer->data()),
52 &FinishGetImageBytes, buffer, base::Unretained(source), callback));
56 buffer->SetOffset(0);
57 callback.Run(buffer);
70 scoped_refptr<net::DrainableIOBuffer> buffer(
72 source->Read(0, buffer->BytesRemaining()
    [all...]
  /external/chromium_org/sandbox/win/src/
interception.cc 179 // Basically, walk the list of interceptions moving them to the config buffer,
181 // The config buffer is a local buffer, not the one allocated on the child.
182 bool InterceptionManager::SetupConfigBuffer(void* buffer, size_t buffer_bytes) {
188 SharedMemory* shared_memory = reinterpret_cast<SharedMemory*>(buffer);
195 buffer = dll_info;
206 if (!SetupDllInfo(*it, &buffer, &buffer_bytes))
215 if (!SetupInterceptionInfo(*rest, &buffer, &buffer_bytes, dll_info))
224 dll_info = reinterpret_cast<DllPatchInfo*>(buffer);
235 void** buffer,
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/
pb_bufmgr_debug.c 30 * Debug buffer manager to detect buffer under- and overflows.
66 * Wrapper around a pipe buffer which adds delayed destruction.
72 struct pb_buffer *buffer; member in struct:pb_debug_buffer
161 map = pb_map(buf->buffer, PB_USAGE_CPU_WRITE, NULL);
167 pb_unmap(buf->buffer);
175 * Should be called with the buffer unmaped.
182 map = pb_map(buf->buffer,
193 debug_printf("buffer underflow (offset -%u%s to -%u bytes) detected\n",
203 debug_printf("buffer overflow (size %u plus offset %u to %u%s bytes) detected\n"
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 358 void SkDashPathEffect::flatten(SkWriteBuffer& buffer) const {
359 buffer.writeScalar(fPhase);
360 buffer.writeScalarArray(fIntervals, fCount);
363 SkFlattenable* SkDashPathEffect::CreateProc(SkReadBuffer& buffer) {
364 const SkScalar phase = buffer.readScalar();
365 uint32_t count = buffer.getArrayCount();
367 if (buffer.readScalarArray(intervals.get(), count)) {
374 SkDashPathEffect::SkDashPathEffect(SkReadBuffer& buffer)
375 : INHERITED(buffer)
380 bool useOldPic = buffer.isVersionLT(SkReadBuffer::kDashWritesPhaseIntervals_Version)
    [all...]
  /external/chromium_org/v8/test/cctest/
test-assembler-x87.cc 55 v8::internal::byte buffer[256]; local
56 Assembler assm(isolate, buffer, sizeof buffer);
82 v8::internal::byte buffer[256]; local
83 Assembler assm(isolate, buffer, sizeof buffer);
119 v8::internal::byte buffer[256]; local
120 Assembler assm(isolate, buffer, sizeof buffer);
165 v8::internal::byte buffer[256] local
187 v8::internal::byte buffer[256]; local
255 v8::internal::byte buffer[1024]; local
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_md5.cc 38 unsigned char buffer[64]; member in struct:__tsan::__anon24257
169 internal_memcpy(&ctx->buffer[used], data, size);
173 internal_memcpy(&ctx->buffer[used], data, free);
176 body(ctx, ctx->buffer, 64);
184 internal_memcpy(ctx->buffer, data, size);
192 ctx->buffer[used++] = 0x80;
197 internal_memset(&ctx->buffer[used], 0, free);
198 body(ctx, ctx->buffer, 64);
203 internal_memset(&ctx->buffer[used], 0, free - 8);
206 ctx->buffer[56] = ctx->lo
    [all...]

Completed in 1600 milliseconds

<<51525354555657585960>>