/third_party/node/deps/v8/third_party/jinja2/ |
H A D | compiler.py | 153 # inside some tags we are using a buffer rather than yield statements. 156 # buffer. 157 self.buffer = None 166 self.buffer = parent.buffer 325 def buffer(self, frame): member in CodeGenerator 327 frame.buffer = self.temporary_identifier() 328 self.writeline("%s = []" % frame.buffer) 331 """Return the buffer contents of the frame.""" 336 self.writeline("return Markup(concat(%s))" % frame.buffer) [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | compiler.py | 153 # inside some tags we are using a buffer rather than yield statements. 156 # buffer. 157 self.buffer = None 166 self.buffer = parent.buffer 325 def buffer(self, frame): member in CodeGenerator 327 frame.buffer = self.temporary_identifier() 328 self.writeline("%s = []" % frame.buffer) 331 """Return the buffer contents of the frame.""" 336 self.writeline("return Markup(concat(%s))" % frame.buffer) [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | numbers_test.cc | 154 char buffer[absl::numbers_internal::kFastToBufferSize]; in CheckInt32() local 155 char* actual = absl::numbers_internal::FastIntToBuffer(x, buffer); in CheckInt32() 157 EXPECT_EQ(expected, std::string(buffer, actual)) << " Input " << x; in CheckInt32() 159 char* generic_actual = absl::numbers_internal::FastIntToBuffer(x, buffer); in CheckInt32() 160 EXPECT_EQ(expected, std::string(buffer, generic_actual)) << " Input " << x; in CheckInt32() 164 char buffer[absl::numbers_internal::kFastToBufferSize + 3]; in CheckInt64() local 165 buffer[0] = '*'; in CheckInt64() 166 buffer[23] = '*'; in CheckInt64() 167 buffer[24] = '*'; in CheckInt64() 168 char* actual = absl::numbers_internal::FastIntToBuffer(x, &buffer[ in CheckInt64() 181 char buffer[absl::numbers_internal::kFastToBufferSize]; CheckUInt32() local 191 char buffer[absl::numbers_internal::kFastToBufferSize + 1]; CheckUInt64() local 912 char buffer[16]; // more than enough for %.9g ToNineDigits() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_core_main.c | 359 q->bufs[i].buffer = q->qdio_bufs[i]; in qeth_alloc_qdio_queue() 474 struct qeth_qdio_out_buffer *buffer; in qeth_qdio_handle_aob() local 482 buffer = (struct qeth_qdio_out_buffer *) aob->user1; in qeth_qdio_handle_aob() 490 switch (atomic_xchg(&buffer->state, new_state)) { in qeth_qdio_handle_aob() 504 qeth_notify_skbs(buffer->q, buffer, notification); in qeth_qdio_handle_aob() 514 if (data && buffer->is_header[i]) in qeth_qdio_handle_aob() 518 queue = buffer->q; in qeth_qdio_handle_aob() 519 atomic_set(&buffer->state, QETH_QDIO_BUF_EMPTY); in qeth_qdio_handle_aob() 953 unsigned char *buffer) in qeth_check_idx_response() 952 qeth_check_idx_response(struct qeth_card *card, unsigned char *buffer) qeth_check_idx_response() argument 3542 qeth_handle_send_error(struct qeth_card *card, struct qeth_qdio_out_buffer *buffer, unsigned int qdio_err) qeth_handle_send_error() argument 3569 struct qeth_qdio_out_buffer *buffer; qeth_prep_flush_pack_buffer() local 3801 struct qdio_buffer *buffer = cq->qdio_bufs[QDIO_BUFNR(i)]; qeth_qdio_cq_handler() local 4064 struct qeth_qdio_out_buffer *buffer = queue->bufs[queue->bulk_start]; qeth_iqd_may_bulk() local 4096 struct qdio_buffer *buffer = buf->buffer; qeth_fill_buffer() local 4183 struct qeth_qdio_out_buffer *buffer; __qeth_xmit() local 4261 struct qeth_qdio_out_buffer *buffer; qeth_do_send_packet() local 5552 struct qdio_buffer *buffer = qethbuffer->buffer; qeth_extract_skb() local 5753 struct qeth_qdio_buffer *buffer; qeth_rx_poll() local 5851 struct qeth_qdio_out_buffer *buffer = queue->bufs[bidx]; qeth_iqd_tx_complete() local 5963 struct qeth_qdio_out_buffer *buffer; qeth_tx_poll() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | UnicodeSet.java | 339 private int[] rangeList; // internal buffer 340 private int[] buffer; // internal buffer field in UnicodeSet 780 * @param result the buffer into which to generate the pattern 793 * @param result the buffer into which to generate the pattern 2429 buffer = null; in compact() 3078 if (buffer != null && newLen <= buffer.length) return; in ensureBufferCapacity() 3080 buffer = new int[newCapacity]; in ensureBufferCapacity() 3081 // The buffer ha in ensureBufferCapacity() 4434 private char[] buffer; global() field in UnicodeSet.UnicodeSetIterator2 [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | UnicodeSet.java | 331 private int[] rangeList; // internal buffer 332 private int[] buffer; // internal buffer field in UnicodeSet 735 * @param result the buffer into which to generate the pattern 2320 buffer = null; in compact() 2964 if (buffer != null && newLen <= buffer.length) return; in ensureBufferCapacity() 2966 buffer = new int[newCapacity]; in ensureBufferCapacity() 2967 // The buffer has no contents to be copied. in ensureBufferCapacity() 3013 buffer[ in xor() 4292 private char[] buffer; global() field in UnicodeSet.UnicodeSetIterator2 [all...] |
/third_party/backends/backend/ |
H A D | umax_pp_low.c | 148 static int cmdSet610p (int cmd, int len, int *buffer); 149 static int cmdGet610p (int cmd, int len, int *buffer); 150 static int EPPcmdSet610p (int cmd, int len, int *buffer); 151 static int EPPcmdGet610p (int cmd, int len, int *buffer); 153 static int cmdGetBuffer610p (int cmd, int len, unsigned char *buffer); 203 static int cmdSet (int cmd, int len, int *buffer); 204 static int cmdGet (int cmd, int len, int *buffer); 205 static int cmdSetGet (int cmd, int len, int *buffer); 208 static int cmdGetBuffer (int cmd, int len, unsigned char *buffer); 209 static int cmdGetBuffer32 (int cmd, int len, unsigned char *buffer); 398 char name[80], buffer[80]; sanei_parport_find_port() local 8238 EPPcmdGetBuffer610p(int cmd, int len, unsigned char *buffer) EPPcmdGetBuffer610p() argument 8458 cmdGetBuffer610p(int cmd, int len, unsigned char *buffer) cmdGetBuffer610p() argument 8563 cmdGetBuffer(int cmd, int len, unsigned char *buffer) cmdGetBuffer() argument 8702 cmdGetBuffer32(int cmd, int len, unsigned char *buffer) cmdGetBuffer32() argument 8844 cmdGetBlockBuffer(int cmd, int len, int window, unsigned char *buffer) cmdGetBlockBuffer() argument 9341 int buffer[17]; sanei_umax_pp_setLamp() local 9615 move(int distance, int precision, unsigned char *buffer) move() argument 9821 unsigned char buffer[54000]; moveToOrigin() local 10037 unsigned char buffer[0x105798]; shadingCalibration1220p() local 10155 sanei_umax_pp_readBlock(long len, int window, int dpi, int last, unsigned char *buffer) sanei_umax_pp_readBlock() argument 10216 unsigned char *buffer; sanei_umax_pp_scan() local 10567 unsigned char *buffer; sanei_umax_pp_startScan() local 11331 int buffer[774]; loadDefaultTables() local 11472 int buffer[37]; inquire() local 11523 unsigned char buffer[5300]; offsetCalibration1220p() local 12176 unsigned char buffer[5300]; coarseGainCalibration1220p() local [all...] |
/kernel/linux/linux-5.10/drivers/media/common/siano/ |
H A D | smsendian.h | 16 extern void smsendian_handle_tx_message(void *buffer); 17 extern void smsendian_handle_rx_message(void *buffer);
|
/kernel/linux/linux-6.6/drivers/media/common/siano/ |
H A D | smsendian.h | 16 extern void smsendian_handle_tx_message(void *buffer); 17 extern void smsendian_handle_rx_message(void *buffer);
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_service_skeleton.cpp | 302 unsigned char *buffer = new (std::nothrow) unsigned char[length]; in TestRawDataTransaction() local 303 if (buffer == nullptr) { in TestRawDataTransaction() 304 ZLOGE(LABEL, "new buffer failed of length = %{public}d", length); in TestRawDataTransaction() 307 buffer[0] = 'a'; in TestRawDataTransaction() 308 buffer[length - 1] = 'z'; in TestRawDataTransaction() 311 dataParcel.WriteRawData(buffer, length); in TestRawDataTransaction() 316 delete [] buffer; in TestRawDataTransaction() 349 const char *buffer = nullptr; in TestRawDataReply() local 350 if ((buffer = reinterpret_cast<const char *>(replyParcel.ReadRawData((size_t)length))) == nullptr) { in TestRawDataReply() 354 if (buffer[ in TestRawDataReply() 986 const char *buffer = nullptr; TransferRawData() local 1027 unsigned char *buffer = new (std::nothrow) unsigned char[length]; ReplyRawData() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
H A D | communicator_aggregator.cpp | 274 commMap_.at(commLabel).first->OnBufferReceive(entry.srcTarget, entry.buffer); in ActivateCommunicator() 307 return E_OK; // Returns E_OK here to indicate this buffer was accepted though discard immediately in ScheduleSendTask() 421 delete inTask.buffer; in RetryUntilTimeout() 422 inTask.buffer = nullptr; in RetryUntilTimeout() 630 SerialBuffer *buffer = new (std::nothrow) SerialBuffer(); in OnAppLayerFrameReceive() local 631 if (buffer == nullptr) { in OnAppLayerFrameReceive() 635 int errCode = buffer->SetExternalBuff(bytes, length - inResult.GetPaddingLen(), in OnAppLayerFrameReceive() 639 delete buffer; in OnAppLayerFrameReceive() 640 buffer = nullptr; in OnAppLayerFrameReceive() 643 return OnAppLayerFrameReceive(srcTarget, buffer, inResul in OnAppLayerFrameReceive() 792 SerialBuffer *buffer = ProtocolProto::BuildEmptyFrameForVersionNegotiate(errCode); TriggerVersionNegotiation() local 842 SerialBuffer *buffer = ProtocolProto::BuildFeedbackMessageFrame(oriMsg, dstLabel, errCode); TriggerCommunicatorNotFoundFeedback() local [all...] |
/kernel/linux/linux-6.6/tools/tracing/latency/ |
H A D | latency-collector.c | 993 static bool toss_coin(struct drand48_data *buffer, unsigned int prob) in toss_coin() argument 997 if (unlikely(lrand48_r(buffer, &r))) { in toss_coin() 1073 const struct timespec *timestamp, char *buffer, in __print_skipmessage() 1078 char *p = &buffer[0]; in __print_skipmessage() 1107 write_or_die(fd_stdout, buffer, bytes); in __print_skipmessage() 1112 const struct timespec *timestamp, char *buffer, in print_skipmessage() 1116 __print_skipmessage(resize_msg, timestamp, buffer, bufspace, req, in print_skipmessage() 1120 static void print_lostmessage(const struct timespec *timestamp, char *buffer, in print_lostmessage() argument 1124 __print_skipmessage(NULL, timestamp, buffer, bufspace, req, true, in print_lostmessage() 1129 const struct timespec *timestamp, char *buffer, in print_tracefile() 1072 __print_skipmessage(const struct short_msg *resize_msg, const struct timespec *timestamp, char *buffer, size_t bufspace, const struct entry *req, bool excuse, const char *str) __print_skipmessage() argument 1111 print_skipmessage(const struct short_msg *resize_msg, const struct timespec *timestamp, char *buffer, size_t bufspace, const struct entry *req, bool excuse) print_skipmessage() argument 1128 print_tracefile(const struct short_msg *resize_msg, const struct timespec *timestamp, char *buffer, size_t bufspace, long slept, const struct entry *req) print_tracefile() argument 1460 char *buffer; tracing_loop() local 1552 char *buffer; do_printloop() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | ucharstrietest.cpp | 507 UnicodeString buffer; in TestGetNextUChars() local 508 UnicodeStringAppendable app(buffer); in TestGetNextUChars() 510 if(count!=2 || buffer.length()!=2 || buffer[0]!=u_a || buffer[1]!=u_j) { in TestGetNextUChars() 517 buffer.remove(); in TestGetNextUChars() 519 if(count!=20 || buffer!=UNICODE_STRING_SIMPLE(".abcdefghijklmnopqru")) { in TestGetNextUChars() 524 buffer.remove(); in TestGetNextUChars() 526 if(count!=20 || buffer!=UNICODE_STRING_SIMPLE(".abcdefghijklmnopqru")) { in TestGetNextUChars() 531 buffer in TestGetNextUChars() 1095 char buffer[1000]; checkIterator() local [all...] |
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_generic_ep0.c | 608 char *buffer, size_t buflen, int max_n) in generic_ep0_read_events() 634 ret = memcpy_s(buffer, buflen, (const void *)events, size); in generic_ep0_read_events() 644 static ssize_t generic_ep0_write_descs(struct generic_dev_s *dev, const char *buffer, size_t buflen) in generic_ep0_write_descs() argument 656 ret = memcpy_s(data, buflen + 1, buffer, buflen); in generic_ep0_write_descs() 675 static ssize_t generic_ep0_write_strings(struct generic_dev_s *dev, const char *buffer, size_t buflen) in generic_ep0_write_strings() argument 686 ret = memcpy_s(data, buflen + 1, buffer, buflen); in generic_ep0_write_strings() 720 static ssize_t generic_ep0_write_request(struct generic_dev_s *dev, const char *buffer, size_t buflen) in generic_ep0_write_request() argument 725 usbm = generic_find_memory_area(&dev->memory_obj, buffer, buflen); in generic_ep0_write_request() 746 req->io_data.buf = (uint32_t)buffer; in generic_ep0_write_request() 748 req->user_buf = (uint32_t)buffer; in generic_ep0_write_request() 607 generic_ep0_read_events(struct generic_dev_s *dev, char *buffer, size_t buflen, int max_n) generic_ep0_read_events() argument 754 generic_ep0_cancel_pending_request(struct generic_dev_s *dev, uint32_t buffer) generic_ep0_cancel_pending_request() argument 795 generic_ep0_request_status(struct generic_dev_s *dev, void *buffer) generic_ep0_request_status() argument 857 generic_ep0_handle_read(struct usb_handle *handle, void *buffer, size_t len) generic_ep0_handle_read() argument 907 generic_ep0_handle_write(struct usb_handle *handle, void *buffer, size_t len) generic_ep0_handle_write() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferTextureBufferRange.cpp | 595 /* Check if texture buffer extension is supported */ in initTest() 648 std::vector<glw::GLubyte> buffer(m_buffer_total_size); in initTest() 649 memset(&buffer[0], 0, m_buffer_total_size); in initTest() 655 fillInputData(&buffer[0], offset, info); in initTest() 663 /* Create buffer object */ in initTest() 665 GLU_EXPECT_NO_ERROR(gl.getError(), "Error generating buffer object!"); in initTest() 667 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding buffer object !"); in initTest() 668 gl.bufferData(m_glExtTokens.TEXTURE_BUFFER, m_buffer_total_size, &buffer[0], GL_STATIC_DRAW); in initTest() 669 GLU_EXPECT_NO_ERROR(gl.getError(), "Error allocating buffer object's data store!"); in initTest() 690 "layout(binding = 0 ) buffer ComputeSSBOSiz in getComputeShaderCode() 1271 fillInputData(glw::GLubyte* buffer, glw::GLuint offset, FormatInfo& info) fillInputData() argument 1397 fillOutputData(glw::GLubyte* buffer, FormatInfo& info) fillOutputData() argument [all...] |
/third_party/python/Modules/ |
H A D | _lzmamodule.c | 18 // Blocks output buffer wrappers 28 OutputBuffer_InitAndGrow(_BlocksOutputBuffer *buffer, Py_ssize_t max_length, in OutputBuffer_InitAndGrow() argument 34 buffer, max_length, (void**) next_out); in OutputBuffer_InitAndGrow() 42 OutputBuffer_Grow(_BlocksOutputBuffer *buffer, in OutputBuffer_Grow() argument 48 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow() 54 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, size_t avail_out) in OutputBuffer_GetDataSize() argument 56 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize() 60 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, size_t avail_out) in OutputBuffer_Finish() argument 62 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish() 66 OutputBuffer_OnError(_BlocksOutputBuffer *buffer) in OutputBuffer_OnError() argument 550 _BlocksOutputBuffer buffer = {.list = NULL}; compress() local 934 _BlocksOutputBuffer buffer = {.list = NULL}; decompress_buf() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_misc_opcodes.cpp | 401 dng_pixel_buffer &buffer, in ProcessArea() 413 plane < buffer.Planes (); in ProcessArea() 417 DoMapArea16 (buffer.DirtyPixel_uint16 (overlap.t, overlap.l, plane), in ProcessArea() 422 fAreaSpec.RowPitch () * buffer.RowStep (), in ProcessArea() 620 dng_pixel_buffer &buffer, in ProcessArea() 636 plane < buffer.Planes (); in ProcessArea() 643 real32 *dPtr = buffer.DirtyPixel_real32 (row, overlap.l, plane); in ProcessArea() 982 dng_pixel_buffer &buffer, in ProcessArea() 998 plane < buffer.Planes (); in ProcessArea() 1011 real32 *dPtr = buffer in ProcessArea() 399 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument 618 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument 980 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument 1186 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument 1366 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument 1543 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect & ) ProcessArea() argument [all...] |
/third_party/node/deps/ada/ |
H A D | ada.h | 1691 inline void inner_concat(std::string& buffer, T t) { in inner_concat() argument 1692 buffer.append(t); in inner_concat() 1699 inline void inner_concat(std::string& buffer, T t, Args... args) { in inner_concat() argument 1700 buffer.append(t); in inner_concat() 1701 return inner_concat(buffer, args...); in inner_concat() 4845 std::string buffer{}; 4851 * @return true if the buffer is ready to receive the path. 4872 * the string_view input is pointing in the buffer. When in_place is false, 4873 * we must nearly always update the buffer. 4934 * buffer, doe [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-acpi.c | 319 if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { in ata_acpi_gtm() 321 out_obj->buffer.length); in ata_acpi_gtm() 325 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm() 355 in_params[0].buffer.length = sizeof(struct ata_acpi_gtm); in ata_acpi_stm() 356 in_params[0].buffer.pointer = (u8 *)&stm_buf; in ata_acpi_stm() 359 in_params[1].buffer.length = 512; in ata_acpi_stm() 360 in_params[1].buffer.pointer = (u8 *)ap->link.device[0].id; in ata_acpi_stm() 362 in_params[2].buffer.length = 512; in ata_acpi_stm() 363 in_params[2].buffer.pointer = (u8 *)ap->link.device[1].id; in ata_acpi_stm() 386 * @gtf: output parameter for buffer containin [all...] |
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | vmu-flash.c | 17 unsigned char *buffer; /* Cache */ member 128 if (!pcache->buffer) { in maple_vmu_read_block() 129 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); in maple_vmu_read_block() 130 if (!pcache->buffer) { in maple_vmu_read_block() 208 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, in maple_vmu_read_block() 386 pcache->buffer + vblock->ofs, in vmu_flash_read() 391 memcpy(buf + index, pcache->buffer + in vmu_flash_read() 425 unsigned char *buffer; in vmu_flash_write() local 446 buffer = kmalloc(card->blocklen, GFP_KERNEL); in vmu_flash_write() 447 if (!buffer) { in vmu_flash_write() [all...] |
/kernel/linux/linux-5.10/drivers/input/ |
H A D | mousedev.c | 105 unsigned char ready, buffer, bufsiz; member 671 client->buffer = client->bufsiz; in mousedev_generate_response() 674 static ssize_t mousedev_write(struct file *file, const char __user *buffer, in mousedev_write() argument 683 if (get_user(c, buffer + i)) in mousedev_write() 716 static ssize_t mousedev_read(struct file *file, char __user *buffer, in mousedev_read() argument 724 if (!client->ready && !client->buffer && mousedev->exist && in mousedev_read() 729 !mousedev->exist || client->ready || client->buffer); in mousedev_read() 738 if (!client->buffer && client->ready) { in mousedev_read() 740 client->buffer = client->bufsiz; in mousedev_read() 743 if (count > client->buffer) in mousedev_read() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n.c | 207 * This function prepares command of reconfigure Tx buffer. 211 * - Setting Tx buffer size (for SET only) 299 * This function appends an 11n TLV to a buffer. 313 u8 **buffer) in mwifiex_cmd_append_11n_tlv() 325 if (!buffer || !*buffer) in mwifiex_cmd_append_11n_tlv() 332 ht_cap = (struct mwifiex_ie_types_htcap *) *buffer; in mwifiex_cmd_append_11n_tlv() 375 *buffer += sizeof(struct mwifiex_ie_types_htcap); in mwifiex_cmd_append_11n_tlv() 381 ht_info = (struct mwifiex_ie_types_htinfo *) *buffer; in mwifiex_cmd_append_11n_tlv() 401 *buffer in mwifiex_cmd_append_11n_tlv() 311 mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc, u8 **buffer) mwifiex_cmd_append_11n_tlv() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | uss720.c | 320 static int uss720_irq(int usbstatus, void *buffer, int len, void *dev_id) 325 if (usbstatus != 0 || len < 4 || !buffer) 327 memcpy(priv->reg, buffer, 4); 562 static size_t parport_uss720_ecp_write_data(struct parport *pp, const void *buffer, size_t len, int flags) in parport_uss720_ecp_write_data() argument 573 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_ecp_write_data() 575 printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); in parport_uss720_ecp_write_data() 580 static size_t parport_uss720_ecp_read_data(struct parport *pp, void *buffer, size_t len, int flags) in parport_uss720_ecp_read_data() argument 591 i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); in parport_uss720_ecp_read_data() 593 printk(KERN_ERR "uss720: recvbulk ep 2 buf %p len %zu rlen %u\n", buffer, len, rlen); in parport_uss720_ecp_read_data() 598 static size_t parport_uss720_ecp_write_addr(struct parport *pp, const void *buffer, size_ argument 613 parport_uss720_write_compat(struct parport *pp, const void *buffer, size_t len, int flags) parport_uss720_write_compat() argument [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | xattr.c | 404 static int copy_name(char *buffer, const char *xattr_name, int name_len) in copy_name() argument 410 memcpy(buffer, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN); in copy_name() 415 strncpy(buffer + offset, xattr_name, name_len); in copy_name() 416 memset(buffer + offset + name_len, 0, 1); in copy_name() 608 char *buffer, size_t size) in hfsplus_listxattr_finder_info() 655 if (!buffer || !size) { in hfsplus_listxattr_finder_info() 662 res = copy_name(buffer, in hfsplus_listxattr_finder_info() 675 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size) in hfsplus_listxattr() argument 691 res = hfsplus_listxattr_finder_info(dentry, buffer, size); in hfsplus_listxattr() 745 if (!buffer || !siz in hfsplus_listxattr() 607 hfsplus_listxattr_finder_info(struct dentry *dentry, char *buffer, size_t size) hfsplus_listxattr_finder_info() argument 840 hfsplus_osx_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) hfsplus_osx_getxattr() argument 860 hfsplus_osx_setxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) hfsplus_osx_setxattr() argument [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | xattr.c | 521 const void *buffer, size_t buffer_size, int flags) in reiserfs_xattr_set_handle() 535 if (!buffer) { in reiserfs_xattr_set_handle() 546 xahash = xattr_hash(buffer, buffer_size); in reiserfs_xattr_set_handle() 580 if (buffer) in reiserfs_xattr_set_handle() 581 memcpy(data + skip, buffer + buffer_pos, chunk); in reiserfs_xattr_set_handle() 592 if (err || buffer_size == 0 || !buffer) in reiserfs_xattr_set_handle() 619 const void *buffer, size_t buffer_size, int flags) in reiserfs_xattr_set() 641 buffer, buffer_size, flags); in reiserfs_xattr_set() 656 reiserfs_xattr_get(struct inode *inode, const char *name, void *buffer, in reiserfs_xattr_get() argument 695 if (buffer in reiserfs_xattr_get() 519 reiserfs_xattr_set_handle(struct reiserfs_transaction_handle *th, struct inode *inode, const char *name, const void *buffer, size_t buffer_size, int flags) reiserfs_xattr_set_handle() argument 618 reiserfs_xattr_set(struct inode *inode, const char *name, const void *buffer, size_t buffer_size, int flags) reiserfs_xattr_set() argument 845 reiserfs_listxattr(struct dentry * dentry, char *buffer, size_t size) reiserfs_listxattr() argument [all...] |