/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-elo.c | 31 unsigned char buffer[ELO_SMARTSET_PACKET_SIZE]; member 139 unsigned char *buffer = priv->buffer; in elo_work() local 150 *buffer = ELO_DIAG; in elo_work() 151 ret = elo_smartset_send_get(dev, ELO_SEND_SMARTSET_COMMAND, buffer); in elo_work() 159 ret = elo_smartset_send_get(dev, ELO_GET_SMARTSET_RESPONSE, buffer); in elo_work() 167 if (*buffer != 'A') { in elo_work() 169 buffer); in elo_work()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | mcs5000_ts.c | 109 u8 buffer[READ_BLOCK_SIZE]; in mcs5000_ts_interrupt() local 115 READ_BLOCK_SIZE, buffer); in mcs5000_ts_interrupt() 121 switch (buffer[READ_INPUT_INFO]) { in mcs5000_ts_interrupt() 128 x = (buffer[READ_X_POS_UPPER] << 8) | buffer[READ_X_POS_LOWER]; in mcs5000_ts_interrupt() 129 y = (buffer[READ_Y_POS_UPPER] << 8) | buffer[READ_Y_POS_LOWER]; in mcs5000_ts_interrupt() 151 buffer[READ_INPUT_INFO]); in mcs5000_ts_interrupt()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_sysctl.c | 16 void *buffer, in xfs_stats_clear_proc_handler() 22 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_stats_clear_proc_handler() 36 void *buffer, in xfs_panic_mask_proc_handler() 42 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_panic_mask_proc_handler() 57 void *buffer, in xfs_deprecate_irix_sgid_inherit_proc_handler() 66 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_deprecate_irix_sgid_inherit_proc_handler() 73 void *buffer, in xfs_deprecate_irix_symlink_mode_proc_handler() 82 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_deprecate_irix_symlink_mode_proc_handler() 13 xfs_stats_clear_proc_handler( struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) xfs_stats_clear_proc_handler() argument 33 xfs_panic_mask_proc_handler( struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) xfs_panic_mask_proc_handler() argument 54 xfs_deprecate_irix_sgid_inherit_proc_handler( struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) xfs_deprecate_irix_sgid_inherit_proc_handler() argument 70 xfs_deprecate_irix_symlink_mode_proc_handler( struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) xfs_deprecate_irix_symlink_mode_proc_handler() argument
|
/kernel/linux/linux-5.10/drivers/ssb/ |
H A D | host_soc.c | 41 static void ssb_host_soc_block_read(struct ssb_device *dev, void *buffer, in ssb_host_soc_block_read() argument 52 u8 *buf = buffer; in ssb_host_soc_block_read() 62 __le16 *buf = buffer; in ssb_host_soc_block_read() 73 __le32 *buf = buffer; in ssb_host_soc_block_read() 114 static void ssb_host_soc_block_write(struct ssb_device *dev, const void *buffer, in ssb_host_soc_block_write() argument 125 const u8 *buf = buffer; in ssb_host_soc_block_write() 135 const __le16 *buf = buffer; in ssb_host_soc_block_write() 146 const __le32 *buf = buffer; in ssb_host_soc_block_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | sysctl.h | 64 typedef int proc_handler(struct ctl_table *ctl, int write, void *buffer, 68 int proc_dobool(struct ctl_table *table, int write, void *buffer, 73 int proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, 75 int proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, 79 void *buffer, size_t *lenp, loff_t *ppos); 88 int proc_do_static_key(struct ctl_table *table, int write, void *buffer, 247 void *buffer, size_t *lenp, loff_t *ppos, 298 int sysctl_max_threads(struct ctl_table *table, int write, void *buffer,
|
/kernel/linux/linux-6.6/drivers/ssb/ |
H A D | host_soc.c | 41 static void ssb_host_soc_block_read(struct ssb_device *dev, void *buffer, in ssb_host_soc_block_read() argument 52 u8 *buf = buffer; in ssb_host_soc_block_read() 62 __le16 *buf = buffer; in ssb_host_soc_block_read() 73 __le32 *buf = buffer; in ssb_host_soc_block_read() 114 static void ssb_host_soc_block_write(struct ssb_device *dev, const void *buffer, in ssb_host_soc_block_write() argument 125 const u8 *buf = buffer; in ssb_host_soc_block_write() 135 const __le16 *buf = buffer; in ssb_host_soc_block_write() 146 const __le32 *buf = buffer; in ssb_host_soc_block_write()
|
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | host_soc.c | 50 static void bcma_host_soc_block_read(struct bcma_device *core, void *buffer, in bcma_host_soc_block_read() argument 57 u8 *buf = buffer; in bcma_host_soc_block_read() 67 __le16 *buf = buffer; in bcma_host_soc_block_read() 78 __le32 *buf = buffer; in bcma_host_soc_block_read() 94 const void *buffer, in bcma_host_soc_block_write() 101 const u8 *buf = buffer; in bcma_host_soc_block_write() 111 const __le16 *buf = buffer; in bcma_host_soc_block_write() 122 const __le32 *buf = buffer; in bcma_host_soc_block_write() 93 bcma_host_soc_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_soc_block_write() argument
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-elo.c | 31 unsigned char buffer[ELO_SMARTSET_PACKET_SIZE]; member 139 unsigned char *buffer = priv->buffer; in elo_work() local 150 *buffer = ELO_DIAG; in elo_work() 151 ret = elo_smartset_send_get(dev, ELO_SEND_SMARTSET_COMMAND, buffer); in elo_work() 159 ret = elo_smartset_send_get(dev, ELO_GET_SMARTSET_RESPONSE, buffer); in elo_work() 167 if (*buffer != 'A') { in elo_work() 169 buffer); in elo_work()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | mcs5000_ts.c | 109 u8 buffer[READ_BLOCK_SIZE]; in mcs5000_ts_interrupt() local 115 READ_BLOCK_SIZE, buffer); in mcs5000_ts_interrupt() 121 switch (buffer[READ_INPUT_INFO]) { in mcs5000_ts_interrupt() 128 x = (buffer[READ_X_POS_UPPER] << 8) | buffer[READ_X_POS_LOWER]; in mcs5000_ts_interrupt() 129 y = (buffer[READ_Y_POS_UPPER] << 8) | buffer[READ_Y_POS_LOWER]; in mcs5000_ts_interrupt() 151 buffer[READ_INPUT_INFO]); in mcs5000_ts_interrupt()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_file.c | 134 int32_t ReadFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) in ReadFile() argument 136 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) { in ReadFile() 166 if (fread(buffer, fileSize, 1, fp) != 1) { in ReadFile() 279 char* buffer = (char *)ATTEST_MEM_MALLOC(bufferSize); in ReadFileBuffer() local 280 if (buffer == NULL) { in ReadFileBuffer() 284 int32_t ret = ReadFile(path, fileName, buffer, bufferSize); in ReadFileBuffer() 286 ATTEST_MEM_FREE(buffer); in ReadFileBuffer() 289 *outStr = buffer; in ReadFileBuffer()
|
/third_party/backends/backend/escl/ |
H A D | escl_mupdf.c | 51 unsigned char buffer[4096]; member 60 n = fread(state->buffer, 1, sizeof(state->buffer), state->file); in next_file_escl() 61 if (n < sizeof(state->buffer) && ferror(state->file)) in next_file_escl() 63 stm->rp = state->buffer; in next_file_escl() 64 stm->wp = state->buffer + n; in next_file_escl() 98 stm->rp = state->buffer; in seek_file_escl() 99 stm->wp = state->buffer; in seek_file_escl()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_utils.cpp | 140 char buffer[DoubleToStringConverter::kBase10MaximalLength + 6]; in setTo() local 148 buffer, in setTo() 149 sizeof(buffer), in setTo() 156 _setTo(buffer, length, status); in setTo() 267 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString() 271 uprv_decNumberToString(fData, buffer.getAlias()); in toString() 272 output.Append(buffer.getAlias(), static_cast<int32_t>(uprv_strlen(buffer.getAlias()))); in toString()
|
/third_party/libuv/test/ |
H A D | runner-win.c | 241 char * buffer, in process_read_last_line() 255 buffer[0] = '\0'; in process_read_last_line() 263 if (!ReadFile(p->stdio_out, buffer, buffer_len - 1, &read, &overlapped)) in process_read_last_line() 268 if (buffer[start] == '\n' || buffer[start] == '\r') in process_read_last_line() 273 memmove(buffer, buffer + start, read - start); in process_read_last_line() 275 buffer[read - start] = '\0'; in process_read_last_line() 240 process_read_last_line(process_info_t *p, char * buffer, size_t buffer_len) process_read_last_line() argument
|
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerSHA1.cpp | 55 uint32_t buffer[BLOCK_LENGTH/4]; member 110 t = s->buffer[(i+13)&15] ^ s->buffer[(i+8)&15] ^ s->buffer[(i+2)&15] ^ s->buffer[i&15]; in sha1_hashBlock() 111 s->buffer[i&15] = sha1_rol32(t,1); in sha1_hashBlock() 122 t+=sha1_rol32(a,5) + e + s->buffer[i&15]; in sha1_hashBlock() 137 uint8_t * const b = (uint8_t*) s->buffer; in sha1_addUncounted()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfscat.c | 338 char *buffer; in cat() local 344 buffer = malloc(bufsize); in cat() 345 if (!buffer) in cat() 352 free(buffer); in cat() 367 bytes_read = ntfs_attr_mst_pread(attr, offset, 1, block_size, buffer); in cat() 371 bytes_read = ntfs_attr_pread(attr, offset, bufsize, buffer); in cat() 381 written = fwrite(buffer, 1, bytes_read, stdout); in cat() 390 free(buffer); in cat()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_utils.cpp | 140 char buffer[DoubleToStringConverter::kBase10MaximalLength + 6]; in setTo() local 148 buffer, in setTo() 149 sizeof(buffer), in setTo() 156 _setTo(buffer, length, status); in setTo() 267 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString() 271 uprv_decNumberToString(fData, buffer.getAlias()); in toString() 272 output.Append(buffer.getAlias(), static_cast<int32_t>(uprv_strlen(buffer.getAlias()))); in toString()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferAndImageAllocationUtil.cpp | 45 Move<VkBuffer>& buffer, in createTestBuffer() 64 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 65 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement); in createTestBuffer() 66 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0)); in createTestBuffer() 73 Move<VkBuffer>& buffer, in createTestBuffer() 99 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 100 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); in createTestBuffer() 101 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())); in createTestBuffer() 41 createTestBuffer(VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument 69 createTestBuffer(VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkTileImageFilter.cpp | 38 void flatten(SkWriteBuffer& buffer) const override; 78 sk_sp<SkFlattenable> SkTileImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument 81 buffer.readRect(&src); in CreateProc() 82 buffer.readRect(&dst); in CreateProc() 86 void SkTileImageFilter::flatten(SkWriteBuffer& buffer) const { in flatten() 87 this->INHERITED::flatten(buffer); in flatten() 88 buffer.writeRect(fSrcRect); in flatten() 89 buffer.writeRect(fDstRect); in flatten()
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
H A D | c_api_test.c | 26 static int read_file(const char *path, SpvId **buffer, size_t *word_count) in read_file() argument 38 *buffer = malloc(len); in read_file() 39 if (fread(*buffer, 1, len, file) != (size_t)len) in read_file() 42 free(*buffer); in read_file() 118 SpvId *buffer = NULL; in main() local 130 if (read_file(argv[1], &buffer, &word_count) < 0) in main() 155 SPVC_CHECKED_CALL(spvc_context_parse_spirv(context, buffer, word_count, &ir)); in main() 187 free(buffer); in main()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_utils.cpp | 140 char buffer[DoubleToStringConverter::kBase10MaximalLength + 6]; in setTo() local 148 buffer, in setTo() 149 sizeof(buffer), in setTo() 156 _setTo(buffer, length, status); in setTo() 261 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString() 265 uprv_decNumberToString(fData, buffer.getAlias()); in toString() 266 output.Append(buffer.getAlias(), static_cast<int32_t>(uprv_strlen(buffer.getAlias()))); in toString()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 135 void *buffer = tqe->buffer; in tcp_process() local 136 const struct ethhdr *eth_hdr_ptr = buffer; in tcp_process() 151 ip_hdr_ptr = buffer + ETH_HLEN; in tcp_process() 157 tcp_hdr_ptr = buffer + ETH_HLEN + ihl; in tcp_process() 247 static int wilc_wlan_txq_add_cfg_pkt(struct wilc_vif *vif, u8 *buffer, in wilc_wlan_txq_add_cfg_pkt() argument 265 tqe->buffer = buffer; in wilc_wlan_txq_add_cfg_pkt() 277 int wilc_wlan_txq_add_net_pkt(struct net_device *dev, void *priv, u8 *buffer, in wilc_wlan_txq_add_net_pkt() argument 295 tqe->buffer in wilc_wlan_txq_add_net_pkt() 308 wilc_wlan_txq_add_mgmt_pkt(struct net_device *dev, void *priv, u8 *buffer, u32 buffer_size, void (*tx_complete_fn)(void *, int)) wilc_wlan_txq_add_mgmt_pkt() argument 681 wilc_wlan_handle_rx_buff(struct wilc *wilc, u8 *buffer, int size) wilc_wlan_handle_rx_buff() argument 731 u8 *buffer; wilc_wlan_handle_rxq() local 757 u8 *buffer = NULL; wilc_wlan_handle_isr_ext() local 813 wilc_wlan_firmware_download(struct wilc *wilc, const u8 *buffer, u32 buffer_size) wilc_wlan_firmware_download() argument 1002 wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, u32 buffer_size, int commit, u32 drv_handler) wilc_wlan_cfg_set() argument [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | ump.c | 26 struct snd_info_buffer *buffer); 37 u32 *buffer, int count); 42 u32 *buffer, int count) in process_legacy_output() 296 * @buffer: the buffer pointer to transfer 303 int snd_ump_receive(struct snd_ump_endpoint *ump, const u32 *buffer, int count) in snd_ump_receive() argument 306 const u32 *p = buffer; in snd_ump_receive() 324 return snd_rawmidi_receive(substream, (const char *)buffer, count); in snd_ump_receive() 331 * @buffer: the buffer pointe 41 process_legacy_output(struct snd_ump_endpoint *ump, u32 *buffer, int count) process_legacy_output() argument 338 snd_ump_transmit(struct snd_ump_endpoint *ump, u32 *buffer, int count) snd_ump_transmit() argument 475 snd_ump_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_ump_proc_read() argument 1073 process_legacy_output(struct snd_ump_endpoint *ump, u32 *buffer, int count) process_legacy_output() argument [all...] |
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_android.c | 158 _eglLog(_EGL_WARNING, "unsupported native buffer format 0x%x", native); in get_fourcc() 314 * color compression state buffer, but the rest of the code isn't ready 354 * with canonical information about the buffer and its modifier, planes, 449 * get resolved and the buffer import will fail. Thus the fallback behavior 451 * buffer can be imported without modifier info as a last resort. 498 if (ANativeWindow_dequeueBuffer(dri2_surf->window, &dri2_surf->buffer, 508 /* Record all the buffers created by ANativeWindow and update back buffer 509 * for updating buffer's age in swap_buffers. 513 if (!dri2_surf->color_buffers[i].buffer) { 514 dri2_surf->color_buffers[i].buffer 1155 droid_create_image_khr(_EGLDisplay *disp, _EGLContext *ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) global() argument [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_parse_utils.cpp | 2682 char *buffer = temp_buffer.Buffer_char (); in ParseStringTag() local 2684 stream.Get (buffer, tagCount); in ParseStringTag() 2688 if (buffer [tagCount - 1] != 0) in ParseStringTag() 2691 buffer [tagCount] = 0; in ParseStringTag() 2702 if (buffer [j] == 0) in ParseStringTag() 2740 s.Set_UTF8_or_System (buffer); in ParseStringTag() 2774 char *buffer = temp_buffer.Buffer_char (); in ParseDualStringTag() local 2776 stream.Get (buffer, tagCount); in ParseDualStringTag() 2780 if (buffer [tagCount - 1] != 0) in ParseDualStringTag() 2783 buffer [tagCoun in ParseDualStringTag() 2949 uint16 *buffer = temp_buffer.Buffer_uint16 (); ParseEncodedStringTag() local 3011 char *buffer = temp_buffer.Buffer_char (); ParseEncodedStringTag() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | float_conversion.cc | 332 // The buffer must have an extra digit that is known to not need rounding. 516 char buffer[integral_size + /* . */ 1 + /* max digits uint128 */ 128]; in FormatFFast() local 517 buffer[integral_size] = '.'; in FormatFFast() 518 char *const integral_digits_end = buffer + integral_size; in FormatFFast() 520 char *const fractional_digits_start = buffer + integral_size + 1; in FormatFFast() 877 // This buffer holds the "0x1.ab1de3" portion of "0x1.ab1de3pe+2". Compute the in FormatA() 1041 void RoundUp(Buffer *buffer, int *exp) { 1042 char *p = &buffer->back(); 1043 while (p >= buffer->begin && (*p == '9' || *p == '.')) { 1048 if (p < buffer [all...] |