/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowBase64.java | 12 public static String encodeToString(byte[] bytes, int flags) { argument 14 return base64.encodeBase64String(bytes);
|
/external/strace/test/ |
H A D | ubi.c | 17 .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 D | RandomImpl.java | 38 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 D | BCodec.java | 81 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 D | RFC1522Codec.java | 144 * 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 D | mbswidth.c | 101 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 D | CMSProcessableByteArray.java | 19 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 D | BcDigestCalculatorProvider.java | 55 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 D | ASN1ObjectIdentifier.java | 11 ASN1ObjectIdentifier(byte[] bytes) argument 13 super(bytes);
|
H A D | DEROctetString.java | 43 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 D | DESParameters.java | 18 * 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 D | freezer_cgroup_process_manager.cc | 60 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 D | bloom_filter.cc | 32 // 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 D | file_system_browsertest.cc | 64 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 D | plugin_stream_win.cc | 26 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 D | resource_request_body.cc | 13 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 D | cpu_info_provider_win.cc | 44 bytes = sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * local 49 bytes,
|
/external/chromium_org/gin/ |
H A D | array_buffer.h | 33 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 D | MessagePipeHandleImpl.java | 44 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 D | test_data_stream.cc | 13 // 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 D | upload_bytes_element_reader.h | 17 // 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 D | leaky_bucket.cc | 22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) { argument 24 bytes_ += bytes;
|
/external/chromium_org/net/quic/ |
H A D | quic_protocol_test.cc | 29 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 D | x509_certificate_private.cc | 39 bool X509CertificatePrivate::Initialize(const char* bytes, uint32_t length) { argument 44 bytes,
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_x509_certificate_private_thunk.cc | 32 const char *bytes, 37 return enter.object()->Initialize(bytes, length); 31 Initialize(PP_Resource certificate, const char *bytes, uint32_t length) argument
|