/frameworks/base/voip/jni/rtp/ |
AmrCodec.cpp | 102 unsigned char *bytes = (unsigned char *)payload; local 106 samples, bytes + 1, &type, AMR_TX_WMF); 113 bytes[0] = 0xF0; 114 bytes[1] = (mMode << 3) | 0x04; 118 bytes[0] = 0xFF; 119 bytes[1] = 0xC0 | (mMode << 1) | 1; 122 bytes[length + 1] = 0; 124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2) 133 unsigned char *bytes = (unsigned char *)payload; local 226 unsigned char *bytes = (unsigned char *)payload; local 244 unsigned char *bytes = (unsigned char *)payload; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
Strings.java | 8 public static String fromUTF8ByteArray(byte[] bytes) 13 while (i < bytes.length) 16 if ((bytes[i] & 0xf0) == 0xf0) 22 else if ((bytes[i] & 0xe0) == 0xe0) 26 else if ((bytes[i] & 0xc0) == 0xc0) 41 while (i < bytes.length) 45 if ((bytes[i] & 0xf0) == 0xf0) 47 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F) [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 54 // Initially, we're storing the UTF-8 bytes in a byte array. 59 private byte[] bytes; field in class:Utf8Constant 78 this.bytes = null; 84 * Initializes the UTF-8 data with an array of bytes. 86 public void setBytes(byte[] bytes) 88 this.bytes = bytes; 94 * Returns the UTF-8 data as an array of bytes. 107 return bytes; 116 this.bytes = null [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
ByteStringMicro.java | 36 * Immutable array of bytes. 42 private final byte[] bytes; field in class:ByteStringMicro 44 private ByteStringMicro(final byte[] bytes) { 45 this.bytes = bytes; 54 return bytes[index]; 58 * Gets the number of bytes. 61 return bytes.length; 68 return bytes.length == 0; 80 * Copies the given bytes into a {@code ByteStringMicro} [all...] |
/external/llvm/utils/ |
codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespac [all...] |
/external/llvm/docs/CommandGuide/ |
llvm-bcanalyzer.pod | 75 The size, in bytes, of the entire bitcode file. 77 =item B<Module Bytes> 79 The size, in bytes, of the module block. Percentage is relative to File Size. 81 =item B<Function Bytes> 83 The size, in bytes, of all the function blocks. Percentage is relative to File 86 =item B<Global Types Bytes> 88 The size, in bytes, of the Global Types Pool. Percentage is relative to File 91 =item B<Constant Pool Bytes> 93 The size, in bytes, of the Constant Pool Blocks Percentage is relative to File 96 =item B<Module Globals Bytes> [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashCodesTest.java | 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above 30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes 46 // expectedHashCodes must contain at least one hash code with 4 bytes 49 if (expected.bytes.length == 4) { 56 // expectedHashCodes must contain at least one hash code with 8 bytes 59 if (expected.bytes.length == 8) { 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); 74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); 77 assertTrue(Arrays.equals(expected.bytes, bb)); 104 for (int bytes = 0; bytes < totalBytes; bytes++) 113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ByteArray.java | 25 private final byte[] bytes; field in class:ByteArray 28 ByteArray(byte[] bytes) { 29 this.bytes = bytes; 30 this.hashCode = Arrays.hashCode(bytes); 42 return Arrays.equals(bytes, lhs.bytes);
|
/external/chromium/chrome/browser/safe_browsing/ |
report.proto | 26 required bytes name = 1; 27 optional bytes value = 2; 32 optional bytes verb = 1; // Also known as method, eg "GET" 33 optional bytes uri = 2; 34 optional bytes version = 3; 39 optional bytes body = 3; 43 optional bytes bodydigest = 4; 50 optional bytes reason = 2; 51 optional bytes version = 3; 56 optional bytes body = 3 [all...] |
/external/valgrind/main/VEX/orig_amd64/ |
SortedToOrig.hs | 16 bytes = head ws 18 bytes2 = foo bytes 23 ". " ++ show n ++ " 0x12345678 " ++ show (1 + (length bytes `div` 2)),
|
/external/webrtc/src/modules/audio_processing/ |
debug.proto | 14 optional bytes data = 1; 18 optional bytes input_data = 1; 19 optional bytes output_data = 2;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 24 * Contains utility functions for formatting elapsed time and consumed bytes 69 * Formats data size in KB, MB, from the given bytes. 71 * @param bytes data size in bytes 72 * @return the formatted size such as 4.52 MB or 245 KB or 332 bytes 74 public static String formatBytes(Context context, double bytes) { 76 if (bytes > 1000 * 1000) { 77 return String.format("%.2f MB", ((int) (bytes / 1000)) / 1000f); 78 } else if (bytes > 1024) { 79 return String.format("%.2f KB", ((int) (bytes / 10)) / 100f) [all...] |
/external/clang/test/CodeGen/ |
2005-07-26-UnionInitCrash.c | 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon5215
|
/external/dbus/test/data/auth/ |
extra-bytes.auth-script | 1 ## this tests that we have the expected extra bytes at the end
|
/external/iproute2/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 22 __u64 bytes; member in struct:gnet_stats_basic 26 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/external/valgrind/main/drd/tests/ |
tc16_byterace.stderr.exp | 4 Location 0x........ is 0 bytes inside bytes[4], 9 Location 0x........ is 0 bytes inside bytes[4],
|
/external/webkit/LayoutTests/fast/encoding/ |
meta-in-body-expected.txt | 2 This test checks that the charset sniffer scans at least 1024 bytes of data to find a meta tag, even if it is not in the head section.
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/comm/src/ |
omxVCCOMM_Copy16x16_s.s | 8 ; * [in] step - distance between the starts of consecutive lines in the reference frame, in bytes; 49 ;// loading 16 bytes and storing 55 ;// loading 16 bytes and storing 61 ;// loading 16 bytes and storing 67 ;// loading 16 bytes and storing 73 ;// loading 16 bytes and storing 79 ;// loading 16 bytes and storing 85 ;// loading 16 bytes and storing 91 ;// loading 16 bytes and storing 97 ;// loading 16 bytes and storin [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
CharSequences.java | 26 * bytes. 28 * @param bytes ASCII bytes 30 public static CharSequence forAsciiBytes(final byte[] bytes) { 33 return (char) bytes[index]; 37 return bytes.length; 41 return forAsciiBytes(bytes, start, end); 45 return new String(bytes); 52 * bytes. 54 * @param bytes ASCII byte [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DEROctetString.java | 32 byte[] bytes) 35 derOut.writeEncoded(DERTags.OCTET_STRING, bytes);
|
/external/iptables/extensions/ |
libxt_connbytes.man | 1 Match by how many bytes or packets a connection (or one of the two 3 average bytes per packet. 10 The transferred bytes per connection can also be viewed through 20 match packets from a connection whose packets/bytes/average packet 21 size is more than FROM and less than TO bytes/packets. if TO is 29 whether to check the amount of packets, number of bytes transferred or 30 the average size (in bytes) of all packets received so far. Note that 36 iptables .. \-m connbytes \-\-connbytes 10000:100000 \-\-connbytes\-dir both \-\-connbytes\-mode bytes ...
|
/external/llvm/test/Scripts/ |
common_dump.py | 2 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 4 bytes = [] 12 bytes.append(hex_byte) 13 return ''.join(bytes).strip() 16 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 20 bytes = [] 30 bytes.append(hex_byte) 31 return ''.join(bytes).strip()
|
/external/valgrind/main/gdbserver_tests/ |
mcclean_after_fork.stderr.exp | 9 in use at exit: 0 bytes in 0 blocks 10 total heap usage: 0 allocs, 0 frees, 0 bytes allocated
|
mcmain_pic.stderr.exp | 7 in use at exit: 16 bytes in 1 blocks 8 total heap usage: 1 allocs, 0 frees, 16 bytes allocated
|
/external/valgrind/main/memcheck/tests/ |
brk2.stderr.exp | 4 in use at exit: ... bytes in ... blocks 5 total heap usage: ... allocs, ... frees, ... bytes allocated
|