Home
last modified time | relevance | path

Searched refs:BYTES (Results 1 – 25 of 131) sorted by relevance

123456

/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/RISCV/
Dcompress-rv32i.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
18 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
21 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
23 # CHECK-BYTES: 2e 85
29 # CHECK-BYTES: e0 1f
35 # CHECK-BYTES: e0 5f
41 # CHECK-BYTES: e0 df
47 # CHECK-BYTES: 01 00
53 # CHECK-BYTES: 81 10
[all …]
Doption-rvc.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
18 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
21 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
23 # CHECK-BYTES: 13 85 05 00
29 # CHECK-BYTES: 13 04 c1 3f
38 # CHECK-BYTES: 2e 85
44 # CHECK-BYTES: e0 1f
52 # CHECK-BYTES: 13 85 05 00
58 # CHECK-BYTES: 13 04 c1 3f
[all …]
Dcompress-rv64i.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
14 # CHECK-BYTES: e0 7f
20 # CHECK-BYTES: a0 e3
26 # CHECK-BYTES: 7d 22
32 # CHECK-BYTES: 1d 9c
38 # CHECK-BYTES: 3d 9c
44 # CHECK-BYTES: 3d 9c
50 # CHECK-BYTES: ee 70
56 # CHECK-BYTES: a2 e0
Dcompress-rv32d.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
18 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
21 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
26 # CHECK-BYTES: 06 20
31 # CHECK-BYTES: 82 a0
36 # CHECK-BYTES: 60 3c
41 # CHECK-BYTES: 60 bc
Dcompress-rv32f.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
14 # CHECK-BYTES: 76 70
19 # CHECK-BYTES: 82 fe
24 # CHECK-BYTES: 60 7c
29 # CHECK-BYTES: 60 fc
Dcompress-cjal.s7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
14 # CHECK-BYTES: fd 2f
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java58 private static final byte[] BYTES = ByteStringTest.getTestBytes(1234, 11337766L); field in NioByteStringTest
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) { in testByteAt()
78 stillEqual = (BYTES[i] == testString.byteAt(i)); in testByteAt()
86 for (int i = 0; stillEqual && i < BYTES.length; ++i) { in testByteIterator()
87 stillEqual = (iter.hasNext() && BYTES[i] == iter.nextByte()); in testByteIterator()
104 stillEqual = (BYTES[j] == quantum); in testByteIterable()
108 assertEquals(CLASSNAME + " iterable character count", BYTES.length, j); in testByteIterable()
112 assertEquals(CLASSNAME + " must have the expected size", BYTES.length, in testSize()
[all …]
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.c13 #define BYTES 64 macro
39 for (i = 0; i < BYTES - 1; i++) { in main()
45 buf[BYTES - 1] = '\n'; in main()
53 offset += 2 * BYTES; in main()
59 offset = BYTES; in main()
61 offset += 2 * BYTES; in main()
66 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0) in main()
72 write(fd, buf, BYTES); in main()
74 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0) in main()
/external/protobuf/js/binary/
Dproto_test.js93 var BYTES = new Uint8Array([1, 2, 8, 9]); variable
95 var BYTES_B64 = goog.crypt.base64.encodeByteArray(BYTES);
119 msg.setOptionalBytes(BYTES);
143 msg.setRepeatedBytesList([BYTES, BYTES]);
213 assertEquals(true, bytesCompare(copy.getOptionalBytes(), BYTES));
214 assertEquals(true, bytesCompare(copy.getOptionalBytes_asU8(), BYTES));
216 copy.getOptionalBytes_asB64(), goog.crypt.base64.encodeByteArray(BYTES));
243 assertEquals(true, bytesCompare(copy.getRepeatedBytesList_asU8()[0], BYTES));
244 assertEquals(true, bytesCompare(copy.getRepeatedBytesList()[0], BYTES));
245 assertEquals(true, bytesCompare(copy.getRepeatedBytesList_asU8()[1], BYTES));
[all …]
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
Dkeymaster_defs.proto35 BYTES = 0x90000; /* 9 << 16 */ enumerator
74 APPLICATION_ID = 0x90259; // (TagType:BYTES | 601)
76 APPLICATION_DATA = 0x902bc; // (TagType:BYTES | 700)
80 ROOT_OF_TRUST = 0x902c0; // (TagType:BYTES | 704)
83 UNIQUE_ID = 0x902c3; // (TagType:BYTES | 707)
84 ATTESTATION_CHALLENGE = 0x902c4; // (TagType:BYTES | 708)
85 ATTESTATION_APPLICATION_ID = 0x902c5; // (TagType:BYTES | 709)
86 ATTESTATION_ID_BRAND = 0x902c6; // (TagType:BYTES | 710)
87 ATTESTATION_ID_DEVICE = 0x902c7; // (TagType:BYTES | 711)
88 ATTESTATION_ID_PRODUCT = 0x902c8; // (TagType:BYTES | 712)
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEventLog.java105 return Integer.BYTES + str.length(); in writeEvent()
116 return Integer.BYTES + list.length * Integer.BYTES; in writeEvent()
123 return Integer.BYTES + Integer.BYTES; in writeEvent()
130 return Integer.BYTES + Float.BYTES; in writeEvent()
137 return Integer.BYTES + Long.BYTES; in writeEvent()
/external/protobuf/js/
Dproto3_test.js42 var BYTES = new Uint8Array([1, 2, 8, 9]); variable
43 var BYTES_B64 = goog.crypt.base64.encodeByteArray(BYTES);
143 msg.setOptionalBytes(BYTES);
163 msg.setRepeatedBytesList([BYTES]);
188 assertEquals(true, bytesCompare(msg.getOptionalBytes(), BYTES));
208 assertEquals(true, bytesCompare(msg.getRepeatedBytesList()[0], BYTES));
296 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES));
297 assertTrue(bytesCompare(msg.getOptionalBytes_asB64(), BYTES));
298 assertTrue(bytesCompare(msg.getOptionalBytes(), BYTES));
302 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES));
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java121 assertThat(bytes).isEqualTo(Integer.BYTES + TEST_STRING1.length()); in testWriteEvent_string()
133 assertThat(bytes).isEqualTo(Integer.BYTES + NULL_PLACE_HOLDER.length()); in testWriteEvent_nullString()
145 assertThat(bytes).isEqualTo(Integer.BYTES + Integer.BYTES); in testWriteEvent_int()
158 assertThat(bytes).isEqualTo(Integer.BYTES + 2 * Integer.BYTES); in testWriteEvent_list()
173 assertThat(bytes).isEqualTo(Integer.BYTES + NULL_PLACE_HOLDER.length()); in testWriteEvent_nullList()
186 assertThat(bytes).isEqualTo(Integer.BYTES + Float.BYTES); in testWriteEvent_float()
198 assertThat(bytes).isEqualTo(Integer.BYTES + Long.BYTES); in testWriteEvent_long()
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffi.c441 #define BYTES(text) memcpy(tramp, text, sizeof(text)), tramp += sizeof(text)-1 in ffi_prep_closure_loc() macro
465 BYTES("\x41\xBB"); INT(mask); in ffi_prep_closure_loc()
468 BYTES("\x48\xB8"); POINTER(closure); in ffi_prep_closure_loc()
471 BYTES("\x49\xBA"); POINTER(ffi_closure_OUTER); in ffi_prep_closure_loc()
474 BYTES("\x41\xFF\xE2"); in ffi_prep_closure_loc()
479 BYTES("\xb9"); POINTER(closure); in ffi_prep_closure_loc()
482 BYTES("\x8b\xd4"); in ffi_prep_closure_loc()
485 BYTES("\xe8"); POINTER((char*)&ffi_closure_SYSV - (tramp + 4)); in ffi_prep_closure_loc()
488 BYTES("\xc2"); in ffi_prep_closure_loc()
/external/python/cpython3/Modules/_ctypes/libffi_msvc/
Dffi.c471 #define BYTES(text) memcpy(tramp, text, sizeof(text)), tramp += sizeof(text)-1 in ffi_prep_closure_loc() macro
495 BYTES("\x41\xBB"); INT(mask); in ffi_prep_closure_loc()
498 BYTES("\x48\xB8"); POINTER(closure); in ffi_prep_closure_loc()
501 BYTES("\x49\xBA"); POINTER(ffi_closure_OUTER); in ffi_prep_closure_loc()
504 BYTES("\x41\xFF\xE2"); in ffi_prep_closure_loc()
509 BYTES("\xb9"); POINTER(closure); in ffi_prep_closure_loc()
512 BYTES("\x8b\xd4"); in ffi_prep_closure_loc()
515 BYTES("\xe8"); POINTER((char*)&ffi_closure_SYSV - (tramp + 4)); in ffi_prep_closure_loc()
518 BYTES("\xc2"); in ffi_prep_closure_loc()
/external/libchrome/mojo/public/cpp/base/
Dbig_buffer_mojom_traits.cc46 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag()
52 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag()
73 case mojo_base::mojom::BigBufferDataView::Tag::BYTES: { in Read()
98 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag()
104 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag()
127 case mojo_base::mojom::BigBufferDataView::Tag::BYTES: { in Read()
/external/guava/guava/src/com/google/common/hash/
DAbstractByteHasher.java96 return update(Shorts.BYTES); in putShort()
102 return update(Ints.BYTES); in putInt()
108 return update(Longs.BYTES); in putLong()
114 return update(Chars.BYTES); in putChar()
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/core/util/
DIoUtilTest.groovy33 final byte[] BYTES = "abc 123 %^&".getBytes()
34 InputStream input = new ByteArrayInputStream(BYTES)
35 assert IoUtil.readBytes(input) == BYTES

123456