HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 126 - 150 of 2202) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/benchmarks/src/benchmarks/regression/
ChecksumBenchmark.java 27 byte[] bytes = new byte[10000];
30 adler.update(bytes);
40 byte[] bytes = new byte[10000];
43 crc.update(bytes);
  /libcore/luni/src/main/java/java/security/
SecureRandomSpi.java 43 * Generates and stores random bytes in the given {@code byte[]} for each
46 * @param bytes
47 * the {@code byte[]} to be filled with random bytes.
49 protected abstract void engineNextBytes(byte[] bytes);
52 * Generates and returns the specified number of seed bytes, computed using
56 * the number of seed bytes.
57 * @return the seed bytes
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 43 // 16 bytes for 128-bit fingerprint
61 // md5 digest bytes.
67 public Fingerprint(byte[] bytes) {
68 if ((bytes == null) || (bytes.length != FINGERPRINT_BYTE_LENGTH)) {
71 mMd5Digest = bytes;
87 byte[] bytes = new byte[8192];
90 int n = in.read(bytes);
111 // decode the hex bytes of the fingerprint portion
112 byte[] bytes = new byte[FINGERPRINT_BYTE_LENGTH]
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeFactory.java 56 * Parses and makes an attribute based on the bytes at the
64 * @param offset offset into {@code dcf}'s {@code bytes}
82 ByteArray bytes = cf.getBytes(); local
84 int nameIdx = bytes.getUnsignedShort(offset);
85 int length = bytes.getInt(offset + 2);
90 observer.parsed(bytes, offset, 2,
92 observer.parsed(bytes, offset + 2, 4,
115 * @param offset offset into {@code bytes} to start parsing at; this
124 ByteArray bytes = cf.getBytes(); local
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1ObjectIdentifier.java 11 ASN1ObjectIdentifier(byte[] bytes)
13 super(bytes);
DERBitString.java 69 * return the correct number of bytes for a bit string defined in
74 int bytes = 4; local
81 bytes--;
84 byte[] result = new byte[bytes];
85 for (int i = 0; i < bytes; i++)
216 byte[] bytes = new byte[getBytes().length + 1];
218 bytes[0] = (byte)getPadBits();
219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local
221 out.writeEncoded(BERTags.BIT_STRING, bytes);
    [all...]
ASN1OutputStream.java 52 void write(byte[] bytes)
55 os.write(bytes);
58 void write(byte[] bytes, int off, int len)
61 os.write(bytes, off, len);
66 byte[] bytes)
70 writeLength(bytes.length);
71 write(bytes);
107 void writeEncoded(int flags, int tagNo, byte[] bytes)
111 writeLength(bytes.length);
112 write(bytes);
    [all...]
  /external/chromium/net/base/
bandwidth_metrics.cc 32 void ScopedBandwidthMetrics::RecordBytes(int bytes) {
33 g_bandwidth_metrics.Get().RecordBytes(bytes);
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_stream_hixie75.py 48 for length, bytes in ((0, '\x00'), (0x7f, '\x7f'), (0x80, '\x81\x00'),
50 test_stream = StreamHixie75(_create_request_hixie75(bytes))
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_Fieldref_info.java 63 protected CONSTANT_Fieldref_info (final UDataInputStream bytes) throws IOException
65 super (bytes);
CONSTANT_InterfaceMethodref_info.java 62 protected CONSTANT_InterfaceMethodref_info (final UDataInputStream bytes) throws IOException
64 super (bytes);
CONSTANT_Methodref_info.java 63 protected CONSTANT_Methodref_info (final UDataInputStream bytes) throws IOException
65 super (bytes);
  /external/llvm/lib/Target/MSP430/
MSP430MachineFunctionInfo.h 27 /// stack frame in bytes.
43 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
  /external/skia/include/core/
SkGraphics.h 36 * Return the max number of bytes that should be used by the font cache.
43 * Specify the max number of bytes that should be used by the font cache.
49 static size_t SetFontCacheLimit(size_t bytes);
52 * Return the number of bytes currently used by the font cache.
74 * Return the max number of bytes that should be used by the thread-local
87 * Specify the max number of bytes that should be used by the thread-local
91 static void SetTLSFontCacheLimit(size_t bytes);
  /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],
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLRandom.java 31 protected void engineNextBytes(byte[] bytes) {
32 NativeCrypto.RAND_bytes(bytes);
  /dalvik/dx/src/com/android/dx/io/
DexHasher.java 34 * Returns the signature of all but the first 32 bytes of {@code dex}. The
35 * first 32 bytes of dex files are not specified to be included in the
47 byte[] bytes = dex.getBytes();
48 digest.update(bytes, offset, bytes.length - offset);
53 * Returns the checksum of all but the first 12 bytes of {@code dex}.
59 byte[] bytes = dex.getBytes();
60 adler32.update(bytes, offset, bytes.length - offset);
  /external/llvm/lib/Target/AArch64/
AArch64MachineFunctionInfo.h 26 /// Number of bytes of arguments this function has on the stack. If the callee
31 /// want to transfer control from a function with 8-bytes of stack-argument
32 /// space to a function with 16-bytes then misalignment of this value would
37 /// The number of bytes to restore to deallocate space for incoming
114 void setBytesInStackArgArea (unsigned bytes) { BytesInStackArgArea = bytes;}
117 void setArgumentStackToRestore(unsigned bytes) {
118 ArgumentStackToRestore = bytes;
122 void setInitialStackAdjust(unsigned bytes) { InitialStackAdjust = bytes; }
    [all...]
  /external/smack/src/org/xbill/DNS/
ARecord.java 37 byte [] bytes = new byte[4];
38 bytes[0] = (byte) ((addr >>> 24) & 0xFF);
39 bytes[1] = (byte) ((addr >>> 16) & 0xFF);
40 bytes[2] = (byte) ((addr >>> 8) & 0xFF);
41 bytes[3] = (byte) (addr & 0xFF);
42 return bytes;
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
CharSequencesTest.java 29 byte[] bytes = s.getBytes();
31 String copy = toString(forAsciiBytes(bytes));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
37 String crazy = toString(forAsciiBytes(bytes, 0, 5));
40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3));
43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3));
  /external/flac/libFLAC/
ogg_decoder_aspect.c 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data)
108 const size_t bytes_requested = *bytes;
121 * the same number of bytes from Ogg, then pass what's decoded down to
133 * to read in enough pages to return the full number of bytes
136 *bytes = 0;
137 while (*bytes < bytes_requested && !aspect->end_of_stream) {
140 size_t n = bytes_requested - *bytes;
141 if ((size_t)aspect->working_packet.bytes <= n) {
143 n = aspect->working_packet.bytes;
145 *bytes += n
    [all...]
  /external/valgrind/main/memcheck/tests/
leak-delta.stderr.exp 1 expecting details 10 bytes reachable
2 10 bytes in 1 blocks are still reachable in loss record ... of ...
8 expecting details +10 bytes lost, +21 bytes reachable
9 10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ...
14 21 (+21) bytes in 1 (+1) blocks are still reachable in loss record ... of ...
19 expecting details +65 bytes reachable
20 65 (+65) bytes in 2 (+2) blocks are still reachable in loss record ... of ...
26 expecting details +10 bytes reachable
27 10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ..
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 26 private ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:DataOutputStreamTest
27 private DataOutputStream os = new DataOutputStream(bytes);
32 assertEquals("[01, 00]", toHexString(bytes.toByteArray()));
42 assertEquals("[ff, 00, 01, 81, 34]", toHexString(bytes.toByteArray()));
48 assertEquals("[30, 34, 31]", toHexString(bytes.toByteArray()));
55 assertEquals("[00, 30, 12, 34]", toHexString(bytes.toByteArray()));
61 assertEquals("[00, 30, 12, 34, 00, 31]", toHexString(bytes.toByteArray()));
66 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray()));
71 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()));
76 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()))
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/
WebStorageSizeManagerUnitTests.java 77 private long bytes(double megabytes) { method in class:WebStorageSizeManagerUnitTests
88 mDiskInfo.setTotalSizeBytes(bytes(75));
89 mDiskInfo.setFreeSpaceSizeBytes(bytes(24));
97 long origin1EstimatedSize = bytes(3.5);
105 long origin2EstimatedSize = bytes(2.5);
128 long origin3EstimatedSize = bytes(5);
146 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater);
150 mAppCacheInfo.setAppCacheSizeBytes(bytes(2));
152 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater);
160 manager.onReachedMaxAppCacheSize(bytes(1.5), totalUsedQuota, mQuotaUpdater)
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
Main.java 49 } else if (arg.equals("--bytes")) {
88 byte[] bytes = FileUtils.readFile(name);
92 src = new String(bytes, "utf-8");
96 bytes = HexParser.parse(src);
98 processOne(name, bytes);
114 * @param bytes {@code non-null;} contents of the file
116 private static void processOne(String name, byte[] bytes) {
118 DotDumper.dump(bytes, name, parsedArgs);
120 BlockDumper.dump(bytes, System.out, name, false, parsedArgs);
122 BlockDumper.dump(bytes, System.out, name, true, parsedArgs)
    [all...]

Completed in 897 milliseconds

1 2 3 4 56 7 8 91011>>