Home
last modified time | relevance | path

Searched refs:Bytes (Results 1 – 25 of 148) sorted by relevance

123456

/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java48 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value)); in testHashCode()
53 assertFalse(Bytes.contains(EMPTY, (byte) 1)); in testContains()
54 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains()
55 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); in testContains()
56 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); in testContains()
57 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); in testContains()
58 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); in testContains()
59 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); in testContains()
63 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
64 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DBytesTest.java46 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value)); in testHashCode()
51 assertFalse(Bytes.contains(EMPTY, (byte) 1)); in testContains()
52 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains()
53 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); in testContains()
54 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); in testContains()
55 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); in testContains()
56 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); in testContains()
57 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); in testContains()
61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
62 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
[all …]
/external/tcpdump/tests/
Dforces3vvv.out62 ASResult TLV, length 8 (data length 4 Bytes)
79 LFBselect TLV, length 28 (data length 24 Bytes)
82 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
97 LFBselect TLV, length 68 (data length 64 Bytes)
100 PATH-DATA TLV, length 52 (data encapsulated 48 Bytes)
103 FULLDATA TLV (Length 40 DataLen 36 Bytes)
127 LFBselect TLV, length 28 (data length 24 Bytes)
130 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
145 LFBselect TLV, length 116 (data length 112 Bytes)
148 PATH-DATA TLV, length 100 (data encapsulated 96 Bytes)
[all …]
Dforces1vvv.out11 LFBselect TLV, length 308 (data length 304 Bytes)
14 PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
17 FULLDATA TLV (Length 280 DataLen 276 Bytes)
65 LFBselect TLV, length 28 (data length 24 Bytes)
68 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
83 LFBselect TLV, length 40 (data length 36 Bytes)
86 PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
90 FULLDATA TLV (Length 8 DataLen 4 Bytes)
109 LFBselect TLV, length 40 (data length 36 Bytes)
112 PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
[all …]
Dforces1vvvv.out11 LFBselect TLV, length 308 (data length 304 Bytes)
14 PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
17 FULLDATA TLV (Length 280 DataLen 276 Bytes)
94 LFBselect TLV, length 28 (data length 24 Bytes)
97 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
119 LFBselect TLV, length 40 (data length 36 Bytes)
122 PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
126 FULLDATA TLV (Length 8 DataLen 4 Bytes)
152 LFBselect TLV, length 40 (data length 36 Bytes)
155 PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
[all …]
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp18 uint8_t Bytes[4] = { in TEST() local
21 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST()
38 uint8_t Bytes[4] = { in TEST() local
41 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST()
/external/llvm/docs/CommandGuide/
Dllvm-bcanalyzer.rst76 **Module Bytes**
80 **Function Bytes**
85 **Global Types Bytes**
90 **Constant Pool Bytes**
95 **Module Globals Bytes**
100 **Instruction List Bytes**
104 the Function Bytes.
106 **Compaction Table Bytes**
110 the Function Bytes.
112 **Symbol Table Bytes**
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp91 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() local
92 if (Bytes == 0) in EmitTargetCodeForMemset()
101 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
102 Bytes <= 4) { in EmitTargetCodeForMemset()
103 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
104 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset()
118 if (Bytes <= 2) { in EmitTargetCodeForMemset()
121 if (Bytes == 1) in EmitTargetCodeForMemset()
131 assert(Bytes >= 2 && "Should have dealt with 0- and 1-byte cases already"); in EmitTargetCodeForMemset()
137 Chain, Dst, Dst, Bytes); in EmitTargetCodeForMemset()
[all …]
/external/llvm/lib/Support/
Dcircular_raw_ostream.cpp26 unsigned Bytes = in write_impl() local
28 memcpy(Cur, Ptr, Bytes); in write_impl()
29 Size -= Bytes; in write_impl()
30 Cur += Bytes; in write_impl()
DStreamingMemoryObject.cpp103 memcpy(Buf, &Bytes[Address + BytesSkipped], Size); in readBytes()
116 Bytes.reserve(size); in setKnownObjectSize()
128 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
130 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
/external/elfutils/libelf/
Dgelf_xlate.c92 #define INLINE2(Bytes, FName, TName) \ argument
93 INLINE3 (Bytes, FName, TName)
94 #define INLINE3(Bytes, FName, TName) \ argument
97 switch (Bytes) \
115 dest += Bytes; \
116 ptr += Bytes; \
124 ptr -= Bytes; \
125 dest -= Bytes; \
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLoc.cpp66 unsigned Bytes = data.getU16(&Offset); in parse() local
68 StringRef str = data.getData().substr(Offset, Bytes); in parse()
69 Offset += Bytes; in parse()
99 unsigned Bytes = data.getU16(&Offset); in parse() local
101 StringRef str = data.getData().substr(Offset, Bytes); in parse()
102 Offset += Bytes; in parse()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp35 const ByteArrayTy &Bytes, in PrintInsts() argument
39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size()); in PrintInsts()
45 for (Index = 0; Index < Bytes.first.size(); Index += Size) { in PrintInsts()
53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
/external/llvm/unittests/MC/
DDisassembler.cpp29 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd}; in TEST() local
30 uint8_t *BytesP = Bytes; in TEST()
39 unsigned NumBytes = sizeof(Bytes); in TEST()
/external/llvm/include/llvm/Support/
DStreamingMemoryObject.h57 mutable std::vector<unsigned char> Bytes;
74 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
75 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
/external/guava/guava/src/com/google/common/primitives/
DBytes.java51 public final class Bytes { class
52 private Bytes() {} in Bytes() method in Bytes
300 && Bytes.indexOf(array, (Byte) target, start, end) != -1; in contains()
306 int i = Bytes.indexOf(array, (Byte) target, start, end); in indexOf()
317 int i = Bytes.lastIndexOf(array, (Byte) target, start, end); in lastIndexOf()
365 result = 31 * result + Bytes.hashCode(array[i]); in hashCode()
/external/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp40 ArrayRef<uint8_t> Bytes, uint64_t Address,
270 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
274 if (Bytes.size() < 4) { in readInstruction32()
280 ? (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16) | in readInstruction32()
281 (Bytes[3] << 24) in readInstruction32()
282 : (Bytes[3] << 0) | (Bytes[2] << 8) | (Bytes[1] << 16) | in readInstruction32()
283 (Bytes[0] << 24); in readInstruction32()
289 ArrayRef<uint8_t> Bytes, in getInstruction() argument
296 readInstruction32(Bytes, Address, Size, Insn, isLittleEndian); in getInstruction()
/external/llvm/lib/Target/ARM/
DThumbRegisterInfo.cpp188 unsigned Bytes = (unsigned)NumBytes; in emitThumbRegPlusImmediate() local
189 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate()
262 assert(((Bytes & 3) == 0 || ExtraScale == 1) && in emitThumbRegPlusImmediate()
267 if (CopyOpc && Bytes < CopyScale) { in emitThumbRegPlusImmediate()
275 unsigned RangeAfterCopy = (CopyRange > Bytes) ? 0 : (Bytes - CopyRange); in emitThumbRegPlusImmediate()
303 unsigned CopyImm = std::min(Bytes, CopyRange) / CopyScale; in emitThumbRegPlusImmediate()
304 Bytes -= CopyImm * CopyScale; in emitThumbRegPlusImmediate()
319 while (Bytes) { in emitThumbRegPlusImmediate()
320 unsigned ExtraImm = std::min(Bytes, ExtraRange) / ExtraScale; in emitThumbRegPlusImmediate()
321 Bytes -= ExtraImm * ExtraScale; in emitThumbRegPlusImmediate()
/external/llvm/lib/Target/XCore/Disassembler/
DXCoreDisassembler.cpp39 ArrayRef<uint8_t> Bytes, uint64_t Address,
45 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument
48 if (Bytes.size() < 2) { in readInstruction16()
53 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); in readInstruction16()
57 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
60 if (Bytes.size() < 4) { in readInstruction32()
66 (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16) | (Bytes[3] << 24); in readInstruction32()
739 MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() argument
743 if (!readInstruction16(Bytes, Address, Size, insn16)) { in getInstruction()
757 if (!readInstruction32(Bytes, Address, Size, insn32)) { in getInstruction()
/external/llvm/include/llvm/IR/
DAttributes.h93 uint64_t Bytes);
95 uint64_t Bytes);
261 uint64_t Bytes) const;
267 uint64_t Bytes) const;
489 AttrBuilder &addDereferenceableAttr(uint64_t Bytes);
493 AttrBuilder &addDereferenceableOrNullAttr(uint64_t Bytes);
/external/llvm/lib/Target/AVR/
DAVRMachineFunctionInfo.h65 void setCalleeSavedFrameSize(unsigned Bytes) { CalleeSavedFrameSize = Bytes; } in setCalleeSavedFrameSize() argument
/external/parameter-framework/upstream/test/functional-tests/
DHandle.cpp51 using Bytes = std::vector<uint8_t>; typedef
307 static string showBytes(const Bytes &bytes) in showBytes()
318 static Bytes readBytes(const string &strBytes) in readBytes()
323 Bytes bytes(strBytes.size() / 3); in readBytes()
333 static void checkBytesEq(const Bytes &result, const string &expect) in checkBytesEq()
337 static void checkBytesEq(const Bytes &result, const Bytes &expect) in checkBytesEq()
/external/guava/guava-tests/test/com/google/common/io/
DLittleEndianDataOutputStreamTest.java20 import com.google.common.primitives.Bytes;
146 assertEquals(Bytes.asList(expected), Bytes.asList(actual)); in assertEquals()
DLittleEndianDataInputStreamTest.java19 import com.google.common.primitives.Bytes;
73 assertEquals(Bytes.asList(data), Bytes.asList(b)); in testReadFully()
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp31 ArrayRef<uint8_t> Bytes, uint64_t Address,
347 ArrayRef<uint8_t> Bytes, in getInstruction() argument
353 if (Bytes.size() < 2) in getInstruction()
358 if (Bytes[0] < 0x40) { in getInstruction()
361 } else if (Bytes[0] < 0xc0) { in getInstruction()
370 if (Bytes.size() < Size) in getInstruction()
376 Inst = (Inst << 8) | Bytes[I]; in getInstruction()

123456