Home
last modified time | relevance | path

Searched refs:buffer (Results 476 - 500 of 14158) sorted by relevance

1...<<11121314151617181920>>...567

/kernel/linux/linux-6.6/drivers/input/
H A Dinput-compat.c14 int input_event_from_user(const char __user *buffer, in input_event_from_user() argument
20 if (copy_from_user(&compat_event, buffer, in input_event_from_user()
31 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user()
38 int input_event_to_user(char __user *buffer, in input_event_to_user() argument
50 if (copy_to_user(buffer, &compat_event, in input_event_to_user()
55 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
62 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user() argument
78 if (copy_from_user(compat_effect, buffer, in input_ff_effect_from_user()
90 if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) in input_ff_effect_from_user()
99 int input_event_from_user(const char __user *buffer, in input_event_from_user() argument
108 input_event_to_user(char __user *buffer, const struct input_event *event) input_event_to_user() argument
117 input_ff_effect_from_user(const char __user *buffer, size_t size, struct ff_effect *effect) input_ff_effect_from_user() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-icu-transcode.js8 const buffer = require('buffer');
22 const dest = buffer.transcode(orig, 'utf8', test);
29 const dest = buffer.transcode(Buffer.from(tests.ucs2), 'ucs2', 'utf8');
36 const utf8_to_ucs2 = buffer.transcode(utf8, 'utf8', 'ucs2');
37 const ucs2_to_utf8 = buffer.transcode(ucs2, 'ucs2', 'utf8');
45 () => buffer.transcode(null, 'utf8', 'ascii'),
55 () => buffer.transcode(Buffer.from('a'), 'b', 'utf8'),
60 () => buffer.transcode(Buffer.from('a'), 'uf8', 'b'),
65 buffer
[all...]
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_accept_test.c66 static char buffer[1024]; in test() local
67 memset(buffer, 0, sizeof(buffer)); in test()
68 snprintf(buffer, sizeof(buffer) - 1, "/tmp/file:a=%d:t=%d:c=%d:m=%d", in test()
70 fprintf(exception_fp, "deny_rewrite %s\n", buffer); in test()
74 fprintf(domain_fp, "delete %d %s\n", i, buffer); in test()
78 unlink(buffer); in test()
80 close(open(buffer, O_CREAT, 0644)); in test()
82 fd = open(buffer, flag in test()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
H A DSegmentedGrowableMemoryByteArray.java47 * chained memory buffer used internally. That initial buffer is 2^(low bits)
48 * in size and each subsequent buffer is roughly double the preceding one. If
53 * @param lowBits the number of bits to use as the initial buffer index
67 byte[] buffer = this.buffer(bufferIndex); in internalPut()
68 buffer[bufferOffset] = b; in internalPut()
77 byte[] buffer = this.buffer(bufferIndex); in internalPut()
78 int copyLength = Math.min(length - copyCount, buffer in internalPut()
148 private byte[] buffer(int index) { buffer() method in SegmentedGrowableMemoryByteArray
[all...]
/foundation/window/window_manager/utils/src/
H A Dsurface_draw.cpp46 sptr<OHOS::SurfaceBuffer> buffer = GetSurfaceBuffer(layer, bufferWidth, bufferHeight); in DrawImage() local
47 if (buffer == nullptr || buffer->GetVirAddr() == nullptr) { in DrawImage()
50 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr()); in DrawImage()
51 if (!DoDraw(addr, buffer->GetWidth(), buffer->GetHeight(), imagePath)) { in DrawImage()
57 .w = buffer->GetWidth(), in DrawImage()
58 .h = buffer->GetHeight(), in DrawImage()
61 OHOS::SurfaceError ret = layer->FlushBuffer(buffer, -1, flushConfig); in DrawImage()
77 sptr<OHOS::SurfaceBuffer> buffer in DrawImage() local
108 sptr<OHOS::SurfaceBuffer> buffer = GetSurfaceBuffer(layer, bufferWidth, bufferHeight); DrawColor() local
142 sptr<OHOS::SurfaceBuffer> buffer; GetSurfaceBuffer() local
276 sptr<OHOS::SurfaceBuffer> buffer = GetSurfaceBuffer(layer, winWidth, winHeight); DrawImageRect() local
298 DoDrawImageRect(sptr<OHOS::SurfaceBuffer> buffer, const Rect& rect, std::shared_ptr<Media::PixelMap> pixelMap, uint32_t color, bool fillWindow) DoDrawImageRect() argument
388 sptr<OHOS::SurfaceBuffer> buffer = GetSurfaceBuffer(layer, screenWidth, screenHeight); DrawMasking() local
[all...]
/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_softbus_session.cpp107 int32_t DCameraSoftbusSession::OnDataReceived(std::shared_ptr<DataBuffer>& buffer) in OnDataReceived() argument
109 auto recvDataFunc = [this, buffer]() mutable { in OnDataReceived()
110 DealRecvData(buffer); in OnDataReceived()
118 void DCameraSoftbusSession::DealRecvData(std::shared_ptr<DataBuffer>& buffer) in DealRecvData() argument
121 PostData(buffer); in DealRecvData()
124 PackRecvData(buffer); in DealRecvData()
128 void DCameraSoftbusSession::PackRecvData(std::shared_ptr<DataBuffer>& buffer) in PackRecvData() argument
130 if (buffer == nullptr) { in PackRecvData()
131 DHLOGE("Data buffer is null"); in PackRecvData()
135 if (buffer in PackRecvData()
165 AssembleNoFrag(std::shared_ptr<DataBuffer>& buffer, SessionDataHeader& headerPara) AssembleNoFrag() argument
188 AssembleFrag(std::shared_ptr<DataBuffer>& buffer, SessionDataHeader& headerPara) AssembleFrag() argument
278 PostData(std::shared_ptr<DataBuffer>& buffer) PostData() argument
307 SendData(DCameraSessionMode mode, std::shared_ptr<DataBuffer>& buffer) SendData() argument
354 UnPackSendData(std::shared_ptr<DataBuffer>& buffer, DCameraSendFuc memberFunc) UnPackSendData() argument
451 SendBytes(std::shared_ptr<DataBuffer>& buffer) SendBytes() argument
469 SendStream(std::shared_ptr<DataBuffer>& buffer) SendStream() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dutils.c33 struct acpi_buffer *format, struct acpi_buffer *buffer) in acpi_extract_package()
55 if (!buffer) { in acpi_extract_package()
56 pr_debug("Invalid buffer argument\n"); in acpi_extract_package()
109 sizeof(u8 *) + element->buffer.length; in acpi_extract_package()
113 pr_debug("Invalid package element [%d] got string/buffer, expected [%c]\n", in acpi_extract_package()
140 * Validate output buffer. in acpi_extract_package()
142 if (buffer->length == ACPI_ALLOCATE_BUFFER) { in acpi_extract_package()
143 buffer->pointer = ACPI_ALLOCATE_ZEROED(size_required); in acpi_extract_package()
144 if (!buffer->pointer) in acpi_extract_package()
146 buffer in acpi_extract_package()
32 acpi_extract_package(union acpi_object *package, struct acpi_buffer *format, struct acpi_buffer *buffer) acpi_extract_package() argument
253 struct acpi_buffer buffer = { 0, NULL }; acpi_evaluate_integer() local
298 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_get_subsystem_id() local
341 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_evaluate_reference() local
419 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_get_physical_device_location() local
492 struct acpi_buffer buffer = { acpi_handle_path() local
[all...]
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dfat.c583 u_char *buffer; in checkdirty() local
593 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty()
594 if (buffer == NULL) { in checkdirty()
604 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty()
614 if (buffer[0] != boot->bpbMedia || buffer[1] != 0xff) in checkdirty()
617 if ((buffer[2] & 0xf8) != 0xf8 || (buffer[3] & 0x3f) != 0x3f) in checkdirty()
620 if (buffer[2] != 0xff || (buffer[ in checkdirty()
647 u_char *buffer; cleardirty() local
809 u_char *buffer, *p; readfat() local
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc51 // char buffer[32];
52 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f);
69 // string manipulation is all in relation to the protocol buffer and C++
439 // a dest buffer. This should be used for non performance critical
802 // Offset into buffer where FastInt64ToBuffer places the end of string
806 char *FastInt64ToBuffer(int64 i, char* buffer) {
810 char* p = buffer + kFastInt64ToBufferOffset;
844 // Offset into buffer where FastInt32ToBuffer places the end of string
851 char *FastInt32ToBuffer(int32 i, char* buffer) { in FastInt32ToBuffer() argument
855 char* p = buffer in FastInt32ToBuffer()
889 FastHexToBuffer(int i, char* buffer) FastHexToBuffer() argument
902 InternalFastHexToBuffer(uint64 value, char* buffer, int num_byte) InternalFastHexToBuffer() argument
919 FastHex64ToBuffer(uint64 value, char* buffer) FastHex64ToBuffer() argument
923 FastHex32ToBuffer(uint32 value, char* buffer) FastHex32ToBuffer() argument
966 FastUInt32ToBufferLeft(uint32 u, char* buffer) FastUInt32ToBufferLeft() argument
1048 FastInt32ToBufferLeft(int32 i, char* buffer) FastInt32ToBufferLeft() argument
1059 FastUInt64ToBufferLeft(uint64 u64, char* buffer) FastUInt64ToBufferLeft() argument
1101 FastInt64ToBufferLeft(int64 i, char* buffer) FastInt64ToBufferLeft() argument
1120 char buffer[kFastToBufferSize]; SimpleItoa() local
1127 char buffer[kFastToBufferSize]; SimpleItoa() local
1134 char buffer[kFastToBufferSize]; SimpleItoa() local
1141 char buffer[kFastToBufferSize]; SimpleItoa() local
1148 char buffer[kFastToBufferSize]; SimpleItoa() local
1155 char buffer[kFastToBufferSize]; SimpleItoa() local
1203 char buffer[kDoubleToBufferSize]; SimpleDtoa() local
1208 char buffer[kFloatToBufferSize]; SimpleFtoa() local
1218 DelocalizeRadix(char* buffer) DelocalizeRadix() argument
1245 DoubleToBuffer(double value, char* buffer) DoubleToBuffer() argument
1363 FloatToBuffer(float value, char* buffer) FloatToBuffer() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_serialize_manager.h34 static int Serialization(uint8_t *buffer, uint32_t length, const Message *inMsg);
36 static int DeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg);
44 static int DataSerialization(uint8_t *buffer, uint32_t length, const Message *inMsg);
45 static int ControlSerialization(uint8_t *buffer, uint32_t length, const Message *inMsg);
47 static int DataDeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg);
48 static int ControlDeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg);
53 static int DataPacketSerialization(uint8_t *buffer, uint32_t length, const Message *inMsg);
62 static int DataPacketDeSerialization(const uint8_t *buffer, uint32_t length, Message *inMsg);
69 static int AckPacketSerialization(uint8_t *buffer, uint32_t length, const Message *inMsg);
73 static int AckPacketDeSerialization(const uint8_t *buffer, uint32_
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-shape.c75 hb_buffer_t *buffer; in test_font() local
80 buffer = hb_buffer_create (); in test_font()
81 hb_buffer_set_direction (buffer, HB_DIRECTION_LTR); in test_font()
82 hb_buffer_add_utf8 (buffer, TesT, 4, 0, 4); in test_font()
84 hb_shape (font, buffer, NULL, 0); in test_font()
86 len = hb_buffer_get_length (buffer); in test_font()
87 glyphs = hb_buffer_get_glyph_infos (buffer, NULL); in test_font()
88 positions = hb_buffer_get_glyph_positions (buffer, NULL); in test_font()
108 hb_buffer_destroy (buffer); in test_font()
146 hb_buffer_t *buffer; in test_shape_clusters() local
[all...]
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_param_decode.cpp38 bool GsmSmsParamDecode::DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum) in DecodeAddressPdu() argument
50 if (!buffer.ReadByte(oneByte) || oneByte >= BCD_TO_DIGITAL * (MAX_ADDRESS_LEN + 1)) { in DecodeAddressPdu()
62 if (!buffer.PickOneByte(oneByte)) { in DecodeAddressPdu()
69 return DecodeAddressAlphaNum(buffer, resultNum, bcdLen, addrLen); in DecodeAddressPdu()
71 return DecodeAddressInternationalNum(buffer, resultNum, bcdLen); in DecodeAddressPdu()
73 return DecodeAddressDefaultNum(buffer, resultNum, bcdLen); in DecodeAddressPdu()
78 SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen, uint8_t addrLen) in DecodeAddressAlphaNum()
85 if (!buffer.ReadByte(oneByte)) { in DecodeAddressAlphaNum()
93 if (!buffer.ReadByte(oneByte)) { in DecodeAddressAlphaNum()
112 SmsReadBuffer &buffer, struc in DecodeAddressInternationalNum()
77 DecodeAddressAlphaNum( SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen, uint8_t addrLen) DecodeAddressAlphaNum() argument
111 DecodeAddressInternationalNum( SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen) DecodeAddressInternationalNum() argument
139 DecodeAddressDefaultNum(SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen) DecodeAddressDefaultNum() argument
265 DecodeDcsPdu(SmsReadBuffer &buffer, struct SmsDcs *smsDcs) DecodeDcsPdu() argument
412 DecodeTimePdu(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) DecodeTimePdu() argument
448 DecodeTimePduPartData(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) DecodeTimePduPartData() argument
488 DecodeTimePduData(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) DecodeTimePduData() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_unit_info.cpp47 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssemblePacket() local
50 offset += PushOctets1((buffer + offset), crCode_); in AssemblePacket()
51 offset += PushOctets1((buffer + offset), (subunitType_ << AVRC_CT_UNIT_MOVE_BIT_3) | subunitId_); in AssemblePacket()
52 offset += PushOctets1((buffer + offset), opCode_); in AssemblePacket()
53 offset += PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
54 offset += PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
55 offset += PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
56 offset += PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
57 PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
69 auto buffer in DisassemblePacket() local
[all...]
/third_party/backends/sanei/
H A Dsanei_codec_bin.c61 *w->buffer.curr++ = *b; in bin_w_byte()
65 *b = *w->buffer.curr++; in bin_w_byte()
109 w->buffer.curr[0] = (val >> 24) & 0xff; in bin_w_word()
110 w->buffer.curr[1] = (val >> 16) & 0xff; in bin_w_word()
111 w->buffer.curr[2] = (val >> 8) & 0xff; in bin_w_word()
112 w->buffer.curr[3] = (val >> 0) & 0xff; in bin_w_word()
113 w->buffer.curr += 4; in bin_w_word()
117 val = ( ((w->buffer.curr[0] & 0xff) << 24) in bin_w_word()
118 | ((w->buffer.curr[1] & 0xff) << 16) in bin_w_word()
119 | ((w->buffer in bin_w_word()
[all...]
/third_party/libsnd/tests/
H A Dwin32_ordinal_test.c87 { static char buffer [1024] ; in win32_ordinal_test() local
94 { snprintf (buffer, sizeof (buffer), "%s/libsndfile-1.def", locations [k]) ; in win32_ordinal_test()
95 if ((file = fopen (buffer, "r")) != NULL) in win32_ordinal_test()
105 { snprintf (buffer, sizeof (buffer), "%s/libsndfile-1.dll", locations [k]) ; in win32_ordinal_test()
106 if ((hmod = (HMODULE) LoadLibrary (buffer)) != NULL) in win32_ordinal_test()
111 { printf ("\n\nError : cannot load DLL (cwd is %s).\n", getcwd (buffer, sizeof (buffer))) ; in win32_ordinal_test()
115 while (fgets (buffer, sizeo in win32_ordinal_test()
[all...]
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DCompoundDictionaryTest.java34 byte[] buffer = new byte[32]; in testNoDictionary()
35 int length = decoder.read(buffer, 0, buffer.length); in testNoDictionary()
37 assertEquals("alternate\" type=\"appli", new String(buffer, 0, length, "US-ASCII")); in testNoDictionary()
45 byte[] buffer = new byte[32]; in testOnePieceDictionary()
46 int length = decoder.read(buffer, 0, buffer.length); in testOnePieceDictionary()
48 assertEquals(TEXT, new String(buffer, 0, length, "US-ASCII")); in testOnePieceDictionary()
57 byte[] buffer = new byte[32]; in testTwoPieceDictionary()
58 int length = decoder.read(buffer, in testTwoPieceDictionary()
[all...]
/third_party/rust/crates/rustix/src/process/
H A Dchdir.rs37 /// If `reuse` is non-empty, reuse its buffer to store the result if possible.
51 fn _getcwd(mut buffer: Vec<u8>) -> io::Result<CString> { in _getcwd()
54 buffer.clear(); in _getcwd()
55 buffer.reserve(SMALL_PATH_BUFFER_SIZE); in _getcwd()
56 buffer.resize(buffer.capacity(), 0_u8); in _getcwd()
59 match backend::process::syscalls::getcwd(&mut buffer) { in _getcwd()
61 buffer.reserve(1); // use `Vec` reallocation strategy to grow capacity exponentially in _getcwd()
62 buffer.resize(buffer in _getcwd()
[all...]
/base/update/updater/services/diffpatch/diff/
H A Dblocks_diff.cpp30 #define SET_BUFFER(y, buffer, index) \
31 (buffer)[index] = static_cast<uint8_t>((y) % 256); (y) -= (buffer)[index]; (y) = (y) / 256
38 static void WriteLE64(const BlockBuffer &buffer, int64_t value) in WriteLE64() argument
42 SET_BUFFER(y, buffer.buffer, index); in WriteLE64()
44 SET_BUFFER(y, buffer.buffer, index); in WriteLE64()
46 SET_BUFFER(y, buffer.buffer, inde in WriteLE64()
391 uint8_t buffer[sizeof(int64_t)] = {0}; WriteControlData() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dconfig.c27 static int find_next_descriptor(unsigned char *buffer, int size, in find_next_descriptor() argument
32 unsigned char *buffer0 = buffer; in find_next_descriptor()
36 h = (struct usb_descriptor_header *) buffer; in find_next_descriptor()
39 buffer += h->bLength; in find_next_descriptor()
48 return buffer - buffer0; in find_next_descriptor()
53 unsigned char *buffer, int size) in usb_parse_ssp_isoc_endpoint_companion()
61 desc = (struct usb_ssp_isoc_ep_comp_descriptor *) buffer; in usb_parse_ssp_isoc_endpoint_companion()
74 unsigned char *buffer, int size) in usb_parse_ss_endpoint_companion()
82 desc = (struct usb_ss_ep_comp_descriptor *) buffer; in usb_parse_ss_endpoint_companion()
106 buffer in usb_parse_ss_endpoint_companion()
51 usb_parse_ssp_isoc_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) usb_parse_ssp_isoc_endpoint_companion() argument
72 usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) usb_parse_ss_endpoint_companion() argument
254 usb_parse_endpoint(struct device *ddev, int cfgno, struct usb_host_config *config, int inum, int asnum, struct usb_host_interface *ifp, int num_ep, unsigned char *buffer, int size) usb_parse_endpoint() argument
510 usb_parse_interface(struct device *ddev, int cfgno, struct usb_host_config *config, unsigned char *buffer, int size, u8 inums[], u8 nalts[]) usb_parse_interface() argument
617 usb_parse_configuration(struct usb_device *dev, int cfgidx, struct usb_host_config *config, unsigned char *buffer, int size) usb_parse_configuration() argument
996 unsigned char *buffer, *buffer0; usb_get_bos_descriptor() local
[all...]
/kernel/linux/linux-6.6/include/asm-generic/
H A Dio.h400 static inline void readsb(const volatile void __iomem *addr, void *buffer, in readsb() argument
404 u8 *buf = buffer; in readsb()
416 static inline void readsw(const volatile void __iomem *addr, void *buffer, in readsw() argument
420 u16 *buf = buffer; in readsw()
432 static inline void readsl(const volatile void __iomem *addr, void *buffer, in readsl() argument
436 u32 *buf = buffer; in readsl()
449 static inline void readsq(const volatile void __iomem *addr, void *buffer, in readsq() argument
453 u64 *buf = buffer; in readsq()
466 static inline void writesb(volatile void __iomem *addr, const void *buffer, in writesb() argument
470 const u8 *buf = buffer; in writesb()
481 writesw(volatile void __iomem *addr, const void *buffer, unsigned int count) writesw() argument
496 writesl(volatile void __iomem *addr, const void *buffer, unsigned int count) writesl() argument
512 writesq(volatile void __iomem *addr, const void *buffer, unsigned int count) writesq() argument
690 insb(unsigned long addr, void *buffer, unsigned int count) insb() argument
698 insw(unsigned long addr, void *buffer, unsigned int count) insw() argument
706 insl(unsigned long addr, void *buffer, unsigned int count) insl() argument
714 outsb(unsigned long addr, const void *buffer, unsigned int count) outsb() argument
723 outsw(unsigned long addr, const void *buffer, unsigned int count) outsw() argument
732 outsl(unsigned long addr, const void *buffer, unsigned int count) outsl() argument
741 insb_p(unsigned long addr, void *buffer, unsigned int count) insb_p() argument
749 insw_p(unsigned long addr, void *buffer, unsigned int count) insw_p() argument
757 insl_p(unsigned long addr, void *buffer, unsigned int count) insl_p() argument
765 outsb_p(unsigned long addr, const void *buffer, unsigned int count) outsb_p() argument
774 outsw_p(unsigned long addr, const void *buffer, unsigned int count) outsw_p() argument
783 outsl_p(unsigned long addr, const void *buffer, unsigned int count) outsl_p() argument
913 ioread8_rep(const volatile void __iomem *addr, void *buffer, unsigned int count) ioread8_rep() argument
922 ioread16_rep(const volatile void __iomem *addr, void *buffer, unsigned int count) ioread16_rep() argument
931 ioread32_rep(const volatile void __iomem *addr, void *buffer, unsigned int count) ioread32_rep() argument
941 ioread64_rep(const volatile void __iomem *addr, void *buffer, unsigned int count) ioread64_rep() argument
951 iowrite8_rep(volatile void __iomem *addr, const void *buffer, unsigned int count) iowrite8_rep() argument
961 iowrite16_rep(volatile void __iomem *addr, const void *buffer, unsigned int count) iowrite16_rep() argument
971 iowrite32_rep(volatile void __iomem *addr, const void *buffer, unsigned int count) iowrite32_rep() argument
982 iowrite64_rep(volatile void __iomem *addr, const void *buffer, unsigned int count) iowrite64_rep() argument
1180 memcpy_fromio(void *buffer, const volatile void __iomem *addr, size_t size) memcpy_fromio() argument
1198 memcpy_toio(volatile void __iomem *addr, const void *buffer, size_t size) memcpy_toio() argument
1201 memcpy(__io_virt(addr), buffer, size); memcpy_toio() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dconfig.c27 static int find_next_descriptor(unsigned char *buffer, int size, in find_next_descriptor() argument
32 unsigned char *buffer0 = buffer; in find_next_descriptor()
36 h = (struct usb_descriptor_header *) buffer; in find_next_descriptor()
39 buffer += h->bLength; in find_next_descriptor()
48 return buffer - buffer0; in find_next_descriptor()
53 unsigned char *buffer, int size) in usb_parse_ssp_isoc_endpoint_companion()
61 desc = (struct usb_ssp_isoc_ep_comp_descriptor *) buffer; in usb_parse_ssp_isoc_endpoint_companion()
74 unsigned char *buffer, int size) in usb_parse_ss_endpoint_companion()
82 desc = (struct usb_ss_ep_comp_descriptor *) buffer; in usb_parse_ss_endpoint_companion()
106 buffer in usb_parse_ss_endpoint_companion()
51 usb_parse_ssp_isoc_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) usb_parse_ssp_isoc_endpoint_companion() argument
72 usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) usb_parse_ss_endpoint_companion() argument
254 usb_parse_endpoint(struct device *ddev, int cfgno, struct usb_host_config *config, int inum, int asnum, struct usb_host_interface *ifp, int num_ep, unsigned char *buffer, int size) usb_parse_endpoint() argument
498 usb_parse_interface(struct device *ddev, int cfgno, struct usb_host_config *config, unsigned char *buffer, int size, u8 inums[], u8 nalts[]) usb_parse_interface() argument
605 usb_parse_configuration(struct usb_device *dev, int cfgidx, struct usb_host_config *config, unsigned char *buffer, int size) usb_parse_configuration() argument
984 unsigned char *buffer, *buffer0; usb_get_bos_descriptor() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dformatquery.c300 _set_default_response(GLenum pname, GLint buffer[16]) in _set_default_response() argument
319 buffer[0] = 0; in _set_default_response()
320 buffer[1] = 0; in _set_default_response()
344 buffer[0] = 0; in _set_default_response()
394 buffer[0] = GL_NONE; in _set_default_response()
407 buffer[0] = GL_FALSE; in _set_default_response()
596 GLint buffer[1]; in _is_internalformat_supported() local
615 GL_INTERNALFORMAT_SUPPORTED, buffer); in _is_internalformat_supported()
617 return (buffer[0] == GL_TRUE); in _is_internalformat_supported()
883 GLint buffer[1 in _mesa_GetInternalformativ() local
[all...]
/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dvideo_sink.cpp67 const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) in UpdateTimeAnchorIfNeeded()
70 FALSE_RETURN(syncCenter != nullptr && buffer != nullptr); in UpdateTimeAnchorIfNeeded()
71 syncCenter->SetLastVideoBufferPts(buffer->pts_ - firstPts_); in UpdateTimeAnchorIfNeeded()
77 Pipeline::IMediaSyncCenter::IMediaTime iMediaTime = {buffer->pts_ - firstPts_, buffer->pts_, buffer->duration_}; in UpdateTimeAnchorIfNeeded()
82 void VideoSink::UpdateTimeAnchorActually(const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) in UpdateTimeAnchorActually() argument
85 FALSE_RETURN(syncCenter != nullptr && buffer != nullptr); in UpdateTimeAnchorActually()
86 syncCenter->SetLastVideoBufferPts(buffer->pts_ - firstPts_); in UpdateTimeAnchorActually()
90 Pipeline::IMediaSyncCenter::IMediaTime iMediaTime = {buffer in UpdateTimeAnchorActually()
66 UpdateTimeAnchorIfNeeded(int64_t nowCt, int64_t waitTime, const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) UpdateTimeAnchorIfNeeded() argument
94 DoSyncWrite(const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) DoSyncWrite() argument
161 CheckBufferLatenessMayWait(const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) CheckBufferLatenessMayWait() argument
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process_producer.cpp109 void DCameraStreamDataProcessProducer::FeedStream(const std::shared_ptr<DataBuffer>& buffer) in FeedStream() argument
111 buffer->frameInfo_.timePonit.startSmooth = GetNowTimeStampUs(); in FeedStream()
114 uint64_t buffersSize = static_cast<uint64_t>(buffer->Size()); in FeedStream()
119 buffersSize = static_cast<uint64_t>(buffer->Size()); in FeedStream()
126 buffers_.push_back(buffer); in FeedStream()
132 smoother_->PushData(buffer); in FeedStream()
156 std::shared_ptr<DataBuffer> buffer = nullptr; in LooperSnapShot() local
166 DHLOGI("LooperSnapShot producer get buffer devId: %{public}s dhId: %{public}s streamType: %{public}d " in LooperSnapShot()
169 buffer = buffers_.front(); in LooperSnapShot()
172 if (buffer in LooperSnapShot()
199 FeedStreamToDriver(const DHBase& dhBase, const std::shared_ptr<DataBuffer>& buffer) FeedStreamToDriver() argument
249 CheckSharedMemory(const DCameraBuffer& sharedMemory, const std::shared_ptr<DataBuffer>& buffer) CheckSharedMemory() argument
271 std::shared_ptr<DataBuffer> buffer = std::reinterpret_pointer_cast<DataBuffer>(data); OnSmoothFinished() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/android/ion/
H A Dion_heap.c21 struct ion_buffer *buffer) in ion_heap_map_kernel()
26 struct sg_table *table = buffer->sg_table; in ion_heap_map_kernel()
27 int npages = PAGE_ALIGN(buffer->size) / PAGE_SIZE; in ion_heap_map_kernel()
35 if (buffer->flags & ION_FLAG_CACHED) in ion_heap_map_kernel()
55 struct ion_buffer *buffer) in ion_heap_unmap_kernel()
57 vunmap(buffer->vaddr); in ion_heap_unmap_kernel()
60 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() argument
64 struct sg_table *table = buffer->sg_table; in ion_heap_map_user()
117 int ion_heap_buffer_zero(struct ion_buffer *buffer) in ion_heap_buffer_zero() argument
119 struct sg_table *table = buffer in ion_heap_buffer_zero()
20 ion_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer) ion_heap_map_kernel() argument
54 ion_heap_unmap_kernel(struct ion_heap *heap, struct ion_buffer *buffer) ion_heap_unmap_kernel() argument
130 ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) ion_heap_freelist_add() argument
153 struct ion_buffer *buffer; _ion_heap_freelist_drain() local
197 struct ion_buffer *buffer; ion_heap_deferred_free() local
[all...]

Completed in 20 milliseconds

1...<<11121314151617181920>>...567