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

<<11121314151617181920>>

  /external/guava/guava-tests/test/com/google/common/hash/
ChecksumHashFunctionTest.java 68 byte[] bytes = HashTestUtils.ascii(input);
71 checksum.update(bytes, 0, bytes.length);
77 assertEquals(value, func.hashBytes(bytes).padToLong());
81 byte[] bytes = HashTestUtils.ascii(input);
84 assertEquals(expected, func.hashBytes(bytes).asInt());
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DictionaryData.java 49 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
50 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
54 indexes[i] = bytes.getInt();
60 ICUBinary.skipBytes(bytes, diff);
68 bytes.get(data);
72 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DictionaryData.java 48 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
49 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
53 indexes[i] = bytes.getInt();
59 ICUBinary.skipBytes(bytes, diff);
67 bytes.get(data);
71 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
  /external/libxml2/
testOOMlib.c 123 test_malloc (size_t bytes)
131 if (bytes == 0) /* some system mallocs handle this, some don't */
136 mem = xmlMemMalloc (bytes);
147 size_t bytes)
155 if (bytes == 0) /* guarantee this is safe */
163 mem = xmlMemRealloc (memory, bytes);
  /external/valgrind/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...]
  /prebuilts/go/darwin-x86/src/compress/zlib/
example_test.go 8 "bytes"
16 var b bytes.Buffer
21 fmt.Println(b.Bytes())
28 b := bytes.NewReader(buff)
  /prebuilts/go/darwin-x86/src/crypto/rand/
example_test.go 8 "bytes"
23 // The slice should now contain random bytes instead of only zeroes.
24 fmt.Println(bytes.Equal(b, make([]byte, c)))
  /prebuilts/go/linux-x86/src/compress/zlib/
example_test.go 8 "bytes"
16 var b bytes.Buffer
21 fmt.Println(b.Bytes())
28 b := bytes.NewReader(buff)
  /prebuilts/go/linux-x86/src/crypto/rand/
example_test.go 8 "bytes"
23 // The slice should now contain random bytes instead of only zeroes.
24 fmt.Println(bytes.Equal(b, make([]byte, c)))
  /art/test/580-checker-string-factory-intrinsics/src/
Main.java 26 byte[] bytes = { 'f', 'o', 'o' };
27 String s = StringFactory.newStringFromBytes(bytes, 0, 0, 3);
  /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-21/include/linux/
gen_stats.h 36 __u64 bytes; member in struct:gnet_stats_basic
41 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/avahi/avahi-sharp/
Utility.cs 48 byte[] bytes = new byte[len];
49 Marshal.Copy (ptr, bytes, 0, len);
50 return Encoding.UTF8.GetString (bytes);
76 byte[] bytes = Utility.StringToBytes (str);
77 IntPtr buf = Stdlib.malloc ((uint) bytes.Length + 1);
78 Marshal.Copy (bytes, 0, buf, bytes.Length);
79 Marshal.WriteByte (buf, bytes.Length, 0);
  /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/
DEROctetString.java 53 byte[] bytes)
56 derOut.writeEncoded(BERTags.OCTET_STRING, bytes);
  /external/elfutils/tests/
run-readelf-test2.sh 24 Hex dump of section [6] '.strtab', 1 bytes at offset 0x290:
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_String_info.java 75 protected CONSTANT_String_info (final UDataInputStream bytes) throws IOException
77 m_string_index = bytes.readU2 ();
  /external/fio/os/
os-aix.h 29 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)
34 *bytes = (unsigned long long)info.un.scdk.numblks *
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterAliasDataReader.java 20 * units, and not to the bytes (uint8_t units). Addressing everything on
130 * @param bytes ICU uprop.dat file buffer
133 protected UConverterAliasDataReader(ByteBuffer bytes)
135 //if(debug) System.out.println("Bytes in buffer " + bytes.remaining());
137 byteBuffer = bytes;
140 //if(debug) System.out.println("Bytes left in byteBuffer " + byteBuffer.remaining());
  /external/iproute2/include/linux/
gen_stats.h 19 * @bytes: number of seen bytes
23 __u64 bytes; member in struct:gnet_stats_basic
27 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/kernel-headers/original/uapi/linux/
gen_stats.h 19 * @bytes: number of seen bytes
23 __u64 bytes; member in struct:gnet_stats_basic
27 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/net/
URLEncoder.java 62 byte[] bytes = new String(new char[] { ch }).getBytes();
63 for (int j = 0; j < bytes.length; j++) {
65 buf.append(digits.charAt((bytes[j] & 0xf0) >> 4));
66 buf.append(digits.charAt(bytes[j] & 0xf));
127 byte[] bytes = s.getBytes(enc);
128 for (int j = 0; j < bytes.length; j++) {
130 buf.append(digits.charAt((bytes[j] & 0xf0) >> 4));
131 buf.append(digits.charAt(bytes[j] & 0xf));
  /external/mesa3d/src/gallium/auxiliary/util/
u_linear.c 42 size_t bytes = t->cols * t->block.size; local
51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x;
53 memcpy(dst_ptr2, ptr, bytes);
54 dst_ptr2 += bytes;
66 size_t bytes = t->cols * t->block.size; local
73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x;
75 memcpy(ptr, src_ptr2, bytes);
76 src_ptr2 += bytes;

Completed in 1104 milliseconds

<<11121314151617181920>>