/third_party/skia/include/third_party/vulkan/vulkan/ |
H A D | vulkan_android.h | 78 struct AHardwareBuffer* buffer; member 93 typedef VkResult (VKAPI_PTR *PFN_vkGetAndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties); 99 const struct AHardwareBuffer* buffer,
|
/third_party/skia/experimental/graphite/src/ |
H A D | CommandBuffer.cpp | 82 sk_sp<skgpu::Buffer> buffer, in copyTextureToBuffer() 89 this->onCopyTextureToBuffer(texture.get(), srcRect, buffer.get(), bufferOffset, bufferRowBytes); in copyTextureToBuffer() 92 this->trackResource(std::move(buffer)); in copyTextureToBuffer() 80 copyTextureToBuffer(sk_sp<skgpu::Texture> texture, SkIRect srcRect, sk_sp<skgpu::Buffer> buffer, size_t bufferOffset, size_t bufferRowBytes) copyTextureToBuffer() argument
|
/third_party/skia/modules/canvaskit/ |
H A D | particles.js | 21 var buffer = assets[key]; 22 var data = new Uint8Array(buffer); 65 return new Float32Array(CanvasKit.HEAPU8.buffer, fptr, numFloats);
|
/third_party/skia/docs/examples/ |
H A D | PDF.cpp | 59 SkDynamicMemoryWStream buffer; in REG_FIDDLE() local 60 WritePDF(&buffer, "SkPDF Example", &write_page, 1, ansiLetterSize); in REG_FIDDLE() 61 sk_sp<SkData> pdfData = buffer.detachAsData(); in REG_FIDDLE()
|
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_screen.h | 80 struct _screen_buffer* buffer; member 95 typedef VkResult (VKAPI_PTR *PFN_vkGetScreenBufferPropertiesQNX)(VkDevice device, const struct _screen_buffer* buffer, VkScreenBufferPropertiesQNX* pProperties); 100 const struct _screen_buffer* buffer,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | ClearMultiviewGL.h | 53 GLenum buffer, 66 GLenum buffer, 73 GLenum buffer,
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction-selector.cc | 945 void InstructionSelector::InitializeCallBuffer(Node* call, CallBuffer* buffer, in InitializeCallBuffer() argument 949 size_t ret_count = buffer->descriptor->ReturnCount(); in InitializeCallBuffer() 954 static_cast<int>(buffer->input_count() + buffer->frame_state_count())); in InitializeCallBuffer() 959 PushParameter result = {call, buffer->descriptor->GetReturnLocation(0)}; in InitializeCallBuffer() 960 buffer->output_nodes.push_back(result); in InitializeCallBuffer() 962 buffer->output_nodes.resize(ret_count); in InitializeCallBuffer() 964 LinkageLocation location = buffer->descriptor->GetReturnLocation(i); in InitializeCallBuffer() 965 buffer->output_nodes[i] = PushParameter(nullptr, location); in InitializeCallBuffer() 973 DCHECK_LT(index, buffer in InitializeCallBuffer() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | lscrdec.c | 43 uint8_t *buffer; member 80 zstream->next_in = s->gb.buffer; in decode_idat() 103 "%d undecompressed bytes left in buffer\n", zstream->avail_in); in decode_idat() 173 av_fast_padded_malloc(&s->buffer, &s->buffer_size, s->row_size + 16); in decode_frame_lscr() 174 if (!s->buffer) in decode_frame_lscr() 182 s->crow_buf = s->buffer + 15; in decode_frame_lscr() 217 av_freep(&s->buffer); in lscr_decode_close()
|
/third_party/curl/tests/ |
H A D | negtelnetserver.py | 141 :return: a buffer of bytes 143 buffer = bytearray() 145 # If we keep receiving negotiation sequences, we won't fill the buffer. 148 while len(buffer) == 0: 156 self.no_neg(byte_int, buffer) 168 return buffer 170 def no_neg(self, byte_int, buffer): 178 # Just append the incoming byte to the buffer 179 buffer.append(byte_int)
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_aphaser.c | 99 double *buffer = s->delay_buffer + \ 106 double v = *src * s->in_gain + buffer[ \ 114 buffer[delay_pos] = v; \ 132 double *buffer = s->delay_buffer; \ 145 double v = *src * s->in_gain + buffer[pos + c] * s->decay; \ 147 buffer[npos + c] = v; \
|
/third_party/curl/lib/ |
H A D | headers.c | 233 offset = hs->value - hs->buffer; in unfold_value() 255 /* ->name' and ->value point into ->buffer (to keep the header allocation in unfold_value() 258 newhs->name = newhs->buffer; in unfold_value() 259 newhs->value = &newhs->buffer[offset]; in unfold_value() 319 memcpy(hs->buffer, header, hlen); in Curl_headers_push() 320 hs->buffer[hlen] = 0; /* nul terminate */ in Curl_headers_push() 322 result = namevalue(hs->buffer, hlen, type, &name, &value); in Curl_headers_push()
|
H A D | pingpong.c | 255 char *buffer, in pingpong_read() 264 result = Curl_read(data, sockfd, buffer, buflen, nread); in pingpong_read() 290 /* a previous call left this many bytes in the beginning of the buffer as in Curl_pp_readresp() 301 char buffer[900]; in Curl_pp_readresp() local 303 result = pingpong_read(data, sockfd, buffer, sizeof(buffer), &gotbytes); in Curl_pp_readresp() 315 result = Curl_dyn_addn(&pp->recvbuf, buffer, gotbytes); in Curl_pp_readresp() 348 buffer since it will be accessed outside (by pingpong in Curl_pp_readresp() 350 data in this buffer after the endofresp line. */ in Curl_pp_readresp() 372 } while(1); /* while there's buffer lef in Curl_pp_readresp() 253 pingpong_read(struct Curl_easy *data, curl_socket_t sockfd, char *buffer, size_t buflen, ssize_t *nread) pingpong_read() argument [all...] |
/third_party/alsa-lib/src/rawmidi/ |
H A D | ump.c | 238 * \brief drop all packets in the rawmidi I/O ring buffer immediately 248 * \brief drain all packets in the UMP I/O ring buffer 263 * \param buffer buffer containing UMP packets 264 * \param size output buffer size in bytes 266 ssize_t snd_ump_write(snd_ump_t *ump, const void *buffer, size_t size) in snd_ump_write() argument 270 return snd_rawmidi_write(ump->rawmidi, buffer, size); in snd_ump_write() 276 * \param buffer buffer to store the input MIDI bytes 277 * \param size input buffer siz 280 snd_ump_read(snd_ump_t *ump, void *buffer, size_t size) snd_ump_read() argument 295 snd_ump_tread(snd_ump_t *ump, struct timespec *tstamp, void *buffer, size_t size) snd_ump_tread() argument [all...] |
/third_party/libuv/src/win/ |
H A D | getaddrinfo.c | 344 int uv_if_indextoname(unsigned int ifindex, char* buffer, size_t* size) { in uv_if_indextoname() argument 349 if (buffer == NULL || size == NULL || *size == 0) in uv_if_indextoname() 362 return uv__copy_utf16_to_utf8(wname, -1, buffer, size); in uv_if_indextoname() 365 int uv_if_indextoiid(unsigned int ifindex, char* buffer, size_t* size) { in uv_if_indextoiid() argument 368 if (buffer == NULL || size == NULL || *size == 0) in uv_if_indextoiid() 371 r = snprintf(buffer, *size, "%d", ifindex); in uv_if_indextoiid()
|
/third_party/mesa3d/src/gallium/targets/libgl-gdi/ |
H A D | stw_wgl.c | 228 void *buffer = NULL; in wglUseFontBitmapsW() local 256 buffer = realloc(buffer, size); in wglUseFontBitmapsW() 258 size, buffer, &tra); in wglUseFontBitmapsW() 262 gm.gmCellIncX, gm.gmCellIncY, buffer); in wglUseFontBitmapsW() 272 free(buffer); in wglUseFontBitmapsW()
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
H A D | Blob-constructor.any.js | 339 return new Blob([view.buffer, view.buffer]); 350 var view1 = new Uint16Array(view.buffer, 2); 351 return new Blob([view1, view.buffer, view1]); 361 return new Blob([view.buffer, blob, "foo"]); 455 var arr = new Uint8Array([t[0]]).buffer;
|
/third_party/node/deps/base64/base64/bin/ |
H A D | base64.c | 29 // Size of the buffer for the "raw" (not base64-encoded) data in bytes. 32 // Size of the buffer for the base64-encoded data in bytes. The base64-encoded 58 // Input/output buffer structure. 59 struct buffer { struct 61 // Runtime-allocated buffer for raw (unencoded) data. 64 // Runtime-allocated buffer for base64-encoded data. 122 buffer_alloc (const struct config *config, struct buffer *buf) in buffer_alloc() 136 buffer_free (struct buffer *buf) in buffer_free() 197 // Add the buffer to the IO vector array. in iov_append() 218 // Try to write the buffer t in write_stdout() [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_formats.c | 44 VkFormatFeatureFlags tex = 0, buffer = 0; in get_format_properties() local 51 /* 3byte formats are not supported by the buffer <-> image copy helpers. */ in get_format_properties() 62 buffer |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT | in get_format_properties() 66 buffer |= VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT; in get_format_properties() 80 buffer |= VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT; in get_format_properties() 90 buffer |= VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT; in get_format_properties() 102 out_properties->bufferFeatures = buffer; in get_format_properties()
|
H A D | panvk_vX_image.c | 179 VK_FROM_HANDLE(panvk_buffer, buffer, pCreateInfo->buffer); in CreateBufferView() 191 mali_ptr address = panvk_buffer_gpu_ptr(buffer, pCreateInfo->offset); in CreateBufferView() 192 unsigned size = panvk_buffer_range(buffer, pCreateInfo->offset, in CreateBufferView() 199 if (buffer->vk.usage & VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT) { in CreateBufferView() 221 if (buffer->vk.usage & VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT) { in CreateBufferView()
|
/third_party/icu/icu4c/source/test/thaitest/ |
H A D | thaitest.cpp | 312 UChar *buffer; in readFile() local 348 buffer = new UChar[charCount]; in readFile() 349 if(buffer == 0) { in readFile() 354 myText.extract(1, myText.length(), buffer); in readFile() 356 buffer[charCount] = 0; // NULL terminate for easier reading in the debugger in readFile() 358 return buffer; in readFile()
|
/third_party/ltp/testcases/misc/math/float/ |
H A D | thread_code.c | 30 * allocates a buffer and read a file to it 33 * data: pointer where buffer addr. will be returned 46 void *buffer; in read_file() local 72 while ((buffer = malloc(fsize)) == NULL) { in read_file() 91 SAFE_FREE(buffer); in read_file() 95 while (read(fd, buffer, fsize) != fsize) { in read_file() 106 SAFE_FREE(buffer); in read_file() 111 *data = buffer; in read_file()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | storage.c | 172 static char buffer[1024]; in show_storage() local 177 sprintf(buffer, "reg%d (%d)", s->regno, s->name); in show_storage() 180 sprintf(buffer, "%d(SP) (%d)", s->offset, s->name); in show_storage() 183 sprintf(buffer, "ARG%d (%d)", s->regno, s->name); in show_storage() 186 sprintf(buffer, "%d:%d (%d)", s->type, s->regno, s->name); in show_storage() 189 return buffer; in show_storage()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_ring.c | 48 memcpy(ring->shared.buffer + offset, data, size); in vn_ring_write_buffer() 51 memcpy(ring->shared.buffer + offset, data, s); in vn_ring_write_buffer() 52 memcpy(ring->shared.buffer, data + s, size - s); in vn_ring_write_buffer() 151 uint8_t buffer[] __attribute__((aligned(64))); in vn_ring_get_layout() member 160 layout->buffer_offset = offsetof(struct layout, buffer); in vn_ring_get_layout() 188 ring->shared.buffer = shared + layout->buffer_offset; in vn_ring_init()
|
/third_party/node/deps/uv/src/win/ |
H A D | getaddrinfo.c | 399 int uv_if_indextoname(unsigned int ifindex, char* buffer, size_t* size) { in uv_if_indextoname() argument 405 if (buffer == NULL || size == NULL || *size == 0) in uv_if_indextoname() 433 buffer, in uv_if_indextoname() 445 int uv_if_indextoiid(unsigned int ifindex, char* buffer, size_t* size) { in uv_if_indextoiid() argument 448 if (buffer == NULL || size == NULL || *size == 0) in uv_if_indextoiid() 451 r = snprintf(buffer, *size, "%d", ifindex); in uv_if_indextoiid()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | CLCommandQueue.h | 36 cl_int enqueueReadBuffer(cl_mem buffer, 45 cl_int enqueueWriteBuffer(cl_mem buffer, 54 cl_int enqueueReadBufferRect(cl_mem buffer, 68 cl_int enqueueWriteBufferRect(cl_mem buffer, 104 cl_int enqueueFillBuffer(cl_mem buffer, 113 void *enqueueMapBuffer(cl_mem buffer,
|