| /third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
| H A D | ssl_x509.c | 89 X509* d2i_X509(X509 **cert, const unsigned char *buffer, long len) in d2i_X509() argument 95 SSL_ASSERT2(buffer); in d2i_X509() 109 ret = X509_METHOD_CALL(load, x, buffer, (int)len); in d2i_X509()
|
| /third_party/libwebsockets/minimal-examples/gtk/minimal-gtk/ |
| H A D | main.c | 95 char buffer[1024 + LWS_PRE]; in callback_http() local 96 char *px = buffer + LWS_PRE; in callback_http() 97 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
|
| /third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/ |
| H A D | minimal-http-client-attach.c | 76 char buffer[1024 + LWS_PRE]; in callback_http() local 77 char *px = buffer + LWS_PRE; in callback_http() 78 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
|
| /third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/ |
| H A D | minimal-http-server-eventlib-foreign.c | 103 char buffer[1024 + LWS_PRE]; in callback_http() local 104 char *px = buffer + LWS_PRE; in callback_http() 105 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
|
| /third_party/node/deps/v8/src/snapshot/ |
| H A D | object-deserializer.cc | 12 #include "src/objects/js-array-buffer-inl.h" 57 for (Handle<JSArrayBuffer> buffer : new_off_heap_array_buffers()) { in CommitPostProcessedObjects() 58 uint32_t store_index = buffer->GetBackingStoreRefForDeserialization(); in CommitPostProcessedObjects() 64 buffer->Setup(shared, ResizableFlag::kNotResizable, bs); in CommitPostProcessedObjects()
|
| /third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_cs.h | 66 /* A buffer out of which new IBs are allocated. */ 147 * isn't part of any buffer lists or the index where the bo could be found. 149 * single hashlist for the 3 buffer list, this is only a hint. 244 struct amdgpu_cs_buffer *buffer; in amdgpu_bo_is_referenced_by_cs_with_usage() local 250 buffer = bo->bo ? &cs->csc->real_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage() 254 return (buffer->usage & usage) != 0; in amdgpu_bo_is_referenced_by_cs_with_usage()
|
| /third_party/python/Lib/ |
| H A D | code.py | 185 """Reset the input buffer.""" 186 self.buffer = [] 246 internal newlines. The line is appended to a buffer and the 248 concatenated contents of the buffer as source. If this 249 indicates that the command was executed or invalid, the buffer 250 is reset; otherwise, the command is incomplete, and the buffer 256 self.buffer.append(line) 257 source = "\n".join(self.buffer)
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
| H A D | vktConditionalRenderingTestUtil.cpp | 63 // Create host-visible buffer. This may be the final buffer or only a staging buffer. in createConditionalRenderingBuffer() 71 // Copy data to host buffer. in createConditionalRenderingBuffer() 77 // Return host buffer if appropriate. in createConditionalRenderingBuffer() 81 // Create and return device-local buffer otherwise, after copying host-visible buffer contents to it. in createConditionalRenderingBuffer() 101 void beginConditionalRendering (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, Draw::Buffer& buffer, const ConditionalData& data) in beginConditionalRendering() argument 106 conditionalRenderingBeginInfo.buffer = buffer in beginConditionalRendering() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
| H A D | vktConditionalRenderingTestUtil.cpp | 63 // Create host-visible buffer. This may be the final buffer or only a staging buffer. in createConditionalRenderingBuffer() 71 // Copy data to host buffer. in createConditionalRenderingBuffer() 77 // Return host buffer if appropriate. in createConditionalRenderingBuffer() 81 // Create and return device-local buffer otherwise, after copying host-visible buffer contents to it. in createConditionalRenderingBuffer() 101 void beginConditionalRendering (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, Draw::Buffer& buffer, const ConditionalData& data) in beginConditionalRendering() argument 106 conditionalRenderingBeginInfo.buffer = buffer in beginConditionalRendering() [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
| H A D | FunctionsEGL.h | 65 EGLBoolean bindTexImage(EGLSurface surface, EGLint buffer) const; 66 EGLBoolean releaseTexImage(EGLSurface surface, EGLint buffer) const; 74 EGLClientBuffer buffer,
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | TransformFeedback_unittest.cpp | 115 gl::Buffer *buffer = new gl::Buffer(&mockGLFactory, {1}); in TEST_F() local 124 mFeedback->bindIndexedBuffer(nullptr, bindIndex, buffer, 0, 1)); in TEST_F() 129 EXPECT_EQ(mFeedback->getIndexedBuffer(i).get(), buffer); in TEST_F() 137 // force-release the feedback object to ensure the buffer is released. in TEST_F()
|
| /third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/ |
| H A D | esextcTextureBorderClampSamplingTexture.hpp | 310 void setInitData(std::vector<InputType>& buffer); 313 bool checkNearest(std::vector<OutputType>& buffer, OutputType expectedValue, OutputType expectedBorderColor, 315 bool checkLinear(std::vector<OutputType>& buffer, glw::GLint layer);
|
| /third_party/skia/third_party/externals/angle2/src/tests/ |
| H A D | angle_system_info_tests_main.cpp | 155 js::StringBuffer buffer; in main() local 156 js::PrettyWriter<js::StringBuffer> writer(buffer); in main() 159 const char *output = buffer.GetString(); in main()
|
| /third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
| H A D | SimpleMultiPlayer.cpp | 34 constexpr int32_t kBufferSizeInBursts = 2; // Use 2 bursts as the buffer size (double buffer) 96 // Reduce stream latency by setting the buffer size to a multiple of the burst size in openStream() 143 void SimpleMultiPlayer::addSampleSource(SampleSource* source, SampleBuffer* buffer) { in addSampleSource() argument 144 buffer->resampleData(mSampleRate); in addSampleSource() 146 mSampleBuffers.push_back(buffer); in addSampleSource()
|
| /third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/ |
| H A D | MainActivity.java | 75 byte[] buffer = new byte[1024]; in executeBinary() 77 while ((read = inStream.read(buffer)) != -1) { in executeBinary() 78 outStream.write(buffer, 0, read); in executeBinary()
|
| /third_party/skia/src/xml/ |
| H A D | SkXMLParser.cpp | 160 void* buffer = XML_GetBuffer(ctx.fXMLParser, kBufferSize); in parse() local 161 if (!buffer) { in parse() 162 SkDebugf("could not buffer enough to continue\n"); in parse() 166 size_t len = docStream.read(buffer, kBufferSize); in parse()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
| H A D | GPUBuffer.cpp | 30 GPUBuffer::GPUBuffer(wgpu::Buffer buffer, in GPUBuffer() argument 34 : buffer_(std::move(buffer)), in GPUBuffer() 59 "mapAsync called on buffer that is not in the unmapped state"); in mapAsync() 144 "unmap() called on a destroyed buffer"); in unmap() 149 mapping.buffer.Value().Detach(); in unmap()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
| H A D | BindGroupLayoutVk.cpp | 53 switch (bindingInfo.buffer.type) { in VulkanDescriptorType() 55 if (bindingInfo.buffer.hasDynamicOffset) { in VulkanDescriptorType() 62 if (bindingInfo.buffer.hasDynamicOffset) { in VulkanDescriptorType()
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-shape-complex-khmer-machine.hh | 259 find_syllables_khmer (hb_buffer_t *buffer) in find_syllables_khmer() argument 263 hb_glyph_info_t *info = buffer->info; in find_syllables_khmer() 277 pe = eof = buffer->len; in find_syllables_khmer()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
| H A D | IceAssembler.cpp | 73 void AssemblerBuffer::EnsureCapacity::validate(AssemblerBuffer *buffer) { in validate() argument 74 // In debug mode, we save the assembler buffer along with the gap size before in validate() 75 // we start emitting to the buffer. This allows us to check that any single in validate() 82 // Mark the buffer as having ensured the capacity. in validate() 83 assert(!buffer->hasEnsuredCapacity()); // Cannot nest. in validate() 84 buffer->HasEnsuredCapacity = true; in validate() 88 // Unmark the buffer, so we cannot emit after this. in ~EnsureCapacity()
|
| /third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
| H A D | util.cc | 55 spvtools::MessageConsumer GetBufferMessageConsumer(std::stringstream* buffer) { in GetBufferMessageConsumer() argument 56 return [buffer](spv_message_level_t level, const char*, in GetBufferMessageConsumer() 71 *buffer << status << " " << position.line << ":" << position.column << ":" in GetBufferMessageConsumer()
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | bytesinkutil.cpp | 36 char *buffer = sink.GetAppendBuffer(U8_MAX_LENGTH, desiredCapacity, in appendChange() local 43 U8_APPEND_UNSAFE(buffer, j, c); in appendChange() 49 sink.Append(buffer, j); in appendChange()
|
| /third_party/protobuf/js/experimental/runtime/kernel/ |
| H A D | buffer_decoder.js | 2 * @fileoverview A buffer implementation that can decode data for protobufs. 51 return BufferDecoder.fromArrayBuffer(bytesArray.buffer); 81 * Returns the start index of the underlying buffer. 89 * Returns the end index of the underlying buffer. 97 * Returns the length of the underlying buffer. 311 * Returns the buffer as a string. 318 new DataView(this.dataView_.buffer, this.startIndex_, this.length()); 323 * Returns the buffer as a ByteString. 332 * underlying buffer. 339 this.dataView_.buffer, thi [all...] |
| /third_party/rust/crates/rustix/tests/io/ |
| H A D | epoll.rs | 73 let mut buffer = vec![0; BUFFER_SIZE]; in client() variables 80 let nread = read(&data_socket, &mut buffer).unwrap(); in client() 81 assert_eq!(String::from_utf8_lossy(&buffer[..nread]), "hello\n"); in client()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
| H A D | StateManagerGL.cpp | 70 StateManagerGL::IndexedBufferBinding::IndexedBufferBinding() : offset(0), size(0), buffer(0) {} in IndexedBufferBinding() 290 void StateManagerGL::deleteBuffer(GLuint buffer) in deleteBuffer() argument 292 if (buffer == 0) in deleteBuffer() 299 if (mBuffers[target] == buffer) in deleteBuffer() 307 if (indexedTarget[bindIndex].buffer == buffer) in deleteBuffer() 316 if (mVAOState->elementArrayBuffer == buffer) in deleteBuffer() 323 if (binding.buffer == buffer) in deleteBuffer() 325 binding.buffer in deleteBuffer() 426 bindBuffer(gl::BufferBinding target, GLuint buffer) bindBuffer() argument 435 mFunctions->bindBuffer(gl::ToGLenum(target), buffer); bindBuffer() local 439 bindBufferBase(gl::BufferBinding target, size_t index, GLuint buffer) bindBufferBase() argument 453 mFunctions->bindBufferBase(gl::ToGLenum(target), static_cast<GLuint>(index), buffer); bindBufferBase() local 457 bindBufferRange(gl::BufferBinding target, size_t index, GLuint buffer, size_t offset, size_t size) bindBufferRange() argument 473 mFunctions->bindBufferRange(gl::ToGLenum(target), static_cast<GLuint>(index), buffer, bindBufferRange() local 1012 const auto &buffer = glState.getIndexedAtomicCounterBuffer(binding); updateProgramAtomicCounterBufferBindings() local [all...] |