/external/mesa3d/src/util/ |
H A D | hash_table.h | 118 const uint8_t *bytes = (const uint8_t *)data; local 121 hash ^= *bytes; 123 bytes++;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | Pipeline.java | 35 * Input class for the pipelined parser. Buffer all bytes read from the socket 87 byte[] bytes; field in class:Pipeline.Buffer 93 public Buffer(byte[] bytes, int length) { argument 96 this.bytes = bytes; 100 int retval = bytes[ptr++] & 0xFF; 131 public void write(byte[] bytes, int start, int length) throws IOException { argument 134 Buffer buff = new Buffer(bytes, length); 142 public void write(byte[] bytes) throws IOException { argument 145 Buffer buff = new Buffer(bytes, byte [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
H A D | IOHandler.java | 104 private void writeChunks(OutputStream outputStream, byte[] bytes, int length) argument 109 // outputStream.write(bytes,0,length); 113 outputStream.write(bytes, p, chunk); 150 * Send an array of bytes. 160 int contactPort, String transport, byte[] bytes, boolean retry, 165 int length = bytes.length; 207 writeChunks(outputStream, bytes, length); 213 writeChunks(outputStream, bytes, length); 281 writeChunks(outputStream, bytes, length); 287 writeChunks(outputStream, bytes, lengt 159 sendBytes(InetAddress senderAddress, InetAddress receiverAddress, int contactPort, String transport, byte[] bytes, boolean retry, MessageChannel messageChannel) argument [all...] |
/external/nos/host/android/hals/keymaster/ |
H A D | import_key.cpp | 48 static EVP_PKEY *evp_from_pkcs8_bytes(const uint8_t *bytes, size_t len) argument 51 d2i_PKCS8_PRIV_KEY_INFO(NULL, &bytes, len));
|
/external/objenesis/main/src/test/java/org/objenesis/ |
H A D | ClassReader.java | 46 String bytes; field in class:ClassReader.CONSTANT_Utf8_info 49 bytes = in.readUTF(); 55 "bytes='" + bytes + '\'' + 150 String attribute_name = ((CONSTANT_Utf8_info) constant_pool[attribute_name_index]).bytes;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | BufferedSource.java | 32 * Returns true if there are no more bytes in this source. This will block 33 * until there are bytes to read or the source is definitely exhausted. 38 * Returns when the buffer contains at least {@code byteCount} bytes. Throws 40 * required bytes can be read. 45 * Returns true when the buffer contains at least {@code byteCount} bytes, 47 * the requested bytes can be read. 54 /** Removes two bytes from this source and returns a big-endian short. */ 57 /** Removes two bytes from this source and returns a little-endian short. */ 60 /** Removes four bytes from this source and returns a big-endian int. */ 63 /** Removes four bytes fro 222 indexOf(ByteString bytes) argument 230 indexOf(ByteString bytes, long fromIndex) argument [all...] |
/external/parameter-framework/upstream/parameter/ |
H A D | ParameterBlackboard.cpp | 98 void CParameterBlackboard::writeBytes(const std::vector<uint8_t> &bytes, size_t offset) argument 100 assertValidAccess(offset, bytes.size()); 102 std::copy(begin(bytes), end(bytes), atOffset(offset)); 105 void CParameterBlackboard::readBytes(std::vector<uint8_t> &bytes, size_t offset) const argument 107 assertValidAccess(offset, bytes.size()); 109 std::copy_n(atOffset(offset), bytes.size(), begin(bytes));
|
/external/pdfium/fxbarcode/qrcode/ |
H A D | BC_QRCoder.cpp | 123 void CBC_QRCoder::SetNumDataBytes(int32_t bytes) { argument 124 m_numDataBytes = bytes;
|
/external/pdfium/third_party/libtiff/ |
H A D | tif_aux.c | 39 uint32 bytes = first * second; local 41 if (second && bytes / second != first) { 43 bytes = 0; 46 return bytes; 52 uint64 bytes = first * second; local 54 if (second && bytes / second != first) { 56 bytes = 0; 59 return bytes; 67 tmsize_t bytes = nmemb * elem_size; local 73 cp = _TIFFrealloc(buffer, bytes); [all...] |
/external/proguard/src/proguard/classfile/constant/ |
H A D | Utf8Constant.java | 54 // Initially, we're storing the UTF-8 bytes in a byte array. 59 private byte[] bytes; field in class:Utf8Constant 78 this.bytes = null; 84 * Initializes the UTF-8 data with an array of bytes. 86 public void setBytes(byte[] bytes) argument 88 this.bytes = bytes; 94 * Returns the UTF-8 data as an array of bytes. 107 return bytes; 116 this.bytes 244 getStringRepresentation(byte[] bytes) argument [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | LazyFieldLite.java | 93 * An {@code ExtensionRegistryLite} for parsing bytes. It is non-null on a best-effort basis. It 94 * is only guaranteed to be non-null if this message was initialized using bytes and an 107 * The memoized bytes for {@code value}. This is an optimization for the toByteString() method to 114 * Constructs a LazyFieldLite with bytes that will be parsed lazily. 116 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { argument 117 checkArguments(extensionRegistry, bytes); 119 this.delayedBytes = bytes; 151 // mechanism to deserialize them so we rely on bytes equality. Otherwise we coerce into an 218 * Returns message instance. It may do some thread-safe delayed parsing of bytes. 266 // In the case that both of them are not parsed we simply concatenate the bytes t 366 setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) argument 450 checkArguments(ExtensionRegistryLite extensionRegistry, ByteString bytes) argument [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | bytestream.cc | 70 void CheckedArrayByteSink::Append(const char* bytes, size_t n) { argument 76 if (n > 0 && bytes != (outbuf_ + size_)) { 78 GOOGLE_DCHECK(!(outbuf_ <= bytes && bytes < (outbuf_ + capacity_))) 79 << "Append() bytes[] overlaps with outbuf_[]"; 80 memcpy(outbuf_ + size_, bytes, n); 95 void GrowingArrayByteSink::Append(const char* bytes, size_t n) { argument 97 if (bytes != (buf_ + size_)) { 100 GOOGLE_DCHECK(!(buf_ <= bytes && bytes < (buf [all...] |
/external/protobuf/src/google/protobuf/util/internal/ |
H A D | json_objectwriter.h | 150 virtual void Append(const char* bytes, size_t n) { argument 151 stream_->WriteRaw(bytes, n);
|
/external/protobuf/src/google/protobuf/util/ |
H A D | json_util.cc | 52 void ZeroCopyStreamByteSink::Append(const char* bytes, size_t len) { argument 61 memcpy(buffer, bytes, len); 65 memcpy(buffer, bytes, length); 66 bytes += length;
|
/external/python/cpython2/Modules/_ctypes/libffi/src/cris/ |
H A D | ffi.c | 162 unsigned bytes = 0; local 192 if (((*ptr)->alignment - 1) & bytes) 193 bytes = ALIGN (bytes, (*ptr)->alignment); 198 bytes += (*ptr)->size; 199 bytes += sizeof (void *); 204 bytes += 8; 206 bytes += 4; 210 bytes += STACK_ARG_SIZE ((*ptr)->size); 213 cif->bytes [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/ |
H A D | ffi.c | 103 unsigned i, bytes = 0; local 114 if (((*ptr)->alignment - 1) & bytes) 115 bytes = ALIGN(bytes, (*ptr)->alignment); 117 bytes += ALIGN((*ptr)->size, 4); 121 bytes = ALIGN(bytes, 8); 125 bytes += sizeof(void*); 128 bytes = ALIGN(bytes, [all...] |
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
H A D | ffi.c | 108 /* On Win64, if a single argument takes more than 8 bytes, 122 if (argp - stack > ecif->cif->bytes) 146 otherwise, put the 4- or 8-bytes integer type. */ 218 return ffi_call_x86(ffi_prep_args, &ecif, cif->bytes, 224 return ffi_call_AMD64(ffi_prep_args, &ecif, cif->bytes, 382 /* On Win64, if a single argument takes more than 8 bytes, 409 short bytes; local 417 bytes = 0; 420 bytes = cif->bytes; [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/cris/ |
H A D | ffi.c | 162 unsigned bytes = 0; local 192 if (((*ptr)->alignment - 1) & bytes) 193 bytes = ALIGN (bytes, (*ptr)->alignment); 198 bytes += (*ptr)->size; 199 bytes += sizeof (void *); 204 bytes += 8; 206 bytes += 4; 210 bytes += STACK_ARG_SIZE ((*ptr)->size); 213 cif->bytes [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/metag/ |
H A D | ffi.c | 103 unsigned i, bytes = 0; local 114 if (((*ptr)->alignment - 1) & bytes) 115 bytes = ALIGN(bytes, (*ptr)->alignment); 117 bytes += ALIGN((*ptr)->size, 4); 121 bytes = ALIGN(bytes, 8); 125 bytes += sizeof(void*); 128 bytes = ALIGN(bytes, [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
H A D | ffi.c | 127 /* On Win64, if a single argument takes more than 8 bytes, 141 if (argp >= stack && (unsigned)(argp - stack) > ecif->cif->bytes) 165 otherwise, put the 4- or 8-bytes integer type. */ 237 return ffi_call_x86(ffi_prep_args, &ecif, cif->bytes, 242 /* If a single argument takes more than 8 bytes, 253 return ffi_call_AMD64(ffi_prep_args, &ecif, cif->bytes, 411 /* On Win64, if a single argument takes more than 8 bytes, 438 short bytes; local 446 bytes = 0; 449 bytes [all...] |
/external/python/cpython3/Modules/ |
H A D | grpmodule.c | 150 PyObject *bytes, *retval = NULL; local 152 if ((bytes = PyUnicode_EncodeFSDefault(name)) == NULL) 154 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1) 163 Py_DECREF(bytes);
|
H A D | pwdmodule.c | 157 PyObject *bytes, *retval = NULL; local 159 if ((bytes = PyUnicode_EncodeFSDefault(arg)) == NULL) 161 if (PyBytes_AsStringAndSize(bytes, &name, NULL) == -1) 170 Py_DECREF(bytes);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowMemoryMappedFile.java | 25 private byte[] bytes; field in class:ShadowMemoryMappedFile 41 shadowMemoryMappedFile.bytes = Streams.readFully(is); 66 bytes = null; 80 return new RoboBufferIterator(bytes, endianness); 85 return bytes.length;
|
/external/skia/src/android/ |
H A D | SkBitmapRegionCodec.cpp | 96 size_t bytes = outInfo.computeByteSize(bitmap->rowBytes()); local 97 memset(pixels, 0, bytes);
|
/external/skia/src/core/ |
H A D | SkWriteBuffer.h | 28 virtual void writePad32(const void* buffer, size_t bytes) = 0; 82 void write(const void* buffer, size_t bytes) { argument 83 fWriter.write(buffer, bytes); 85 void writePad32(const void* buffer, size_t bytes) override { 86 fWriter.writePad(buffer, bytes);
|