Searched defs:bytes (Results 51 - 75 of 1081) sorted by relevance

1234567891011>>

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSProcessableByteArray.java19 private final byte[] bytes; field in class:CMSProcessableByteArray
22 byte[] bytes)
24 this(new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId()), bytes);
29 byte[] bytes)
32 this.bytes = bytes;
37 return new ByteArrayInputStream(bytes);
43 zOut.write(bytes);
48 return Arrays.clone(bytes);
21 CMSProcessableByteArray( byte[] bytes) argument
27 CMSProcessableByteArray( ASN1ObjectIdentifier type, byte[] bytes) argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/
H A DBcDigestCalculatorProvider.java55 public void write(byte[] bytes, int off, int len) argument
58 dig.update(bytes, off, len);
61 public void write(byte[] bytes) argument
64 dig.update(bytes, 0, bytes.length);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1ObjectIdentifier.java11 ASN1ObjectIdentifier(byte[] bytes) argument
13 super(bytes);
H A DDEROctetString.java43 byte[] bytes)
46 derOut.writeEncoded(BERTags.OCTET_STRING, bytes);
41 encode( DEROutputStream derOut, byte[] bytes) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDESParameters.java18 * DES Key length in bytes.
89 * @param bytes the byte array to set the parity on.
92 byte[] bytes)
94 for (int i = 0; i < bytes.length; i++)
96 int b = bytes[i];
97 bytes[i] = (byte)((b & 0xfe) |
91 setOddParity( byte[] bytes) argument
/external/chromium/base/memory/
H A Dref_counted_memory.cc30 RefCountedBytes* bytes = new RefCountedBytes; local
31 bytes->data.swap(*to_destroy);
32 return bytes;
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_browsertest.cc63 static void SetTempQuota(int64 bytes, scoped_refptr<QuotaManager> qm) { argument
67 base::Bind(&FileSystemBrowserTestWithLowQuota::SetTempQuota, bytes,
72 qm->SetTemporaryGlobalOverrideQuota(bytes, quota::QuotaCallback());
/external/chromium_org/content/child/npapi/
H A Dplugin_stream_win.cc26 DWORD bytes; local
28 if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0))
31 return static_cast<size_t>(bytes);
/external/chromium_org/net/base/
H A Dtest_data_stream.cc13 // Fill |buffer| with |length| bytes of data from the stream.
59 void TestDataStream::Consume(int bytes) { argument
60 bytes_remaining_ -= bytes;
62 buffer_ptr_ += bytes;
H A Dupload_bytes_element_reader.h17 // An UploadElementReader implementation for bytes.
22 UploadBytesElementReader(const char* bytes, uint64 length);
25 const char* bytes() const { return bytes_; } function in class:net::UploadBytesElementReader
H A Dupload_data.cc17 void UploadData::AppendBytes(const char* bytes, int bytes_len) { argument
21 elements_.back()->SetToBytes(bytes, bytes_len);
/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.cc22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) { argument
24 bytes_ += bytes;
H A Dpaced_sender.cc28 void PacedSender::SentPacket(QuicTime now, QuicByteCount bytes) { argument
29 leaky_bucket_.Add(now, bytes);
H A Dsend_algorithm_interface.h25 SentPacket(QuicByteCount bytes, QuicTime timestamp) argument
26 : bytes_sent_(bytes),
57 // Inform that we sent x bytes to the wire, and if that was a retransmission.
61 QuicByteCount bytes,
75 // What's the current estimated bandwidth in bytes per second.
/external/chromium_org/net/quic/
H A Dquic_protocol_test.cc16 char bytes[4]; local
17 memcpy(bytes, &tag, 4);
18 EXPECT_EQ('A', bytes[0]);
19 EXPECT_EQ('B', bytes[1]);
20 EXPECT_EQ('C', bytes[2]);
21 EXPECT_EQ('D', bytes[3]);
/external/chromium_org/net/server/
H A Dhttp_connection.cc22 void HttpConnection::Send(const char* bytes, int len) { argument
25 socket_->Send(bytes, len);
/external/chromium_org/ppapi/cpp/private/
H A Dx509_certificate_private.cc39 bool X509CertificatePrivate::Initialize(const char* bytes, uint32_t length) { argument
44 bytes,
/external/chromium_org/ppapi/thunk/
H A Dppb_x509_certificate_private_thunk.cc32 const char *bytes,
37 return enter.object()->Initialize(bytes, length);
31 Initialize(PP_Resource certificate, const char *bytes, uint32_t length) argument
/external/chromium_org/printing/
H A Dimage_win.cc81 size_t bytes = row_length_ * size_.height(); local
82 DCHECK(bytes);
84 data_.assign(bits, bits + bytes);
/external/chromium_org/remoting/host/win/
H A Dwts_terminal_monitor.cc35 DWORD bytes; local
41 &bytes)) {
45 bool result = WideToUTF8(working_directory, (bytes / sizeof(wchar_t)) - 1,
/external/chromium_org/rlz/lib/
H A Dcrc8_unittest.cc30 unsigned char* bytes; local
35 bytes = reinterpret_cast<unsigned char*>(data[i].string);
41 rlz_lib::Crc8::Generate(bytes, length, &crc);
43 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
48 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
H A DDiscardablePixelRef.cpp78 bool DiscardablePixelRef::allocAndLockDiscardableMemory(size_t bytes) argument
80 m_discardable = adoptPtr(WebKit::Platform::current()->allocateAndLockDiscardableMemory(bytes));
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DCString.cpp85 char* bytes = result.m_buffer->mutableData(); local
86 bytes[length] = '\0';
87 characterBuffer = bytes;
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/
H A DUniform.cpp18 int bytes = gl::UniformInternalSize(type) * elementCount(); local
19 data = new unsigned char[bytes];
20 memset(data, 0, bytes);
/external/chromium_org/third_party/icu/source/common/
H A Dbytestream.cpp38 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { argument
48 if (n > 0 && bytes != (outbuf_ + size_)) {
49 uprv_memcpy(outbuf_ + size_, bytes, n);

Completed in 675 milliseconds

1234567891011>>