/external/llvm-project/llvm/test/MC/RISCV/ |
D | compress-rv32i.s | 7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS,CHECK-ALIASOBJ32 %s 10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST,CHECK-INSTOBJ32 %s 18 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS,CHECK-ALIASOBJ64 %s 21 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST,CHECK-INSTOBJ64 %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 …]
|
D | option-rvc.s | 7 # 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 …]
|
D | compress-rv64i.s | 7 # 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
|
D | compress-rv32d.s | 7 # 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
|
D | compress-rv32f.s | 7 # 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
|
D | compress-rv32b.s | 7 # 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 25 # CHECK-BYTES: 01 60 31 # CHECK-BYTES: 01 64
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.c | 13 #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/java/core/src/test/java/com/google/protobuf/ |
D | NioByteStringTest.java | 55 private static final byte[] BYTES = ByteStringTest.getTestBytes(1234, 11337766L); field in NioByteStringTest 56 private static final int EXPECTED_HASH = ByteString.wrap(BYTES).hashCode(); 58 private final ByteBuffer backingBuffer = ByteBuffer.wrap(BYTES.clone()); 74 for (int i = 0; stillEqual && i < BYTES.length; ++i) { in testByteAt() 75 stillEqual = (BYTES[i] == testString.byteAt(i)); in testByteAt() 83 for (int i = 0; stillEqual && i < BYTES.length; ++i) { in testByteIterator() 84 stillEqual = (iter.hasNext() && BYTES[i] == iter.nextByte()); in testByteIterator() 101 stillEqual = (BYTES[j] == quantum); in testByteIterable() 105 assertEquals(CLASSNAME + " iterable character count", BYTES.length, j); in testByteIterable() 109 assertEquals(CLASSNAME + " must have the expected size", BYTES.length, testString.size()); in testSize() [all …]
|
/external/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | proto_test.js | 93 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/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | proto_test.js | 93 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/protobuf/js/binary/ |
D | proto_test.js | 97 var BYTES = new Uint8Array([1, 2, 8, 9]); variable 99 var BYTES_B64 = goog.crypt.base64.encodeByteArray(BYTES); 123 msg.setOptionalBytes(BYTES); 147 msg.setRepeatedBytesList([BYTES, BYTES]); 215 assertEquals(true, bytesCompare(copy.getOptionalBytes(), BYTES)); 216 assertEquals(true, bytesCompare(copy.getOptionalBytes_asU8(), BYTES)); 218 copy.getOptionalBytes_asB64(), goog.crypt.base64.encodeByteArray(BYTES)); 245 assertEquals(true, bytesCompare(copy.getRepeatedBytesList_asU8()[0], BYTES)); 246 assertEquals(true, bytesCompare(copy.getRepeatedBytesList()[0], BYTES)); 247 assertEquals(true, bytesCompare(copy.getRepeatedBytesList_asU8()[1], BYTES)); [all …]
|
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/ |
D | keymaster_defs.proto | 35 BYTES = 0x90000; /* 9 << 16 */ enumerator 77 APPLICATION_ID = 0x90259; // (TagType:BYTES | 601) 79 APPLICATION_DATA = 0x902bc; // (TagType:BYTES | 700) 83 ROOT_OF_TRUST = 0x902c0; // (TagType:BYTES | 704) 86 UNIQUE_ID = 0x902c3; // (TagType:BYTES | 707) 87 ATTESTATION_CHALLENGE = 0x902c4; // (TagType:BYTES | 708) 88 ATTESTATION_APPLICATION_ID = 0x902c5; // (TagType:BYTES | 709) 89 ATTESTATION_ID_BRAND = 0x902c6; // (TagType:BYTES | 710) 90 ATTESTATION_ID_DEVICE = 0x902c7; // (TagType:BYTES | 711) 91 ATTESTATION_ID_PRODUCT = 0x902c8; // (TagType:BYTES | 712) [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowEventLog.java | 105 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/compatibility_tests/v3.0.0/ |
D | proto3_test.js | 42 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)); 311 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); 312 assertTrue(bytesCompare(msg.getOptionalBytes_asB64(), BYTES)); 313 assertTrue(bytesCompare(msg.getOptionalBytes(), BYTES)); 317 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); [all …]
|
/external/protobuf/js/compatibility_tests/v3.1.0/ |
D | proto3_test.js | 42 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)); 311 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); 312 assertTrue(bytesCompare(msg.getOptionalBytes_asB64(), BYTES)); 313 assertTrue(bytesCompare(msg.getOptionalBytes(), BYTES)); 317 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); [all …]
|
/external/protobuf/js/ |
D | proto3_test.js | 46 var BYTES = new Uint8Array([1, 2, 8, 9]); variable 47 var BYTES_B64 = goog.crypt.base64.encodeByteArray(BYTES); 178 msg.setOptionalBytes(BYTES); 198 msg.setRepeatedBytesList([BYTES]); 223 assertEquals(true, bytesCompare(msg.getOptionalBytes(), BYTES)); 243 assertEquals(true, bytesCompare(msg.getRepeatedBytesList()[0], BYTES)); 359 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); 360 assertTrue(bytesCompare(msg.getOptionalBytes_asB64(), BYTES)); 361 assertTrue(bytesCompare(msg.getOptionalBytes(), BYTES)); 365 assertTrue(bytesCompare(msg.getOptionalBytes_asU8(), BYTES)); [all …]
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/ |
D | NioBufferIterator.java | 89 checkReadBounds(position, length, Integer.BYTES); in readInt() 91 position += Integer.BYTES; in readInt() 99 final int byteCount = Integer.BYTES * intCount; in readIntArray() 109 final int byteCount = Long.BYTES * longCount; in readLongArray() 118 checkReadBounds(position, length, Short.BYTES); in readShort() 120 position += Short.BYTES; in readShort()
|
D | ByteBufferIterator.java | 62 skip(Integer.BYTES); in readInt() 71 skip(Integer.BYTES * intCount); in readIntArray() 79 skip(Long.BYTES * longCount); in readLongArray() 87 skip(Short.BYTES); in readShort()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowEventLogTest.java | 121 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/cffi/c/libffi_msvc/ |
D | ffi.c | 427 #define BYTES(text) memcpy(tramp, text, sizeof(text)), tramp += sizeof(text)-1 in ffi_prep_closure_loc() macro 451 BYTES("\x41\xBB"); INT(mask); in ffi_prep_closure_loc() 454 BYTES("\x48\xB8"); POINTER(closure); in ffi_prep_closure_loc() 457 BYTES("\x49\xBA"); POINTER(ffi_closure_OUTER); in ffi_prep_closure_loc() 460 BYTES("\x41\xFF\xE2"); in ffi_prep_closure_loc() 465 BYTES("\xb9"); POINTER(closure); in ffi_prep_closure_loc() 468 BYTES("\x8b\xd4"); in ffi_prep_closure_loc() 471 BYTES("\xe8"); POINTER((char*)&ffi_closure_SYSV - (tramp + 4)); in ffi_prep_closure_loc() 474 BYTES("\xc2"); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
D | ffi.c | 441 #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/libchrome/mojo/public/cpp/base/ |
D | big_buffer_mojom_traits.cc | 46 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/android/guava/src/com/google/common/math/ |
D | Stats.java | 505 static final int BYTES = (Long.SIZE + Double.SIZE * 4) / Byte.SIZE; field in Stats 514 ByteBuffer buff = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() 532 buffer.remaining() >= BYTES, in writeTo() 534 BYTES, in writeTo() local 554 byteArray.length == BYTES, in fromByteArray() 556 BYTES, in fromByteArray() 574 buffer.remaining() >= BYTES, in readFrom() 576 BYTES, in readFrom() local
|
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/ |
D | MemoryTest.java | 35 int scale = Integer.BYTES; in testSetIntArray() 65 assertEquals(expectedValues[i], Memory.peekInt(ptr + Integer.BYTES * i, swap)); in assertIntsEqual() 76 int scale = Long.BYTES; in testSetLongArray() 106 assertEquals(expectedValues[i], Memory.peekLong(ptr + Long.BYTES * i, swap)); in assertLongsEqual() 114 int scale = Short.BYTES; in testSetShortArray() 144 assertEquals(expectedValues[i], Memory.peekShort(ptr + Short.BYTES * i, swap)); in assertShortsEqual()
|
/external/guava/guava/src/com/google/common/math/ |
D | Stats.java | 581 static final int BYTES = (Long.SIZE + Double.SIZE * 4) / Byte.SIZE; 590 ByteBuffer buff = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() 608 buffer.remaining() >= BYTES, in writeTo() 610 BYTES, in writeTo() local 630 byteArray.length == BYTES, in fromByteArray() 632 BYTES, in fromByteArray() 650 buffer.remaining() >= BYTES, in readFrom() 652 BYTES, in readFrom() local
|