Searched refs:firstBytes (Results 1 – 3 of 3) sorted by relevance
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | SpanIdTest.java | 30 private static final byte[] firstBytes = new byte[] {0, 0, 0, 0, 0, 0, 0, 'a'}; field in SpanIdTest 32 private static final SpanId first = SpanId.fromBytes(firstBytes); 63 assertThat(first.getBytes()).isEqualTo(firstBytes); in getBytes() 71 assertThat(first.compareTo(SpanId.fromBytes(firstBytes))).isEqualTo(0); in traceId_CompareTo() 78 tester.addEqualityGroup(first, SpanId.fromBytes(Arrays.copyOf(firstBytes, firstBytes.length))); in traceId_EqualsAndHashCode()
|
D | TraceIdTest.java | 30 private static final byte[] firstBytes = field in TraceIdTest 34 private static final TraceId first = TraceId.fromBytes(firstBytes); 51 assertThat(first.getBytes()).isEqualTo(firstBytes); in getBytes() 74 assertThat(first.compareTo(TraceId.fromBytes(firstBytes))).isEqualTo(0); in traceId_CompareTo() 81 tester.addEqualityGroup(first, TraceId.fromBytes(Arrays.copyOf(firstBytes, firstBytes.length))); in traceId_EqualsAndHashCode()
|
/external/dng_sdk/source/ |
D | dng_info.cpp | 896 uint8 firstBytes [16]; in ParseMakerNote() local 898 memset (firstBytes, 0, sizeof (firstBytes)); in ParseMakerNote() 902 stream.Get (firstBytes, (uint32) Min_uint64 (sizeof (firstBytes), in ParseMakerNote() 907 if (memcmp (firstBytes, "EPSON\000\001\000", 8) == 0) in ParseMakerNote() 930 if (memcmp (firstBytes, "FUJIFILM", 8) == 0) in ParseMakerNote() 960 if ((memcmp (firstBytes, "LEICA\000\000\000", 8) == 0) || in ParseMakerNote() 961 (memcmp (firstBytes, "LEICA0\003\000", 8) == 0) || in ParseMakerNote() 962 (memcmp (firstBytes, "LEICA\000\001\000", 8) == 0) || in ParseMakerNote() 963 (memcmp (firstBytes, "LEICA\000\005\000", 8) == 0)) in ParseMakerNote() 987 if (memcmp (firstBytes, "LEICA\000\002\377", 8) == 0) in ParseMakerNote() [all …]
|