HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 51 - 75 of 6645) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
QuotedPrintable.java 26 * Decodes an array quoted-printable characters into an array of original bytes.
35 * @param bytes array of quoted-printable characters
36 * @return array of original bytes,
39 public static final byte[] decodeQuotedPrintable(byte[] bytes) {
40 if (bytes == null) {
44 for (int i = 0; i < bytes.length; i++) {
45 int b = bytes[i];
48 if('\r' == (char)bytes[i + 1] &&
49 '\n' == (char)bytes[i + 2]) {
53 int u = Character.digit((char) bytes[++i], 16)
    [all...]
  /packages/apps/Messaging/src/android/support/v7/mms/pdu/
QuotedPrintable.java 26 * Decodes an array quoted-printable characters into an array of original bytes.
35 * @param bytes array of quoted-printable characters
36 * @return array of original bytes,
39 public static final byte[] decodeQuotedPrintable(byte[] bytes) {
40 if (bytes == null) {
44 for (int i = 0; i < bytes.length; i++) {
45 int b = bytes[i];
48 if('\r' == (char)bytes[i + 1] &&
49 '\n' == (char)bytes[i + 2]) {
53 int u = Character.digit((char) bytes[++i], 16)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
QuotedPrintable.java 26 * Decodes an array quoted-printable characters into an array of original bytes.
35 * @param bytes array of quoted-printable characters
36 * @return array of original bytes,
39 public static final byte[] decodeQuotedPrintable(byte[] bytes) {
40 if (bytes == null) {
44 for (int i = 0; i < bytes.length; i++) {
45 int b = bytes[i];
48 if ('\r' == (char) bytes[i + 1] &&
49 '\n' == (char) bytes[i + 2]) {
53 int u = Character.digit((char) bytes[++i], 16)
    [all...]
  /external/curl/lib/
curl_des.h 30 void Curl_des_set_odd_parity(unsigned char *bytes, size_t length);
  /external/google-tv-pairing-protocol/cpp/src/polo/util/
poloutil.h 29 // Converts an array of big-endian bytes to a hex string.
30 // @param bytes an array of big-endian bytes
33 static const std::string BytesToHexString(const uint8_t* bytes,
36 // Converts a hex string to an array of big-endian bytes. A new byte array
37 // is created at the given bytes pointer, and the number of bytes is returned.
38 // The byte array must be freed using: delete[] bytes.
40 // @param bytes pointer to a byte array that will be created with the
42 // @return the number of bytes in the resulting byte arra
    [all...]
poloutil.cc 22 const std::string PoloUtil::BytesToHexString(const uint8_t* bytes,
25 BIGNUM* bn = BN_bin2bn(bytes, length, NULL);
34 uint8_t*& bytes) {
39 bytes = new uint8_t[length];
40 BN_bn2bin(bn, &bytes[0]);
46 uint8_t*& bytes) {
51 // Initialize the array to 0 so there will be leading null bytes if the
52 // number is less than 4 bytes long.
53 bytes = new uint8_t[4];
55 bytes[i] = 0
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
RawCollationKey.java 32 * // do something with key.bytes
62 bytes = new byte[capacity];
66 * RawCollationKey created, adopting bytes as the internal byte array.
68 * @param bytes byte array to be adopted by RawCollationKey
71 public RawCollationKey(byte[] bytes)
73 this.bytes = bytes;
  /external/libchrome/crypto/
random.h 14 // Fills the given buffer with |length| random bytes of cryptographically
17 CRYPTO_EXPORT void RandBytes(void *bytes, size_t length);
  /external/valgrind/none/tests/s390x/
trtt.stdout.exp 1 0 bytes translated
3 0 bytes translated
5 0 bytes translated
7 2 bytes translated
9 5 bytes translated
11 0 bytes translated
13 3 bytes translated
15 9 bytes translated
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
encode.h 29 uint16_t *bytes, /* (o) encoded data bits iLBC */
  /external/protobuf/java/src/main/java/com/google/protobuf/
Utf8.java 47 * those that can be roundtrip converted to Strings and back to bytes
49 * Arrays.equals(bytes, new String(bytes, "UTF-8").getBytes("UTF-8"))
57 * bytes in a complete UTF-8 byte sequences can be stored in multiple
72 * complete (no further bytes are needed to complete a character).
82 // Other state values include the partial bytes of the incomplete
83 // character to be decoded in the simplest way: we pack the bytes
97 // to, because partial bytes must always be negative. When building
98 // a state, we ensure that byte1 is negative and subsequent bytes
99 // are valid trailing bytes
    [all...]
  /external/emma/core/java12/com/vladium/emma/rt/
ClassPathCacheEntry.java 28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL)
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReaderVariable.java 22 public static long read(ByteBuffer bb, int bytes) {
23 switch (bytes) {
35 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
  /frameworks/rs/
rsFifo.h 38 bool virtual writeAsync(const void *data, size_t bytes, bool waitForSpace = true) = 0;
40 size_t virtual read(void *data, size_t bytes, bool doWait = true, uint64_t timeToWait = 0) = 0;
41 void virtual readReturn(const void *data, size_t bytes) = 0;
  /hardware/bsp/intel/peripheral/libupm/src/lcd/
javaupm_i2clcd.i 10 %typemap(jni) (uint8_t *data, int bytes) "jbyteArray";
11 %typemap(jtype) (uint8_t *data, int bytes) "byte[]";
12 %typemap(jstype) (uint8_t *data, int bytes) "byte[]";
14 %typemap(javain) (uint8_t *data, int bytes) "$javainput";
16 %typemap(in) (uint8_t *data, int bytes) {
21 %typemap(freearg) (uint8_t *data, int bytes) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/util/
NumberUtils.java 34 public static int littleEndianByteArrayToInt(byte[] bytes) {
35 int length = bytes.length;
41 int value = unsignedByteToInt(bytes[i]);
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
ByteArrays.java 33 * {@code 2 * bytes.length} characters long.
35 public static String toHexString(byte[] bytes) {
36 StringBuilder sb = new StringBuilder(2 * bytes.length);
37 for (byte b : bytes) {
  /external/sl4a/Common/src/org/apache/commons/codec/binary/
StringUtils.java 25 * Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a
37 * Encodes the given string into a sequence of bytes using the ISO-8859-1 charset, storing the result into a new
42 * @return encoded bytes
53 * Encodes the given string into a sequence of bytes using the US-ASCII charset, storing the result into a new byte
58 * @return encoded bytes
69 * Encodes the given string into a sequence of bytes using the UTF-16 charset, storing the result into a new byte
74 * @return encoded bytes
85 * Encodes the given string into a sequence of bytes using the UTF-16BE charset, storing the result into a new byte
90 * @return encoded bytes
101 * Encodes the given string into a sequence of bytes using the UTF-16LE charset, storing the result into a new byt
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUBinary.java 55 static boolean validate(ByteBuffer bytes) {
57 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
61 int count = bytes.getInt(bytes.position()); // Do not move the position.
65 // For each item, there is one ToC entry (8 bytes) and a name string
66 // and a data item of at least 16 bytes.
68 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) {
71 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) |
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUBinary.java 51 static boolean validate(ByteBuffer bytes) {
53 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
57 int count = bytes.getInt(bytes.position()); // Do not move the position.
61 // For each item, there is one ToC entry (8 bytes) and a name string
62 // and a data item of at least 16 bytes.
64 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) {
67 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) |
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
ByteArrayFetcher.java 13 private final byte[] bytes; field in class:ByteArrayFetcher
16 public ByteArrayFetcher(byte[] bytes, String id) {
17 this.bytes = bytes;
23 return new ByteArrayInputStream(bytes);
  /external/google-tv-pairing-protocol/cpp/src/polo/encoding/
hexadecimalencoder.cc 34 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/android_icu4j/src/main/java/android/icu/util/
ByteArrayWrapper.java 32 public byte[] bytes; field in class:ByteArrayWrapper
36 * Different from bytes.length, size will be &lt;= bytes.length.
47 // leave bytes null, don't allocate twice
61 this.bytes = bytesToAdopt;
71 bytes = new byte[size];
72 source.get(bytes,0,size);
80 bytes = new byte[size];
81 copyBytes(source.bytes, 0, bytes, 0, size)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
ByteArrayWrapper.java 32 public byte[] bytes; field in class:ByteArrayWrapper
36 * Different from bytes.length, size will be &lt;= bytes.length.
49 // leave bytes null, don't allocate twice
64 this.bytes = bytesToAdopt;
75 bytes = new byte[size];
76 source.get(bytes,0,size);
84 bytes = new byte[size];
85 copyBytes(source.bytes, 0, bytes, 0, size)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
ExtensionProfileLevelDescriptor.java 33 byte[] bytes; field in class:ExtensionProfileLevelDescriptor
38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));

Completed in 3730 milliseconds

1 23 4 5 6 7 8 91011>>