/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
MachODump.cpp | 132 StringRef bytes = MachOObj->getData(Sections[i].Offset, local 136 OS << '"' << bytes.substr(addr, bytes.find('\0', addr)) << '"'; 139 OS << "@\"" << bytes.substr(addr, bytes.find('\0', addr)) << '"'; 412 StringRef Bytes = MachOObj->getData(Sections[SectIdx].Offset, 414 StringRefMemoryObject memoryObject(Bytes); 448 // Normal disassembly, print addresses, bytes and mnemonic form. 458 DumpBytes(StringRef(Bytes.data() + Index, Size)); 476 Size = 1; // skip illegible bytes [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
raw_ostream.cpp | 283 // If we have more than a few bytes left in our output buffer, try 363 if (FB.Bytes.empty()) 367 auto Bytes = FB.Bytes; 368 const size_t Size = Bytes.size(); 388 while (!Bytes.empty()) { 397 auto Line = Bytes.take_front(FB.NumPerLine); 400 // Print the hex bytes for this line in groups 410 // Print any spaces needed for any bytes that we didn't print on this 411 // line so that the ASCII bytes are correctly aligned [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
decode.go | 37 // It is initialized by calling Size and then copying the data into the slice returned by Bytes(). 59 // Size grows the buffer to exactly n bytes, so d.Bytes() will 83 func (d *decBuffer) Bytes() []byte { 92 // We pass the bytes.Buffer separately for easier testing of the infrastructure 161 buf := state.b.Bytes() 374 // uint8 slices are encoded as an unsigned count followed by the raw bytes. 385 if _, err := state.b.Read(value.Bytes()); err != nil { 392 // Strings are encoded as an unsigned count followed by the raw bytes. 399 data := state.b.Bytes() [all...] |
/prebuilts/go/darwin-x86/src/go/constant/ |
value.go | 518 // Compute the size of a Word in bytes. 524 // Bytes returns the bytes for the absolute value of x in little- 526 func Bytes(x Value) []byte { 538 bytes := make([]byte, len(words)*wordSize) 543 bytes[i] = byte(w) 549 for i > 0 && bytes[i-1] == 0 { 553 return bytes[:i] 556 // MakeFromBytes returns the Int value given the bytes of its little-endian 558 func MakeFromBytes(bytes []byte) Value [all...] |
/prebuilts/go/linux-x86/src/encoding/gob/ |
decode.go | 37 // It is initialized by calling Size and then copying the data into the slice returned by Bytes(). 59 // Size grows the buffer to exactly n bytes, so d.Bytes() will 83 func (d *decBuffer) Bytes() []byte { 92 // We pass the bytes.Buffer separately for easier testing of the infrastructure 161 buf := state.b.Bytes() 374 // uint8 slices are encoded as an unsigned count followed by the raw bytes. 385 if _, err := state.b.Read(value.Bytes()); err != nil { 392 // Strings are encoded as an unsigned count followed by the raw bytes. 399 data := state.b.Bytes() [all...] |
/prebuilts/go/linux-x86/src/go/constant/ |
value.go | 518 // Compute the size of a Word in bytes. 524 // Bytes returns the bytes for the absolute value of x in little- 526 func Bytes(x Value) []byte { 538 bytes := make([]byte, len(words)*wordSize) 543 bytes[i] = byte(w) 549 for i > 0 && bytes[i-1] == 0 { 553 return bytes[:i] 556 // MakeFromBytes returns the Int value given the bytes of its little-endian 558 func MakeFromBytes(bytes []byte) Value [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
UfsPassThruHci.c | [all...] |
/external/giflib/ |
gif_lib.h | 55 GifByteType *Bytes; /* on malloc(3) heap */ 101 * Returns count of bytes written. (MRB)
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_hostheader.c | 173 /* This is the core function to write bits/bytes 210 /* Element pointer set to position of next element (120/8 = 15 bytes) */ 255 IMG_UINT8 Bytes[4]; 258 Bytes[BitLp] = (IMG_UINT8)(wrt_bits & 255); 265 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], (IMG_UINT8)((bit_cnt) % 8)); 267 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], 8); 271 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[BitLp-1], 8); 338 *Find RAWBit size in bytes (rounded to word boundary)) 345 Offset *= 4;/* Convert to number of bytes (total size of structure in bytes, aligned to word boundary) * [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_hostheader.c | 173 /* This is the core function to write bits/bytes 210 /* Element pointer set to position of next element (120/8 = 15 bytes) */ 255 IMG_UINT8 Bytes[4]; 258 Bytes[BitLp] = (IMG_UINT8)(wrt_bits & 255); 265 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], (IMG_UINT8)((bit_cnt) % 8)); 267 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], 8); 271 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[BitLp-1], 8); 342 *Find RAWBit size in bytes (rounded to word boundary)) 349 Offset *= 4;/* Convert to number of bytes (total size of structure in bytes, aligned to word boundary) * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ntdd8042.h | 71 PUCHAR Bytes;
|
d3dx9shader.h | 117 UINT Bytes; 259 STDMETHOD(SetValue)(THIS_ D3DXHANDLE hConstant, const void *pData, UINT Bytes) PURE; 300 const void *parent_data, const void **data, UINT *bytes) PURE;
|
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/ |
BiosVideo.c | [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/ |
BiosVideo.c | [all...] |
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
FilesTest.java | 26 import com.google.common.primitives.Bytes; 90 byte[] bytes = Files.readFile(in, asciiFile.length()); 91 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 105 byte[] bytes = Files.readFile(in, 10); 106 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 120 byte[] bytes = Files.readFile(in, 500); 121 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 135 byte[] bytes = Files.readFile(in, 0); 136 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 588 byte[] bytes = newPreFilledByteArray(size) [all...] |
/external/llvm/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 123 /// Represents a range of memset'd bytes with the ByteVal value. 154 // If we found more than 4 stores to merge or 16 bytes, use memset. 180 unsigned Bytes = unsigned(End-Start); 184 unsigned NumPointerStores = Bytes / MaxIntSize; 186 // Assume the remaining bytes if any are done a byte at a time. 187 unsigned NumByteStores = Bytes % MaxIntSize; 806 // Check that accessing the first srcSize bytes of dest will not cause a 835 // has at least <cpyLen> bytes, as implied by the copy-instruction", [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUISelDAGToDAG.cpp | 935 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local 994 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local 1084 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 435 Size = 1; // zerofill of 0 bytes is undefined. [all...] |
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIARawSymbol.cpp | 155 const char *Bytes = reinterpret_cast<const char *>(Value); 156 ArrayRef<char> ByteArray(Bytes, ::SysStringByteLen(Value)); 421 void DIARawSymbol::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const { 422 bytes.clear(); 429 bytes.resize(DataSize); 430 Symbol->get_dataBytes(DataSize, &DataSize, bytes.data()); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmspack.c | 30 // cmsFloat32Number (4 bytes per component) and double (marked as 0 bytes per component [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 337 if (Size == 0) Size = 1; // zerofill of 0 bytes is undefined. [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 510 unsigned Bytes, unsigned Limit, 521 if (Bytes == 0 || (Limit && Bytes >= Limit)) 527 (MI->getOperand(2).getImm()*Scale) == Bytes && 533 unsigned Bytes, unsigned Limit, 543 if (Bytes == 0 || (Limit && Bytes >= Limit)) 550 (MI->getOperand(2).getImm()*Scale) == Bytes && 687 unsigned Bytes = getLSMultipleTransferSize(MI); 709 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg)) [all...] |