HomeSort by relevance Sort by last modified time
    Searched defs:Bytes (Results 176 - 200 of 298) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/go/darwin-x86/src/encoding/gob/
encode.go 67 func (e *encBuffer) Bytes() []byte {
155 // If any pointer so reached is nil, no bytes are written. If the
156 // data item is zero, no bytes are written. Single values - ints,
239 // Byte arrays are encoded as an unsigned count followed by the raw bytes.
241 b := v.Bytes()
250 // Strings are encoded as an unsigned count followed by the raw bytes.
decode.go 38 // It is initialized by calling Size and then copying the data into the slice returned by Bytes().
60 // Size grows the buffer to exactly n bytes, so d.Bytes() will
84 func (d *decBuffer) Bytes() []byte {
93 // We pass the bytes.Buffer separately for easier testing of the infrastructure
162 buf := state.b.Bytes()
370 // uint8 slices are encoded as an unsigned count followed by the raw bytes.
381 if _, err := state.b.Read(value.Bytes()); err != nil {
388 // Strings are encoded as an unsigned count followed by the raw bytes.
395 data := state.b.Bytes()
    [all...]
  /prebuilts/go/darwin-x86/src/math/big/
int.go 424 // SetBytes interprets buf as the bytes of a big-endian unsigned
432 // Bytes returns the absolute value of x as a big-endian byte slice.
433 func (x *Int) Bytes() []byte {
435 return buf[x.abs.bytes(buf):]
  /prebuilts/go/linux-x86/src/bytes/
buffer.go 5 package bytes package
15 // A Buffer is a variable-sized buffer of bytes with Read and Write methods.
18 buf []byte // contents are the bytes buf[off : len(buf)]
45 var ErrTooLarge = errors.New("bytes.Buffer: too large")
46 var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
50 // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
55 func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
72 // Len returns the number of bytes of the unread portion of the buffer;
73 // b.Len() == len(b.Bytes()).
80 // Truncate discards all but the first n unread bytes from the buffe
    [all...]
  /prebuilts/go/linux-x86/src/encoding/gob/
encode.go 67 func (e *encBuffer) Bytes() []byte {
155 // If any pointer so reached is nil, no bytes are written. If the
156 // data item is zero, no bytes are written. Single values - ints,
239 // Byte arrays are encoded as an unsigned count followed by the raw bytes.
241 b := v.Bytes()
250 // Strings are encoded as an unsigned count followed by the raw bytes.
decode.go 38 // It is initialized by calling Size and then copying the data into the slice returned by Bytes().
60 // Size grows the buffer to exactly n bytes, so d.Bytes() will
84 func (d *decBuffer) Bytes() []byte {
93 // We pass the bytes.Buffer separately for easier testing of the infrastructure
162 buf := state.b.Bytes()
370 // uint8 slices are encoded as an unsigned count followed by the raw bytes.
381 if _, err := state.b.Read(value.Bytes()); err != nil {
388 // Strings are encoded as an unsigned count followed by the raw bytes.
395 data := state.b.Bytes()
    [all...]
  /prebuilts/go/linux-x86/src/math/big/
int.go 424 // SetBytes interprets buf as the bytes of a big-endian unsigned
432 // Bytes returns the absolute value of x as a big-endian byte slice.
433 func (x *Int) Bytes() []byte {
435 return buf[x.abs.bytes(buf):]
  /sdk/emulator/mksdcard/src/source/
mksdcard.c 52 typedef Byte* Bytes;
54 #define BYTE_(p,i) (((Bytes)(p))[(i)])
126 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label )
181 fat_init( Bytes fat )
190 write_sector( FILE* file, Bytes sector )
194 fprintf(stderr, "Failed to write sector of %d bytes: %s\n", BYTES_PER_SECTOR, strerror(errno));
211 fprintf(stderr, "Failed to write %d bytes: %s\n", len, strerror(errno));
224 fprintf(stderr, " if <size> is a simple integer, it specifies a size in bytes\n" );
229 fprintf(stderr, "Maximum size is %lld bytes, %lldK, %lldM or %lldG\n"
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
SdMmcPciHci.c 128 @param[in] Count The width of the mmio register in bytes.
129 Must be 1, 2 , 4 or 8 bytes.
134 size not less than Count bytes.
194 @param[in] Count The width of the mmio register in bytes.
195 Must be 1, 2 , 4 or 8 bytes.
199 Count bytes.
252 @param[in] Count The width of the mmio register in bytes.
253 Must be 1, 2 , 4 or 8 bytes.
257 Count bytes.
310 @param[in] Count The width of the mmio register in bytes.
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
AhciMode.c     [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
SdMmcPciHci.c 128 @param[in] Count The width of the mmio register in bytes.
129 Must be 1, 2 , 4 or 8 bytes.
134 size not less than Count bytes.
194 @param[in] Count The width of the mmio register in bytes.
195 Must be 1, 2 , 4 or 8 bytes.
199 Count bytes.
252 @param[in] Count The width of the mmio register in bytes.
253 Must be 1, 2 , 4 or 8 bytes.
257 Count bytes.
310 @param[in] Count The width of the mmio register in bytes.
    [all...]
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
Ohci.c 251 @param DataLength Indicates the size, in bytes, of the data buffer
601 @param DataLength When input, indicates the size, in bytes, of the data buffer
    [all...]
  /external/llvm/lib/ProfileData/
InstrProfWriter.cpp 32 // A wrapper class to abstract writer stream with support of bytes
61 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]);
63 (const char *)&Bytes, sizeof(uint64_t));
  /external/llvm/lib/Target/X86/Disassembler/
X86Disassembler.cpp 19 // 1. Read the prefix bytes and determine the attributes of the instruction.
141 ArrayRef<uint8_t> Bytes, uint64_t Address,
173 ArrayRef<uint8_t> Bytes;
175 Region(ArrayRef<uint8_t> Bytes, uint64_t Base) : Bytes(Bytes), Base(Base) {}
187 ArrayRef<uint8_t> Bytes = R->Bytes;
189 if (Bytes.size() <= Index)
191 *Byte = Bytes[Index]
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 118 /// MemsetRange - Represents a range of memset'd bytes with the ByteVal value.
150 // If we found more than 8 stores to merge or 64 bytes, use memset.
176 unsigned Bytes = unsigned(End-Start);
177 unsigned NumPointerStores = Bytes/TD.getPointerSize();
179 // Assume the remaining bytes if any are done a byte at a time.
180 unsigned NumByteStores = Bytes - NumPointerStores*TD.getPointerSize();
599 // Check that accessing the first srcSize bytes of dest will not cause a
    [all...]
  /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/go/constant/
value.go 581 // Compute the size of a Word in bytes.
587 // Bytes returns the bytes for the absolute value of x in little-
589 func Bytes(x Value) []byte {
601 bytes := make([]byte, len(words)*wordSize)
606 bytes[i] = byte(w)
612 for i > 0 && bytes[i-1] == 0 {
616 return bytes[:i]
619 // MakeFromBytes returns the Int value given the bytes of its little-endian
621 func MakeFromBytes(bytes []byte) Value
    [all...]
  /prebuilts/go/linux-x86/src/go/constant/
value.go 581 // Compute the size of a Word in bytes.
587 // Bytes returns the bytes for the absolute value of x in little-
589 func Bytes(x Value) []byte {
601 bytes := make([]byte, len(words)*wordSize)
606 bytes[i] = byte(w)
612 for i > 0 && bytes[i-1] == 0 {
616 return bytes[:i]
619 // MakeFromBytes returns the Int value given the bytes of its little-endian
621 func MakeFromBytes(bytes []byte) Value
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DwMmcHci.c 108 @param[in] Count The width of the mmio register in bytes.
109 Must be 1, 2 , 4 or 8 bytes.
114 size not less than Count bytes.
174 @param[in] Count The width of the mmio register in bytes.
175 Must be 1, 2 , 4 or 8 bytes.
179 Count bytes.
232 @param[in] Count The width of the mmio register in bytes.
233 Must be 1, 2 , 4 or 8 bytes.
237 Count bytes.
290 @param[in] Count The width of the mmio register in bytes.
    [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;

Completed in 1429 milliseconds

1 2 3 4 5 6 78 91011>>