/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | URLCodec.java | 109 * Encodes an array of bytes into an array of URL safe 7-bit 113 * @param bytes array of bytes to convert to URL safe characters 114 * @return array of bytes containing URL safe characters 116 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) argument 118 if (bytes == null) { 126 for (int i = 0; i < bytes.length; i++) { 127 int b = bytes[i]; 152 * original bytes. Escaped characters are converted back to their 155 * @param bytes arra 159 decodeUrl(byte[] bytes) argument 196 encode(byte[] bytes) argument 210 decode(byte[] bytes) argument [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
H A D | JcaDigestCalculatorProviderBuilder.java | 91 public void write(byte[] bytes, int off, int len) argument 94 dig.update(bytes, off, len); 97 public void write(byte[] bytes) argument 100 dig.update(bytes);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | DEREnumerated.java | 14 byte[] bytes; field in class:DEREnumerated 80 bytes = BigInteger.valueOf(value).toByteArray(); 89 bytes = value.toByteArray(); 96 byte[] bytes) 98 this.bytes = bytes; 103 return new BigInteger(bytes); 113 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length; 120 out.writeEncoded(BERTags.ENUMERATED, bytes); 95 DEREnumerated( byte[] bytes) argument [all...] |
H A D | DERInteger.java | 14 byte[] bytes; field in class:DERInteger 79 bytes = BigInteger.valueOf(value).toByteArray(); 88 bytes = value.toByteArray(); 95 byte[] bytes) 97 this.bytes = bytes; 102 return new BigInteger(bytes); 111 return new BigInteger(1, bytes); 121 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes 94 DERInteger( byte[] bytes) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
H A D | X509Principal.java | 46 byte[] bytes) 49 super(readSequence(new ASN1InputStream(bytes))); 45 X509Principal( byte[] bytes) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Strings.java | 10 public static String fromUTF8ByteArray(byte[] bytes) argument 15 while (i < bytes.length) 18 if ((bytes[i] & 0xf0) == 0xf0) 24 else if ((bytes[i] & 0xe0) == 0xe0) 28 else if ((bytes[i] & 0xc0) == 0xc0) 43 while (i < bytes.length) 47 if ((bytes[i] & 0xf0) == 0xf0) 49 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[ 250 fromByteArray(byte[] bytes) argument 261 asCharArray(byte[] bytes) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
H A D | PemWriter.java | 42 * Return the number of bytes or characters required to contain the 46 * @return an estimate of the number of bytes 99 private void writeEncoded(byte[] bytes) argument 102 bytes = Base64.encode(bytes); 104 for (int i = 0; i < bytes.length; i += buf.length) 110 if ((i + index) >= bytes.length) 114 buf[index] = (char)bytes[i + index];
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_ashmem.cc | 13 size_t bytes, 16 : bytes_(bytes), 12 DiscardableMemoryAshmem( size_t bytes, DiscardableMemoryAshmemAllocator* allocator, DiscardableMemoryManager* manager) argument
|
/external/chromium_org/cc/resources/ |
H A D | texture_uploader_unittest.cc | 122 const uint8* bytes = static_cast<const uint8*>(pixels); variable 129 bytes + (xoffset * bytes_per_pixel + (yoffset + row) * stride);
|
/external/chromium_org/components/rappor/ |
H A D | rappor_metric.cc | 43 std::string(bytes().begin(), bytes().end()); 44 HmacByteVectorGenerator hmac_generator(bytes().size(), secret, 54 ByteVectorMerge(fake_mask, bytes(), &fake_bits); 57 ByteVectorGenerator coin_generator(bytes().size()); 69 void RapporMetric::SetBytesForTesting(const ByteVector& bytes) { argument 70 bloom_filter_.SetBytesForTesting(bytes);
|
/external/chromium_org/content/child/fileapi/ |
H A D | webfilewriter_base.cc | 73 void WebFileWriterBase::DidWrite(int64 bytes, bool complete) { argument 79 client_->didWrite(bytes, complete);
|
/external/chromium_org/device/hid/ |
H A D | hid_report_descriptor_item.cc | 25 const uint8_t* bytes, 28 Header* header = (Header*)&bytes[0]; 33 payload_size_ = bytes[1]; 37 memcpy(&shortData_, &bytes[GetHeaderSize()], payload_size()); 24 HidReportDescriptorItem( const uint8_t* bytes, HidReportDescriptorItem* previous) argument
|
/external/chromium_org/extensions/browser/api/web_request/ |
H A D | form_data_parser_unittest.cc | 26 // on the source represented by the concatenation of blocks from |bytes|. 30 const std::vector<const base::StringPiece*>& bytes, 38 for (size_t block = 0; block < bytes.size(); ++block) { 39 if (!parser->SetSource(*(bytes[block]))) 50 // on the source represented by the concatenation of blocks from |bytes|. 53 const std::vector<const base::StringPiece*>& bytes) { 59 for (size_t block = 0; block < bytes.size(); ++block) { 60 if (!parser->SetSource(*(bytes[block]))) 29 RunParser(const std::string& content_type_header, const std::vector<const base::StringPiece*>& bytes, std::vector<std::string>* output) argument 52 CheckParserFails(const std::string& content_type_header, const std::vector<const base::StringPiece*>& bytes) argument
|
/external/chromium_org/media/midi/ |
H A D | usb_midi_device_android.cc | 54 std::vector<uint8> bytes; local 55 base::android::JavaByteArrayToByteVector(env, data, &bytes); 57 const uint8* head = bytes.size() ? &bytes[0] : NULL; 58 delegate_->ReceiveUsbMidiData(this, endpoint_number, head, bytes.size(),
|
/external/chromium_org/net/base/ |
H A D | bandwidth_metrics.h | 47 // tracker.RecordSample(bytes); 103 // Add a sample of the number of bytes read from the network into the tracker. 104 void RecordBytes(int bytes) { argument 106 bytes_since_last_start_ += static_cast<int64>(bytes); 128 void RecordBytes(int bytes);
|
/external/chromium_org/ppapi/tests/ |
H A D | test_buffer.cc | 46 unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); local 48 if (bytes[index] != 0)
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
H A D | DocumentWriter.cpp | 90 void DocumentWriter::addData(const char* bytes, size_t length) argument 99 m_parser->appendBytes(bytes, length);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | FileWriterSync.cpp | 91 void FileWriterSync::didWrite(long long bytes, bool complete) argument
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | TestingPlatformSupport.cpp | 78 blink::WebDiscardableMemory* TestingPlatformSupport::allocateAndLockDiscardableMemory(size_t bytes) argument 80 return !m_config.hasDiscardableMemorySupport ? 0 : new TestingDiscardableMemory(bytes);
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | bytestream.cpp | 42 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { argument 52 if (n > 0 && bytes != (outbuf_ + size_)) { 53 uprv_memcpy(outbuf_ + size_, bytes, n);
|
H A D | ucnv_cnv.c | 48 const char *bytes, int32_t length, 56 /* write bytes */ 59 *t++=*bytes++; 65 *t++=*bytes++; 79 *t++=(uint8_t)*bytes++; 47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | radeon_llvm_emit.cpp | 79 * @param bytes This function allocates memory for the byte stream, it is the 83 radeon_llvm_compile(LLVMModuleRef M, unsigned char ** bytes, argument 147 *bytes = (unsigned char*)malloc(data.length() * sizeof(unsigned char)); 148 memcpy(*bytes, data.c_str(), data.length() * sizeof(unsigned char));
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
H A D | glcpp.c | 50 size_t bytes; local 61 bytes = fread (text + total_read, 1, CHUNK, fp); 62 total_read += bytes; 64 if (bytes < CHUNK) {
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 32 void* allocThrow(size_t bytes) { argument 33 return this->alloc(bytes, kThrow_AllocFailType); 37 success, the number of bytes freed is returned, or 0 if the block could 65 Block* newBlock(size_t bytes, AllocFailType ftype);
|