/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/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 | StreamableMemoryObject.cpp | 102 *ptr = Bytes[address + BytesSkipped]; 111 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-objdump/ |
H A D | llvm-objdump.h | 29 StringRef Bytes; member in class:llvm::StringRefMemoryObject 31 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {} 34 uint64_t getExtent() const { return Bytes.size(); } 39 *Byte = Bytes[Addr];
|
H A D | MachODump.cpp | 386 StringRef Bytes; local 387 Sections[SectIdx].getContents(Bytes); 388 StringRefMemoryObject memoryObject(Bytes); 472 DumpBytes(StringRef(Bytes.data() + Index, Size)); 569 DumpBytes(StringRef(Bytes.data() + pos, 1)); 570 outs() << format("\t.byte 0x%02x\n", (uint8_t)Bytes[pos]); 591 DumpBytes(StringRef(Bytes.data() + Inst.Address, Inst.Size));
|
/external/llvm/include/llvm/Support/ |
H A D | StreamableMemoryObject.h | 141 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject 143 mutable size_t BytesRead; // Bytes read from stream 144 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 156 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); 157 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
|
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 39 const ByteArrayTy &Bytes; member in class:__anon7889::VectorMemoryObject 41 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {} 44 uint64_t getExtent() const { return Bytes.size(); } 49 *Byte = Bytes[Addr].first; 56 const ByteArrayTy &Bytes, 60 VectorMemoryObject memoryObject(Bytes); 66 for (Index = 0; Index < Bytes.size(); Index += Size) { 74 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 82 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 55 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer) argument
|
/external/elfutils/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/llvm/lib/MC/MCDisassembler/ |
H A D | Disassembler.cpp | 113 uint8_t *Bytes; member in class:__anon7464::DisasmMemoryObject 118 Bytes(bytes), Size(size), BasePC(basePC) {} 126 *Byte = Bytes[Addr - BasePC]; 135 // instruction are specified in the parameter Bytes, and contains at least 144 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument 148 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject. 149 DisasmMemoryObject MemoryObject(Bytes, BytesSize, PC);
|
/external/llvm/include/llvm-c/ |
H A D | Disassembler.h | 156 * parameter Bytes, and contains at least BytesSize number of bytes. The 163 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
|
/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 | 142 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, argument 148 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes; 149 Bytes -= ThisVal; 156 NumMIs += Bytes / Chunk; 157 if ((Bytes % Chunk) != 0) 174 unsigned Bytes = (unsigned)NumBytes; 175 if (isSub) Bytes = -NumBytes; 176 bool isMul4 = (Bytes & 3) == 0; 197 Bytes [all...] |
H A D | ARMLoadStoreOptimizer.cpp | 532 unsigned Bytes, unsigned Limit, 550 if (Bytes == 0 || (Limit && Bytes >= Limit)) 556 (MI->getOperand(2).getImm()*Scale) == Bytes && 565 unsigned Bytes, unsigned Limit, 582 if (Bytes == 0 || (Limit && Bytes >= Limit)) 589 (MI->getOperand(2).getImm()*Scale) == Bytes && 719 unsigned Bytes = getLSMultipleTransferSize(MI); local 741 isMatchingDecrement(PrevMBBI, Base, Bytes, 531 isMatchingDecrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument 564 isMatchingIncrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument 855 unsigned Bytes = getLSMultipleTransferSize(MI); local 1686 unsigned Bytes = getLSMultipleTransferSize(Op); local [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 | 42 void *operator new(size_t Bytes, const clang::ASTContext &C, 46 void *operator new[](size_t Bytes, const clang::ASTContext &C, 77 void* operator new(size_t Bytes, ASTContext &C, argument 79 return ::operator new(Bytes, C, Alignment);
|
/external/llvm/include/llvm/MC/ |
H A D | MCContext.h | 352 /// @param Bytes The number of bytes to allocate. Calculated by the compiler. 357 inline void *operator new(size_t Bytes, llvm::MCContext &C, argument 359 return C.Allocate(Bytes, Alignment); 386 /// @param Bytes The number of bytes to allocate. Calculated by the compiler. 391 inline void *operator new[](size_t Bytes, llvm::MCContext& C, argument 393 return C.Allocate(Bytes, Alignment);
|
/external/llvm/lib/Target/Mips/Disassembler/ |
H A D | MipsDisassembler.cpp | 285 uint8_t Bytes[4]; local 287 // We want to read exactly 4 Bytes of data. 288 if (region.readBytes(address, 4, (uint8_t*)Bytes, NULL) == -1) { 295 insn = (Bytes[3] << 0) | 296 (Bytes[2] << 8) | 297 (Bytes[1] << 16) | 298 (Bytes[0] << 24); 302 insn = (Bytes[0] << 0) | 303 (Bytes[1] << 8) | 304 (Bytes[ [all...] |
/external/skia/src/images/ |
H A D | SkMovie_gif.cpp | 70 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; 227 bool has_transparency = ((eb->Bytes[0] & 1) == 1); 229 transparent = (unsigned char)eb->Bytes[3]; 258 int disposal = ((eb->Bytes[0] >> 2) & 7); 275 *trans = ((eb->Bytes[0] & 1) == 1); 276 *disposal = ((eb->Bytes[0] >> 2) & 7);
|
H A D | SkImageDecoder_libgif.cpp | 131 if (eb->Bytes[0] & 1) { 132 transpIndex = (unsigned char)eb->Bytes[3];
|
/external/giflib/ |
H A D | gifalloc.c | 270 ep->Bytes = (char *)malloc(ep->ByteCount); 271 if (ep->Bytes == NULL) 275 memcpy(ep->Bytes, ExtData, Len); 292 (void)free((char *)ep->Bytes);
|
/external/valgrind/main/none/tests/x86-linux/ |
H A D | seg_override.c | 21 } Bytes; member in union:_LDT_ENTRY::__anon12854
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | nt_io.c | 893 IN ULONG Bytes, 906 ASSERT(0 == (Bytes % 512)); 917 &IoStatusBlock, Buffer, Bytes, &Offset, NULL); 922 &IoStatusBlock, Buffer, Bytes, &Offset, NULL); 948 IN ULONG Bytes, 953 return _BlockIo(Handle, Offset, Bytes, (PCHAR)Buffer, FALSE, Errno); 961 IN ULONG Bytes, 966 return _BlockIo(Handle, Offset, Bytes, Buffer, TRUE, Errno); 890 _BlockIo( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN OUT PCHAR Buffer, IN BOOLEAN Read, OUT unsigned* Errno ) argument 945 _RawWrite( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, OUT const CHAR* Buffer, OUT unsigned* Errno ) argument 958 _RawRead( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN PCHAR Buffer, OUT unsigned* Errno ) argument
|
/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 368 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); local 370 return Bytes; 403 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local 405 return Bytes; 410 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local 412 return Bytes; 423 unsigned Bytes = 2+EmitVBRValue(Val, OS); local 425 return Bytes;
|
/external/llvm/include/llvm/Bitcode/ |
H A D | BitstreamWriter.h | 77 unsigned char Bytes[4] = { local 82 Out.append(&Bytes[0], &Bytes[4]);
|