/external/openssl/crypto/cms/ |
cms_att.c | 98 const void *bytes, int len) 101 type, bytes, len)) return 1; 107 const void *bytes, int len) 110 type, bytes, len)) return 1; 116 const void *bytes, int len) 119 type, bytes, len)) return 1; 164 const void *bytes, int len) 167 type, bytes, len)) return 1; 173 const void *bytes, int len) 176 type, bytes, len)) return 1 [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
GsmCodec.cpp | 62 unsigned char *bytes = (unsigned char *)payload; local 65 gsm_decode(mDecode, bytes, &samples[n]) == 0) { 68 bytes += 33;
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1BitString.java | 79 byte[] bytes = new byte[in.length - 1]; 80 System.arraycopy(in.buffer, in.contentOffset + 1, bytes, 0, 82 return new BitString(bytes, in.buffer[in.contentOffset]); 90 out.length = ((BitString) out.content).bytes.length + 1; 172 byte[] bytes = new byte[index / 8 + 1]; 175 index = bytes.length - 1; 179 bytes[i] = (byte) (bytes[i] | SET_MASK[k]); 187 bytes[index] = (byte) (bytes[index] | SET_MASK[k]) [all...] |
ASN1StringType.java | 47 byte[] bytes = ((String) out.content).getBytes(StandardCharsets.UTF_8); 48 out.content = bytes; 49 out.length = bytes.length; 112 byte[] bytes = ((String) out.content).getBytes(StandardCharsets.UTF_8); 113 out.content = bytes; 114 out.length = bytes.length;
|
/libcore/luni/src/main/native/ |
java_util_zip_Adler32.cpp | 27 ScopedByteArrayRO bytes(env, byteArray); 28 if (bytes.get() == NULL) { 31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
java_util_zip_CRC32.cpp | 27 ScopedByteArrayRO bytes(env, byteArray); 28 if (bytes.get() == NULL) { 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
MD5Calculator.java | 34 final byte[] bytes = new byte[8192]; 36 while ((byteCount = in.read(bytes)) > 0) { 37 digester.update(bytes, 0, byteCount);
|
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 217 extern "C" void* fill_malloc(size_t bytes) { 218 void* buffer = g_malloc_dispatch->malloc(bytes); 220 memset(buffer, CHK_SENTINEL_VALUE, bytes); 226 size_t bytes = g_malloc_dispatch->malloc_usable_size(mem); local 227 memset(mem, CHK_FILL_FREE, bytes); 231 extern "C" void* fill_realloc(void* mem, size_t bytes) { 233 void* newMem = g_malloc_dispatch->realloc(mem, bytes); 244 extern "C" void* fill_memalign(size_t alignment, size_t bytes) { 245 void* buffer = g_malloc_dispatch->memalign(alignment, bytes); 247 memset(buffer, CHK_SENTINEL_VALUE, bytes); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 24 private static byte[] bytes; field in class:ArrayTest 35 bytes = new byte[] { (byte) 0xff }; 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} 58 assertEquals(bytes[0], Array.getByte(bytes, 0)); 70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} 82 assertEquals((double) bytes[0], Array.getDouble(bytes, 0)); 94 assertEquals((float) bytes[0], Array.getFloat(bytes, 0)) [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
BCodec.java | 81 protected byte[] doEncoding(byte[] bytes) throws EncoderException { 82 if (bytes == null) { 85 return Base64.encodeBase64(bytes); 88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { 89 if (bytes == null) { 92 return Base64.decodeBase64(bytes);
|
/external/chromium_org/content/child/webcrypto/openssl/ |
util_openssl.cc | 78 iv.bytes(), 80 data.bytes(), 82 additional_data.bytes(), 93 iv.bytes(), 95 data.bytes(), 97 additional_data.bytes(),
|
/external/chromium_org/v8/src/ |
snapshot-source-sink.cc | 44 int bytes = 1; 45 if (integer > 0xff) bytes = 2; 46 if (integer > 0xffff) bytes = 3; 47 integer |= bytes; 49 if (bytes > 1) Put(static_cast<int>((integer >> 8) & 0xff), "IntPart2"); 50 if (bytes > 2) Put(static_cast<int>((integer >> 16) & 0xff), "IntPart3");
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
Field_info.java | 75 final UDataInputStream bytes) 78 m_access_flags = bytes.readU2 (); 80 m_name_index = bytes.readU2 (); 81 m_descriptor_index = bytes.readU2 (); 84 final int attributes_count = bytes.readU2 (); 89 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macmouse.c | 56 int row, bytes; local 72 bytes = (w+7)/8; 75 SDL_memcpy(&cursor->curs.data[row], data, bytes); 76 data += bytes; 79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes); 80 mask += bytes;
|
/external/valgrind/main/memcheck/tests/ |
describe-block.stderr.exp | 4 Address 0x........ is 0 bytes inside a magic foople zone of size 4,096 client-defined 9 in use at exit: ... bytes in ... blocks 10 total heap usage: ... allocs, ... frees, ... bytes allocated
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Charsets.java | 49 * Returns a new byte array containing the bytes corresponding to the given characters, 59 * Returns a new byte array containing the bytes corresponding to the given characters, 69 * Returns a new byte array containing the bytes corresponding to the given characters, 79 * Returns a new byte array containing the bytes corresponding to the given characters, 95 * Decodes the given US-ASCII bytes into the given char[]. Equivalent to but faster than: 102 public static void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars) { 103 if (bytes == null || chars == null) { 109 char ch = (char) (bytes[start++] & 0xff); 115 * Decodes the given ISO-8859-1 bytes into the given char[]. Equivalent to but faster than: 121 public static void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
NullInputStream.java | 34 * large numbers of bytes - significantly speeding up 52 * protected void processBytes(byte[] bytes, int offset, int length) { 54 * bytes[i] = ... // set array value here 119 * Return the number of bytes that can be read. 121 * @return The number of bytes that can be read. 149 * @param readlimit The number of bytes before this marked position 192 * Read some bytes into the specified array. 194 * @param bytes The byte array to read into 195 * @return The number of bytes read or <code>-1</code> 202 public int read(byte[] bytes) throws IOException [all...] |
/art/runtime/gc/allocator/ |
rosalloc-inl.h | 39 byte* bytes = reinterpret_cast<byte*>(m); local 41 DCHECK_EQ(bytes[i], 0);
|
/art/test/407-arrays/src/ |
Main.java | 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 37 assertEquals(0, bytes[0]); 38 assertEquals(0, bytes[index]); 56 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 63 bytes[0] = -4; 64 assertEquals(-4, bytes[0]); 65 bytes[index] = -8; 66 assertEquals(-8, bytes[index]);
|
/bionic/libc/kernel/uapi/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/development/ndk/platforms/android-L/include/linux/ |
gen_stats.h | 35 __u64 bytes; member in struct:gnet_stats_basic 40 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/external/bison/lib/ |
calloc.c | 56 size_t bytes = n * s; local 57 if (bytes / s != n)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1ObjectIdentifier.java | 11 ASN1ObjectIdentifier(byte[] bytes) 13 super(bytes);
|
DEROctetString.java | 43 byte[] bytes) 46 derOut.writeEncoded(BERTags.OCTET_STRING, bytes);
|
/external/chromium_org/base/win/ |
scoped_bstr.h | 47 // Allocates a new BSTR with the specified number of bytes. 49 BSTR AllocateBytes(size_t bytes); 52 // |bytes|. This is useful when the BSTR was preallocated with e.g. 54 // not all the bytes are being used. 60 // NOTE: The actual allocated size of the BSTR MUST be >= bytes. That 62 void SetByteLen(size_t bytes); 76 // Returns the number of bytes allocated for the BSTR.
|