Searched defs:bytes (Results 26 - 50 of 1230) sorted by relevance

1234567891011>>

/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.cc30 gfx::Image ImageForBytes(const scoped_refptr<base::RefCountedMemory>& bytes) { argument
31 return gfx::ImageFrom1xJPEGEncodedData(bytes->front(), bytes->size());
/external/chromium_org/components/rappor/
H A Dbloom_filter.h19 // Constructs a BloomFilter using |bytes_size| bytes of Bloom filter bits,
32 const ByteVector& bytes() const { return bytes_; }; function in class:rappor::BloomFilter
34 // Sets bytes for testing purposes.
35 void SetBytesForTesting(const ByteVector& bytes);
H A Drappor_metric.h43 const ByteVector& bytes() const { return bloom_filter_.bytes(); } function in class:rappor::RapporMetric
53 // Specify the bytes to generate a report from, for testing purposes.
54 void SetBytesForTesting(const ByteVector& bytes);
/external/chromium_org/content/browser/webui/
H A Durl_data_source_impl.cc28 base::RefCountedMemory* bytes) {
30 scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes);
53 scoped_refptr<base::RefCountedMemory> bytes) {
56 backend_->DataAvailable(request_id, bytes.get());
26 SendResponse( int request_id, base::RefCountedMemory* bytes) argument
51 SendResponseOnIOThread( int request_id, scoped_refptr<base::RefCountedMemory> bytes) argument
/external/chromium_org/content/child/webcrypto/
H A Dcrypto_data.h19 // Helper to pass around a range of immutable bytes. This is conceptually
29 CryptoData(const unsigned char* bytes, unsigned int byte_length);
33 explicit CryptoData(const std::vector<unsigned char>& bytes);
34 explicit CryptoData(const std::string& bytes);
35 explicit CryptoData(const blink::WebVector<unsigned char>& bytes);
37 const unsigned char* bytes() const { return bytes_; } function in class:content::webcrypto::CryptoData
/external/chromium_org/gpu/ipc/
H A Dgpu_command_buffer_traits.cc49 const char* bytes = NULL; local
50 if (!m->ReadBytes(iter, &bytes, sizeof(p->name)))
52 DCHECK(bytes);
53 memcpy(p->name, bytes, sizeof(p->name));
/external/chromium_org/net/base/
H A Dbandwidth_metrics.cc32 void ScopedBandwidthMetrics::RecordBytes(int bytes) { argument
33 g_bandwidth_metrics.Get().RecordBytes(bytes);
/external/chromium_org/net/quic/congestion_control/
H A Dtcp_receiver.cc10 // Originally 64K bytes, but increased it to 256K to support higher bitrates.
25 void TcpReceiver::RecordIncomingPacket(QuicByteCount bytes, argument
/external/chromium_org/net/udp/
H A Dudp_net_log_parameters.cc17 const char* bytes,
23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
40 const char* bytes,
42 DCHECK(bytes);
43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
16 NetLogUDPDataTranferCallback(int byte_count, const char* bytes, const IPEndPoint* address, NetLog::LogLevel log_level) argument
38 CreateNetLogUDPDataTranferCallback( int byte_count, const char* bytes, const IPEndPoint* address) argument
/external/chromium_org/skia/ext/
H A DSkDiscardableMemory_chrome.cc36 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { argument
38 base::DiscardableMemory::CreateLockedMemory(bytes));
H A Dbitmap_platform_device.h31 int64_t bytes = (int64_t)width * height * bytesPerPixel; local
32 return bytes > SKIA_EXT_RASTER_DEVICE_ALLOCATION_MAX;
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DArrayPiece.cpp53 unsigned char* ArrayPiece::bytes() const function in class:WTF::ArrayPiece
/external/chromium_org/third_party/cython/src/Cython/Tempita/
H A Dcompat3.py3 __all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode']
6 b = bytes = str
13 return bytes(s)
14 basestring_ = (bytes, str)
15 bytes = bytes variable
44 return bytes(v)
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtestutil.cpp54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A Dloader.cpp23 unsigned char * bytes; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
/external/chromium_org/third_party/webrtc/base/
H A Dfileutils_unittest.cc32 size_t bytes; local
36 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL));
37 EXPECT_EQ(4U, bytes);
44 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL));
45 EXPECT_EQ(4U, bytes);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArrayByteInput.java21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) { argument
25 this.bytes = bytes;
29 return bytes[position++];
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathCacheEntry.java28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL) argument
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
H A DIClassLoadHook.java26 // * returns false, the current loader will load the class bytes itself and
62 * class definition in 'bytes' ('out' could be backed by the same array as
63 * 'bytes')
68 byte [] bytes, int length,
67 processClassDef(String className, byte [] bytes, int length, ByteArrayOStream out) argument
/external/google-tv-pairing-protocol/cpp/src/polo/encoding/
H A Dhexadecimalencoder.cc34 uint8_t* bytes; local
35 size_t length = polo::util::PoloUtil::HexStringToBytes(secret, bytes);
36 std::vector<uint8_t> decoded(bytes, bytes + length);
37 delete[] bytes;
/external/icu/icu4c/source/test/intltest/
H A Dtestutil.cpp54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
/external/lldb/include/lldb/Host/
H A DEndian.h22 uint8_t bytes[sizeof(uint32_t)]; member in union:lldb::endian::EndianTest
25 inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; }
27 // ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];
/external/mesa3d/src/gallium/drivers/radeon/
H A Dloader.cpp23 unsigned char * bytes; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeWriterVariable.java23 public static void write(long v, ByteBuffer bb, int bytes) { argument
24 switch (bytes) {
41 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_plex.cpp23 FX_BYTE* bytes = (FX_BYTE*) p; local
25 FX_Allocator_Free(pAllocator, bytes);

Completed in 509 milliseconds

1234567891011>>