/toolchain/binutils/binutils-2.25/libiberty/ |
sha1.c | 49 /* This array contains the bytes used to pad the buffer to the next 70 /* Put result from CTX in first 20 bytes following RESBUF. The result 87 /* Process the remaining bytes in the internal buffer and the usual 95 /* Take yet unprocessed bytes into account. */ 96 sha1_uint32 bytes = ctx->buflen; local 97 size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; 99 /* Now count remaining bytes. */ 100 ctx->total[0] += bytes; 101 if (ctx->total[0] < bytes) 108 memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes) [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
sh-dis.c | 902 bfd_byte bytes[4]; local 908 status = info->read_memory_func (disp_pc_addr, bytes, size, info); 916 val = bfd_getl16 (bytes); 918 val = bfd_getb16 (bytes); 923 val = bfd_getl32 (bytes); 925 val = bfd_getb32 (bytes);
|
z8k-dis.c | 32 of bytes is used, and every 4th entry of words). */ 34 unsigned char bytes[24]; member in struct:__anon109056 55 /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive) 90 priv->bytes[i] = *p; 95 priv->bytes[i] = *p; 172 instr_data.bytes[0], instr_data.bytes[2]); 314 instr_byte = instr_data->bytes[nibl_count & ~1];
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestConversion.java | 62 ByteBuffer bytes; // byte field in class:TestConversion.ConversionCase 145 cc.bytes = ((ICUResourceBundle) testcase.getObject("bytes")).getBinary(); 207 logln("Bytes: " + printbytes(cc.bytes, cc.bytes.limit())); 215 } else if (cc.offsets.length != cc.bytes.limit()) { 216 errln("fromUnicode[" + cc.caseNr + "] bytes[" + cc.bytes 401 int targetLen = cc.bytes.capacity() + 20; // for BOM, and to let failures produce excess outpu [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
AlgorithmId.java | 157 DerOutputStream bytes = new DerOutputStream(); local 160 bytes.putOID(algid); 194 bytes.putNull(); 196 bytes.putNull(); 198 bytes.putDerValue(params); 200 tmp.write(DerValue.tag_Sequence, bytes); [all...] |
/art/runtime/ |
oat.cc | 189 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 190 adler32_checksum_ = adler32(adler32_checksum_, bytes, length);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
ByteArrayAnnotatedOutput.java | 60 * {@code >= 8 (if used);} the number of bytes of hex output to use 109 * may be larger than the number of bytes written 122 * bytes at the end). 263 public void write(ByteArray bytes) { 264 int blen = bytes.size(); 275 bytes.getBytes(data, writeAt); 280 public void write(byte[] bytes, int offset, int length) { 286 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) { 287 throw new IndexOutOfBoundsException("bytes.length " + 288 bytes.length + "; " [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
DirectClassFile.java | 83 /** {@code non-null;} the bytes of the file */ 84 private final ByteArray bytes; field in class:DirectClassFile 169 * @param bytes {@code non-null;} the bytes of the file 177 public DirectClassFile(ByteArray bytes, String filePath, 179 if (bytes == null) { 180 throw new NullPointerException("bytes == null"); 188 this.bytes = bytes; 196 * @param bytes {@code non-null;} the bytes of the fil 583 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BlockDumper.java | 74 * @param bytes {@code non-null;} bytes of the (alleged) class file 81 public static void dump(byte[] bytes, PrintStream out, 83 BlockDumper bd = new BlockDumper(bytes, out, filePath, 92 BlockDumper(byte[] bytes, PrintStream out, String filePath, 94 super(bytes, out, filePath, args); 107 byte[] bytes = getBytes(); 108 ByteArray ba = new ByteArray(bytes); 136 public void parsed(ByteArray bytes, int offset, int len, String human) { 138 super.parsed(bytes, offset, len, human) 212 ByteArray bytes = code.getBytes(); local 288 ByteArray bytes = code.getBytes(); local [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 63 * {@code >= 8 (if used);} the number of bytes of hex output to use 121 * may be larger than the number of bytes written 134 * bytes at the end). 259 public void write(ByteArray bytes) { 260 int blen = bytes.size(); 271 bytes.getBytes(data, writeAt); 276 public void write(byte[] bytes, int offset, int length) { 282 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) { 283 throw new IndexOutOfBoundsException("bytes.length " + 284 bytes.length + "; " [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/ |
DwUsbDxe.c | 118 /* EP0 OUT Transfer Size:64 Bytes, 1 Packet, 3 Setup Packet, Read to receive setup packet*/ 128 g_dma_desc_ep0->status.b.bytes = 64; 157 g_dma_desc_in->status.b.bytes = 0; 174 g_dma_desc_in->status.b.bytes = len; 210 g_dma_desc->status.b.bytes = (UINT32)rx_desc_bytes; 499 g_dma_desc_ep0->status.b.bytes = 64; 516 UINTN bytes = rx_desc_bytes - g_dma_desc->status.b.bytes; local 523 mNumDataBytes -= bytes; 526 mDataReceivedCallback (bytes, rx_buf) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
memoryobject.c | 224 points to a brand-new Bytes object (and holds a memory lock on it).
243 PyObject *bytes;
local 286 bytes = PyBytes_FromStringAndSize(NULL, view->len);
287 if (bytes == NULL) {
291 dest = PyBytes_AS_STRING(bytes);
302 Py_DECREF(bytes);
310 mem->base = PyTuple_Pack(2, obj, bytes);
311 Py_DECREF(bytes);
320 mem->base = bytes;
522 /* Return a bytes object */ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
memoryobject.c | 224 points to a brand-new Bytes object (and holds a memory lock on it).
243 PyObject *bytes;
local 286 bytes = PyBytes_FromStringAndSize(NULL, view->len);
287 if (bytes == NULL) {
291 dest = PyBytes_AS_STRING(bytes);
302 Py_DECREF(bytes);
310 mem->base = PyTuple_Pack(2, obj, bytes);
311 Py_DECREF(bytes);
320 mem->base = bytes;
522 /* Return a bytes object */ [all...] |
/external/aac/libAACdec/src/ |
aacdecoder.cpp | 217 \size Size of the buffer pointed on by buffer in bytes 241 \size Pointer to a buffer receiving the length of the requested anc data element in bytes 486 int bytes = (*count) >> 3; local 573 bytes--; 578 while (bytes > 0) { 580 bytes--; 586 *count = bytes<<3; 670 { /* Skip the remaining extension bytes */ [all...] |
/external/blktrace/btreplay/ |
btrecord.c | 66 * @bytes: Number of bytes transferred 72 __u32 bytes; member in struct:io_spec 275 .nbytes = spec->bytes, 514 spec->bytes = t.bytes; 521 spec->bytes = be32_to_cpu(t.bytes); 550 (long long unsigned)spec->bytes / 512LLU,
|
/external/boringssl/src/crypto/rsa/ |
rsa.c | 358 /* len is the number of bytes of |bytes| which are valid. */ 360 /* bytes contains the DER bytes. */ 361 uint8_t bytes[19]; member in struct:pkcs1_sig_prefix 432 const uint8_t* prefix = sig_prefix->bytes;
|
/external/clang/test/Analysis/ |
bstring.c | 471 char *bytes = malloc(sizeof(char) * (length + 1)); local 472 memcpy(bytes, input, length); 473 char x = bytes[0]; // no warning 474 free(bytes);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkBinaryRegistry.cpp | 145 std::vector<deUint8> bytes (size); 147 in.read((char*)&bytes[0], size); 148 DE_ASSERT(bytes[0] != 0); 150 return new ProgramBinary(vk::PROGRAM_FORMAT_SPIRV, bytes.size(), &bytes[0]); 244 deUint8 bytes[4]; local 245 deMemcpy(bytes, &word, sizeof(word)); 246 return bytes[3] == 0; 601 vector<deUint8> bytes (progSize); 603 TCU_CHECK_INTERNAL(!bytes.empty()) [all...] |
/external/deqp/framework/delibs/dethread/ |
deThreadTest.c | 50 deUint8 bytes[16]; member in struct:ThreadData3_s 58 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data->bytes); ndx++) 59 DE_TEST_ASSERT(data->bytes[ndx] == 0); 61 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data->bytes); ndx++) 62 data->bytes[ndx] = 0xff; 132 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data.bytes); ndx++) 133 DE_TEST_ASSERT(data.bytes[ndx] == 0xff);
|
/external/dhcpcd-6.8.2/ |
dhcp-common.c | 433 size_t bytes; local 436 bytes = 0; 451 bytes += 2; 478 bytes += 2; 492 bytes += 4; 502 bytes++; 522 return (ssize_t)bytes; 580 ssize_t bytes = 0, sl; local 672 bytes++; 718 bytes += len [all...] |
/external/e2fsprogs/lib/ext2fs/ |
icount.c | 246 size_t bytes; local 273 bytes = (size_t) (icount->size * sizeof(struct ext2_icount_el)); 275 printf("Icount allocated %u entries, %d bytes.\n", 276 icount->size, bytes); 282 memset(icount->list, 0, bytes);
|
/external/elfutils/libasm/ |
libasmP.h | 106 /* Currently used number of bytes in the block. */ 109 /* Number of bytes allocated. */ 123 char bytes[flexarr_size]; member in struct:AsmScn::FillPattern 262 /* Ensure there are at least LEN bytes available in the output buffer
|
/external/flac/libFLAC/ |
bitreader.c | 50 /* also, some sections currently only have fast versions for 4 or 8 bytes per word */ 54 /* SWAP_BE_WORD_TO_HOST swaps bytes in a uint32_t (which is always big-endian) if necessary to match host byte order */ 67 * But to be practical it should be at least 1K bytes. 79 /* any incomplete word at the tail will be left-justified, and bytes from the read callback are added on the right */ 83 unsigned bytes; /* # of bytes in incomplete word at buffer[words] */ member in struct:FLAC__BitReader 124 size_t bytes; local 130 end = br->words + (br->bytes? 1:0); 140 bytes = (br->capacity - br->words) * FLAC__BYTES_PER_WORD - br->bytes; [all...] |
/external/flatbuffers/js/ |
flatbuffers.js | 252 * Get the bytes representing the FlatBuffer. Only call this after you've 258 return this.bb.bytes().subarray(this.bb.position(), this.bb.position() + this.offset()); 265 * field is aligned to 4 bytes, and the string data follows it directly. If all 558 nbb.bytes().set(bb.bytes(), new_buf_size - old_buf_size); 778 for (var i = 0, offset = this.space, bytes = this.bb.bytes(); i < utf8.length; i++) { 779 bytes[offset++] = utf8[i]; 797 * Create a new ByteBuffer with a given array of bytes (`Uint8Array`). 800 * @param {Uint8Array} bytes 831 flatbuffers.ByteBuffer.prototype.bytes = function() { method in class:flatbuffers.ByteBuffer [all...] |
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
DoublesTest.java | 327 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 334 assertTrue(Arrays.equals(array, Doubles.toArray(bytes)));
|