Home
last modified time | relevance | path

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

12345

/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/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/include/llvm/Support/
DStringRefMemoryObject.h26 StringRef Bytes; variable
29 StringRefMemoryObject(StringRef Bytes, uint64_t Base = 0)
30 : Bytes(Bytes), Base(Base) {} in Bytes() function
33 uint64_t getExtent() const override { return Bytes.size(); } in getExtent()
DStreamableMemoryObject.h138 mutable std::vector<unsigned char> Bytes; variable
153 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp37 const ByteArrayTy &Bytes; member in __anon78a39e680111::VectorMemoryObject
39 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {} in VectorMemoryObject()
42 uint64_t getExtent() const override { return Bytes.size(); } in getExtent()
47 *Byte = Bytes[Addr].first; in readByte()
54 const ByteArrayTy &Bytes, in PrintInsts() argument
59 VectorMemoryObject memoryObject(Bytes); in PrintInsts()
65 for (Index = 0; Index < Bytes.size(); Index += Size) { in PrintInsts()
73 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), in PrintInsts()
86 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), in PrintInsts()
/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/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()
DStreamableMemoryObject.cpp104 *ptr = Bytes[address + BytesSkipped]; in readByte()
112 memcpy(buf, &Bytes[address + BytesSkipped], size); in readBytes()
125 Bytes.reserve(size); in setKnownObjectSize()
136 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0), in StreamingMemoryObject()
138 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
DStringRefMemoryObject.cpp17 *Byte = Bytes[Addr - Base]; in readByte()
27 memcpy(Buf, Bytes.data() + Offset, Size); in readBytes()
/external/elfutils/0.153/libelf/
Dgelf_xlate.c112 #define INLINE2(Bytes, FName, TName) \ argument
113 INLINE3 (Bytes, FName, TName)
114 #define INLINE3(Bytes, FName, TName) \ argument
117 switch (Bytes) \
135 dest += Bytes; \
136 ptr += Bytes; \
144 ptr -= Bytes; \
145 dest -= Bytes; \
/external/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp96 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() local
97 if (Bytes == 0) in EmitTargetCodeForMemset()
106 Bytes <= 16 && CountPopulation_64(Bytes) <= 2 : in EmitTargetCodeForMemset()
107 Bytes <= 4) { in EmitTargetCodeForMemset()
108 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
109 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset()
123 if (Bytes <= 2) { in EmitTargetCodeForMemset()
126 if (Bytes == 1) in EmitTargetCodeForMemset()
136 assert(Bytes >= 2 && "Should have dealt with 0- and 1-byte cases already"); in EmitTargetCodeForMemset()
142 Chain, Dst, Dst, Bytes); in EmitTargetCodeForMemset()
[all …]
/external/llvm/lib/Target/ARM/
DThumb1RegisterInfo.cpp141 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, in calcNumMI() argument
147 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; in calcNumMI()
148 Bytes -= ThisVal; in calcNumMI()
155 NumMIs += Bytes / Chunk; in calcNumMI()
156 if ((Bytes % Chunk) != 0) in calcNumMI()
173 unsigned Bytes = (unsigned)NumBytes; in emitThumbRegPlusImmediate() local
174 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate()
175 bool isMul4 = (Bytes & 3) == 0; in emitThumbRegPlusImmediate()
196 Bytes &= ~3; in emitThumbRegPlusImmediate()
222 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale); in emitThumbRegPlusImmediate()
[all …]
DARMLoadStoreOptimizer.cpp794 unsigned Bytes, unsigned Limit, in isMatchingDecrement() argument
813 if (Bytes == 0 || (Limit && Bytes >= Limit)) in isMatchingDecrement()
820 (MI->getOperand(2).getImm() * Scale) == Bytes && in isMatchingDecrement()
829 unsigned Bytes, unsigned Limit, in isMatchingIncrement() argument
847 if (Bytes == 0 || (Limit && Bytes >= Limit)) in isMatchingIncrement()
855 (MI->getOperand(2).getImm() * Scale) == Bytes && in isMatchingIncrement()
993 unsigned Bytes = getLSMultipleTransferSize(MI); in MergeBaseUpdateLSMultiple() local
1015 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple()
1019 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple()
1034 isMatchingIncrement(NextMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple()
[all …]
/external/llvm/lib/DebugInfo/
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()
100 unsigned Bytes = data.getU16(&Offset); in parse() local
102 StringRef str = data.getData().substr(Offset, Bytes); in parse()
103 Offset += Bytes; in parse()
/external/guava/guava/src/com/google/common/primitives/
DBytes.java47 public final class Bytes { class
48 private Bytes() {} in Bytes() method in Bytes
295 && Bytes.indexOf(array, (Byte) target, start, end) != -1; in contains()
301 int i = Bytes.indexOf(array, (Byte) target, start, end); in indexOf()
312 int i = Bytes.lastIndexOf(array, (Byte) target, start, end); in lastIndexOf()
359 result = 31 * result + Bytes.hashCode(array[i]); in hashCode()
/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/tools/llvm-objdump/
DMachODump.cpp322 StringRef Bytes; in DisassembleInputMachO2() local
323 Sections[SectIdx].getContents(Bytes); in DisassembleInputMachO2()
324 StringRefMemoryObject memoryObject(Bytes); in DisassembleInputMachO2()
408 DumpBytes(StringRef(Bytes.data() + Index, Length)); in DisassembleInputMachO2()
411 DumpDataInCode(Bytes.data() + Index, Length, Kind); in DisassembleInputMachO2()
417 DumpBytes(StringRef(Bytes.data() + Index, Size)); in DisassembleInputMachO2()
451 DumpBytes(StringRef(Bytes.data() + Index, InstSize)); in DisassembleInputMachO2()
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp296 uint8_t Bytes[6]; in getInstruction() local
298 if (Region.readBytes(Address, 2, Bytes) == -1) in getInstruction()
303 if (Bytes[0] < 0x40) { in getInstruction()
306 } else if (Bytes[0] < 0xc0) { in getInstruction()
315 if (Size > 2 && Region.readBytes(Address + 2, Size - 2, Bytes + 2) == -1) in getInstruction()
321 Inst = (Inst << 8) | Bytes[I]; in getInstruction()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp124 uint8_t *Bytes; member in __anon1f9a97430111::DisasmMemoryObject
129 Bytes(bytes), Size(size), BasePC(basePC) {} in DisasmMemoryObject()
137 *Byte = Bytes[Addr - BasePC]; in readByte()
261 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, in LLVMDisasmInstruction() argument
266 DisasmMemoryObject MemoryObject(Bytes, BytesSize, PC); in LLVMDisasmInstruction()
/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp377 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); in EmitMatcher() local
379 return Bytes; in EmitMatcher()
384 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), in EmitMatcher() local
387 return Bytes; in EmitMatcher()
420 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); in EmitMatcher() local
422 return Bytes; in EmitMatcher()
427 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); in EmitMatcher() local
429 return Bytes; in EmitMatcher()
440 unsigned Bytes = 2+EmitVBRValue(Val, OS); in EmitMatcher() local
442 return Bytes; in EmitMatcher()
/external/skia/src/images/
DSkMovie_gif.cpp73 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; in savedimage_duration()
229 bool has_transparency = ((eb->Bytes[0] & 1) == 1); in drawFrame()
231 transparent = (unsigned char)eb->Bytes[3]; in drawFrame()
264 int disposal = ((eb->Bytes[0] >> 2) & 7); in checkIfWillBeCleared()
281 *trans = ((eb->Bytes[0] & 1) == 1); in getTransparencyAndDisposalMethod()
282 *disposal = ((eb->Bytes[0] >> 2) & 7); in getTransparencyAndDisposalMethod()
/external/chromium_org/third_party/skia/src/images/
DSkMovie_gif.cpp73 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; in savedimage_duration()
229 bool has_transparency = ((eb->Bytes[0] & 1) == 1); in drawFrame()
231 transparent = (unsigned char)eb->Bytes[3]; in drawFrame()
264 int disposal = ((eb->Bytes[0] >> 2) & 7); in checkIfWillBeCleared()
281 *trans = ((eb->Bytes[0] & 1) == 1); in getTransparencyAndDisposalMethod()
282 *disposal = ((eb->Bytes[0] >> 2) & 7); in getTransparencyAndDisposalMethod()

12345