/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fVertexAttributeBindingStateQueryTests.cpp | 345 glu::Buffer buffer (m_context.getRenderContext()); in test() 371 gl.glBindVertexBuffer(1, *buffer, 4, 32); in test() 378 gl.glBindVertexBuffer(1, *buffer, 13, 32); in test() 399 gl.glBindVertexBuffer(binding, *buffer, offset, 32); in test() 423 glu::Buffer buffer (m_context.getRenderContext()); in test() 449 gl.glBindVertexBuffer(1, *buffer, 0, 32); in test() 456 gl.glBindVertexBuffer(1, *buffer, 0, 64); in test() 477 gl.glBindVertexBuffer(binding, *buffer, 0, stride); in test() 501 glu::Buffer buffer (m_context.getRenderContext()); in test() 528 gl.glBindVertexBuffer(1, *buffer, in test() [all...] |
/third_party/curl/lib/ |
H A D | cf-socket.c | 105 char buffer[STRERROR_LEN]; in tcpnodelay() local 110 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tcpnodelay() 130 char buffer[STRERROR_LEN]; in nosigpipe() local 132 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in nosigpipe() 495 * We now have the numerical IP address in the 'myhost' buffer in bindlocal() 590 the error buffer, so the user receives this error message instead of a in bindlocal() 623 char buffer[STRERROR_LEN]; in bindlocal() local 626 error, Curl_strerror(error, buffer, sizeo in bindlocal() 651 char buffer[STRERROR_LEN]; bindlocal() local 874 char buffer[STRERROR_LEN]; nw_in_read() local 931 char buffer[STRERROR_LEN]; set_local_ip() local 965 char buffer[STRERROR_LEN]; set_remote_ip() local 1214 char buffer[STRERROR_LEN]; cf_tcp_connect() local 1338 char buffer[STRERROR_LEN]; cf_socket_send() local 1890 char buffer[STRERROR_LEN]; set_accepted_remote_ip() local [all...] |
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | hdi_gfx_composition.cpp | 130 void HdiGfxComposition::InitGfxSurface(ISurface &iSurface, HdiLayerBuffer &buffer) in InitGfxSurface() argument 132 iSurface.width = buffer.GetWight(); in InitGfxSurface() 133 iSurface.height = buffer.GetHeight(); in InitGfxSurface() 134 iSurface.phyAddr = buffer.GetFb(); // buffer.GetPhysicalAddr(); in InitGfxSurface() 135 iSurface.enColorFmt = (PixelFormat)buffer.GetFormat(); in InitGfxSurface() 136 iSurface.stride = buffer.GetStride(); in InitGfxSurface() 143 buffer.GetFb(), iSurface.width, iSurface.height, in InitGfxSurface() 144 buffer.GetPhysicalAddr(), iSurface.enColorFmt, iSurface.stride); in InitGfxSurface() 163 DISPLAY_CHK_RETURN((dstBuffer == nullptr), DISPLAY_FAILURE, DISPLAY_LOGE("can not get client layer buffer")); in BlitLayer() [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_util.c | 45 static inline int nfs_pathsegment(const char **path, char *buffer, in nfs_pathsegment() argument 49 char *dest = buffer; in nfs_pathsegment() 327 * buffer in nfs_lookup() 342 * user buffer in nfs_lookup() 372 char buffer[NAME_MAX + 1]; in nfs_findnode() local 411 error = nfs_pathsegment(&path, buffer, &terminator); in nfs_findnode() 417 relpath, buffer, error); in nfs_findnode() 423 error = nfs_lookup(nmp, buffer, fhandle, obj_attributes, dir_attributes); in nfs_findnode() 427 relpath, buffer, error); in nfs_findnode() 456 buffer, pat in nfs_findnode() [all...] |
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | double-to-string.cc | 98 char buffer[kMaxExponentLength + 1]; in CreateExponentialRepresentation() 99 buffer[kMaxExponentLength] = '\0'; in CreateExponentialRepresentation() 102 buffer[--first_char_pos] = '0'; in CreateExponentialRepresentation() 105 buffer[--first_char_pos] = '0' + (exponent % 10); in CreateExponentialRepresentation() 112 buffer[--first_char_pos] = '0'; in CreateExponentialRepresentation() 114 result_builder->AddSubstring(&buffer[first_char_pos], in CreateExponentialRepresentation() 260 // will pass this buffer to strlen(), and this buffer is not generally in ToExponential() 345 // Fill buffer to contain 'precision' digits. in ToPrecision() 346 // Usually the buffer i in ToPrecision() 379 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 113 char buffer[kMaxExponentLength + 1]; 114 buffer[kMaxExponentLength] = '\0'; 117 buffer[--first_char_pos] = '0'; 120 buffer[--first_char_pos] = '0' + (exponent % 10); 127 buffer[--first_char_pos] = '0'; 129 result_builder->AddSubstring(&buffer[first_char_pos], 275 // will pass this buffer to strlen(), and this buffer is not generally 360 // Fill buffer to contain 'precision' digits. 361 // Usually the buffer i 395 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unorm.cpp | 137 UnicodeString buffer; in _iterate() local 141 buffer.append(uiter_next32(src)); in _iterate() 149 buffer.append(c); in _iterate() 154 /* always write this character to the front of the buffer */ in _iterate() 155 buffer.insert(0, c); in _iterate() 164 if(buffer.length()>0 && doNormalize) { in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 167 *pNeededToNormalize= destString!=buffer; in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_util.c | 22 char buffer[256]; in __tu_finishme() local 25 vsnprintf(buffer, sizeof(buffer), format, ap); in __tu_finishme() 28 mesa_loge("%s:%d: FINISHME: %s\n", file, line, buffer); in __tu_finishme() 41 char buffer[256]; in __vk_startup_errorf() local 52 vsnprintf(buffer, sizeof(buffer), format, ap); in __vk_startup_errorf() 55 mesa_loge("%s:%d: %s (%s)\n", file, line, buffer, error_str); in __vk_startup_errorf()
|
/third_party/node/lib/internal/crypto/ |
H A D | util.js | 61 const { Buffer } = require('buffer'); 78 let defaultEncoding = 'buffer'; 93 if (encoding === 'buffer') 120 const getArrayBufferOrView = hideStackFrames((buffer, name, encoding) => { 121 if (isAnyArrayBuffer(buffer)) 122 return buffer; 123 if (typeof buffer === 'string') { 124 if (encoding === 'buffer') 126 return Buffer.from(buffer, encoding); 128 if (!isArrayBufferView(buffer)) { [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream2-writable.js | 31 this.buffer = []; 38 this.buffer.push(chunk.toString()); 58 assert.deepStrictEqual(tw.buffer, chunks); 62 // Ignore backpressure. Just buffer it all up. 76 assert.deepStrictEqual(tw.buffer, chunks); 99 assert.deepStrictEqual(tw.buffer, chunks); 145 assert.deepStrictEqual(tw.buffer, chunks); 184 assert.deepStrictEqual(tw.buffer, chunks); 213 assert.deepStrictEqual(tw.buffer, chunks);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unorm.cpp | 137 UnicodeString buffer; in _iterate() local 141 buffer.append(uiter_next32(src)); in _iterate() 149 buffer.append(c); in _iterate() 154 /* always write this character to the front of the buffer */ in _iterate() 155 buffer.insert(0, c); in _iterate() 164 if(buffer.length()>0 && doNormalize) { in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 167 *pNeededToNormalize= destString!=buffer; in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 120 char buffer[kMaxExponentLength + 1]; 121 buffer[kMaxExponentLength] = '\0'; 124 buffer[--first_char_pos] = '0'; 127 buffer[--first_char_pos] = '0' + (exponent % 10); 134 buffer[--first_char_pos] = '0'; 136 result_builder->AddSubstring(&buffer[first_char_pos], 282 // will pass this buffer to strlen(), and this buffer is not generally 367 // Fill buffer to contain 'precision' digits. 368 // Usually the buffer i 402 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | pipe.c | 260 char* buffer, in uv__pipe_getsockpeername() 291 memcpy(buffer, sa.sun_path, addrlen); in uv__pipe_getsockpeername() 295 if (buffer[0] != '\0') in uv__pipe_getsockpeername() 296 buffer[addrlen] = '\0'; in uv__pipe_getsockpeername() 302 int uv_pipe_getsockname(const uv_pipe_t* handle, char* buffer, size_t* size) { in uv_pipe_getsockname() argument 303 return uv__pipe_getsockpeername(handle, getsockname, buffer, size); in uv_pipe_getsockname() 307 int uv_pipe_getpeername(const uv_pipe_t* handle, char* buffer, size_t* size) { in uv_pipe_getpeername() argument 308 return uv__pipe_getsockpeername(handle, getpeername, buffer, size); in uv_pipe_getpeername() 258 uv__pipe_getsockpeername(const uv_pipe_t* handle, uv__peersockfunc func, char* buffer, size_t* size) uv__pipe_getsockpeername() argument
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Common.h | 216 char buffer[((8 * sizeof(T)) / 3) + 3]; in str() local 218 snprintf(buffer, sizeof(buffer), formatStr, i); in str() 219 return buffer; in str() 227 char *buffer = static_cast<char *>(GetGlobalPoolAllocator()->allocate(requiredSize)); in AllocatePoolCharArray() local 228 memcpy(buffer, str, requiredSize); in AllocatePoolCharArray() 229 ASSERT(buffer[strLength] == '\0'); in AllocatePoolCharArray() 230 return buffer; in AllocatePoolCharArray()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5SamplerArrayIndexing.cpp | 170 /* Configure vertex buffer */ in initTest() 178 GLU_EXPECT_NO_ERROR(gl.getError(), "Error creating vertex buffer object!"); in initTest() 292 GLU_EXPECT_NO_ERROR(gl.getError(), "Error clearing color buffer!"); in iterate() 299 glw::GLubyte buffer[m_n_texture_components]; in iterate() local 301 memset(buffer, 0, m_n_texture_components * sizeof(glw::GLubyte)); in iterate() 309 GL_RGBA, GL_UNSIGNED_BYTE, buffer); in iterate() 313 if (memcmp(referenceColor, buffer, sizeof(referenceColor))) in iterate() 315 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered color [" << (int)buffer[0] << ", " << (int)buffer[1] in iterate() 316 << ", " << (int)buffer[ in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/ |
H A D | perf_test.cc | 18 static angle::base::NoDestructor<std::vector<char>> buffer(512); in FormatString() 20 // Attempt to just print to the current buffer in FormatString() 21 int len = vsnprintf(buffer->data(), buffer->size(), fmt, vararg); in FormatString() 22 if (len < 0 || static_cast<size_t>(len) >= buffer->size()) in FormatString() 24 // Buffer was not large enough, calculate the required size and resize the buffer in FormatString() 26 buffer->resize(len + 1); in FormatString() 29 vsnprintf(buffer->data(), buffer->size(), fmt, vararg); in FormatString() 32 return std::string(buffer in FormatString() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | Device.cpp | 162 VkBuffer buffer; in CreateStorageBuffer() local 163 VkResult result = driver->vkCreateBuffer(device, &info, 0, &buffer); in CreateStorageBuffer() 169 result = driver->vkBindBufferMemory(device, buffer, memory, offset); in CreateStorageBuffer() 175 *out = buffer; in CreateStorageBuffer() 179 void Device::DestroyBuffer(VkBuffer buffer) const in DestroyBuffer() 181 driver->vkDestroyBuffer(device, buffer, nullptr); in DestroyBuffer() 414 void Device::FreeCommandBuffer(VkCommandPool pool, VkCommandBuffer buffer) in FreeCommandBuffer() argument 416 driver->vkFreeCommandBuffers(device, pool, 1, &buffer); in FreeCommandBuffer()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 113 char buffer[kMaxExponentLength + 1]; 114 buffer[kMaxExponentLength] = '\0'; 117 buffer[--first_char_pos] = '0'; 120 buffer[--first_char_pos] = '0' + (exponent % 10); 127 buffer[--first_char_pos] = '0'; 129 result_builder->AddSubstring(&buffer[first_char_pos], 275 // will pass this buffer to strlen(), and this buffer is not generally 360 // Fill buffer to contain 'precision' digits. 361 // Usually the buffer i 395 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/skia/src/utils/ |
H A D | SkParsePath.cpp | 229 char buffer[64]; in write_scalar() local 231 int len = _snprintf(buffer, sizeof(buffer), "%g", value); in write_scalar() 233 int len = snprintf(buffer, sizeof(buffer), "%g", value); in write_scalar() 235 char* stop = buffer + len; in write_scalar() 236 stream->write(buffer, stop - buffer); in write_scalar()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | OSWindow.cpp | 264 std::ostringstream buffer; in KeyState() local 265 buffer << " ["; in KeyState() 269 buffer << "Shift"; in KeyState() 273 buffer << "Control"; in KeyState() 277 buffer << "Alt"; in KeyState() 281 buffer << "System"; in KeyState() 284 buffer << "]"; in KeyState() 285 return buffer.str(); in KeyState()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.h | 64 // Used to buffer the emitted string for initializing global 72 // We first layout the aggregate in 'buffer' in bytes, except for 74 //aggregate, its corresponding 4-byte or 8-byte elements in 'buffer' 76 // in 'buffer', and Symbols[i-1] records the Value*. 84 const unsigned size; // size of the buffer in bytes 85 std::vector<unsigned char> buffer; // the buffer member in llvm::NVPTXAsmPrinter::AggBuffer 103 : size(size), buffer(size), O(O), AP(AP) { in AggBuffer() 113 buffer[curpos] = Ptr[i]; in addBytes() 117 buffer[curpo in addBytes() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unorm.cpp | 137 UnicodeString buffer; in _iterate() local 141 buffer.append(uiter_next32(src)); in _iterate() 149 buffer.append(c); in _iterate() 154 /* always write this character to the front of the buffer */ in _iterate() 155 buffer.insert(0, c); in _iterate() 164 if(buffer.length()>0 && doNormalize) { in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 167 *pNeededToNormalize= destString!=buffer; in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | subprocess.cc | 218 char buffer[4096]; in Communicate() local 221 if (!ReadFile(child_stdout_, buffer, sizeof(buffer), &n, NULL)) { in Communicate() 226 output_data.append(buffer, n); in Communicate() 417 char buffer[4096]; 418 int n = read(child_stdout_, buffer, sizeof(buffer)); 421 output_data.append(buffer, n);
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl.cc | 131 int FileInputStream::CopyingFileInputStream::Read(void* buffer, int size) { in Read() argument 136 result = read(file_, buffer, size); in Read() 217 bool FileOutputStream::CopyingFileOutputStream::Write(const void* buffer, in Write() argument 222 const uint8* buffer_base = reinterpret_cast<const uint8*>(buffer); in Write() 273 int IstreamInputStream::CopyingIstreamInputStream::Read(void* buffer, in Read() argument 275 input_->read(reinterpret_cast<char*>(buffer), size); in Read() 305 bool OstreamOutputStream::CopyingOstreamOutputStream::Write(const void* buffer, in Write() argument 307 output_->write(reinterpret_cast<const char*>(buffer), size); in Write()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/param/ |
H A D | auxv.rs | 158 let mut buffer = Vec::<u8>::with_capacity(512); in init_from_auxv_file() variables 160 let cur = buffer.len(); in init_from_auxv_file() 163 buffer.reserve(1); in init_from_auxv_file() 166 buffer.resize(buffer.capacity(), 0); in init_from_auxv_file() 169 let n = match crate::io::read(&auxv, &mut buffer[cur..]) { in init_from_auxv_file() 177 buffer.resize(cur + n, 0_u8); in init_from_auxv_file() 180 // Safety: We loaded from an auxv file into the buffer. in init_from_auxv_file() 181 unsafe { init_from_auxp(buffer.as_ptr().cast()) } in init_from_auxv_file() 190 /// The buffer contain [all...] |