/external/guava/guava-tests/test/com/google/common/primitives/ |
H A D | BytesTest.java | 32 * Unit test for {@link Bytes}. 48 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value)); 53 assertFalse(Bytes.contains(EMPTY, (byte) 1)); 54 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); 55 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); 56 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); 57 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); 58 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); 59 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); 63 assertEquals(-1, Bytes [all...] |
/external/llvm/include/llvm/Support/ |
H A D | StringRefMemoryObject.h | 26 StringRef Bytes; member in class:llvm::StringRefMemoryObject 29 StringRefMemoryObject(StringRef Bytes, uint64_t Base = 0) argument 30 : Bytes(Bytes), Base(Base) {} 33 uint64_t getExtent() const override { return Bytes.size(); }
|
H A D | StreamableMemoryObject.h | 138 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject 140 mutable size_t BytesRead; // Bytes read from stream 141 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 153 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); 154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
|
/external/llvm/lib/Support/ |
H A D | circular_raw_ostream.cpp | 26 unsigned Bytes = local 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
H A D | StringRefMemoryObject.cpp | 17 *Byte = Bytes[Addr - Base]; 27 memcpy(Buf, Bytes.data() + Offset, Size);
|
H A D | StreamableMemoryObject.cpp | 104 *ptr = Bytes[address + BytesSkipped]; 112 memcpy(buf, &Bytes[address + BytesSkipped], size); 125 Bytes.reserve(size); 136 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0), 138 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize);
|
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 37 const ByteArrayTy &Bytes; member in class:__anon26403::VectorMemoryObject 39 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {} 42 uint64_t getExtent() const override { return Bytes.size(); } 47 *Byte = Bytes[Addr].first; 54 const ByteArrayTy &Bytes, 59 VectorMemoryObject memoryObject(Bytes); 65 for (Index = 0; Index < Bytes.size(); Index += Size) { 73 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 86 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 53 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer, bool InAtomicBlock, const MCSubtargetInfo &STI) argument
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFDebugLoc.cpp | 66 unsigned Bytes = data.getU16(&Offset); local 68 StringRef str = data.getData().substr(Offset, Bytes); 69 Offset += Bytes; 100 unsigned Bytes = data.getU16(&Offset); local 102 StringRef str = data.getData().substr(Offset, Bytes); 103 Offset += Bytes;
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 96 uint64_t Bytes = CSize->getZExtValue(); local 97 if (Bytes == 0) 106 Bytes <= 16 && CountPopulation_64(Bytes) <= 2 : 107 Bytes <= 4) { 108 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); 109 unsigned Size2 = Bytes - Size1; 123 if (Bytes <= 2) { 126 if (Bytes 197 uint64_t Bytes = CSize->getZExtValue(); local [all...] |
/external/elfutils/0.153/libelf/ |
H A D | gelf_xlate.c | 112 #define INLINE2(Bytes, FName, TName) \ 113 INLINE3 (Bytes, FName, TName) 114 #define INLINE3(Bytes, FName, TName) \ 117 switch (Bytes) \ 135 dest += Bytes; \ 136 ptr += Bytes; \ 144 ptr -= Bytes; \ 145 dest -= Bytes; \
|
/external/chromium_org/ui/gl/ |
H A D | gl_image_shared_memory.cc | 41 if (!duped_shared_memory->Map(Bytes())) {
|
H A D | gl_image_memory.h | 44 size_t Bytes() const;
|
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Bytes.java | 47 public final class Bytes { class 48 private Bytes() {} method in class:Bytes 295 && Bytes.indexOf(array, (Byte) target, start, end) != -1; 301 int i = Bytes.indexOf(array, (Byte) target, start, end); 312 int i = Bytes.lastIndexOf(array, (Byte) target, start, end); 359 result = 31 * result + Bytes.hashCode(array[i]);
|
/external/llvm/lib/Target/ARM/ |
H A D | Thumb1RegisterInfo.cpp | 141 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, argument 147 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; 148 Bytes -= ThisVal; 155 NumMIs += Bytes / Chunk; 156 if ((Bytes % Chunk) != 0) 173 unsigned Bytes = (unsigned)NumBytes; 174 if (isSub) Bytes = -NumBytes; 175 bool isMul4 = (Bytes & 3) == 0; 196 Bytes [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | LittleEndianDataInputStreamTest.java | 19 import com.google.common.primitives.Bytes; 73 assertEquals(Bytes.asList(data), Bytes.asList(b));
|
H A D | LittleEndianDataOutputStreamTest.java | 20 import com.google.common.primitives.Bytes; 146 assertEquals(Bytes.asList(expected), Bytes.asList(actual));
|
/external/clang/include/clang/AST/ |
H A D | Attr.h | 66 void* operator new(size_t Bytes, ASTContext &C, argument 68 return ::operator new(Bytes, C, Alignment);
|
H A D | AttrIterator.h | 26 void *operator new(size_t Bytes, const clang::ASTContext &C, 30 void *operator new[](size_t Bytes, const clang::ASTContext &C,
|
/external/llvm/include/llvm-c/ |
H A D | Disassembler.h | 221 * parameter Bytes, and contains at least BytesSize number of bytes. The 228 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
|
/external/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 322 StringRef Bytes; local 323 Sections[SectIdx].getContents(Bytes); 324 StringRefMemoryObject memoryObject(Bytes); 408 DumpBytes(StringRef(Bytes.data() + Index, Length)); 411 DumpDataInCode(Bytes.data() + Index, Length, Kind); 417 DumpBytes(StringRef(Bytes.data() + Index, Size)); 451 DumpBytes(StringRef(Bytes.data() + Index, InstSize));
|
/external/llvm/lib/MC/MCDisassembler/ |
H A D | Disassembler.cpp | 124 uint8_t *Bytes; member in class:__anon25879::DisasmMemoryObject 129 Bytes(bytes), Size(size), BasePC(basePC) {} 137 *Byte = Bytes[Addr - BasePC]; 252 // instruction are specified in the parameter Bytes, and contains at least 261 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument 265 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject. 266 DisasmMemoryObject MemoryObject(Bytes, BytesSize, PC);
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkMovie_gif.cpp | 73 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; 229 bool has_transparency = ((eb->Bytes[0] & 1) == 1); 231 transparent = (unsigned char)eb->Bytes[3]; 264 int disposal = ((eb->Bytes[0] >> 2) & 7); 281 *trans = ((eb->Bytes[0] & 1) == 1); 282 *disposal = ((eb->Bytes[0] >> 2) & 7);
|
/external/llvm/lib/Target/SystemZ/Disassembler/ |
H A D | SystemZDisassembler.cpp | 296 uint8_t Bytes[6]; 298 if (Region.readBytes(Address, 2, Bytes) == -1) 303 if (Bytes[0] < 0x40) { 306 } else if (Bytes[0] < 0xc0) { 315 if (Size > 2 && Region.readBytes(Address + 2, Size - 2, Bytes + 2) == -1) 321 Inst = (Inst << 8) | Bytes[I];
|
/external/skia/src/images/ |
H A D | SkMovie_gif.cpp | 73 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; 229 bool has_transparency = ((eb->Bytes[0] & 1) == 1); 231 transparent = (unsigned char)eb->Bytes[3]; 264 int disposal = ((eb->Bytes[0] >> 2) & 7); 281 *trans = ((eb->Bytes[0] & 1) == 1); 282 *disposal = ((eb->Bytes[0] >> 2) & 7);
|
/external/giflib/ |
H A D | gifalloc.c | 239 ep->Bytes = (GifByteType *)malloc(ep->ByteCount); 240 if (ep->Bytes == NULL) 244 memcpy(ep->Bytes, ExtData, Len); 262 (void)free((char *)ep->Bytes);
|