HomeSort by relevance Sort by last modified time
    Searched defs:BYTES (Results 1 - 25 of 231) sorted by null

1 2 3 4 5 6 7 8 910

  /external/pdfium/xfa/fxbarcode/pdf417/
BC_PDF417Compaction.h 11 enum Compaction { AUTO, TEXT, BYTES, NUMERIC };
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock.c 13 #define BYTES 64
38 * else with 0's. Number of charcters in any line are BYTES-1,
41 for (i = 0; i < BYTES - 1; i++) {
47 buf[BYTES - 1] = '\n';
55 offset += 2 * BYTES;
61 offset = BYTES;
63 offset += 2 * BYTES;
68 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0)
74 write(fd, buf, BYTES);
76 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0
    [all...]
  /external/python/cpython2/Modules/_ctypes/libffi_msvc/
ffi.c 108 /* On Win64, if a single argument takes more than 8 bytes,
122 if (argp - stack > ecif->cif->bytes)
146 otherwise, put the 4- or 8-bytes integer type. */
218 return ffi_call_x86(ffi_prep_args, &ecif, cif->bytes,
224 return ffi_call_AMD64(ffi_prep_args, &ecif, cif->bytes,
382 /* On Win64, if a single argument takes more than 8 bytes,
409 short bytes; local
417 bytes = 0;
420 bytes = cif->bytes;
    [all...]
  /external/ltp/testcases/kernel/syscalls/ipc/msgctl/
msgctl07.c 53 #define BYTES 100
68 char text[BYTES];
112 for (i = 0; i < BYTES; i++)
115 if (msgsnd(msqid, &p1_msgp, BYTES, 0) == -1) {
152 for (i = 0; i < BYTES; i++)
155 if (msgsnd(msqid, &p1_msgp, BYTES, 0) == -1) {
161 for (j = 0; j < BYTES; j++)
164 if (msgsnd(msqid, &p2_msgp, BYTES, 0) == -1) {
170 for (k = 0; k < BYTES; k++)
173 if (msgsnd(msqid, &p3_msgp, BYTES, 0) == -1)
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
Byte.java 511 * The number of bytes used to represent a {@code byte} value in two's
516 public static final int BYTES = SIZE / Byte.SIZE;
Short.java 475 * The number of bytes used to represent a {@code short} value in two's
480 public static final int BYTES = SIZE / Byte.SIZE;
483 * Returns the value obtained by reversing the order of the bytes in the
486 * @param i the value whose bytes are to be reversed
488 * the bytes in the specified {@code short} value.
Double.java 127 * The number of bytes used to represent a {@code double} value.
131 public static final int BYTES = SIZE / Byte.SIZE;
    [all...]
Float.java 125 * The number of bytes used to represent a {@code float} value.
129 public static final int BYTES = SIZE / Byte.SIZE;
    [all...]
Long.java     [all...]
  /external/guava/guava/src/com/google/common/primitives/
Chars.java 55 * The number of bytes required to represent a primitive {@code char}
58 public static final int BYTES = Character.SIZE / Byte.SIZE;
299 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
300 * ByteBuffer.wrap(bytes).getChar()}. For example, the input byte array
306 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
310 public static char fromByteArray(byte[] bytes) {
311 checkArgument(bytes.length >= BYTES,
312 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Floats.java 58 * The number of bytes required to represent a primitive {@code float}
63 public static final int BYTES = Float.SIZE / Byte.SIZE;
Shorts.java 54 * The number of bytes required to represent a primitive {@code short}
57 public static final int BYTES = Short.SIZE / Byte.SIZE;
307 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
308 * ByteBuffer.wrap(bytes).getShort()}. For example, the input byte array
314 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
318 public static short fromByteArray(byte[] bytes) {
319 checkArgument(bytes.length >= BYTES,
320 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Doubles.java 59 * The number of bytes required to represent a primitive {@code double}
64 public static final int BYTES = Double.SIZE / Byte.SIZE;
Ints.java 56 * The number of bytes required to represent a primitive {@code int}
59 public static final int BYTES = Integer.SIZE / Byte.SIZE;
309 * the first 4 bytes of {@code bytes}; equivalent to {@code
310 * ByteBuffer.wrap(bytes).getInt()}. For example, the input byte array {@code
317 * @throws IllegalArgumentException if {@code bytes} has fewer than 4 elements
320 public static int fromByteArray(byte[] bytes) {
321 checkArgument(bytes.length >= BYTES,
322 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Longs.java 53 * The number of bytes required to represent a primitive {@code long}
56 public static final int BYTES = Long.SIZE / Byte.SIZE;
278 * stored in the first 8 bytes of {@code bytes}; equivalent to {@code
279 * ByteBuffer.wrap(bytes).getLong()}. For example, the input byte array
286 * @throws IllegalArgumentException if {@code bytes} has fewer than 8
289 public static long fromByteArray(byte[] bytes) {
290 checkArgument(bytes.length >= BYTES,
291 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 53 * The number of bytes required to represent a primitive {@code char}
56 public static final int BYTES = Character.SIZE / Byte.SIZE;
Doubles.java 54 * The number of bytes required to represent a primitive {@code double}
59 public static final int BYTES = Double.SIZE / Byte.SIZE;
Floats.java 54 * The number of bytes required to represent a primitive {@code float}
59 public static final int BYTES = Float.SIZE / Byte.SIZE;
Shorts.java 52 * The number of bytes required to represent a primitive {@code short}
55 public static final int BYTES = Short.SIZE / Byte.SIZE;
Ints.java 55 * The number of bytes required to represent a primitive {@code int}
58 public static final int BYTES = Integer.SIZE / Byte.SIZE;
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
WireFormat.java 133 BYTES (JavaType.BYTE_STRING, WIRETYPE_LENGTH_DELIMITED) {
176 * contain non-UTF8 bytes.
179 /** Eagerly parses to String; silently accepts invalid UTF8 bytes. */
186 /** Eagerly parses to String; throws an IOException on invalid bytes. */
232 case BYTES : return input.readBytes ();
  /frameworks/base/core/tests/coretests/src/android/util/
Base64Test.java 57 /** Assert that actual equals the first len bytes of expected. */
65 /** Assert that actual equals the first len bytes of expected. */
73 /** Assert that actual equals the first len bytes of expected. */
123 private static final byte[] BYTES = { (byte) 0xff, (byte) 0xee, (byte) 0xdd,
128 assertEquals(BYTES, 0, Base64.decode("", 0));
129 assertEquals(BYTES, 1, Base64.decode("/w==", 0));
130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0));
131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0));
132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0));
133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0))
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMap.java 37 BYTES, CHARS
64 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
75 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
117 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap
136 int limit = ByteConverter.getBytes(c, bytes, 0);
137 result = limit == 1 ? bytesTrie.next(bytes[0]) : bytesTrie.next(bytes, 0, limit);
147 // byte[] bytes = new byte[3];
150 // int limit = ByteConverter.getBytes(c, bytes, 0);
152 // result = bytesTrie.next(bytes[j]&0xFF)
215 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap.BytesMatcher
278 byte[] bytes = new byte[200]; field in class:TrieMap.BytesBuilder
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMap.java 36 BYTES, CHARS
63 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
74 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>()
116 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap
135 int limit = ByteConverter.getBytes(c, bytes, 0);
136 result = limit == 1 ? bytesTrie.next(bytes[0]) : bytesTrie.next(bytes, 0, limit);
146 // byte[] bytes = new byte[3];
149 // int limit = ByteConverter.getBytes(c, bytes, 0);
151 // result = bytesTrie.next(bytes[j]&0xFF)
214 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap.BytesMatcher
277 byte[] bytes = new byte[200]; field in class:TrieMap.BytesBuilder
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
NioByteStringTest.java 58 private static final byte[] BYTES = ByteStringTest.getTestBytes(1234, 11337766L);
59 private static final int EXPECTED_HASH = ByteString.wrap(BYTES).hashCode();
61 private final ByteBuffer backingBuffer = ByteBuffer.wrap(BYTES.clone());
77 for (int i = 0; stillEqual && i < BYTES.length; ++i) {
78 stillEqual = (BYTES[i] == testString.byteAt(i));
80 assertTrue(CLASSNAME + " must capture the right bytes", stillEqual);
86 for (int i = 0; stillEqual && i < BYTES.length; ++i) {
87 stillEqual = (iter.hasNext() && BYTES[i] == iter.nextByte());
89 assertTrue(CLASSNAME + " must capture the right bytes", stillEqual);
104 stillEqual = (BYTES[j] == quantum)
    [all...]

Completed in 8354 milliseconds

1 2 3 4 5 6 7 8 910