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

1 23 4 5 6 7 8 91011>>

  /external/emma/core/java12/com/vladium/emma/rt/
IClassLoadHook.java 26 // * returns false, the current loader will load the class bytes itself and
62 * class definition in 'bytes' ('out' could be backed by the same array as
63 * 'bytes')
68 byte [] bytes, int length,
  /external/kernel-headers/original/linux/raid/
xor.h 8 extern void xor_block(unsigned int count, unsigned int bytes, void **ptr);
  /frameworks/base/libs/rs/
rsLocklessFifo.h 71 void * reserve(uint32_t bytes);
72 void commit(uint32_t command, uint32_t bytes);
73 void commitSync(uint32_t command, uint32_t bytes);
79 void makeSpace(uint32_t 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
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
IOUtil.java 46 public static int readInputStreamReader(InputStream in, ByteBuffer bytes,
52 fillBuf(in, bytes, chars, decoder);
76 InputStream in, ByteBuffer bytes, CharBuffer chars,
86 fillBuf(in, bytes, chars, decoder);
101 fillBuf(in, bytes, chars, decoder);
120 private static void fillBuf(InputStream in, ByteBuffer bytes,
125 read = in.read(bytes.array());
134 bytes.limit(read);
136 CoderResult result = decoder.decode(bytes, chars, endOfInput);
140 bytes.clear()
    [all...]
  /bootable/bootloader/legacy/libboot/
tags_revision.c 33 static void tag_revision(unsigned tag, void *data, unsigned bytes, void *cookie)
35 if(bytes == 4) {
tags_serialno.c 33 static void tag_serialno(unsigned tag, void *data, unsigned bytes, void *cookie)
35 if(bytes == 8) {
  /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...]
MemberListParser.java 59 * @param offset offset in {@code bytes} to the start of the list
118 ByteArray bytes = cf.getBytes(); local
119 return bytes.getUnsignedShort(offset);
177 ByteArray bytes = cf.getBytes(); local
181 observer.parsed(bytes, offset, 2,
187 int accessFlags = bytes.getUnsignedShort(at);
188 int nameIdx = bytes.getUnsignedShort(at + 2);
189 int descIdx = bytes.getUnsignedShort(at + 4);
194 observer.startParsingMember(bytes, at, name.getString(),
196 observer.parsed(bytes, at, 0, "\n" + humanName()
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DEROctetString.java 32 byte[] bytes)
35 derOut.writeEncoded(DERTags.OCTET_STRING, 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/webkit/WebCore/platform/text/
TextCodecUTF16.cpp 67 String TextCodecUTF16::decode(const char* bytes, size_t length, bool, bool, bool&)
72 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes);
118 char* bytes; local
119 CString string = CString::newUninitialized(length * 2, bytes);
126 bytes[i * 2] = c;
127 bytes[i * 2 + 1] = c >> 8;
132 bytes[i * 2] = c >> 8;
133 bytes[i * 2 + 1] = c;
  /libcore/luni/src/main/java/java/nio/charset/
Charsets.java 45 * Returns a new byte array containing the bytes corresponding to the given characters,
51 * Returns a new byte array containing the bytes corresponding to the given characters,
57 * Returns a new byte array containing the bytes corresponding to the given characters,
63 * Decodes the given US-ASCII bytes into the given char[]. Equivalent to but faster than:
70 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars);
73 * Decodes the given ISO-8859-1 bytes into the given char[]. Equivalent to but faster than:
79 public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
  /frameworks/base/cmds/keystore/
keystore_get.h 38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
42 uint8_t bytes[2] = {length >> 8, length}; local
54 if (send(sock, &code, 1, 0) == 1 && send(sock, bytes, 2, 0) == 2 &&
57 recv(sock, &bytes[0], 1, 0) == 1 && recv(sock, &bytes[1], 1, 0) == 1) {
59 length = bytes[0] << 8 | bytes[1];
  /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));
  /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...]
  /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));
96 long origin1EstimatedSize = bytes(3.5);
104 long origin2EstimatedSize = bytes(2.5);
127 long origin3EstimatedSize = bytes(5);
145 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater);
149 mAppCacheInfo.setAppCacheSizeBytes(bytes(2));
151 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater);
159 manager.onReachedMaxAppCacheSize(bytes(1.5), totalUsedQuota, mQuotaUpdater)
    [all...]
  /bionic/libc/bionic/
malloc_debug_leak.c 336 size_t offset, bytes; local
340 /* first check the bytes in the sentinel header */
346 "corrupted %d bytes before allocation",
355 bytes = *(size_t *)(buffer + offset);
357 buf = (char*)mem + bytes;
362 "corrupted %d bytes after allocation",
363 func, buffer, bytes, i+1);
368 *allocated = bytes;
373 void* chk_malloc(size_t bytes)
375 char* buffer = (char*)dlmalloc(bytes + CHK_OVERHEAD_SIZE)
465 size_t bytes = dlmalloc_usable_size(mem); local
    [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...]
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
Attribute_info.java 41 * item indicates the length of the subsequent information in bytes. The length
42 * does not include the initial six bytes that contain the attribute_name_index
96 * 'bytes'.
99 * @param bytes input .class data stream [may not be null; not validated]
106 final UDataInputStream bytes)
109 final int attribute_name_index = bytes.readU2 ();
110 final long attribute_length = bytes.readU4 ();
117 return new CodeAttribute_info (constants, attribute_name_index, attribute_length, bytes);
121 return new ConstantValueAttribute_info (attribute_name_index, attribute_length, bytes);
125 return new ExceptionsAttribute_info (attribute_name_index, attribute_length, bytes);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 35 * Input class for the pipelined parser. Buffer all bytes read from the socket
87 byte[] bytes; field in class:Pipeline.Buffer
93 public Buffer(byte[] bytes, int length) {
96 this.bytes = bytes;
100 int retval = bytes[ptr++] & 0xFF;
131 public void write(byte[] bytes, int start, int length) throws IOException {
134 Buffer buff = new Buffer(bytes, length);
142 public void write(byte[] bytes) throws IOException {
145 Buffer buff = new Buffer(bytes, bytes.length)
    [all...]
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 123 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
132 * @param bytes
133 * array of bytes to be encoded
134 * @return array of bytes containing quoted-printable data
136 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) {
137 if (bytes == null) {
144 for (int i = 0; i < bytes.length; i++) {
145 int b = bytes[i];
159 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
167 * @param bytes
    [all...]
URLCodec.java 104 * Encodes an array of bytes into an array of URL safe 7-bit
108 * @param bytes array of bytes to convert to URL safe characters
109 * @return array of bytes containing URL safe characters
111 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes)
113 if (bytes == null) {
121 for (int i = 0; i < bytes.length; i++) {
122 int b = bytes[i];
147 * original bytes. Escaped characters are converted back to their
150 * @param bytes array of URL safe character
    [all...]

Completed in 263 milliseconds

1 23 4 5 6 7 8 91011>>