Home
last modified time | relevance | path

Searched refs:buffer (Results 901 - 925 of 15492) sorted by relevance

1...<<31323334353637383940>>...620

/third_party/skia/src/core/
H A DSkStream.cpp76 char buffer[kSkStrAppendS32_MaxSize]; in writeDecAsText() local
77 char* stop = SkStrAppendS32(buffer, dec); in writeDecAsText()
78 return this->write(buffer, stop - buffer); in writeDecAsText()
83 char buffer[kSkStrAppendU64_MaxSize]; in writeBigDecAsText() local
84 char* stop = SkStrAppendU64(buffer, dec, minDigits); in writeBigDecAsText()
85 return this->write(buffer, stop - buffer); in writeBigDecAsText()
97 char buffer[kSkStrAppendScalar_MaxSize]; in writeScalarAsText() local
98 char* stop = SkStrAppendScalar(buffer, valu in writeScalarAsText()
198 read(void* buffer, size_t size) read() argument
335 read(void* buffer, size_t size) read() argument
348 peek(void* buffer, size_t size) const peek() argument
423 write(const void* buffer, size_t size) write() argument
532 write(const void* buffer, size_t count) write() argument
606 read(void* buffer, size_t offset, size_t count) read() argument
795 char* buffer = static_cast<char*>(buff); global() variable
931 char buffer[bufferSize]; SkCopyStreamToData() local
[all...]
/foundation/graphic/graphic_surface/surface/src/
H A Dconsumer_surface.cpp91 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument
95 GSError ret = AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer()
107 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument
113 return consumer_->AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer()
125 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, const sptr<SyncFence>& fence) in ReleaseBuffer() argument
127 if (buffer == nullptr || consumer_ == nullptr) { in ReleaseBuffer()
130 return consumer_->ReleaseBuffer(buffer, fence); in ReleaseBuffer()
133 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, int32_t& fence, in AcquireBuffer() argument
137 auto ret = AcquireBuffer(buffer, syncFence, timestamp, damage); in AcquireBuffer()
146 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, int32_ argument
152 AttachBufferToQueue(sptr<SurfaceBuffer> buffer) AttachBufferToQueue() argument
161 DetachBufferFromQueue(sptr<SurfaceBuffer> buffer) DetachBufferFromQueue() argument
170 AttachBuffer(sptr<SurfaceBuffer>& buffer) AttachBuffer() argument
178 AttachBuffer(sptr<SurfaceBuffer>& buffer, int32_t timeOut) AttachBuffer() argument
186 DetachBuffer(sptr<SurfaceBuffer>& buffer) DetachBuffer() argument
642 GetSurfaceBufferTransformType(sptr<SurfaceBuffer> buffer, GraphicTransformType *transformType) GetSurfaceBufferTransformType() argument
660 AcquireLastFlushedBuffer(sptr<SurfaceBuffer> &buffer, sptr<SyncFence> &fence, float matrix[16], uint32_t matrixSize, bool isUseNewMatrix) AcquireLastFlushedBuffer() argument
666 ReleaseLastFlushedBuffer(sptr<SurfaceBuffer> buffer) ReleaseLastFlushedBuffer() argument
[all...]
/foundation/multimedia/av_codec/test/unittest/plugins_source_test/
H A Dfile_fd_source_plugin_unit_test.cpp190 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); in HWTEST_F() local
191 fileFdSourcePlugin_->ringBuffer_ = buffer; in HWTEST_F()
214 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); in HWTEST_F() local
215 fileFdSourcePlugin_->ringBuffer_ = buffer; in HWTEST_F()
250 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); in HWTEST_F() local
251 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, 0, 1024)); in HWTEST_F()
260 std::shared_ptr<Buffer> buffer = nullptr; in HWTEST_F() local
261 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, 0, 1024)); in HWTEST_F()
271 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); in HWTEST_F() local
273 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, in HWTEST_F()
282 std::shared_ptr<Buffer> buffer = nullptr; HWTEST_F() local
356 std::shared_ptr<Buffer> buffer; HWTEST_F() local
367 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
381 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
398 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
426 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
472 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
508 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local
599 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dmount.c293 * @buffer: buffer to be used to lookup mntpath
305 const struct path *mntpath, char *buffer, in match_mnt_path_str()
318 AA_BUG(!buffer); in match_mnt_path_str()
323 error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, in match_mnt_path_str()
355 * @buffer: buffer to be used to lookup mntpath
357 * @devbuffer: buffer to be used to lookup devname/src_name
367 char *buffer, const struct path *devpath, char *devbuffer, in match_mnt()
390 return match_mnt_path_str(subj_cred, profile, path, buffer, devnam in match_mnt()
303 match_mnt_path_str(const struct cred *subj_cred, struct aa_profile *profile, const struct path *mntpath, char *buffer, const char *devname, const char *type, unsigned long flags, void *data, bool binary, const char *devinfo) match_mnt_path_str() argument
365 match_mnt(const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer, const struct path *devpath, char *devbuffer, const char *type, unsigned long flags, void *data, bool binary) match_mnt() argument
399 char *buffer = NULL; aa_remount() local
425 char *buffer = NULL, *old_buffer = NULL; aa_bind_mount() local
463 char *buffer = NULL; aa_mount_change_type() local
540 char *buffer = NULL, *dev_buffer = NULL; aa_new_mount() local
601 profile_umount(const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer) profile_umount() argument
640 char *buffer = NULL; aa_umount() local
[all...]
/third_party/cups-filters/utils/
H A Ddriverless.c68 char buffer[8192], /* Copy buffer */ in listPrintersInArray() local
109 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
116 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
122 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
141 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
380 buffer[MAX_OUTPUT_LEN], /* Copy buffer */ list_printers() local
607 char buffer[65536], ppdname[1024]; generate_ppd() local
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dutils.c161 * specify a preallocated buffer while libntfs-3g's always in ntfs_mbstoucs_libntfscompat()
162 * allocates the output buffer. in ntfs_mbstoucs_libntfscompat()
454 * has been created without an inode, it won't overflow the buffer.
478 * @mft: A buffer containing a raw MFT record
484 * the buffer, since we created the search context without an inode.
525 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize) in utils_inode_get_name() argument
540 if (!inode || !buffer) { in utils_inode_get_name()
622 len = snprintf(buffer + offset, bufsize - offset, "%c%s", PATH_SEP, names[i]); in utils_inode_get_name()
635 ntfs_log_debug("Pathname: %s\n", buffer); in utils_inode_get_name()
644 int utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, in argument
729 static unsigned char buffer[512]; utils_cluster_in_use() local
792 static u8 buffer[512]; utils_mftrec_in_use() local
[all...]
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_record.cpp236 {TAG_MIMETYPE, [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
237 ret = ret && ReadValue(buffer, mimeType_, head);}}, in InitDecodeMap()
238 {TAG_HTMLTEXT, [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
239 ret = ret && ReadValue(buffer, htmlText_, head);}}, in InitDecodeMap()
240 {TAG_WANT, [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
242 ret = ret && ReadValue(buffer, rawMem, head); in InitDecodeMap()
244 {TAG_PLAINTEXT, [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
245 ret = ret && ReadValue(buffer, plainText_, head); }}, in InitDecodeMap()
246 {TAG_URI, [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
248 ret = ret && ReadValue(buffer, rawMe in InitDecodeMap()
356 Encode(std::vector<std::uint8_t> &buffer) Encode() argument
380 Decode(const std::vector<std::uint8_t> &buffer) Decode() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUtility.java228 StringBuilder buffer = new StringBuilder(); in arrayToRLEString()
230 appendInt(buffer, a.length); in arrayToRLEString()
238 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
243 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
244 return buffer.toString(); in arrayToRLEString()
261 StringBuilder buffer = new StringBuilder(); in arrayToRLEString()
262 // for (int i=0; i<a.length; ++i) buffer.append((char) a[i]); in arrayToRLEString()
263 buffer.append((char) (a.length >> 16)); in arrayToRLEString()
264 buffer.append((char) a.length); in arrayToRLEString()
271 encodeRun(buffer, runValu in arrayToRLEString()
355 encodeRun(T buffer, int value, int length) encodeRun() argument
378 appendInt(T buffer, int value) appendInt() argument
391 encodeRun(T buffer, short value, int length) encodeRun() argument
423 encodeRun(T buffer, byte value, int length, byte[] state) encodeRun() argument
451 appendEncodedByte(T buffer, byte value, byte[] state) appendEncodedByte() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUtility.java231 StringBuilder buffer = new StringBuilder(); in arrayToRLEString()
233 appendInt(buffer, a.length); in arrayToRLEString()
241 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
246 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
247 return buffer.toString(); in arrayToRLEString()
264 StringBuilder buffer = new StringBuilder(); in arrayToRLEString()
265 // for (int i=0; i<a.length; ++i) buffer.append((char) a[i]); in arrayToRLEString()
266 buffer.append((char) (a.length >> 16)); in arrayToRLEString()
267 buffer.append((char) a.length); in arrayToRLEString()
274 encodeRun(buffer, runValu in arrayToRLEString()
358 encodeRun(T buffer, int value, int length) encodeRun() argument
381 appendInt(T buffer, int value) appendInt() argument
394 encodeRun(T buffer, short value, int length) encodeRun() argument
426 encodeRun(T buffer, byte value, int length, byte[] state) encodeRun() argument
454 appendEncodedByte(T buffer, byte value, byte[] state) appendEncodedByte() argument
[all...]
/arkcompiler/ets_runtime/test/fuzztest/stringrefwriteutf16_fuzzer/
H A Dstringrefwriteutf16_fuzzer.cpp36 char16_t* buffer = new char16_t[length]; in StringRefWriteUtf16FuzzTest() local
37 if (memset_s(buffer, length, 0, length) != EOK) { in StringRefWriteUtf16FuzzTest()
43 buffer[0] = '\0'; in StringRefWriteUtf16FuzzTest()
45 int count = res->WriteUtf16(vm, buffer, length - 1); in StringRefWriteUtf16FuzzTest()
46 buffer[count] = '\0'; in StringRefWriteUtf16FuzzTest()
48 delete[] buffer; in StringRefWriteUtf16FuzzTest()
49 buffer = nullptr; in StringRefWriteUtf16FuzzTest()
/third_party/ffmpeg/libavutil/tests/
H A Dlog.c26 static int call_log_format_line2(const char *fmt, char *buffer, int buffer_size, ...) in call_log_format_line2() argument
32 ret = av_log_format_line2(NULL, AV_LOG_INFO, fmt, args, buffer, buffer_size, &print_prefix); in call_log_format_line2()
53 char buffer[4]; in main() local
56 printf("Test NULL buffer failed.\n"); in main()
59 result = call_log_format_line2("foo", buffer, 2); in main()
60 if(result != 3 || strncmp(buffer, "f", 2)) { in main()
61 printf("Test buffer too small failed.\n"); in main()
64 result = call_log_format_line2("foo", buffer, 4); in main()
65 if(result != 3 || strncmp(buffer, "foo", 4)) { in main()
66 printf("Test buffer sufficientl in main()
[all...]
/third_party/alsa-lib/test/
H A Dpcm_min.c8 unsigned char buffer[16*1024]; /* some random data */ variable
17 for (i = 0; i < sizeof(buffer); i++) in main()
18 buffer[i] = random() & 0xff; in main()
36 frames = snd_pcm_writei(handle, buffer, sizeof(buffer)); in main()
43 if (frames > 0 && frames < (long)sizeof(buffer)) in main()
44 printf("Short write (expected %li, wrote %li)\n", (long)sizeof(buffer), frames); in main()
/third_party/mesa3d/src/android_stub/
H A Dnativewindow_stub.cpp12 AHardwareBuffer_acquire(AHardwareBuffer *buffer) in AHardwareBuffer_acquire() argument
17 AHardwareBuffer_release(AHardwareBuffer *buffer) in AHardwareBuffer_release() argument
22 AHardwareBuffer_describe(const AHardwareBuffer *buffer, in AHardwareBuffer_describe() argument
35 AHardwareBuffer_getNativeHandle(const AHardwareBuffer *buffer) in AHardwareBuffer_getNativeHandle() argument
72 ANativeWindowBuffer **buffer, in ANativeWindow_dequeueBuffer()
80 ANativeWindowBuffer *buffer, in ANativeWindow_queueBuffer()
87 ANativeWindowBuffer* buffer, in ANativeWindow_cancelBuffer()
71 ANativeWindow_dequeueBuffer(ANativeWindow *window, ANativeWindowBuffer **buffer, int *fenceFd) ANativeWindow_dequeueBuffer() argument
79 ANativeWindow_queueBuffer(ANativeWindow *window, ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_queueBuffer() argument
86 ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) ANativeWindow_cancelBuffer() argument
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_buffer.h48 struct vk_buffer *buffer,
50 void vk_buffer_finish(struct vk_buffer *buffer);
58 struct vk_buffer *buffer);
61 vk_buffer_range(const struct vk_buffer *buffer, in vk_buffer_range() argument
64 assert(offset <= buffer->size); in vk_buffer_range()
66 return buffer->size - offset; in vk_buffer_range()
69 assert(range + offset <= buffer->size); in vk_buffer_range()
/third_party/lz4/ossfuzz/
H A Dstandaloneengine.c25 uint8_t *buffer = NULL; in main() local
37 /* Allocate a buffer for the file contents. */ in main()
38 buffer = (uint8_t *)calloc(buffer_len, sizeof(uint8_t)); in main()
39 if(buffer) in main()
41 /* Read all the text from the file into the buffer. */ in main()
42 fread(buffer, sizeof(uint8_t), buffer_len, infile); in main()
46 LLVMFuzzerTestOneInput(buffer, buffer_len); in main()
50 /* Free the buffer as it's no longer needed. */ in main()
51 free(buffer); in main()
52 buffer in main()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dsetlinebuf.c25 * @tc.desc : Set file stream to linear buffer
33 char buffer[BUFSIZ]; in setlinebuf_0100() local
44 memset(buffer, 0, sizeof(buffer)); in setlinebuf_0100()
45 fread(buffer, sizeof(buffer), 1, f); in setlinebuf_0100()
47 if (strcmp(buffer, str)) { in setlinebuf_0100()
48 t_error("%s failed: setlinebuf. buf = %s\n", __func__, buffer); in setlinebuf_0100()
/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Dbuffer_converter.cpp173 int32_t BufferConverter::ReadFromBuffer(std::shared_ptr<AVBuffer> &buffer, std::shared_ptr<AVSharedMemory> &memory) in ReadFromBuffer() argument
179 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, AVCS_ERR_INVALID_VAL, "buffer is nullptr"); in ReadFromBuffer()
180 if (buffer->memory_ == nullptr) { in ReadFromBuffer()
183 CHECK_AND_RETURN_RET_LOG(buffer->memory_->GetAddr() != nullptr, AVCS_ERR_INVALID_VAL, "buffer addr is nullptr"); in ReadFromBuffer()
186 int32_t size = buffer->memory_->GetSize(); in ReadFromBuffer()
191 int32_t ret = buffer->memory_->Read(memory->GetBase(), size, 0); in ReadFromBuffer()
196 int32_t usrSize = func_(memory->GetBase(), buffer->memory_->GetAddr(), rects, memory->GetSize()); in ReadFromBuffer()
197 buffer in ReadFromBuffer()
201 WriteToBuffer(std::shared_ptr<AVBuffer> &buffer, std::shared_ptr<AVSharedMemory> &memory) WriteToBuffer() argument
291 SetInputBufferFormat(std::shared_ptr<AVBuffer> &buffer) SetInputBufferFormat() argument
303 SetOutputBufferFormat(std::shared_ptr<AVBuffer> &buffer) SetOutputBufferFormat() argument
367 SetBufferFormat(std::shared_ptr<AVBuffer> &buffer) SetBufferFormat() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddbnames.c299 struct acpi_buffer buffer; in acpi_db_walk_and_match_name() local
320 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_and_match_name()
321 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_and_match_name()
331 acpi_os_printf("%32s", (char *)buffer.pointer); in acpi_db_walk_and_match_name()
334 ACPI_FREE(buffer.pointer); in acpi_db_walk_and_match_name()
525 struct acpi_buffer buffer; in acpi_db_walk_for_fields() local
541 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_for_fields()
542 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_for_fields()
549 acpi_os_printf("%s ", (char *)buffer.pointer); in acpi_db_walk_for_fields()
550 ACPI_FREE(buffer in acpi_db_walk_for_fields()
604 struct acpi_buffer buffer; acpi_db_walk_for_specific_objects() local
935 struct acpi_buffer buffer; acpi_db_bus_walk() local
[all...]
H A Dutcopy.c32 u8 *buffer, acpi_size *space_used);
64 * buffer and string data)
72 * The data_space buffer is assumed to have sufficient space for
125 external_object->buffer.pointer = data_space; in acpi_ut_copy_isimple_to_esimple()
126 external_object->buffer.length = internal_object->buffer.length; in acpi_ut_copy_isimple_to_esimple()
132 (void *)internal_object->buffer.pointer, in acpi_ut_copy_isimple_to_esimple()
133 internal_object->buffer.length); in acpi_ut_copy_isimple_to_esimple()
260 * update the buffer length counter in acpi_ut_copy_ielement_to_eelement()
284 * buffer
299 acpi_ut_copy_ipackage_to_epackage(union acpi_operand_object *internal_object, u8 *buffer, acpi_size *space_used) acpi_ut_copy_ipackage_to_epackage() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c40 char *buffer; member
89 msg->buffer = kzalloc(SSP_HEADER_SIZE_ALIGNED + len, in ssp_create_msg()
91 if (!msg->buffer) { in ssp_create_msg()
99 memcpy(msg->buffer, &h, SSP_HEADER_SIZE); in ssp_create_msg()
112 memcpy(&m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], src, len); in ssp_fill_buffer()
118 memcpy(dest, &m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], len); in ssp_get_buffer()
122 (m->buffer[SSP_HEADER_SIZE_ALIGNED + index])
124 (m->buffer[SSP_HEADER_SIZE_ALIGNED + index] = val)
128 kfree(m->buffer); in ssp_clean_msg()
198 status = spi_write(data->spi, msg->buffer, SSP_HEADER_SIZ in ssp_do_transfer()
335 char *buffer; ssp_irq_msg() local
516 char buffer; ssp_get_chipid() local
[all...]
/kernel/linux/linux-5.10/kernel/gcov/
H A Dclang.c459 * @buffer: buffer containing file data
460 * @size: size of buffer
465 void *buffer; member
471 * store_gcov_u32 - store 32 bit number in gcov format to buffer
472 * @buffer: target buffer or NULL
473 * @off: offset into the buffer
478 * file. Returns the number of bytes stored. If @buffer is %NULL, doesn't
481 static size_t store_gcov_u32(void *buffer, size_ argument
505 store_gcov_u64(void *buffer, size_t off, u64 v) store_gcov_u64() argument
526 convert_to_gcda(char *buffer, struct gcov_info *info) convert_to_gcda() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddbnames.c299 struct acpi_buffer buffer; in acpi_db_walk_and_match_name() local
320 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_and_match_name()
321 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_and_match_name()
331 acpi_os_printf("%32s", (char *)buffer.pointer); in acpi_db_walk_and_match_name()
334 ACPI_FREE(buffer.pointer); in acpi_db_walk_and_match_name()
525 struct acpi_buffer buffer; in acpi_db_walk_for_fields() local
541 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_for_fields()
542 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_for_fields()
549 acpi_os_printf("%s ", (char *)buffer.pointer); in acpi_db_walk_for_fields()
550 ACPI_FREE(buffer in acpi_db_walk_for_fields()
604 struct acpi_buffer buffer; acpi_db_walk_for_specific_objects() local
935 struct acpi_buffer buffer; acpi_db_bus_walk() local
[all...]
H A Dutcopy.c32 u8 *buffer, acpi_size *space_used);
64 * buffer and string data)
72 * The data_space buffer is assumed to have sufficient space for
125 external_object->buffer.pointer = data_space; in acpi_ut_copy_isimple_to_esimple()
126 external_object->buffer.length = internal_object->buffer.length; in acpi_ut_copy_isimple_to_esimple()
132 (void *)internal_object->buffer.pointer, in acpi_ut_copy_isimple_to_esimple()
133 internal_object->buffer.length); in acpi_ut_copy_isimple_to_esimple()
260 * update the buffer length counter in acpi_ut_copy_ielement_to_eelement()
284 * buffer
299 acpi_ut_copy_ipackage_to_epackage(union acpi_operand_object *internal_object, u8 *buffer, acpi_size *space_used) acpi_ut_copy_ipackage_to_epackage() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c40 char *buffer; member
89 msg->buffer = kzalloc(SSP_HEADER_SIZE_ALIGNED + len, in ssp_create_msg()
91 if (!msg->buffer) { in ssp_create_msg()
99 memcpy(msg->buffer, &h, SSP_HEADER_SIZE); in ssp_create_msg()
112 memcpy(&m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], src, len); in ssp_fill_buffer()
118 memcpy(dest, &m->buffer[SSP_HEADER_SIZE_ALIGNED + offset], len); in ssp_get_buffer()
122 (m->buffer[SSP_HEADER_SIZE_ALIGNED + index])
124 (m->buffer[SSP_HEADER_SIZE_ALIGNED + index] = val)
128 kfree(m->buffer); in ssp_clean_msg()
198 status = spi_write(data->spi, msg->buffer, SSP_HEADER_SIZ in ssp_do_transfer()
334 char *buffer; ssp_irq_msg() local
515 char buffer; ssp_get_chipid() local
[all...]
/test/xts/acts/ability/ability_runtime/capiabilityruntime/entry/src/main/cpp/
H A Dnapi_init.cpp47 char buffer[BUF_SIZE]; in GetBundleName() local
49 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetBundleName(buffer, BUF_SIZE, &writeLength); in GetBundleName()
55 OH_LOG_DEBUG(LOG_APP, "result: %{public}s", buffer); in GetBundleName()
57 napi_create_string_utf8(env, buffer, writeLength, &result); in GetBundleName()
63 char buffer[BUF_SIZE]; in GetCacheDir() local
65 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetCacheDir(buffer, BUF_SIZE, &writeLength); in GetCacheDir()
71 OH_LOG_DEBUG(LOG_APP, "result: %{public}s", buffer); in GetCacheDir()
73 napi_create_string_utf8(env, buffer, writeLength, &result); in GetCacheDir()
117 char buffer[BUF_SIZE]; in TestGetBundleName() local
140 code = OH_AbilityRuntime_ApplicationContextGetBundleName(buffer, BUF_SIZ in TestGetBundleName()
230 char buffer[BUF_SIZE]; TestGetCacheDir() local
[all...]

Completed in 18 milliseconds

1...<<31323334353637383940>>...620