Home
last modified time | relevance | path

Searched +full:buffer +full:- +full:from (Results 1 – 25 of 1216) sorted by relevance

12345678910>>...49

/external/deqp/doc/testspecs/VK/
Dsparse_resources.txt5 dEQP-VK.sparse_resources.*
9 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
11 3. Test partially resident buffer created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit
14 6. Test memory aliasing for fully resident buffer objects
20 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
22 The test creates buffer object with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit. The size of the b…
23 of the test parameters. The memory requirements of the buffer are being checked. Device memory is a…
24 in chunks equal to the alignment parameter of buffer's memory requirements. The number of allocatio…
27 The test creates two queues - one supporting sparse binding operations, the second one supporting c…
29 First queue is used to perform binding of device memory to sparse buffer. The binding operation sig…
[all …]
/external/libevent/include/event2/
Dbuffer.h2 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * derived from this software without specific prior written permission.
29 /** @file event2/buffer.h
34 the network or conversely for reading data from the network.
46 - if you already know how much data you are going to add as a result
51 - evbuffer_add_buffer() adds the contents of one buffer to the other
54 - evbuffer_add() and evbuffer_add_buffer() do not mix very well:
56 buffer.
58 - For high-performance code, you may want to avoid copying data into and out
61 buffer, and evbuffer_peek() when reading.
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/
DBufferedSource.kt8 * http://www.apache.org/licenses/LICENSE-2.0
19 * A source that keeps a buffer internally so that callers can do small reads without a performance
24 /** This source's internal buffer. */
25 val buffer: Buffer constant
34 * Returns when the buffer contains at least `byteCount` bytes. Throws an
40 * Returns true when the buffer contains at least `byteCount` bytes, expanding it as
45 /** Removes a byte from this source and returns it. */
49 * Removes two bytes from this source and returns a big-endian short.
51 * Buffer buffer = new Buffer()
56 * assertEquals(4, buffer.size());
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dbuffer.hpp2 // buffer.hpp
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
48 /// Holds a buffer that can be modified.
50 * The mutable_buffer class provides a safe representation of a buffer that can
54 * @par Accessing Buffer Contents
56 * The contents of a buffer may be accessed using the @ref buffer_size
70 /// Construct an empty buffer.
77 /// Construct a buffer to represent a given memory range.
110 /// Adapts a single modifiable buffer so that it meets the requirements of the
119 /// A random-access iterator type that may be used to read elements.
[all …]
/external/openthread/src/core/common/
Dencoding.hpp14 * derived from this software without specific prior written permission.
31 * This file includes definitions for byte-ordering encoding.
37 #include "openthread-core-config.h"
100 …* This template function performs host swap on a given unsigned integer value assuming big-endian …
117 * Reads a `uint16_t` value from a given buffer assuming big-endian encoding.
119 * @param[in] aBuffer Pointer to buffer to read from.
121 * @returns The `uint16_t` value read from buffer.
127 * Reads a `uint32_t` value from a given buffer assuming big-endian encoding.
129 * @param[in] aBuffer Pointer to buffer to read from.
131 * @returns The `uint32_t` value read from buffer.
[all …]
/external/flatbuffers/swift/Sources/FlatBuffers/
DByteBuffer.swift8 * http://www.apache.org/licenses/LICENSE-2.0
24 /// it allows users to write and read data directly from memory thus the use of its
35 /// pointer to the start of the buffer object in memory
37 /// Capacity of UInt8 the buffer can hold
63 func copy(from ptr: UnsafeRawPointer, count: Int) { in copy()
66 "copy should NOT be called on a buffer that is built by assumingMemoryBound") in copy()
67 memory.copyMemory(from: ptr, byteCount: count) in copy()
74 "initalize should NOT be called on a buffer that is built by assumingMemoryBound") in initialize()
78 /// Reallocates the buffer incase the object to be written doesnt fit in the current buffer
79 /// - Parameter size: Size of the current object
[all …]
/external/pdfium/third_party/libopenjpeg/
Dcio.h2 * The copyright in this software is being made available under the 2-clauses
7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
8 * Copyright (c) 2002-2014, Professor Benoit Macq
9 * Copyright (c) 2001-2003, David Janssens
10 * Copyright (c) 2002-2003, Yannick Verschueren
11 * Copyright (c) 2003-2007, Francois-Olivier Devaux
12 * Copyright (c) 2003-2014, Antonin Descampe
14 * Copyright (c) 2008, 2011-2012, Centre National d'Etudes Spatiales (CNES), FR
44 @brief Implementation of a byte input-output process (CIO)
49 /** @defgroup CIO CIO - byte input-output stream */
[all …]
/external/python/apitools/apitools/base/py/
Dcompression.py9 # http://www.apache.org/licenses/LICENSE-2.0
19 from collections import deque
21 from apitools.base.py import gzip
28 # pylint: disable=invalid-name
33 """Compresses an input stream into a file-like buffer.
35 This reads from the input stream until either we've stored at least length
41 in_stream: The input stream to read from.
42 length: The target number of compressed bytes to buffer in the output
46 The actual length of the output buffer can vary from the target.
47 If the input stream is exhaused, the output buffer may be smaller
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java8 * http://www.apache.org/licenses/LICENSE-2.0
23 * A source that keeps a buffer internally so that callers can do small reads
28 /** Returns this source's internal buffer. */
29 Buffer buffer(); in buffer() method
38 * Returns when the buffer contains at least {@code byteCount} bytes. Throws
45 * Returns true when the buffer contains at least {@code byteCount} bytes,
51 /** Removes a byte from this source and returns it. */
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. */
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBufferedSource.java9 * http://www.apache.org/licenses/LICENSE-2.0
24 * A source that keeps a buffer internally so that callers can do small reads
30 /** Returns this source's internal buffer. */
31 Buffer buffer(); in buffer() method
40 * Returns when the buffer contains at least {@code byteCount} bytes. Throws
47 * Returns true when the buffer contains at least {@code byteCount} bytes,
53 /** Removes a byte from this source and returns it. */
56 /** Removes two bytes from this source and returns a big-endian short. */
59 /** Removes two bytes from this source and returns a little-endian short. */
62 /** Removes four bytes from this source and returns a big-endian int. */
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
43 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
45 return buffer.ConsumeValue(short_value); in ConsumeValue()
53 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
68 testing::Values(1, kInlinedSize - 1, kInlinedSize,
69 kInlinedSize + 1, kDefaultLimit - 1,
74 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
75 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
76 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
80 CordBuffer buffer; in TEST() local
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
41 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
43 return buffer.ConsumeValue(short_value); in ConsumeValue()
51 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
66 testing::Values(1, kInlinedSize - 1, kInlinedSize,
67 kInlinedSize + 1, kDefaultLimit - 1,
72 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
73 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
74 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
78 CordBuffer buffer; in TEST() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
41 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
43 return buffer.ConsumeValue(short_value); in ConsumeValue()
51 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
66 testing::Values(1, kInlinedSize - 1, kInlinedSize,
67 kInlinedSize + 1, kDefaultLimit - 1,
72 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
73 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
74 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
78 CordBuffer buffer; in TEST() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
41 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
43 return buffer.ConsumeValue(short_value); in ConsumeValue()
51 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
66 testing::Values(1, kInlinedSize - 1, kInlinedSize,
67 kInlinedSize + 1, kDefaultLimit - 1,
72 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
73 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
74 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
78 CordBuffer buffer; in TEST() local
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
43 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
45 return buffer.ConsumeValue(short_value); in ConsumeValue()
53 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
68 testing::Values(1, kInlinedSize - 1, kInlinedSize,
69 kInlinedSize + 1, kDefaultLimit - 1,
74 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
75 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
76 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
80 CordBuffer buffer; in TEST() local
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
41 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
43 return buffer.ConsumeValue(short_value); in ConsumeValue()
51 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
66 testing::Values(1, kInlinedSize - 1, kInlinedSize,
67 kInlinedSize + 1, kDefaultLimit - 1,
72 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
73 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
74 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
78 CordBuffer buffer; in TEST() local
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
41 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
43 return buffer.ConsumeValue(short_value); in ConsumeValue()
51 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
66 testing::Values(1, kInlinedSize - 1, kInlinedSize,
67 kInlinedSize + 1, kDefaultLimit - 1,
72 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
73 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
74 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
78 CordBuffer buffer; in TEST() local
[all …]
/external/abseil-cpp/absl/strings/
Dcord_buffer_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
43 static cord_internal::CordRep* ConsumeValue(CordBuffer& buffer, in ConsumeValue() argument
45 return buffer.ConsumeValue(short_value); in ConsumeValue()
53 constexpr size_t kInlinedSize = sizeof(CordBuffer) - 1;
68 testing::Values(1, kInlinedSize - 1, kInlinedSize,
69 kInlinedSize + 1, kDefaultLimit - 1,
74 EXPECT_THAT(CordBuffer::MaximumPayload(512), Eq(512 - kFlatOverhead)); in TEST_P()
75 EXPECT_THAT(CordBuffer::MaximumPayload(k64KiB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
76 EXPECT_THAT(CordBuffer::MaximumPayload(k1MB), Eq(k64KiB - kFlatOverhead)); in TEST_P()
80 CordBuffer buffer; in TEST() local
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs2 // Protocol Buffers - Google's data interchange format
4 // https://developers.google.com/protocol-buffers/
17 // contributors may be used to endorse or promote products derived from
49 /// primitives from the stream. It effectively encapsulates the lowest
50 /// levels of protocol buffer format.
67 /// Buffer of data read from the stream or provided at construction time.
69 private readonly byte[] buffer; field in Google.Protobuf.CodedInputStream
72 /// The stream to read further input from, or null if the byte array buffer was provided
88 … // Note that the checks are performed such that we don't end up checking obviously-valid things
89 // like non-null references for arrays we've just created.
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs2 // Protocol Buffers - Google's data interchange format
4 // https://developers.google.com/protocol-buffers/
17 // contributors may be used to endorse or promote products derived from
49 /// primitives from the stream. It effectively encapsulates the lowest
50 /// levels of protocol buffer format.
67 /// Buffer of data read from the stream or provided at construction time.
69 private readonly byte[] buffer; field in Google.Protobuf.CodedInputStream
72 /// The stream to read further input from, or null if the byte array buffer was provided
88 … // Note that the checks are performed such that we don't end up checking obviously-valid things
89 // like non-null references for arrays we've just created.
[all …]
/external/deqp/doc/testspecs/GLES3/
Dperformance.buffer.data_upload.txt1 g-------------------------------------------------------------------------
3 -----------------------------------------------
11 http://www.apache.org/licenses/LICENSE-2.0
18 -------------------------------------------------------------------------
19 Buffer upload performance tests
22 + dEQP-GLES3.performance.buffer.data_upload.*
27 - STREAM, STATIC and DYNAMIC buffer usages
28 - Target buffer in different states:
30 ~ Just generated buffer
31 ~ Generated buffer with unspecified contents (bufferData(..., NULL))
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/envoy/extensions/filters/http/buffer/v3/
Dbuffer_pb2.py1 # -*- coding: utf-8 -*-
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: envoy/extensions/filters/http/buffer/v3/buffer.proto
4 """Generated protocol buffer code."""
5 from google.protobuf import descriptor as _descriptor
6 from google.protobuf import descriptor_pool as _descriptor_pool
7 from google.protobuf import symbol_database as _symbol_database
8 from google.protobuf.internal import builder as _builder
14 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
15 from udpa.annotations import status_pb2 as udpa_dot_annotations_dot_status__pb2
[all …]
/external/wpa_supplicant_8/src/crypto/
Dcrypto.h3 * Copyright (c) 2004-2017, Jouni Malinen <j@w1.fi>
11 * required. When TLS is enabled (e.g., by enabling EAP-TLS or EAP-PEAP), the
13 * non-TLS needs, too, in order to save space by not implementing these
27 * md4_vector - MD4 hash for data vector
31 * @mac: Buffer for the hash
32 * Returns: 0 on success, -1 on failure
37 * md5_vector - MD5 hash for data vector
41 * @mac: Buffer for the hash
42 * Returns: 0 on success, -1 on failure
48 * sha1_vector - SHA-1 hash for data vector
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarUtils.java10 * http://www.apache.org/licenses/LICENSE-2.0
64 public String decode(final byte[] buffer) {
65 final int length = buffer.length;
68 for (final byte b : buffer) {
72 result.append((char) (b & 0xFF)); // Allow for sign-extension
84 * Parse an octal string from a buffer.
87 * The buffer must contain a trailing space or NUL,
90 * <p>The input buffer is allowed to contain all NULs,
94 * <p>To work-around some tar implementations that insert a
98 * @param buffer The buffer from which to parse.
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/envoy/config/filter/http/buffer/v2/
Dbuffer_pb2.py1 # -*- coding: utf-8 -*-
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: envoy/config/filter/http/buffer/v2/buffer.proto
4 """Generated protocol buffer code."""
5 from google.protobuf import descriptor as _descriptor
6 from google.protobuf import descriptor_pool as _descriptor_pool
7 from google.protobuf import symbol_database as _symbol_database
8 from google.protobuf.internal import builder as _builder
14 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
15 from udpa.annotations import migrate_pb2 as udpa_dot_annotations_dot_migrate__pb2
[all …]

12345678910>>...49