/external/guava/guava-tests/test/com/google/common/primitives/ |
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.indexOf(EMPTY, (byte) 1)) 206 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
BytesTest.java | 30 * Unit test for {@link Bytes}. 46 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value)); 51 assertFalse(Bytes.contains(EMPTY, (byte) 1)); 52 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); 53 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); 54 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); 55 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); 56 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); 57 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); 61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)) 204 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local [all...] |
/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 26 unsigned Bytes = 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
StreamingMemoryObject.cpp | 82 // keep fetching until we run out of bytes 103 memcpy(Buf, &Bytes[Address + BytesSkipped], Size); 116 Bytes.reserve(size); 128 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), 130 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize);
|
/external/llvm/unittests/Bitcode/ |
BitstreamReaderTest.cpp | 18 uint8_t Bytes[4] = { 21 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); 38 uint8_t Bytes[4] = { 41 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
|
/external/llvm/lib/Target/AVR/ |
AVRMachineFunctionInfo.h | 40 /// stack frame in bytes. 65 void setCalleeSavedFrameSize(unsigned Bytes) { CalleeSavedFrameSize = Bytes; }
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64Disassembler.h | 32 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
|
/external/llvm/include/llvm/Support/ |
StreamingMemoryObject.h | 32 // FIXME: This could be fixed by ensuring the bytes are fetched and 42 /// Drop s bytes from the front of the stream, pushing the positions of the 43 /// remaining bytes down by s. This is used to skip past the bitcode header, 44 /// since we don't know a priori if it's present, and we can't put bytes 53 /// The number of bytes read at a time from the data streamer. 57 mutable std::vector<unsigned char> Bytes; 59 mutable size_t BytesRead; // Bytes read from stream 60 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 64 // Fetch enough bytes such that Pos can be read (i.e. BytesRead > 67 // requests will be small, but we fetch at kChunkSize bytes at 75 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/llvm/unittests/MC/ |
Disassembler.cpp | 29 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd}; 30 uint8_t *BytesP = Bytes; 39 unsigned NumBytes = sizeof(Bytes);
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugLoc.cpp | 66 unsigned Bytes = data.getU16(&Offset); 68 StringRef str = data.getData().substr(Offset, Bytes); 69 Offset += Bytes; 99 unsigned Bytes = data.getU16(&Offset); 101 StringRef str = data.getData().substr(Offset, Bytes); 102 Offset += Bytes;
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 10 // This class implements the disassembler of strings of bytes written in 35 const ByteArrayTy &Bytes, 39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size()); 45 for (Index = 0; Index < Bytes.first.size(); Index += Size) { 53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), 61 Size = 1; // skip illegible bytes 66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), 197 // It's a real token, get the bytes and emit them
|
/external/llvm/lib/Target/SystemZ/ |
SystemZSelectionDAGInfo.cpp | 22 // a block operation of Size bytes with source address Src and destination 36 // much point using a loop for 5 * 256 bytes or fewer. Anything in 64 // Handle a memset of 1, 2, 4 or 8 bytes with the operands given by 91 uint64_t Bytes = CSize->getZExtValue(); 92 if (Bytes == 0) 101 Bytes <= 16 && countPopulation(Bytes) <= 2 : 102 Bytes <= 4) { 103 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); [all...] |
/external/llvm/lib/Target/X86/Disassembler/ |
X86Disassembler.h | 14 // 1. Read the prefix bytes and determine the attributes of the instruction. 100 ArrayRef<uint8_t> Bytes, uint64_t Address,
|
/external/elfutils/libelf/ |
gelf_xlate.c | 92 #define INLINE2(Bytes, FName, TName) \ 93 INLINE3 (Bytes, FName, TName) 94 #define INLINE3(Bytes, FName, TName) \ 97 switch (Bytes) \ 115 dest += Bytes; \ 116 ptr += Bytes; \ 124 ptr -= Bytes; \ 125 dest -= Bytes; \
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceTask.java | 21 import com.google.common.primitives.Bytes; 72 mBuffer = Bytes.ensureCapacity(mBuffer, mDataLength + length + 1, 1024);
|
/external/llvm/include/llvm/MC/ |
MCDisassembler.h | 66 /// the number of bytes consumed while attempting to decode 77 ArrayRef<uint8_t> Bytes, uint64_t Address,
|
/external/guava/guava/src/com/google/common/primitives/ |
Bytes.java | 37 * bytes as neither signed nor unsigned</i>. The methods which specifically 38 * treat bytes as signed or unsigned are found in {@link SignedBytes} and {@link 51 public final class Bytes { 52 private Bytes() {} 300 && Bytes.indexOf(array, (Byte) target, start, end) != -1; 306 int i = Bytes.indexOf(array, (Byte) target, start, end); 317 int i = Bytes.lastIndexOf(array, (Byte) target, start, end); 365 result = 31 * result + Bytes.hashCode(array[i]);
|
/external/guava/guava-tests/test/com/google/common/io/ |
LittleEndianDataInputStreamTest.java | 19 import com.google.common.primitives.Bytes; 73 assertEquals(Bytes.asList(data), Bytes.asList(b)); 132 out.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
|
LittleEndianDataOutputStreamTest.java | 20 import com.google.common.primitives.Bytes; 146 assertEquals(Bytes.asList(expected), Bytes.asList(actual));
|
/external/llvm/include/llvm/IR/ |
Attributes.h | 93 uint64_t Bytes); 95 uint64_t Bytes); 141 /// \brief Returns the number of dereferenceable bytes from the 145 /// \brief Returns the number of dereferenceable_or_null bytes from the 261 uint64_t Bytes) const; 267 uint64_t Bytes) const; 310 /// \brief Get the number of dereferenceable bytes (or zero if unknown). 313 /// \brief Get the number of dereferenceable_or_null bytes (or zero if 471 /// \brief Retrieve the number of dereferenceable bytes, if the 475 /// \brief Retrieve the number of dereferenceable_or_null bytes, if th [all...] |
/sdk/emulator/mksdcard/src/source/ |
mksdcard.c | 52 typedef Byte* Bytes; 54 #define BYTE_(p,i) (((Bytes)(p))[(i)]) 113 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label ) 168 fat_init( Bytes fat ) 177 write_sector( FILE* file, Bytes sector ) 181 fprintf(stderr, "Failed to write sector of %d bytes: %s\n", BYTES_PER_SECTOR, strerror(errno)); 198 fprintf(stderr, "Failed to write %d bytes: %s\n", len, strerror(errno)); 211 fprintf(stderr, " if <size> is a simple integer, it specifies a size in bytes\n" ); 216 fprintf(stderr, "Maximum size is %lld bytes, %lldK, %lldM or %lldG\n" [all...] |
/external/clang/include/clang/AST/ |
Attr.h | 59 void *operator new(size_t bytes) LLVM_NOEXCEPT { 68 void *operator new(size_t Bytes, ASTContext &C, 70 return ::operator new(Bytes, C, Alignment);
|
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/lib/Target/ARM/ |
ThumbRegisterInfo.cpp | 188 unsigned Bytes = (unsigned)NumBytes; 189 if (isSub) Bytes = -NumBytes; 262 assert(((Bytes & 3) == 0 || ExtraScale == 1) && 267 if (CopyOpc && Bytes < CopyScale) { 275 unsigned RangeAfterCopy = (CopyRange > Bytes) ? 0 : (Bytes - CopyRange); 303 unsigned CopyImm = std::min(Bytes, CopyRange) / CopyScale; 304 Bytes -= CopyImm * CopyScale; 319 while (Bytes) { 320 unsigned ExtraImm = std::min(Bytes, ExtraRange) / ExtraScale [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
resumable_streaming_upload.py | 30 max_buffer_size bytes of buffering is supported. 63 size: The amount of bytes to read. If omitted or negative, the entire 67 Bytes from the wrapped stream. 108 # At this point we're guaranteed that if there are any bytes left to read,
|