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

1234567891011>>

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBase64.java12 public static String encodeToString(byte[] bytes, int flags) { argument
14 return base64.encodeBase64String(bytes);
/external/strace/test/
H A Dubi.c17 .bytes = 1125899906842624ULL,
23 .bytes = 1125899906842624ULL,
35 uint64_t bytes = ((uint64_t)1 << 50) | 0x123; local
41 ioctl(fd, UBI_IOCVOLUP, &bytes);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java38 protected void engineNextBytes(byte[] bytes) { argument
40 for (int i = 0; i < bytes.length; i++) {
41 bytes[i] = (byte) (i + 0xF1);
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java81 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
82 if (bytes == null) {
85 return Base64.encodeBase64(bytes);
88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
89 if (bytes == null) {
92 return Base64.decodeBase64(bytes);
H A DRFC1522Codec.java144 * Encodes an array of bytes using the defined encoding scheme
146 * @param bytes Data to be encoded
153 protected abstract byte[] doEncoding(byte[] bytes) throws EncoderException; argument
156 * Decodes an array of bytes using the defined encoding scheme
158 * @param bytes Data to be decoded
165 protected abstract byte[] doDecoding(byte[] bytes) throws DecoderException; argument
/external/bison/lib/
H A Dmbswidth.c101 size_t bytes; local
104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
106 if (bytes == (size_t) -1)
119 if (bytes == (size_t) -2)
132 if (bytes == 0)
134 bytes = 1;
158 p += bytes;
/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_org/chrome/browser/chromeos/power/
H A Dfreezer_cgroup_process_manager.cc60 int bytes = base::WriteFile(state_path_, command.c_str(), command.size()); local
61 if (bytes == -1) {
65 } else if (bytes != static_cast<int>(command.size())) {
66 LOG(ERROR) << "Only wrote " << bytes << " byte(s) when writing "
/external/chromium_org/components/rappor/
H A Dbloom_filter.cc32 // Note that the "bytes" are uint8_t, so they are always 8-bits.
39 void BloomFilter::SetBytesForTesting(const ByteVector& bytes) { argument
40 DCHECK_EQ(bytes_.size(), bytes.size());
42 bytes_[i] = bytes[i];
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_browsertest.cc64 static void SetTempQuota(int64 bytes, scoped_refptr<QuotaManager> qm) { argument
68 base::Bind(&FileSystemBrowserTestWithLowQuota::SetTempQuota, bytes,
73 qm->SetTemporaryGlobalOverrideQuota(bytes, storage::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/content/common/
H A Dresource_request_body.cc13 void ResourceRequestBody::AppendBytes(const char* bytes, int bytes_len) { argument
16 elements_.back().SetToBytes(bytes, bytes_len);
/external/chromium_org/extensions/browser/api/system_cpu/
H A Dcpu_info_provider_win.cc44 bytes = sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * local
49 bytes,
/external/chromium_org/gin/
H A Darray_buffer.h33 void* bytes() const { return bytes_; } function in class:gin::ArrayBuffer
59 void* bytes() const { function in class:gin::ArrayBufferView
60 return static_cast<uint8_t*>(array_buffer_.bytes()) + offset_;
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DMessagePipeHandleImpl.java44 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) { argument
45 mCore.writeMessage(this, bytes, handles, flags);
52 public ReadMessageResult readMessage(ByteBuffer bytes, argument
55 return mCore.readMessage(this, bytes, maxNumberOfHandles, flags);
/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
/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.cc22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) { argument
24 bytes_ += bytes;
/external/chromium_org/net/quic/
H A Dquic_protocol_test.cc29 char bytes[4]; local
30 memcpy(bytes, &tag, 4);
31 EXPECT_EQ('A', bytes[0]);
32 EXPECT_EQ('B', bytes[1]);
33 EXPECT_EQ('C', bytes[2]);
34 EXPECT_EQ('D', bytes[3]);
/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

Completed in 923 milliseconds

1234567891011>>