Home
last modified time | relevance | path

Searched refs:buffer (Results 776 - 800 of 11084) sorted by relevance

1...<<31323334353637383940>>...444

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderEncoderBase.cpp135 // mode vertex buffer with an array stride of zero. in APIDrawIndexed()
169 "Indirect offset (%u) is out of bounds of indirect buffer %s size (%u).", in APIDrawIndirect()
200 "Indirect offset (%u) is out of bounds of indirect buffer %s size (%u).", in APIDrawIndexedIndirect()
208 // buffer which will store the validated indirect data. The buffer and offset in APIDrawIndexedIndirect()
267 void RenderEncoderBase::APISetIndexBuffer(BufferBase* buffer, in APISetIndexBuffer() argument
275 DAWN_TRY(GetDevice()->ValidateObject(buffer)); in APISetIndexBuffer()
276 DAWN_TRY(ValidateCanUseAs(buffer, wgpu::BufferUsage::Index)); in APISetIndexBuffer()
284 "Index buffer offset (%u) is not a multiple of the size (%u)" in APISetIndexBuffer()
288 uint64_t bufferSize = buffer in APISetIndexBuffer()
327 APISetVertexBuffer(uint32_t slot, BufferBase* buffer, uint64_t offset, uint64_t size) APISetVertexBuffer() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dbufferobj.c64 * We count the number of buffer modification calls to check for
65 * inefficient buffer use. This is the number of such calls before we
72 * Replace data in a subrange of buffer object. If the data range
73 * specified by size + offset extends beyond the end of the buffer or
93 * then the contents of the buffer object's data store is undefined. We just in _mesa_bufferobj_subdata()
99 if (!obj->buffer) { in _mesa_bufferobj_subdata()
100 /* we probably ran out of memory during buffer allocation */ in _mesa_bufferobj_subdata()
106 * even if the buffer is currently referenced by hardware - they in _mesa_bufferobj_subdata()
108 * buffer directly. in _mesa_bufferobj_subdata()
110 * If the buffer i in _mesa_bufferobj_subdata()
328 struct pipe_resource buffer; bufferobj_data() local
1341 _mesa_handle_bind_buffer_gen(struct gl_context *ctx, GLuint buffer, struct gl_buffer_object **buf_handle, const char *caller, bool no_error) _mesa_handle_bind_buffer_gen() argument
1385 bind_buffer_object(struct gl_context *ctx, struct gl_buffer_object **bindTarget, GLuint buffer, bool no_error) bind_buffer_object() argument
1439 _mesa_lookup_bufferobj(struct gl_context *ctx, GLuint buffer) _mesa_lookup_bufferobj() argument
1451 _mesa_lookup_bufferobj_locked(struct gl_context *ctx, GLuint buffer) _mesa_lookup_bufferobj_locked() argument
1466 _mesa_lookup_bufferobj_err(struct gl_context *ctx, GLuint buffer, const char *caller) _mesa_lookup_bufferobj_err() argument
1572 _mesa_BindBuffer_no_error(GLenum target, GLuint buffer) _mesa_BindBuffer_no_error() argument
1582 _mesa_BindBuffer(GLenum target, GLuint buffer) _mesa_BindBuffer() argument
2236 inlined_buffer_storage(GLenum target, GLuint buffer, GLsizeiptr size, const GLvoid *data, GLbitfield flags, GLuint memory, GLuint64 offset, bool dsa, bool mem, bool no_error, const char *func) inlined_buffer_storage() argument
2320 _mesa_NamedBufferStorageEXT(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLbitfield flags) _mesa_NamedBufferStorageEXT() argument
2354 _mesa_NamedBufferStorage_no_error(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLbitfield flags) _mesa_NamedBufferStorage_no_error() argument
2366 _mesa_NamedBufferStorage(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLbitfield flags) _mesa_NamedBufferStorage() argument
2377 _mesa_NamedBufferStorageMemEXT(GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset) _mesa_NamedBufferStorageMemEXT() argument
2386 _mesa_NamedBufferStorageMemEXT_no_error(GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset) _mesa_NamedBufferStorageMemEXT_no_error() argument
2537 _mesa_NamedBufferData_no_error(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage) _mesa_NamedBufferData_no_error() argument
2548 _mesa_NamedBufferData(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage) _mesa_NamedBufferData() argument
2566 _mesa_NamedBufferDataEXT(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage) _mesa_NamedBufferDataEXT() argument
2649 buffer_sub_data(GLenum target, GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data, bool dsa, bool no_error, const char *func) buffer_sub_data() argument
2698 _mesa_NamedBufferSubData_no_error(GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data) _mesa_NamedBufferSubData_no_error() argument
2706 _mesa_NamedBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data) _mesa_NamedBufferSubData() argument
2714 _mesa_NamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data) _mesa_NamedBufferSubDataEXT() argument
2759 _mesa_GetNamedBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data) _mesa_GetNamedBufferSubData() argument
2780 _mesa_GetNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data) _mesa_GetNamedBufferSubDataEXT() argument
2921 _mesa_ClearNamedBufferData_no_error(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferData_no_error() argument
2935 _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferData() argument
2952 _mesa_ClearNamedBufferDataEXT(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferDataEXT() argument
3002 _mesa_ClearNamedBufferSubData_no_error(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferSubData_no_error() argument
3017 _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferSubData() argument
3036 _mesa_ClearNamedBufferSubDataEXT(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data) _mesa_ClearNamedBufferSubDataEXT() argument
3140 _mesa_UnmapNamedBufferEXT_no_error(GLuint buffer) _mesa_UnmapNamedBufferEXT_no_error() argument
3149 _mesa_UnmapNamedBufferEXT(GLuint buffer) _mesa_UnmapNamedBufferEXT() argument
3263 _mesa_GetNamedBufferParameteriv(GLuint buffer, GLenum pname, GLint *params) _mesa_GetNamedBufferParameteriv() argument
3282 _mesa_GetNamedBufferParameterivEXT(GLuint buffer, GLenum pname, GLint *params) _mesa_GetNamedBufferParameterivEXT() argument
3307 _mesa_GetNamedBufferParameteri64v(GLuint buffer, GLenum pname, GLint64 *params) _mesa_GetNamedBufferParameteri64v() argument
3348 _mesa_GetNamedBufferPointerv(GLuint buffer, GLenum pname, GLvoid **params) _mesa_GetNamedBufferPointerv() argument
3368 _mesa_GetNamedBufferPointervEXT(GLuint buffer, GLenum pname, GLvoid **params) _mesa_GetNamedBufferPointervEXT() argument
3833 _mesa_MapNamedBufferRange_no_error(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) _mesa_MapNamedBufferRange_no_error() argument
3844 map_named_buffer_range(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access, bool dsa_ext, const char *func) map_named_buffer_range() argument
3873 _mesa_MapNamedBufferRangeEXT(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) _mesa_MapNamedBufferRangeEXT() argument
3887 _mesa_MapNamedBufferRange(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) _mesa_MapNamedBufferRange() argument
3960 _mesa_MapNamedBuffer_no_error(GLuint buffer, GLenum access) _mesa_MapNamedBuffer_no_error() argument
3974 _mesa_MapNamedBuffer(GLuint buffer, GLenum access) _mesa_MapNamedBuffer() argument
3998 _mesa_MapNamedBufferEXT(GLuint buffer, GLenum access) _mesa_MapNamedBufferEXT() argument
4107 _mesa_FlushMappedNamedBufferRange_no_error(GLuint buffer, GLintptr offset, GLsizeiptr length) _mesa_FlushMappedNamedBufferRange_no_error() argument
4118 _mesa_FlushMappedNamedBufferRange(GLuint buffer, GLintptr offset, GLsizeiptr length) _mesa_FlushMappedNamedBufferRange() argument
4134 _mesa_FlushMappedNamedBufferRangeEXT(GLuint buffer, GLintptr offset, GLsizeiptr length) _mesa_FlushMappedNamedBufferRangeEXT() argument
4929 bind_buffer_range(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size, bool no_error) bind_buffer_range() argument
5015 _mesa_BindBufferRange_no_error(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) _mesa_BindBufferRange_no_error() argument
5022 _mesa_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) _mesa_BindBufferRange() argument
5029 _mesa_BindBufferBase(GLenum target, GLuint index, GLuint buffer) _mesa_BindBufferBase() argument
5205 _mesa_InvalidateBufferSubData_no_error(GLuint buffer, GLintptr offset, GLsizeiptr length) _mesa_InvalidateBufferSubData_no_error() argument
5215 _mesa_InvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length) _mesa_InvalidateBufferSubData() argument
5267 _mesa_InvalidateBufferData_no_error(GLuint buffer) _mesa_InvalidateBufferData_no_error() argument
5276 _mesa_InvalidateBufferData(GLuint buffer) _mesa_InvalidateBufferData() argument
5378 _mesa_NamedBufferPageCommitmentARB(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) _mesa_NamedBufferPageCommitmentARB() argument
5398 _mesa_NamedBufferPageCommitmentEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) _mesa_NamedBufferPageCommitmentEXT() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dexfield.c111 void *buffer; in acpi_ex_read_data_from_field() local
151 * Allocate a buffer for the contents of the field. in acpi_ex_read_data_from_field()
158 * However, all buffer fields created by create_field operator needs to in acpi_ex_read_data_from_field()
159 * remain as a buffer to match other AML interpreter implementations. in acpi_ex_read_data_from_field()
176 buffer = buffer_desc->buffer.pointer; in acpi_ex_read_data_from_field()
186 buffer = &buffer_desc->integer.value; in acpi_ex_read_data_from_field()
195 status = acpi_ex_read_gpio(obj_desc, buffer); in acpi_ex_read_data_from_field()
208 memcpy(buffer, in acpi_ex_read_data_from_field()
220 obj_desc, obj_desc->common.type, buffer, in acpi_ex_read_data_from_field()
269 void *buffer; acpi_ex_write_data_to_field() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/dice/
H A Ddice-transaction.c166 __be64 *buffer; in register_notification_address() local
172 buffer = kmalloc(2 * 8, GFP_KERNEL); in register_notification_address()
173 if (!buffer) in register_notification_address()
177 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address()
178 buffer[1] = cpu_to_be64( in register_notification_address()
188 buffer, 2 * 8, in register_notification_address()
193 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address()
196 if (buffer[0] == buffer[1]) in register_notification_address()
209 kfree(buffer); in register_notification_address()
220 __be64 *buffer; unregister_notification_address() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dd_path.c11 static int prepend(char **buffer, int *buflen, const char *str, int namelen) in prepend() argument
16 *buffer -= namelen; in prepend()
17 memcpy(*buffer, str, namelen); in prepend()
22 * prepend_name - prepend a pathname in front of current buffer pointer
23 * @buffer: buffer pointer
24 * @buflen: allocated length of the buffer
33 * retry it again when a d_move() does happen. So any garbage in the buffer
38 static int prepend_name(char **buffer, int *buflen, const struct qstr *name) in prepend_name() argument
47 p = *buffer in prepend_name()
75 prepend_path(const struct path *path, const struct path *root, char **buffer, int *buflen) prepend_path() argument
231 prepend_unreachable(char **buffer, int *buflen) prepend_unreachable() argument
297 dynamic_dname(struct dentry *dentry, char *buffer, int buflen, const char *fmt, ...) dynamic_dname() argument
315 simple_dname(struct dentry *dentry, char *buffer, int buflen) simple_dname() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dexfield.c111 void *buffer; in acpi_ex_read_data_from_field() local
155 * Allocate a buffer for the contents of the field. in acpi_ex_read_data_from_field()
162 * However, all buffer fields created by create_field operator needs to in acpi_ex_read_data_from_field()
163 * remain as a buffer to match other AML interpreter implementations. in acpi_ex_read_data_from_field()
180 buffer = buffer_desc->buffer.pointer; in acpi_ex_read_data_from_field()
190 buffer = &buffer_desc->integer.value; in acpi_ex_read_data_from_field()
199 status = acpi_ex_read_gpio(obj_desc, buffer); in acpi_ex_read_data_from_field()
212 memcpy(buffer, in acpi_ex_read_data_from_field()
224 obj_desc, obj_desc->common.type, buffer, in acpi_ex_read_data_from_field()
273 void *buffer; acpi_ex_write_data_to_field() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/dice/
H A Ddice-transaction.c166 __be64 *buffer; in register_notification_address() local
172 buffer = kmalloc(2 * 8, GFP_KERNEL); in register_notification_address()
173 if (!buffer) in register_notification_address()
177 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address()
178 buffer[1] = cpu_to_be64( in register_notification_address()
188 buffer, 2 * 8, in register_notification_address()
193 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address()
196 if (buffer[0] == buffer[1]) in register_notification_address()
209 kfree(buffer); in register_notification_address()
220 __be64 *buffer; unregister_notification_address() local
[all...]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
H A DDetectingViewer.java190 private boolean openTag(byte[] buffer, int offset, int length, byte[] tag) in openTag() argument
197 if (buffer[b + offset] != tag[b]) { in openTag()
205 private boolean closedTag(byte[] buffer, int offset, int length, byte[] tag) in closedTag() argument
207 if (buffer[offset] != (byte) '/') { in closedTag()
211 return openTag(buffer, offset + 1, length, tag); in closedTag()
216 byte[] buffer = new byte[BUFFER_SIZE]; in filter()
224 int bytesRead = in.read(buffer, bufLen, bytesRemaining); in filter()
243 byte b = buffer[i]; in filter()
248 if (openTag(buffer, i + 1, bufLen, scriptTag) || in filter()
249 openTag(buffer, in filter()
[all...]
/third_party/skia/src/effects/
H A DSkLayerDrawLooper.cpp199 void SkLayerDrawLooper::flatten(SkWriteBuffer& buffer) const { in flatten()
200 buffer.writeInt(fCount); in flatten()
205 buffer.writeInt(0); in flatten()
207 buffer.writeInt(rec->fInfo.fPaintBits); in flatten()
208 buffer.writeInt((int)rec->fInfo.fColorMode); in flatten()
209 buffer.writePoint(rec->fInfo.fOffset); in flatten()
210 buffer.writeBool(rec->fInfo.fPostTranslate); in flatten()
211 buffer.writePaint(rec->fPaint); in flatten()
216 sk_sp<SkFlattenable> SkLayerDrawLooper::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
217 int count = buffer in CreateProc()
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_nat_sip.c38 const char *buffer, unsigned int buflen) in mangle_packet()
52 buffer, buflen, false)) in mangle_packet()
60 buffer, buflen)) in mangle_packet()
70 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr() argument
74 return sprintf(buffer, "%pI4", &addr->ip); in sip_sprintf_addr()
77 return sprintf(buffer, "[%pI6c]", &addr->ip6); in sip_sprintf_addr()
79 return sprintf(buffer, "%pI6c", &addr->ip6); in sip_sprintf_addr()
83 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port() argument
87 return sprintf(buffer, "%pI4:%u", &addr->ip, port); in sip_sprintf_addr_port()
89 return sprintf(buffer, "[ in sip_sprintf_addr_port()
34 mangle_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, const char *buffer, unsigned int buflen) mangle_packet() argument
102 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; map_addr() local
183 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; nf_nat_sip() local
387 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; nf_nat_sip_expect() local
454 char buffer[sizeof("65536")]; mangle_content_len() local
474 mangle_sdp_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, char *buffer, int buflen) mangle_sdp_packet() argument
503 char buffer[INET6_ADDRSTRLEN]; nf_nat_sdp_addr() local
521 char buffer[sizeof("nnnnn")]; nf_nat_sdp_port() local
540 char buffer[INET6_ADDRSTRLEN]; nf_nat_sdp_session() local
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_nat_sip.c38 const char *buffer, unsigned int buflen) in mangle_packet()
52 buffer, buflen, false)) in mangle_packet()
60 buffer, buflen)) in mangle_packet()
70 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr() argument
74 return sprintf(buffer, "%pI4", &addr->ip); in sip_sprintf_addr()
77 return sprintf(buffer, "[%pI6c]", &addr->ip6); in sip_sprintf_addr()
79 return sprintf(buffer, "%pI6c", &addr->ip6); in sip_sprintf_addr()
83 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port() argument
87 return sprintf(buffer, "%pI4:%u", &addr->ip, port); in sip_sprintf_addr_port()
89 return sprintf(buffer, "[ in sip_sprintf_addr_port()
34 mangle_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, const char *buffer, unsigned int buflen) mangle_packet() argument
102 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; map_addr() local
183 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; nf_nat_sip() local
387 char buffer[INET6_ADDRSTRLEN + sizeof("[]:nnnnn")]; nf_nat_sip_expect() local
442 char buffer[sizeof("65536")]; mangle_content_len() local
462 mangle_sdp_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, char *buffer, int buflen) mangle_sdp_packet() argument
491 char buffer[INET6_ADDRSTRLEN]; nf_nat_sdp_addr() local
509 char buffer[sizeof("nnnnn")]; nf_nat_sdp_port() local
528 char buffer[INET6_ADDRSTRLEN]; nf_nat_sdp_session() local
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DRuleBasedCollator.java1061 CollationBuffer buffer = null; in getCollationKey()
1063 buffer = getCollationBuffer(); in getCollationKey()
1064 return getCollationKey(source, buffer); in getCollationKey()
1066 releaseCollationBuffer(buffer); in getCollationKey()
1070 private CollationKey getCollationKey(String source, CollationBuffer buffer) { in getCollationKey() argument
1071 buffer.rawCollationKey = getRawCollationKey(source, buffer.rawCollationKey, buffer); in getCollationKey()
1072 return new CollationKey(source, buffer.rawCollationKey); in getCollationKey()
1094 CollationBuffer buffer in getRawCollationKey()
1139 getRawCollationKey(CharSequence source, RawCollationKey key, CollationBuffer buffer) getRawCollationKey() argument
1155 writeSortKey(CharSequence s, CollationKeyByteSink sink, CollationBuffer buffer) writeSortKey() argument
1831 releaseCollationBuffer(CollationBuffer buffer) releaseCollationBuffer() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRuleBasedCollator.java1033 CollationBuffer buffer = null; in getCollationKey()
1035 buffer = getCollationBuffer(); in getCollationKey()
1036 return getCollationKey(source, buffer); in getCollationKey()
1038 releaseCollationBuffer(buffer); in getCollationKey()
1042 private CollationKey getCollationKey(String source, CollationBuffer buffer) { in getCollationKey() argument
1043 buffer.rawCollationKey = getRawCollationKey(source, buffer.rawCollationKey, buffer); in getCollationKey()
1044 return new CollationKey(source, buffer.rawCollationKey); in getCollationKey()
1066 CollationBuffer buffer in getRawCollationKey()
1111 getRawCollationKey(CharSequence source, RawCollationKey key, CollationBuffer buffer) getRawCollationKey() argument
1127 writeSortKey(CharSequence s, CollationKeyByteSink sink, CollationBuffer buffer) writeSortKey() argument
1791 releaseCollationBuffer(CollationBuffer buffer) releaseCollationBuffer() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c183 * buffer. Also updates buf->data if present.
240 /* Does a CPU wait for the buffer's backing data to become reliably accessible
241 * for write/read by waiting on the buffer's relevant fences.
317 /* Creates a cache in system memory of the buffer data. */
421 * buffer is busy due to GPU activity, because the contents were in nouveau_buffer_transfer_map()
438 /* The GPU is currently writing to this buffer. Copy its current in nouveau_buffer_transfer_map()
449 /* The buffer is currently idle. Create a staging area for writes, in nouveau_buffer_transfer_map()
476 * reasonable buffer for that case. in nouveau_buffer_transfer_map()
491 /* If the GPU is currently reading/writing this buffer, we shouldn't in nouveau_buffer_transfer_map()
514 /* It is expected that the returned buffer b in nouveau_buffer_transfer_map()
683 struct nv04_resource *buffer; nouveau_buffer_create() local
750 struct nv04_resource *buffer; nouveau_buffer_create_from_user() local
775 struct nv04_resource *buffer; nouveau_user_buffer_create() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-coretext.cc513 hb_buffer_t *buffer, in _hb_coretext_shape()
532 if (buffer->cluster_level == HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES) in _hb_coretext_shape()
534 hb_unicode_funcs_t *unicode = buffer->unicode; in _hb_coretext_shape()
535 unsigned int count = buffer->len; in _hb_coretext_shape()
536 hb_glyph_info_t *info = buffer->info; in _hb_coretext_shape()
539 buffer->merge_clusters (i - 1, i + 1); in _hb_coretext_shape()
688 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
703 ALLOCATE_ARRAY (UniChar, pchars, buffer->len * 2, ((void)nullptr) /*nothing*/); in _hb_coretext_shape()
705 for (unsigned int i = 0; i < buffer->len; i++) { in _hb_coretext_shape()
706 hb_codepoint_t c = buffer in _hb_coretext_shape()
511 _hb_coretext_shape(hb_shape_plan_t *shape_plan, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features) _hb_coretext_shape() argument
[all...]
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dmscode_parser.c44 char buffer[50]; in mscode_note_content_type() local
46 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type()
47 pr_err("Unknown OID: %s\n", buffer); in mscode_note_content_type()
73 char buffer[50]; in mscode_note_digest_algo() local
101 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo()
102 pr_err("Unknown OID: %s\n", buffer); in mscode_note_digest_algo()
/kernel/linux/linux-5.10/sound/firewire/motu/
H A Dmotu-proc.c27 struct snd_info_buffer *buffer) in proc_read_clock()
39 snd_iprintf(buffer, "Rate:\t%d\n", rate); in proc_read_clock()
40 snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); in proc_read_clock()
44 struct snd_info_buffer *buffer) in proc_read_format()
54 snd_iprintf(buffer, "tx:\tmsg\tfixed\ttotal\n"); in proc_read_format()
59 snd_iprintf(buffer, in proc_read_format()
67 snd_iprintf(buffer, "rx:\tmsg\tfixed\ttotal\n"); in proc_read_format()
72 snd_iprintf(buffer, in proc_read_format()
26 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_clock() argument
43 proc_read_format(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_format() argument
/kernel/linux/linux-5.10/include/linux/iio/
H A Dbuffer-dma.h42 * struct iio_dma_buffer_block - IIO buffer block
48 * @queue: Parent DMA buffer queue
76 * struct iio_dma_buffer_queue_fileio - FileIO state for the DMA buffer
90 * struct iio_dma_buffer_queue - DMA buffer base structure
91 * @buffer: IIO buffer base structure
93 * @ops: DMA buffer callbacks
102 * @active: Whether the buffer is currently active
106 struct iio_buffer buffer; member
121 * struct iio_dma_buffer_ops - DMA buffer callbac
[all...]
/kernel/linux/linux-6.6/include/linux/iio/
H A Dbuffer-dma.h37 * struct iio_dma_buffer_block - IIO buffer block
43 * @queue: Parent DMA buffer queue
71 * struct iio_dma_buffer_queue_fileio - FileIO state for the DMA buffer
85 * struct iio_dma_buffer_queue - DMA buffer base structure
86 * @buffer: IIO buffer base structure
88 * @ops: DMA buffer callbacks
97 * @active: Whether the buffer is currently active
101 struct iio_buffer buffer; member
116 * struct iio_dma_buffer_ops - DMA buffer callbac
[all...]
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dmscode_parser.c44 char buffer[50]; in mscode_note_content_type() local
46 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type()
47 pr_err("Unknown OID: %s\n", buffer); in mscode_note_content_type()
73 char buffer[50]; in mscode_note_digest_algo() local
101 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo()
102 pr_err("Unknown OID: %s\n", buffer); in mscode_note_digest_algo()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_parse_tcp_hdr_opt_dynptr.c34 __u8 buffer[sizeof(kind) + sizeof(hdr_len) + sizeof(*server_id)]; in parse_hdr_opt() local
37 __builtin_memset(buffer, 0, sizeof(buffer)); in parse_hdr_opt()
39 data = bpf_dynptr_slice(ptr, *off, buffer, sizeof(buffer)); in parse_hdr_opt()
77 __u8 buffer[sizeof(struct tcphdr)] = {}; in xdp_ingress_v6() local
90 tcp_hdr = bpf_dynptr_slice(&ptr, off, buffer, sizeof(buffer)); in xdp_ingress_v6()
/kernel/linux/linux-6.6/sound/firewire/motu/
H A Dmotu-proc.c27 struct snd_info_buffer *buffer) in proc_read_clock()
39 snd_iprintf(buffer, "Rate:\t%d\n", rate); in proc_read_clock()
40 snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); in proc_read_clock()
44 struct snd_info_buffer *buffer) in proc_read_format()
54 snd_iprintf(buffer, "tx:\tmsg\tfixed\ttotal\n"); in proc_read_format()
59 snd_iprintf(buffer, in proc_read_format()
67 snd_iprintf(buffer, "rx:\tmsg\tfixed\ttotal\n"); in proc_read_format()
72 snd_iprintf(buffer, in proc_read_format()
26 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_clock() argument
43 proc_read_format(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_format() argument
/third_party/NuttX/drivers/bch/
H A Dbchlib_read.c61 ssize_t bchlib_read(void *handle, char *buffer, loff_t offset, size_t len) in bchlib_read() argument
95 /* Read the sector into the sector buffer */ in bchlib_read()
103 /* Copy the tail end of the sector to the user buffer */ in bchlib_read()
114 ret = LOS_CopyFromKernel(buffer, len, &bch->buffer[sectoffset], nbytes); in bchlib_read()
131 buffer += nbytes; in bchlib_read()
136 * into the user buffer. in bchlib_read()
147 ret = los_disk_read(bch->disk->disk_id, (void *)buffer, sector + bch->sectstart, nsectors, TRUE); in bchlib_read()
166 buffer += nbytes; in bchlib_read()
174 /* Read the sector into the sector buffer */ in bchlib_read()
[all...]
/third_party/libuv/test/
H A Dtest-process-title-threadsafe.c43 char buffer[512]; in getter_thread_body() local
49 ASSERT_OK(uv_get_process_title(buffer, sizeof(buffer))); in getter_thread_body()
55 len = strlen(buffer); in getter_thread_body()
59 0 == strncmp(buffer, titles[0], len) || in getter_thread_body()
60 0 == strncmp(buffer, titles[1], len) || in getter_thread_body()
61 0 == strncmp(buffer, titles[2], len) || in getter_thread_body()
62 0 == strncmp(buffer, titles[3], len)); in getter_thread_body()
/third_party/node/test/fixtures/wpt/wasm/jsapi/constructor/
H A Dcompile.any.js62 const buffer = new Uint8Array();
63 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.compile(buffer));
64 }, "Empty buffer");
67 const buffer = new Uint8Array(Array.from(emptyModuleBinary).concat([0, 0]));
68 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.compile(buffer));
80 const buffer = new WasmModuleBuilder().toBuffer();
81 assert_equals(buffer[0], 0);
82 const promise = WebAssembly.compile(buffer);
83 buffer[0] = 1;
85 }, "Changing the buffer");
[all...]

Completed in 18 milliseconds

1...<<31323334353637383940>>...444