| /kernel/linux/linux-6.6/crypto/ |
| H A D | aead.c | 37 u8 *buffer, *alignbuffer; in setkey_unaligned() local 41 buffer = kmalloc(absize, GFP_ATOMIC); in setkey_unaligned() 42 if (!buffer) in setkey_unaligned() 45 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned() 49 kfree(buffer); in setkey_unaligned()
|
| /kernel/linux/linux-6.6/drivers/input/serio/ |
| H A D | gscps2.c | 95 u8 act, append; /* position in buffer[] */ 99 } buffer[BUFFER_SIZE+1]; member 130 * gscps2_flush() - flush the receive buffer 236 while ( (ps2port->buffer[ps2port->append].str = in gscps2_interrupt() 238 ps2port->buffer[ps2port->append].data = in gscps2_interrupt() 261 status = ps2port->buffer[ps2port->act].str; in gscps2_interrupt() 262 data = ps2port->buffer[ps2port->act].data; in gscps2_interrupt()
|
| /kernel/linux/linux-6.6/tools/perf/ |
| H A D | builtin-help.c | 74 struct strbuf buffer = STRBUF_INIT; in check_emacsclient_version() local 89 if (strbuf_read(&buffer, ec_process.err, 20) < 0) { in check_emacsclient_version() 101 if (!strstarts(buffer.buf, "emacsclient")) { in check_emacsclient_version() 106 version = atoi(buffer.buf + strlen("emacsclient")); in check_emacsclient_version() 115 strbuf_release(&buffer); in check_emacsclient_version()
|
| /kernel/linux/linux-6.6/net/x25/ |
| H A D | x25_facilities.c | 188 int x25_create_facilities(unsigned char *buffer, in x25_create_facilities() argument 192 unsigned char *p = buffer + 1; in x25_create_facilities() 200 buffer[0] = 0; in x25_create_facilities() 254 len = p - buffer; in x25_create_facilities() 255 buffer[0] = len - 1; in x25_create_facilities()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_dynptr.c | 233 __u8 buffer[ethhdr_sz]; in _xdp_tx_iptunnel() local 238 __builtin_memset(buffer, 0, sizeof(buffer)); in _xdp_tx_iptunnel() 241 eth = bpf_dynptr_slice(&ptr, 0, buffer, sizeof(buffer)); in _xdp_tx_iptunnel()
|
| /third_party/curl/tests/libtest/ |
| H A D | stub_gssapi.c | 265 gss_buffer_t buffer) in gss_release_buffer() 270 if(buffer && buffer->length) { in gss_release_buffer() 271 free(buffer->value); in gss_release_buffer() 272 buffer->length = 0; in gss_release_buffer() 264 gss_release_buffer(OM_uint32 *min, gss_buffer_t buffer) gss_release_buffer() argument
|
| /third_party/ffmpeg/libavutil/ |
| H A D | dict.c | 230 int av_dict_get_string(const AVDictionary *m, char **buffer, in av_dict_get_string() argument 238 if (!buffer || pairs_sep == '\0' || key_val_sep == '\0' || pairs_sep == key_val_sep || in av_dict_get_string() 243 *buffer = av_strdup(""); in av_dict_get_string() 244 return *buffer ? 0 : AVERROR(ENOMEM); in av_dict_get_string() 255 return av_bprint_finalize(&bprint, buffer); in av_dict_get_string()
|
| /third_party/backends/backend/ |
| H A D | kvs20xx_cmd.c | 116 st = usb_send_command (s, c, &r, s->buffer); in send_command() 141 memcpy (s->buffer, c->cmd, c->cmd_size); in send_command() 142 memcpy (s->buffer + c->cmd_size, c->data, c->data_size); in send_command() 143 st = sanei_scsi_cmd (s->file, s->buffer, c->cmd_size + c->data_size, in send_command() 148 c->data = s->buffer; in send_command()
|
| /third_party/bounds_checking_function/include/ |
| H A D | securec.h | 61 /* The src buffer is not correct and destination buffer can not be reset */ 66 /* Once the error is detected, the dest buffer must be reset! Value is 22 or 128 */ 71 /* The destination buffer is not long enough and destination buffer can not be reset */ 76 /* Once the error is detected, the dest buffer must be reset! Value is 34 or 128 */ 81 /* Once the buffer overlap is detected, the dest buffer must be reset! Value is 54 or 128 */ 129 * Parameter: destMax - The maximum length of destination buffer 148 * Parameter: destMax - The maximum length of destination buffer [all...] |
| /third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
| H A D | TransformsMapperTest.java | 249 StringWriter buffer = new StringWriter(); in wrap() 251 buffer.write(chars, offset, length); in wrap() 255 buffer.flush(); in wrap() 259 buffer.close(); in wrap() 260 data.put(path.toString(), buffer.toString()); in wrap()
|
| /third_party/icu/icu4c/source/common/ |
| H A D | unistr_cnv.cpp | 283 char buffer[1024]; in doExtract() local 285 destLimit=buffer+sizeof(buffer); in doExtract() 287 dest=buffer; in doExtract() 290 length+=(int32_t)(dest-buffer); in doExtract() 374 // try to use the stack buffer in doCodepageCreate()
|
| /third_party/libuv/src/win/ |
| H A D | internal.h | 283 void uv__stdio_destroy(BYTE* buffer); 284 void uv__stdio_noinherit(BYTE* buffer); 285 int uv__stdio_verify(BYTE* buffer, WORD size); 286 WORD uv__stdio_size(BYTE* buffer); 287 HANDLE uv__stdio_handle(BYTE* buffer, int fd);
|
| /third_party/libsnd/src/ALAC/ |
| H A D | ag_dec.c | 112 static inline uint32_t ALWAYS_INLINE read32bit (uint8_t * buffer) in read32bit() argument 117 value = ((uint32_t) buffer [0] << 24) | ((uint32_t) buffer [1] << 16) | in read32bit() 118 ((uint32_t) buffer [2] << 8) | (uint32_t) buffer [3] ; in read32bit() 297 // bail if we've run off the end of the buffer in dyn_decomp()
|
| /third_party/libuv/test/ |
| H A D | runner-unix.c | 352 /* Returns the number of bytes in the stdio output buffer for process `p`. */ 367 /* Copy the contents of the stdio output buffer to `fd`. */ 391 /* Copy the last line of the stdio output buffer to `buffer` */ 393 char* buffer, in process_read_last_line() 403 buffer[0] = '\0'; in process_read_last_line() 405 while (fgets(buffer, buffer_len, p->stdout_file) != NULL) { in process_read_last_line() 406 for (ptr = buffer; *ptr && *ptr != '\r' && *ptr != '\n'; ptr++) in process_read_last_line() 413 buffer[0] = '\0'; in process_read_last_line() 442 /* Clean up after terminating process `p` (e.g. free the output buffer et 392 process_read_last_line(process_info_t *p, char* buffer, size_t buffer_len) process_read_last_line() argument [all...] |
| /third_party/mesa3d/include/d3dadapter/ |
| H A D | present.h | 67 /* Make a buffer visible to the window system via dma-buf fd. 70 HRESULT (WINAPI *DestroyD3DWindowBuffer)(ID3DPresent *This, D3DWindowBuffer *buffer); 71 /* After presenting a buffer to the window system, the buffer 73 * You must not use a non-released buffer, else the user may see undefined content. 74 * Note: This function waits as well that the buffer content was displayed (this 75 * can be after the release of the buffer if the window system decided to make 77 HRESULT (WINAPI *WaitBufferReleased)(ID3DPresent *This, D3DWindowBuffer *buffer); 78 HRESULT (WINAPI *FrontBufferCopy)(ID3DPresent *This, D3DWindowBuffer *buffer); 80 * be done by the client after checking the front buffer siz [all...] |
| /third_party/jerryscript/targets/nuttx-stm32f4/ |
| H A D | jerry_main.c | 64 * Read source code into buffer. 99 uint8_t *buffer = (uint8_t *) malloc (script_len); in read_file() local 101 if (buffer == NULL) in read_file() 108 size_t bytes_read = fread (buffer, 1u, script_len, file); in read_file() 113 free ((void*) buffer); in read_file() 122 return (const uint8_t *) buffer; in read_file()
|
| /third_party/lame/frontend/ |
| H A D | rtp.c | 324 char *buffer = malloc(len + sizeof(struct rtpheader)); in rtp_send() local 326 int *outcast = (int *) buffer; in rtp_send() 333 memmove(buffer + sizeof(struct rtpheader), data, len); in rtp_send() 335 count = send(s, buffer, size, 0); in rtp_send() 336 free(buffer); in rtp_send()
|
| /third_party/mesa3d/src/gallium/include/pipe/ |
| H A D | p_state.h | 264 unsigned dst_offset:16; /**< offset into the buffer in dwords */ 274 /** stride for an entire vertex for each buffer in dwords */ 279 * Selected components are tightly packed into the output buffer. 342 unsigned depth_writemask:1; /**< allow depth buffer writes? */ 411 struct pipe_surface *zsbuf; /**< Z/stencil buffer */ 511 * A description of a buffer or texture image that can be bound to a shader 553 * A memory object/resource such as a vertex buffer or texture. 613 /* Offset into a driver-internal staging buffer to make use of unused 621 * A vertex buffer. Typically, all the vertex data/attributes for 622 * drawing something will be in one buffer 634 } buffer; global() member 644 struct pipe_resource *buffer; /**< the actual buffer */ global() member 655 struct pipe_resource *buffer; /**< the actual buffer */ global() member 684 struct pipe_resource *buffer; /**< the output buffer */ global() member 786 struct pipe_resource *buffer; global() member [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-util-types.js | 121 const buffer = Buffer.from(arrayBuffer); 185 primitive, arrayBuffer, buffer, fakeBuffer, 202 buffer, 217 buffer, 231 buffer, uint8Array, stealthyUint8Array,
|
| /third_party/node/deps/icu-small/source/common/ |
| H A D | unistr_cnv.cpp | 283 char buffer[1024]; in doExtract() local 285 destLimit=buffer+sizeof(buffer); in doExtract() 287 dest=buffer; in doExtract() 290 length+=(int32_t)(dest-buffer); in doExtract() 374 // try to use the stack buffer in doCodepageCreate()
|
| /third_party/mesa3d/src/mesa/state_tracker/ |
| H A D | st_vdpau.c | 69 struct pipe_video_buffer *buffer; in st_vdpau_video_surface_gallium() local 77 buffer = f((uintptr_t)vdpSurface); in st_vdpau_video_surface_gallium() 78 if (!buffer) in st_vdpau_video_surface_gallium() 81 samplers = buffer->get_sampler_view_planes(buffer); in st_vdpau_video_surface_gallium()
|
| H A D | st_atom_constbuf.c | 67 * constant buffer. 117 cb.buffer = NULL; in st_upload_constants() 134 alignment, &cb.buffer_offset, &cb.buffer, (void**)&ptr); in st_upload_constants() 279 cb.buffer = _mesa_get_bufferobj_reference(st->ctx, binding->BufferObject); in st_bind_ubos() 281 if (cb.buffer) { in st_bind_ubos() 283 cb.buffer_size = cb.buffer->width0 - binding->Offset; in st_bind_ubos() 285 /* AutomaticSize is FALSE if the buffer was set with BindBufferRange. in st_bind_ubos()
|
| /third_party/node/deps/npm/node_modules/graceful-fs/ |
| H A D | polyfills.js | 129 function read (fd, buffer, offset, length, position, callback_) { 136 return fs$read.call(fs, fd, buffer, offset, length, position, callback) 141 return fs$read.call(fs, fd, buffer, offset, length, position, callback) 150 : (function (fs$readSync) { return function (fd, buffer, offset, length, position) { 154 return fs$readSync.call(fs, fd, buffer, offset, length, position)
|
| /third_party/mesa3d/src/gallium/auxiliary/draw/ |
| H A D | draw_vs_variant.c | 67 unsigned buffer, in vsvg_set_buffer() 75 buffer, in vsvg_set_buffer() 83 char *buffer, in find_viewport() 89 char *ptr = buffer + vertex_idx * stride; in find_viewport() 329 fetch.element[i].input_buffer = key->element[i].in.buffer; in draw_vs_create_variant_generic() 66 vsvg_set_buffer( struct draw_vs_variant *variant, unsigned buffer, const void *ptr, unsigned stride, unsigned max_index ) vsvg_set_buffer() argument 82 find_viewport(struct draw_context *draw, char *buffer, unsigned vertex_idx, unsigned stride) find_viewport() argument
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ |
| H A D | d3d12_bufmgr.cpp | 67 (unsigned)ptr->buffer->size, (unsigned)offset); in describe_suballoc_bo() 73 if (ptr->buffer) in d3d12_debug_describe_bo() 167 bo->buffer = buf; in d3d12_bo_wrap_buffer() 185 if (bo->buffer) in d3d12_bo_unreference() 186 pb_reference(&bo->buffer, NULL); in d3d12_bo_unreference() 324 // Align the buffer to D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT in d3d12_bufmgr_create_buffer()
|