/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_ftp.c | 34 char *buffer, size_t buflen, in nf_nat_ftp_fmt_cmd() 40 return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", in nf_nat_ftp_fmt_cmd() 49 return snprintf(buffer, buflen, "|1|%pI4|%u|", in nf_nat_ftp_fmt_cmd() 52 return snprintf(buffer, buflen, "|2|%pI6|%u|", in nf_nat_ftp_fmt_cmd() 55 return snprintf(buffer, buflen, "|||%u|", port); in nf_nat_ftp_fmt_cmd() 75 char buffer[sizeof("|1||65535|") + INET6_ADDRSTRLEN]; in nf_nat_ftp() local 95 buflen = nf_nat_ftp_fmt_cmd(ct, type, buffer, sizeof(buffer), in nf_nat_ftp() 103 matchlen, buffer, buflen)) in nf_nat_ftp() 33 nf_nat_ftp_fmt_cmd(struct nf_conn *ct, enum nf_ct_ftp_type type, char *buffer, size_t buflen, union nf_inet_addr *addr, u16 port) nf_nat_ftp_fmt_cmd() argument
|
/test/xts/hats/kernel/syscalls/fileio/readv/ |
H A D | ReadvApiTest.cpp | 73 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() local 76 .iov_base = buffer, in HWTEST_F() 79 .iov_base = &buffer[TEST_DATA_LEN], in HWTEST_F() 104 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() local 107 .iov_base = buffer, in HWTEST_F() 110 .iov_base = &buffer[TEST_DATA_LEN], in HWTEST_F() 124 * @tc.desc : readv file use two iov buffer success. 133 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() local 136 .iov_base = buffer, in HWTEST_F() 139 .iov_base = &buffer[MAX_LE in HWTEST_F() [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-writev-promises.js | 20 const buffer = Buffer.from(expected); 21 const bufferArr = [buffer, buffer]; 22 const expectedLength = bufferArr.length * buffer.byteLength; 38 const buffer = Buffer.from(expected); 39 const bufferArr = [buffer, buffer, buffer]; 40 const expectedLength = bufferArr.length * buffer.byteLength;
|
H A D | test-http-keep-alive-max-requests.js | 54 let buffer = ''; 59 buffer += data; 61 if (buffer.endsWith('\r\n\r\n')) { 66 const [headers, body] = buffer.trim().split('\r\n\r\n'); 68 buffer = ''; 96 let buffer = ''; 101 buffer += data; 103 if (buffer.endsWith('\r\n\r\n')) { 104 const [headers, body] = buffer.trim().split('\r\n\r\n');
|
/third_party/node/deps/v8/src/wasm/ |
H A D | local-decl-encoder.cc | 21 byte* buffer = zone->NewArray<byte, LocalDeclEncoderBuffer>(Size() + size); in Prepend() local 22 size_t pos = Emit(buffer); in Prepend() 24 memcpy(buffer + pos, *start, size); in Prepend() 27 *start = buffer; in Prepend() 28 *end = buffer + pos; in Prepend() 31 size_t LocalDeclEncoder::Emit(byte* buffer) const { in Emit() 32 byte* pos = buffer; in Emit() 47 DCHECK_EQ(Size(), pos - buffer); in Emit() 48 return static_cast<size_t>(pos - buffer); in Emit()
|
/third_party/node/deps/v8/src/heap/ |
H A D | slot-set.cc | 27 DCHECK_LT(chunk->buffer.size(), chunk->buffer.capacity()); in Insert() 28 chunk->buffer.push_back(slot); in Insert() 50 if (head_->buffer.size() == head_->buffer.capacity()) { in EnsureChunk() 51 head_ = NewChunk(head_, NextCapacity(head_->buffer.capacity())); in EnsureChunk() 59 chunk->buffer.reserve(capacity); in NewChunk() 60 DCHECK_EQ(chunk->buffer.capacity(), capacity); in NewChunk() 84 for (TypedSlot& slot : chunk->buffer) { in IterateSlotsInRanges()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | AudioStreamBase.java | 63 StringBuffer buffer = new StringBuffer(); in dump() 65 buffer.append("frames written " + framesWritten + " - read " + framesRead in dump() 72 buffer.append( in dump() 80 buffer.append("buffer size = "); in dump() 82 buffer.append("?"); in dump() 86 buffer.append(bufferSize + " = (" + numBuffers + " * " + framesPerBurst + ") + " + remainder); in dump() 88 buffer.append(", xRun# = " + ((xRunCount < 0) ? "?" : xRunCount) + "\n"); in dump() 90 return buffer.toString(); in dump() 127 public abstract int write(float[] buffer, in argument [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFResourceDict.cpp | 39 char buffer[1 + kMaxResourceNameLength]; in SkPDFWriteResourceName() local 40 buffer[0] = '/'; in SkPDFWriteResourceName() 41 char* end = get_resource_name(buffer + 1, type, key); in SkPDFWriteResourceName() 42 dst->write(buffer, (size_t)(end - buffer)); in SkPDFWriteResourceName() 57 char buffer[kMaxResourceNameLength]; in resource() local 58 char* end = get_resource_name(buffer, type, index); in resource() 59 return SkString(buffer, (size_t)(end - buffer)); in resource()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_logging.c | 105 static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, in scsi_format_opcode_name() argument 117 off = scnprintf(buffer, buf_len, in scsi_format_opcode_name() 128 off = scnprintf(buffer, buf_len, "%s", cdb_name); in scsi_format_opcode_name() 130 off = scnprintf(buffer, buf_len, "opcode=0x%x", cdb0); in scsi_format_opcode_name() 134 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 137 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 142 off = scnprintf(buffer, buf_len, "%s", sa_name); in scsi_format_opcode_name() 144 off = scnprintf(buffer, buf_len, "%s, sa=0x%x", in scsi_format_opcode_name() 147 off = scnprintf(buffer, buf_len, in scsi_format_opcode_name() 240 scsi_format_extd_sense(char *buffer, size_ argument 269 scsi_format_sense_hdr(char *buffer, size_t buf_len, const struct scsi_sense_hdr *sshdr) scsi_format_sense_hdr() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 113 * Returns a pointer to the acpi output buffer. 121 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in radeon_atif_call() local 131 atif_arg_elements[1].buffer.length = params->length; in radeon_atif_call() 132 atif_arg_elements[1].buffer.pointer = params->pointer; in radeon_atif_call() 139 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); in radeon_atif_call() 145 kfree(buffer.pointer); in radeon_atif_call() 149 return buffer.pointer; in radeon_atif_call() 224 size = *(u16 *) info->buffer.pointer; in radeon_atif_verify_interface() 226 DRM_INFO("ATIF buffer is too small: %zu\n", size); in radeon_atif_verify_interface() 232 memcpy(&output, info->buffer in radeon_atif_verify_interface() 446 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; radeon_atcs_call() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_logging.c | 108 static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, in scsi_format_opcode_name() argument 120 off = scnprintf(buffer, buf_len, in scsi_format_opcode_name() 131 off = scnprintf(buffer, buf_len, "%s", cdb_name); in scsi_format_opcode_name() 133 off = scnprintf(buffer, buf_len, "opcode=0x%x", cdb0); in scsi_format_opcode_name() 137 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 140 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 145 off = scnprintf(buffer, buf_len, "%s", sa_name); in scsi_format_opcode_name() 147 off = scnprintf(buffer, buf_len, "%s, sa=0x%x", in scsi_format_opcode_name() 150 off = scnprintf(buffer, buf_len, in scsi_format_opcode_name() 240 scsi_format_extd_sense(char *buffer, size_ argument 269 scsi_format_sense_hdr(char *buffer, size_t buf_len, const struct scsi_sense_hdr *sshdr) scsi_format_sense_hdr() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 112 * Returns a pointer to the acpi output buffer. 120 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in radeon_atif_call() local 130 atif_arg_elements[1].buffer.length = params->length; in radeon_atif_call() 131 atif_arg_elements[1].buffer.pointer = params->pointer; in radeon_atif_call() 138 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); in radeon_atif_call() 144 kfree(buffer.pointer); in radeon_atif_call() 148 return buffer.pointer; in radeon_atif_call() 223 size = *(u16 *) info->buffer.pointer; in radeon_atif_verify_interface() 225 DRM_INFO("ATIF buffer is too small: %zu\n", size); in radeon_atif_verify_interface() 231 memcpy(&output, info->buffer in radeon_atif_verify_interface() 443 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; radeon_atcs_call() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | encryption_info.c | 90 AVEncryptionInfo *av_encryption_info_get_side_data(const uint8_t* buffer, size_t size) in av_encryption_info_get_side_data() argument 95 if (!buffer || size < FF_ENCRYPTION_INFO_EXTRA) in av_encryption_info_get_side_data() 98 key_id_size = AV_RB32(buffer + 12); in av_encryption_info_get_side_data() 99 iv_size = AV_RB32(buffer + 16); in av_encryption_info_get_side_data() 100 subsample_count = AV_RB32(buffer + 20); in av_encryption_info_get_side_data() 109 info->scheme = AV_RB32(buffer); in av_encryption_info_get_side_data() 110 info->crypt_byte_block = AV_RB32(buffer + 4); in av_encryption_info_get_side_data() 111 info->skip_byte_block = AV_RB32(buffer + 8); in av_encryption_info_get_side_data() 112 memcpy(info->key_id, buffer + 24, key_id_size); in av_encryption_info_get_side_data() 113 memcpy(info->iv, buffer in av_encryption_info_get_side_data() 127 uint8_t *buffer, *cur_buffer; av_encryption_info_add_side_data() local 365 uint8_t *buffer, *cur_buffer; av_encryption_init_info_add_side_data() local [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationKeys.java | 34 * Needed in Java for when we write to the buffer directly. 124 * the length of buffer required to store the entire data (i.e. already appended 148 byte[] buffer = new byte[INITIAL_CAPACITY]; field in CollationKeys.SortKeyLevel 170 return buffer[index]; in getAt() 174 return buffer; in data() 178 if (len < buffer.length || ensureCapacity(1)) { in appendByte() 179 buffer[len++] = (byte) b; in appendByte() 188 if ((len + appendLength) <= buffer.length || ensureCapacity(appendLength)) { in appendWeight16() 189 buffer[len++] = b0; in appendWeight16() 191 buffer[le in appendWeight16() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationKeys.java | 41 * Needed in Java for when we write to the buffer directly. 131 * the length of buffer required to store the entire data (i.e. already appended 158 byte[] buffer = new byte[INITIAL_CAPACITY]; field in CollationKeys.SortKeyLevel 180 return buffer[index]; in getAt() 184 return buffer; in data() 188 if (len < buffer.length || ensureCapacity(1)) { in appendByte() 189 buffer[len++] = (byte) b; in appendByte() 198 if ((len + appendLength) <= buffer.length || ensureCapacity(appendLength)) { in appendWeight16() 199 buffer[len++] = b0; in appendWeight16() 201 buffer[le in appendWeight16() [all...] |
/third_party/node/lib/internal/perf/ |
H A D | observe.js | 103 // Default buffer limit for resource timing entries. 170 #buffer = []; 173 this.#buffer = ArrayPrototypeSort(entries, (first, second) => { 179 return ArrayPrototypeSlice(this.#buffer); 185 this.#buffer, 193 this.#buffer, 197 this.#buffer, 209 return `PerformanceObserverEntryList ${inspect(this.#buffer, opts)}`; 214 #buffer = []; 280 ArrayPrototypePushApply(this.#buffer, entrie [all...] |
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | wasm-module-debug.cc | 205 uint32_t index, uint8_t* buffer, in GetWasmGlobal() 216 return GetWasmValue(wasm_value, buffer, buffer_size, size); in GetWasmGlobal() 224 uint32_t index, uint8_t* buffer, in GetWasmLocal() 248 return GetWasmValue(wasm_value, buffer, buffer_size, size); in GetWasmLocal() 257 uint32_t index, uint8_t* buffer, in GetWasmStackValue() 281 return GetWasmValue(wasm_value, buffer, buffer_size, size); in GetWasmStackValue() 289 uint8_t* buffer, uint32_t size) { in GetWasmMemory() 298 memcpy(buffer, mem_start + offset, size); in GetWasmMemory() 302 memcpy(buffer, mem_start + offset, bytes_read); in GetWasmMemory() 309 uint8_t* buffer, uint32_ in GetWasmData() 204 GetWasmGlobal(Isolate* isolate, uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmGlobal() argument 223 GetWasmLocal(Isolate* isolate, uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmLocal() argument 256 GetWasmStackValue(Isolate* isolate, uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmStackValue() argument 288 GetWasmMemory(Isolate* isolate, uint32_t offset, uint8_t* buffer, uint32_t size) GetWasmMemory() argument 308 GetWasmData(Isolate* isolate, uint32_t offset, uint8_t* buffer, uint32_t size) GetWasmData() argument 336 GetWasmModuleBytes(wasm_addr_t wasm_addr, uint8_t* buffer, uint32_t size) GetWasmModuleBytes() argument 379 StoreValue(const T& value, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) StoreValue() argument 388 GetWasmValue(const wasm::WasmValue& wasm_value, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmValue() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BindGroup.cpp | 39 DAWN_INVALID_IF(entry.buffer == nullptr, "Binding entry buffer not set."); in ValidateBufferBinding() 42 "Expected only buffer to be set for binding entry."); in ValidateBufferBinding() 46 DAWN_TRY(device->ValidateObject(entry.buffer)); in ValidateBufferBinding() 53 switch (bindingInfo.buffer.type) { in ValidateBufferBinding() 77 uint64_t bufferSize = entry.buffer->GetSize(); in ValidateBufferBinding() 82 bufferSize, entry.buffer); in ValidateBufferBinding() 89 bufferSize, entry.buffer); in ValidateBufferBinding() 98 entry.offset, bufferSize, bindingSize, entry.buffer); in ValidateBufferBinding() 102 entry.offset, bindingInfo.buffer in ValidateBufferBinding() 457 BufferBase* buffer = static_cast<BufferBase*>(mBindingData.bindings[bindingIndex].Get()); GetBindingAsBufferBinding() local [all...] |
/third_party/vulkan-loader/loader/ |
H A D | vk_loader_platform.h | 274 static inline char *loader_platform_executable_path(char *buffer, size_t size) { in loader_platform_executable_path() argument 275 ssize_t count = readlink("/proc/self/exe", buffer, size); in loader_platform_executable_path() 278 buffer[count] = '\0'; in loader_platform_executable_path() 279 return buffer; in loader_platform_executable_path() 285 static inline char *loader_platform_executable_path(char *buffer, size_t size) { in loader_platform_executable_path() argument 287 buffer[0] = '\0'; in loader_platform_executable_path() 288 return buffer; in loader_platform_executable_path() 293 static inline char *loader_platform_executable_path(char *buffer, size_t size) { in loader_platform_executable_path() argument 294 // proc_pidpath takes a uint32_t for the buffer size in loader_platform_executable_path() 299 int ret = proc_pidpath(pid, buffer, (uint32_ in loader_platform_executable_path() 309 loader_platform_executable_path(char *buffer, size_t size) loader_platform_executable_path() argument 329 loader_platform_executable_path(char *buffer, size_t size) loader_platform_executable_path() argument 337 loader_platform_executable_path(char *buffer, size_t size) loader_platform_executable_path() argument 515 loader_platform_executable_path(char *buffer, size_t size) loader_platform_executable_path() argument [all...] |
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/ |
H A D | test_wasm.cpp | 89 static void ReadBinaryFile(const char *path, std::vector<uint8_t> &buffer) in ReadBinaryFile() argument 97 buffer.resize(size); in ReadBinaryFile() 98 infile.read(reinterpret_cast<char *>(&buffer[0]), size); in ReadBinaryFile() 108 buffer.swap(newBuffer); in ReadBinaryFile() 112 static void ReadBinaryFile(const std::string &path, std::vector<uint8_t> &buffer) in ReadBinaryFile() argument 114 ReadBinaryFile(path.c_str(), buffer); in ReadBinaryFile() 139 std::vector<uint8_t> buffer; in CompileWasmModule() local 140 ReadBinaryFile(path, buffer); in CompileWasmModule() 141 CHECK(buffer.size() > 0); in CompileWasmModule() 143 JSVMTEST_CALL(OH_JSVM_CompileWasmModule(jsvm_env, buffer in CompileWasmModule() 196 std::vector<uint8_t> buffer; WebAssemblyDemo() local 317 std::vector<uint8_t> buffer; global() local 372 std::vector<uint8_t> buffer; global() local 530 TestCacheAndRelocInfoStep1(JSVM_Env env, const std::vector<uint8_t> &buffer, const uint8_t *&cacheData, size_t &cacheSize) global() argument 563 TestCacheAndRelocInfoStep2(JSVM_Env env, const std::vector<uint8_t> &buffer, const uint8_t *cacheData, size_t cacheSize, JSVM_Value exports) global() argument 612 std::vector<uint8_t> buffer; global() local 715 std::vector<uint8_t> buffer; global() local 881 std::vector<uint8_t> buffer; global() local [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngimage.c | 368 struct buffer_list *next; /* next buffer in list */ 369 png_byte buffer[1024]; /* the actual buffer */ member 372 struct buffer struct 374 struct buffer_list *last; /* last buffer in use */ 375 size_t end_count; /* bytes in the last buffer */ 376 struct buffer_list *current; /* current buffer being read */ 378 struct buffer_list first; /* the very first buffer */ 382 buffer_init(struct buffer *buffer) in buffer_init() argument 402 buffer_destroy(struct buffer *buffer) buffer_destroy() argument 411 buffer_start_write(struct buffer *buffer) buffer_start_write() argument 420 buffer_start_read(struct buffer *buffer) buffer_start_read() argument 459 buffer_from_file(struct buffer *buffer, FILE *fp) buffer_from_file() argument 1269 buffer_write(struct display *dp, struct buffer *buffer, png_bytep data, size_t size) buffer_write() argument [all...] |
/third_party/python/Modules/ |
H A D | zlibmodule.c | 12 // Blocks output buffer wrappers 22 OutputBuffer_InitAndGrow(_BlocksOutputBuffer *buffer, Py_ssize_t max_length, in OutputBuffer_InitAndGrow() argument 28 buffer, max_length, (void**) next_out); in OutputBuffer_InitAndGrow() 36 OutputBuffer_Grow(_BlocksOutputBuffer *buffer, in OutputBuffer_Grow() argument 42 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow() 48 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_GetDataSize() argument 50 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize() 54 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_Finish() argument 56 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish() 60 OutputBuffer_OnError(_BlocksOutputBuffer *buffer) in OutputBuffer_OnError() argument 90 OutputBuffer_WindowInitWithSize(_BlocksOutputBuffer *buffer, _Uint32Window *window, Py_ssize_t init_size, Bytef **next_out, uint32_t *avail_out) OutputBuffer_WindowInitWithSize() argument 113 OutputBuffer_WindowGrow(_BlocksOutputBuffer *buffer, _Uint32Window *window, Bytef **next_out, uint32_t *avail_out) OutputBuffer_WindowGrow() argument 152 OutputBuffer_WindowFinish(_BlocksOutputBuffer *buffer, _Uint32Window *window, uint32_t avail_out) OutputBuffer_WindowFinish() argument 160 OutputBuffer_WindowOnError(_BlocksOutputBuffer *buffer, _Uint32Window *window) OutputBuffer_WindowOnError() argument 326 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_compress_impl() local 427 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_decompress_impl() local 758 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_Compress_compress_impl() local 879 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_Decompress_decompress_impl() local 989 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_Compress_flush_impl() local 1257 _BlocksOutputBuffer buffer = {.list = NULL}; zlib_Decompress_flush_impl() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_descriptors.c | 66 /* NULL image and buffer descriptor for textures (alpha = 1) and images 75 * This is the only reason why the buffer descriptor must be in words [4:7]. 79 /* the rest must contain zeros, which is also used by the buffer 85 /* the rest must contain zeros, which is also used by the buffer 124 si_resource_reference(&desc->buffer, NULL); in si_release_descriptors() 146 /* The buffer is already in the buffer list. */ in si_upload_descriptors() 147 si_resource_reference(&desc->buffer, NULL); in si_upload_descriptors() 157 (struct pipe_resource **)&desc->buffer, (void **)&ptr); in si_upload_descriptors() 158 if (!desc->buffer) { in si_upload_descriptors() 1222 struct pipe_resource *buffer = NULL; si_set_constant_buffer() local 1480 si_set_ring_buffer(struct si_context *sctx, uint slot, struct pipe_resource *buffer, unsigned stride, unsigned num_records, bool add_tid, bool swizzle, unsigned element_size, unsigned index_stride, uint64_t offset) si_set_ring_buffer() argument 1668 struct pipe_resource *buffer = buffers->buffers[i]; si_reset_buffer_resources() local 1692 struct si_resource *buffer = si_resource(buf); si_rebind_buffer() local 1726 struct pipe_resource *buffer = buffers->buffers[i]; si_rebind_buffer() local 1782 struct pipe_resource *buffer = samplers->views[i]->texture; si_rebind_buffer() local 1809 struct pipe_resource *buffer = images->views[i].resource; si_rebind_buffer() local 1839 struct pipe_resource *buffer = view->texture; si_rebind_buffer() local 1861 struct pipe_resource *buffer = view->resource; si_rebind_buffer() local [all...] |
/device/soc/rockchip/common/hardware/display/src/display_gralloc/ |
H A D | display_gralloc_gbm.h | 37 int32_t GbmAllocMem(const AllocInfo *info, BufferHandle **buffer); 38 void GbmFreeMem(BufferHandle *buffer); 39 void *GbmMmap(BufferHandle *buffer); 40 int32_t GbmUnmap(BufferHandle *buffer); 41 int32_t GbmInvalidateCache(BufferHandle *buffer); 42 int32_t GbmFlushCache(BufferHandle *buffer);
|
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/ |
H A D | display_gralloc_gbm.h | 37 int32_t GbmAllocMem(const AllocInfo *info, BufferHandle **buffer); 38 void GbmFreeMem(BufferHandle *buffer); 39 void *GbmMmap(BufferHandle *buffer); 40 int32_t GbmUnmap(BufferHandle *buffer); 41 int32_t GbmInvalidateCache(BufferHandle *buffer); 42 int32_t GbmFlushCache(BufferHandle *buffer);
|