| /external/mesa3d/src/gallium/winsys/svga/drm/ |
| vmw_screen_svga.c | 55 * Try to get a surface backing buffer from the cache 69 struct pb_buffer *buffer; local 85 buffer = provider->create_buffer(provider, size, &desc.pb_desc); 87 if(!buffer && provider == vws->pools.gmr_fenced) { 91 buffer = provider->create_buffer(provider, size, &desc.pb_desc); 94 if (!buffer) 97 return vmw_svga_winsys_buffer_wrap(buffer); 164 * Used for the backing buffer GB surfaces, and to approximate 180 * If the backing buffer size is small enough, try to allocate a 181 * buffer out of the buffer cache. Otherwise, let the kernel allocat [all...] |
| /external/mesa3d/src/intel/blorp/ |
| blorp.h | 74 * stencil buffer packets. Instead, the driver guarantees that all depth 92 void *buffer; member in struct:blorp_address 198 * - 7.5.3.1 Depth Buffer Clear 199 * - 7.5.3.2 Depth Buffer Resolve 200 * - 7.5.3.3 Hierarchical Depth Buffer Resolve 203 * buffer: depth resolve and hiz resolve.
|
| /external/mesa3d/src/intel/vulkan/ |
| anv_formats.c | 387 VkFormatFeatureFlags linear = 0, tiled = 0, buffer = 0; local 410 buffer = get_buffer_format_properties(&physical_device->info, 434 out_properties->bufferFeatures = buffer;
|
| /external/mesa3d/src/mesa/main/ |
| accum.c | 76 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)"); 108 * Clear the accumulation buffer by mapping the renderbuffer and 125 return; /* missing accum buffer, not an error */ 162 _mesa_warning(ctx, "unexpected accum buffer type"); 246 /* no read buffer - OK */ 256 /* Map accum buffer */ 264 /* Map color buffer */ 284 /* read colors from source color buffer */ 335 GLuint buffer; local 337 /* Map accum buffer */ [all...] |
| /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
| IsoFile.java | 100 StringBuilder buffer = new StringBuilder(); local 101 buffer.append("IsoFile["); 103 buffer.append("unparsed"); 107 buffer.append(";"); 109 buffer.append(boxes.get(i).toString()); 112 buffer.append("]"); 113 return buffer.toString();
|
| /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
| ClassificationBox.java | 101 StringBuilder buffer = new StringBuilder(); local 102 buffer.append("ClassificationBox[language=").append(getLanguage()); 103 buffer.append("classificationEntity=").append(getClassificationEntity()); 104 buffer.append(";classificationTableIndex=").append(getClassificationTableIndex()); 105 buffer.append(";language=").append(getLanguage()); 106 buffer.append(";classificationInfo=").append(getClassificationInfo()); 107 buffer.append("]"); 108 return buffer.toString();
|
| RatingBox.java | 115 StringBuilder buffer = new StringBuilder(); local 116 buffer.append("RatingBox[language=").append(getLanguage()); 117 buffer.append("ratingEntity=").append(getRatingEntity()); 118 buffer.append(";ratingCriteria=").append(getRatingCriteria()); 119 buffer.append(";language=").append(getLanguage()); 120 buffer.append(";ratingInfo=").append(getRatingInfo()); 121 buffer.append("]"); 122 return buffer.toString();
|
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
| AbstractContainerBox.java | 116 StringBuilder buffer = new StringBuilder(); local 118 buffer.append(this.getClass().getSimpleName()).append("["); 121 buffer.append(";"); 123 buffer.append(boxes.get(i).toString()); 125 buffer.append("]"); 126 return buffer.toString();
|
| FullContainerBox.java | 122 StringBuilder buffer = new StringBuilder(); local 123 buffer.append(this.getClass().getSimpleName()).append("["); 126 buffer.append(";"); 128 buffer.append(boxes.get(i).toString()); 130 buffer.append("]"); 131 return buffer.toString();
|
| /external/nist-sip/java/gov/nist/core/ |
| StringTokenizer.java | 43 protected String buffer; field in class:StringTokenizer 51 public StringTokenizer(String buffer) { 52 this.buffer = buffer; 53 bufferLen = buffer.length(); 61 char c = buffer.charAt(ptr); 68 return buffer.substring(startIdx, ptr); 114 while (ptr < bufferLen && buffer.charAt(ptr) != '\n') { 117 if (ptr < bufferLen && buffer.charAt(ptr) == '\n') { 120 return buffer.substring(startIdx, ptr) [all...] |
| /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
| NettyHttpClient.java | 21 import io.netty.buffer.ByteBuf; 22 import io.netty.buffer.PooledByteBufAllocator; 137 byte[] buffer = new byte[1024]; field in class:NettyHttpClient.HttpChannel 180 byteBuf.readBytes(buffer, 0, Math.min(buffer.length, toRead));
|
| /external/okhttp/okio/okio/src/main/java/okio/ |
| BufferedSource.java | 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(); method in interface:BufferedSource 38 * Returns when the buffer contains at least {@code byteCount} bytes. Throws 45 * Returns true when the buffer contains at least {@code byteCount} bytes, 132 void readFully(Buffer sink, long byteCount) throws IOException; 202 * Returns the index of the first {@code b} in the buffer. This expands the 203 * buffer as necessary until {@code b} is found. This reads an unbounded 204 * number of bytes into the buffer. Returns -1 if the stream is exhauste [all...] |
| GzipSink.java | 59 this.sink = Okio.buffer(sink); 65 @Override public void write(Buffer source, long byteCount) throws IOException { 114 // Write the Gzip header directly into the buffer for the sink to avoid handling IOException. 115 Buffer buffer = this.sink.buffer(); local 116 buffer.writeShort(0x1f8b); // Two-byte Gzip ID. 117 buffer.writeByte(0x08); // 8 == Deflate compression method. 118 buffer.writeByte(0x00); // No flags. 119 buffer.writeInt(0x00); // No modification time [all...] |
| GzipSource.java | 63 this.source = Okio.buffer(source); 67 @Override public long read(Buffer sink, long byteCount) throws IOException { 115 byte flags = source.buffer().getByte(3); 117 if (fhcrc) updateCrc(source.buffer(), 0, 10); 129 if (fhcrc) updateCrc(source.buffer(), 0, 2); 130 int xlen = source.buffer().readShortLe(); 132 if (fhcrc) updateCrc(source.buffer(), 0, xlen); 143 if (fhcrc) updateCrc(source.buffer(), 0, index + 1); 154 if (fhcrc) updateCrc(source.buffer(), 0, index + 1); 186 private void updateCrc(Buffer buffer, long offset, long byteCount) [all...] |
| /external/okhttp/okio/okio/src/test/java/okio/ |
| DeflaterSinkTest.java | 32 Buffer data = new Buffer(); 35 Buffer sink = new Buffer(); 39 Buffer inflated = inflate(sink); 45 Buffer data = new Buffer(); 47 Buffer sink = new Buffer(); 51 Buffer inflated = inflate(sink) 80 Buffer buffer = new Buffer(); local [all...] |
| TestUtil.java | 89 public static void assertEquivalent(Buffer b1, Buffer b2) { 102 Buffer buffer = new Buffer(); local 103 b2.copyTo(buffer, 0, b2.size); 110 // Doesn't equal a different buffer. 116 Buffer b3 = new Buffer().write(b3Bytes); 120 Buffer b3 = new Buffer().writeUtf8("a") 129 Buffer buffer = new Buffer(); local [all...] |
| /external/opencv/cv/src/ |
| cvpgh.cpp | 154 float *buffer = local_buffer_ptr; local 176 /* allocate buffer for distances */ 181 buffer = (float *) cvAlloc( buffer_size ); 182 if( !buffer ) 199 buffer[i] = (float)(1./sqrt(dx * dx + dy * dy)); 229 dist_coeff = buffer[i] * dist_scale; 230 angle_coeff = buffer[i] * (_CV_ACOS_TABLE_SIZE / 2); 251 dp = cvRound( dp * angle_coeff * buffer[j] ) + 305 double scale = dist * buffer[i]; 326 if( buffer != local_buffer_ptr 327 cvFree( &buffer ); variable [all...] |
| /external/opencv/otherlibs/highgui/ |
| cvcap_socket.cpp | 98 long readBufSize; // the length of the read buffer 99 char *readBuf; // the read buffer 133 char buffer[100]; local 134 sprintf(buffer, "getaddrinfo error: %s", gai_strerror(error)); 135 LOGV("%s", buffer); 169 LOGV("Freeing Buffer"); 210 // First ensure that our addrinfo and read buffer are allocated. 221 char buffer[100]; local 222 sprintf(buffer, "Failed to create socket, errno = %d", errno); 223 LOGV("%s", buffer); 231 char buffer[100]; local 253 char buffer[100]; local [all...] |
| grfmt_sunras.cpp | 125 uchar buffer[256*3]; local 127 m_strm.GetBytes( buffer, m_maplength, &readed ); 135 m_palette[i].b = buffer[i + 2*palSize]; 136 m_palette[i].g = buffer[i + palSize]; 137 m_palette[i].r = buffer[i]; 176 uchar buffer[buffer_size]; local 180 uchar* src = buffer; 395 if( src != buffer ) delete[] src;
|
| /external/parameter-framework/asio-1.10.6/include/asio/ |
| buffer.hpp | 2 // buffer.hpp 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 128 /// Construct to represent a single modifiable buffer. 147 /// Holds a buffer that cannot be modified 592 inline mutable_buffers_1 buffer(const mutable_buffer& b) function in namespace:asio 604 inline mutable_buffers_1 buffer(const mutable_buffer& b, function in namespace:asio 618 inline const_buffers_1 buffer(const const_buffer& b) function in namespace:asio 630 inline const_buffers_1 buffer(const const_buffer& b, function in namespace:asio 644 inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes) function in namespace:asio 653 inline const_buffers_1 buffer(const void* data, function in namespace:asio 762 buffer(boost::array<PodType, N>& data) function in namespace:asio 774 buffer(boost::array<PodType, N>& data, std::size_t max_size_in_bytes) function in namespace:asio 796 inline mutable_buffers_1 buffer(boost::array<PodType, N>& data) function in namespace:asio 810 inline mutable_buffers_1 buffer(boost::array<PodType, N>& data, function in namespace:asio 827 inline const_buffers_1 buffer(boost::array<const PodType, N>& data) function in namespace:asio 841 inline const_buffers_1 buffer(boost::array<const PodType, N>& data, function in namespace:asio 860 inline const_buffers_1 buffer(const boost::array<PodType, N>& data) function in namespace:asio 874 inline const_buffers_1 buffer(const boost::array<PodType, N>& data, function in namespace:asio 892 inline mutable_buffers_1 buffer(std::array<PodType, N>& data) function in namespace:asio 906 inline mutable_buffers_1 buffer(std::array<PodType, N>& data, function in namespace:asio 923 inline const_buffers_1 buffer(std::array<const PodType, N>& data) function in namespace:asio 937 inline const_buffers_1 buffer(std::array<const PodType, N>& data, function in namespace:asio 954 inline const_buffers_1 buffer(const std::array<PodType, N>& data) function in namespace:asio 968 inline const_buffers_1 buffer(const std::array<PodType, N>& data, function in namespace:asio 989 inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data) function in namespace:asio 1007 inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data, function in namespace:asio 1028 inline const_buffers_1 buffer( function in namespace:asio 1047 inline const_buffers_1 buffer( function in namespace:asio 1065 inline const_buffers_1 buffer( function in namespace:asio 1083 inline const_buffers_1 buffer( function in namespace:asio [all...] |
| /external/pdfium/fpdfsdk/ |
| fpdftext_embeddertest.cpp | 73 // Extracting using a buffer that will be completely filled. Small buffer is 338 // Retrieve a link with too small a buffer. Buffer will not be 346 // Check buffer that doesn't have space for a terminating NUL. 354 // Retreive link with exactly-sized buffer. 362 // Retreive link with ample-sized-buffer. 538 unsigned short buffer[FX_ArraySize(kData) + 1]; local 539 memset(buffer, 0xbd, sizeof(buffer)); 569 unsigned short buffer[FX_ArraySize(soft_expected)]; local 588 unsigned short buffer[FX_ArraySize(hard_expected)]; local [all...] |
| /external/perfetto/include/perfetto/protozero/ |
| message.h | 50 // bytes into the buffer. 67 // Commits all the changes to the buffer (backfills the size field of this and 100 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; local 101 uint8_t* pos = buffer; 106 WriteToStream(buffer, pos); 122 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; local 123 uint8_t* pos = buffer; 127 WriteToStream(buffer, pos); 136 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; local 137 uint8_t* pos = buffer; [all...] |
| /external/perfetto/src/ftrace_reader/ |
| cpu_reader_unittest.cc | 71 // single buffer -> real proto dance. Has a method: writer() to get an 86 // Stitch together the scattered chunks into a single buffer then attempt 87 // to parse the buffer as a FtraceEventBundle. Returns the FtraceEventBundle 93 std::unique_ptr<uint8_t[]> buffer = delegate_.StitchChunks(msg_size); local 94 if (!bundle->ParseFromArray(buffer.get(), static_cast<int>(msg_size))) 138 std::unique_ptr<uint8_t[]> buffer(new uint8_t[written()]); 139 memcpy(buffer.get(), page_.get(), written()); 140 return buffer; 184 auto buffer = writer.GetCopy(); 185 EXPECT_EQ(buffer.get()[0], 1) [all...] |
| /external/piex/src/binary_parse/ |
| range_checked_byte_ptr.h | 120 // Returns a pointer to a memory buffer containing the data for the page 130 // it no longer needs to access the memory buffer. The memory buffer will 133 // this indicates that the memory buffer will remain valid until the 193 // - page_data_ always points to a buffer of at least current_page_len_ 236 // Pointer to the current page's data buffer. 329 } buffer; local 331 buffer.ch[i] = (*this)[i]; 334 *output = buffer.t;
|
| /external/ppp/pppd/include/ |
| pcap-int.h | 79 * Read buffer. 82 u_char *buffer; member in struct:pcap
|