/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/transform/ |
transform.go | 6 // bytes passing through as well as various transformations. Example 12 "bytes" 20 // receive all of the transformed bytes. 40 // Transformer transforms bytes. 42 // Transform writes to dst the transformed bytes read from src, and 43 // returns the number of dst bytes written and src bytes read. The 44 // atEOF argument tells whether src represents the last bytes of the 47 // Callers should always process the nDst bytes produced and account 48 // for the nSrc bytes consumed before considering the error err [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
normalize.go | 26 // the bytes or string x converted to the given form. 42 // Bytes returns f(b). May return b if f(b) = b. 43 func (f Form) Bytes(b []byte) []byte { 145 // if it is followed by illegal continuation bytes. It returns the 404 // segment in b or -1 if atEOF is false and there are not enough bytes to 411 // next segment in b or -1 if atEOF is false and there are not enough bytes to 471 if p == -1 { // incomplete UTF-8 encoding or non-starter bytes without a starter 475 if p+int(info.size) != i { // trailing non-starter bytes: illegal UTF-8 500 // and returns the number of bytes consumed from src or iShortDst or iShortSrc. 570 // illegal trailing continuation bytes [all...] |
/build/kati/ |
serialize.go | 18 "bytes" 67 w bytes.Buffer 90 func (d *dumpbuf) Bytes(b []byte) { 145 var buf bytes.Buffer 788 if !bytes.Equal(h[:], mk.Hash[:]) {
|
/development/vndk/tools/vtable-dumper/ |
elf_handling.cpp | 355 const unsigned char *Bytes = Contents.bytes_begin() + Offset; 356 uintX_t Addend = read<uintX_t, ELFT::TargetEndianness>(Bytes);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
Command.c | 582 IN UINTN Bytes
587 if (Bytes >= 1) {
590 if (Bytes >= 2) {
593 if (Bytes >= 3) {
613 UINTN Bytes;
621 Bytes = EndAddress - Address;
625 if (Bytes >= 4) {
632 AsciiPrint ("%08x ", GetBytes(Address, Bytes));
633 Address += Bytes;
634 Line += Bytes;
[all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
EmuThunk.c | 110 int Bytes; 112 Result = ioctl (STDIN_FILENO, FIONREAD, &Bytes); 117 return (BOOLEAN)(Bytes > 0);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
EhciSched.c | 118 UINTN Bytes;
132 Bytes = 4096;
133 Pages = EFI_SIZE_TO_PAGES (Bytes);
152 &Bytes,
157 if (EFI_ERROR (Status) || (Bytes != 4096)) {
907 // may change dt/Total Bytes to Transfer/C_Page/Cerr/Status/
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
UhciSched.c | 39 UINTN Bytes;
46 // at the same time. The Frame List ocupies 4K bytes,
49 Bytes = 4096;
50 Pages = EFI_SIZE_TO_PAGES (Bytes);
69 &Bytes,
74 if (EFI_ERROR (Status) || (Bytes != 4096)) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
UsbHcMem.c | 40 UINTN Bytes;
52 // bytes of memory in the memory block.
82 Bytes = EFI_PAGES_TO_SIZE (Pages);
87 &Bytes,
92 if (EFI_ERROR (Status) || (Bytes != EFI_PAGES_TO_SIZE (Pages))) {
636 UINTN Bytes;
708 Bytes = EFI_PAGES_TO_SIZE (Pages);
713 &Bytes,
718 if (EFI_ERROR (Status) || (Bytes != EFI_PAGES_TO_SIZE (Pages))) {
|
/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/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 132 /// bytes emitted. 153 /// EmitMatcher - Emit bytes for the specified matcher and return 154 /// the number of bytes emitted. 322 IdxSize = 2; // size of opcode in table is 2 bytes. 402 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); 404 return Bytes; 409 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), 412 return Bytes; 445 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); 447 return Bytes; [all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
llvm-objdump.cpp | 121 void llvm::DumpBytes(StringRef bytes) { 132 assert(bytes.size() <= 15 133 && "DumpBytes only supports instructions of up to 15 bytes"); 136 for (StringRef::iterator i = bytes.begin(), 137 e = bytes.end(); i != e; ++i) { 250 StringRef Bytes; 251 if (error(i->getContents(Bytes))) break; 252 StringRefMemoryObject memoryObject(Bytes); 289 DumpBytes(StringRef(Bytes.data() + Index, Size)); 295 Size = 1; // skip illegible bytes [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 114 /// bytes emitted. 135 /// EmitMatcherOpcodes - Emit bytes for the specified matcher and return 136 /// the number of bytes emitted. 291 IdxSize = 2; // size of opcode in table is 2 bytes. 368 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); 370 return Bytes; 403 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); 405 return Bytes; 410 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); 412 return Bytes; [all...] |
/external/valgrind/none/tests/x86-linux/ |
seg_override.c | 18 /*Declare as bytes to avoid alignment problems */ 21 } Bytes; 63 printf("got %d bytes\n", res );
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9effect.h | 56 UINT Bytes; 126 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; 127 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE; 230 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; 231 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE; 289 STDMETHOD(SetRawValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT byte_offset, UINT bytes) PURE; 323 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT bytes) PURE; 324 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, void *data, UINT bytes) PURE;
|
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encode.go | 65 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, 245 // Byte arrays are encoded as an unsigned count followed by the raw bytes. 247 b := v.Bytes() 256 // Strings are encoded as an unsigned count followed by the raw bytes.
|
/prebuilts/go/darwin-x86/src/math/big/ |
int.go | 385 // SetBytes interprets buf as the bytes of a big-endian unsigned 393 // Bytes returns the absolute value of x as a big-endian byte slice. 394 func (x *Int) Bytes() []byte { 396 return buf[x.abs.bytes(buf):]
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
encode.go | 65 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, 245 // Byte arrays are encoded as an unsigned count followed by the raw bytes. 247 b := v.Bytes() 256 // Strings are encoded as an unsigned count followed by the raw bytes.
|
/prebuilts/go/linux-x86/src/math/big/ |
int.go | 385 // SetBytes interprets buf as the bytes of a big-endian unsigned 393 // Bytes returns the absolute value of x as a big-endian byte slice. 394 func (x *Int) Bytes() []byte { 396 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)]) 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...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
AhciMode.c | [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...] |