Home
last modified time | relevance | path

Searched refs:buffer (Results 276 - 300 of 13521) sorted by relevance

1...<<11121314151617181920>>...541

/kernel/linux/linux-5.10/drivers/usb/class/
H A Dusbtmc.c40 /* I/O buffer size used in generic read/write functions */
268 u8 *buffer; in usbtmc_ioctl_abort_bulk_in_tag() local
275 buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL); in usbtmc_ioctl_abort_bulk_in_tag()
276 if (!buffer) in usbtmc_ioctl_abort_bulk_in_tag()
284 buffer, 2, USB_CTRL_GET_TIMEOUT); in usbtmc_ioctl_abort_bulk_in_tag()
292 buffer[0], buffer[1]); in usbtmc_ioctl_abort_bulk_in_tag()
294 if (buffer[0] == USBTMC_STATUS_FAILED) { in usbtmc_ioctl_abort_bulk_in_tag()
300 if (buffer[0] == USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS) { in usbtmc_ioctl_abort_bulk_in_tag()
311 if (buffer[ in usbtmc_ioctl_abort_bulk_in_tag()
398 u8 *buffer; usbtmc_ioctl_abort_bulk_out_tag() local
484 u8 *buffer; usbtmc488_ioctl_read_stb() local
623 u8 *buffer; usbtmc488_ioctl_simple() local
683 u8 *buffer; usbtmc488_ioctl_trigger() local
1121 u8 *buffer = NULL; usbtmc_generic_write() local
1284 u8 *buffer; send_request_dev_dep_msg_in() local
1338 u8 *buffer; usbtmc_read() local
1487 u8 *buffer; usbtmc_write() local
1621 u8 *buffer; usbtmc_ioctl_clear() local
1784 char *buffer; get_capabilities() local
1851 u8 *buffer; usbtmc_ioctl_indicator_pulse() local
1890 u8 *buffer = NULL; usbtmc_ioctl_request() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/class/
H A Dusbtmc.c40 /* I/O buffer size used in generic read/write functions */
268 u8 *buffer; in usbtmc_ioctl_abort_bulk_in_tag() local
275 buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL); in usbtmc_ioctl_abort_bulk_in_tag()
276 if (!buffer) in usbtmc_ioctl_abort_bulk_in_tag()
284 buffer, 2, USB_CTRL_GET_TIMEOUT); in usbtmc_ioctl_abort_bulk_in_tag()
292 buffer[0], buffer[1]); in usbtmc_ioctl_abort_bulk_in_tag()
294 if (buffer[0] == USBTMC_STATUS_FAILED) { in usbtmc_ioctl_abort_bulk_in_tag()
300 if (buffer[0] == USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS) { in usbtmc_ioctl_abort_bulk_in_tag()
311 if (buffer[ in usbtmc_ioctl_abort_bulk_in_tag()
398 u8 *buffer; usbtmc_ioctl_abort_bulk_out_tag() local
482 u8 *buffer; usbtmc_get_stb() local
653 u8 *buffer; usbtmc488_ioctl_simple() local
713 u8 *buffer; usbtmc488_ioctl_trigger() local
1151 u8 *buffer = NULL; usbtmc_generic_write() local
1314 u8 *buffer; send_request_dev_dep_msg_in() local
1368 u8 *buffer; usbtmc_read() local
1517 u8 *buffer; usbtmc_write() local
1651 u8 *buffer; usbtmc_ioctl_clear() local
1814 char *buffer; get_capabilities() local
1881 u8 *buffer; usbtmc_ioctl_indicator_pulse() local
1920 u8 *buffer = NULL; usbtmc_ioctl_request() local
[all...]
/base/web/webview/ohos_adapter/ohos_native_buffer_adapter/src/
H A Dohos_native_buffer_adapter_impl.cpp28 WVLOG_D("Native buffer adapter impl get instance."); in GetInstance()
35 WVLOG_D("Native buffer adapter impl constructor."); in OhosNativeBufferAdapterImpl()
40 WVLOG_D("Native buffer adapter impl destructor."); in ~OhosNativeBufferAdapterImpl()
43 void OhosNativeBufferAdapterImpl::AcquireBuffer(void* buffer) in AcquireBuffer() argument
45 if (buffer == nullptr) { in AcquireBuffer()
46 WVLOG_E("native buffer acquire, buffer is null."); in AcquireBuffer()
49 WVLOG_D("native buffer acquired buffer %{public}p.", buffer); in AcquireBuffer()
53 Release(void* buffer) Release() argument
66 GetEGLBuffer(void* buffer, void** eglBuffer) GetEGLBuffer() argument
120 SurfaceBufferImpl* buffer = reinterpret_cast<SurfaceBufferImpl *>(nativeBuffer); GetSeqNum() local
[all...]
/kernel/linux/linux-5.10/include/linux/iio/
H A Dbuffer_impl.h13 * INDIO_BUFFER_FLAG_FIXED_WATERMARK - Watermark level of the buffer can not be
14 * configured. It has a fixed value which will be buffer specific.
20 * @store_to: actually store stuff to the buffer
23 * the buffer.
27 * @set_length: set number of datums in buffer
28 * @enable: called if the buffer is attached to a device and the
31 * @disable: called if the buffer is attached to a device and the
33 * @release: called when the last reference to the buffer is dropped,
34 * should free all resources allocated by the buffer.
35 * @modes: Supported operating modes by this buffer typ
148 iio_buffer_get(struct iio_buffer *buffer) iio_buffer_get() argument
149 iio_buffer_put(struct iio_buffer *buffer) iio_buffer_put() argument
[all...]
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_common_utils.cpp33 bool GsmSmsCommonUtils::Pack7bitChar(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t dataLen, uint8_t fillBits) in Pack7bitChar() argument
41 buffer.MoveForward(1); in Pack7bitChar()
46 if (!buffer.WriteByte(userData[srcIdx])) { in Pack7bitChar()
57 if (!Pack7bitCharPartData(buffer, userData, srcIdx, shift)) { in Pack7bitChar()
65 if (!buffer.GetValueFromIndex(buffer.GetIndex() - 1, oneByte)) { in Pack7bitChar()
70 if (!buffer.InsertByte(oneByte, (buffer.GetIndex() - 1))) { in Pack7bitChar()
82 SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift) in Pack7bitCharPartData()
85 if (!buffer in Pack7bitCharPartData()
81 Pack7bitCharPartData( SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift) Pack7bitCharPartData() argument
106 Unpack7bitChar(SmsReadBuffer &buffer, uint8_t dataLen, uint8_t fillBits, uint8_t *unpackData, uint8_t unpackDataLen, uint8_t &dstIdx) Unpack7bitChar() argument
156 Unpack7bitCharForMiddlePart(const uint8_t *buffer, uint8_t dataLen, uint8_t *unpackData) Unpack7bitCharForMiddlePart() argument
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddatapid.c84 int datapidgen(int pid, char *buffer, int bsize, int offset) in datapidgen() argument
94 int boff; /* buffer offset or index */ in datapidgen()
119 buffer[boff] = *chr; in datapidgen()
139 buffer[boff++] = *chr; in datapidgen()
142 wptr = (long *)&buffer[boff]; in datapidgen()
150 * partial word at end of buffer in datapidgen()
164 buffer[boff++] = *chr; in datapidgen()
181 int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) in datapidchk() argument
191 int boff; /* buffer offset or index */ in datapidchk()
214 if (buffer[bof in datapidchk()
307 char *buffer; global() local
344 datapidgen(getpid(), buffer, size, 5); global() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
H A DServerBuffer.cpp25 auto* buffer = BufferObjects().Get(cmd.selfId); in PreHandleBufferUnmap() local
26 DAWN_ASSERT(buffer != nullptr); in PreHandleBufferUnmap()
28 if (buffer->mappedAtCreation && !(buffer->usage & WGPUMapMode_Write)) { in PreHandleBufferUnmap()
30 // writeHandle could have possibly been deleted if buffer is already destroyed so we in PreHandleBufferUnmap()
32 buffer->writeHandle = nullptr; in PreHandleBufferUnmap()
35 buffer->mapWriteState = BufferMapWriteState::Unmapped; in PreHandleBufferUnmap()
41 // Destroying a buffer does an implicit unmapping. in PreHandleBufferDestroy()
42 auto* buffer = BufferObjects().Get(cmd.selfId); in PreHandleBufferDestroy() local
43 DAWN_ASSERT(buffer ! in PreHandleBufferDestroy()
66 auto* buffer = BufferObjects().Get(bufferId); DoBufferMapAsync() local
203 auto* buffer = BufferObjects().Get(bufferId); DoBufferUpdateMappedData() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DBufferValidationTests.cpp60 void AssertMapAsyncError(wgpu::Buffer buffer, wgpu::MapMode mode, size_t offset, size_t size) { in AssertMapAsyncError() argument
64 buffer.MapAsync(mode, offset, size, ToMockBufferMapAsyncCallback, nullptr)); in AssertMapAsyncError()
136 // Test the success case for mapping buffer for reading
148 // Test the success case for mapping buffer for writing
160 // Test map async with a buffer that's an error
165 wgpu::Buffer buffer; in TEST_F() local
166 ASSERT_DEVICE_ERROR(buffer = device.CreateBuffer(&desc)); in TEST_F()
168 AssertMapAsyncError(buffer, wgpu::MapMode::Read, 0, 4); in TEST_F()
169 AssertMapAsyncError(buffer, wgpu::MapMode::Write, 0, 4); in TEST_F()
176 wgpu::Buffer buffer in TEST_F() local
180 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_F() local
186 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_F() local
190 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_F() local
196 wgpu::Buffer buffer = CreateMapReadBuffer(8); TEST_F() local
200 wgpu::Buffer buffer = CreateMapWriteBuffer(8); TEST_F() local
209 wgpu::Buffer buffer = CreateMapReadBuffer(8); TEST_F() local
215 wgpu::Buffer buffer = CreateMapReadBuffer(16); TEST_F() local
221 wgpu::Buffer buffer = CreateMapReadBuffer(8); TEST_F() local
227 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_F() local
233 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_F() local
239 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_F() local
251 wgpu::Buffer buffer = device.CreateBuffer(&desc); TEST_F() local
257 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_F() local
261 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_F() local
269 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_F() local
273 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_F() local
281 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_F() local
286 wgpu::Buffer buffer = BufferMappedAtCreation(4, wgpu::BufferUsage::MapRead); TEST_F() local
290 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_F() local
295 wgpu::Buffer buffer = BufferMappedAtCreation(4, wgpu::BufferUsage::MapWrite); TEST_F() local
303 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_F() local
308 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_F() local
763 wgpu::Buffer buffer = BufferMappedAtCreation(4, wgpu::BufferUsage::CopySrc); TEST_F() local
801 wgpu::Buffer buffer; TEST_F() local
811 wgpu::Buffer buffer; TEST_F() local
821 wgpu::Buffer buffer; TEST_F() local
835 wgpu::Buffer buffer = CreateMapWriteBuffer(8); TEST_F() local
843 wgpu::Buffer buffer = CreateMapWriteBuffer(8); TEST_F() local
851 wgpu::Buffer buffer = CreateMapWriteBuffer(8); TEST_F() local
859 wgpu::Buffer buffer = CreateMapWriteBuffer(16); TEST_F() local
867 wgpu::Buffer buffer = CreateMapWriteBuffer(8); TEST_F() local
876 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_F() local
885 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_F() local
893 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_F() local
[all...]
/third_party/icu/icu4c/source/common/
H A Dcharstr.cpp30 : buffer(std::move(src.buffer)), len(src.len) { in len()
35 buffer = std::move(src.buffer);
48 uprv_memcpy(p, buffer.getAlias(), len + 1); in cloneData()
58 const char *src = buffer.getAlias(); in extract()
68 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom()
75 if(buffer[--i]==c) { in lastIndexOf()
84 const char *p = buffer in contains()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dcharstr.cpp30 : buffer(std::move(src.buffer)), len(src.len) { in len()
35 buffer = std::move(src.buffer);
48 uprv_memcpy(p, buffer.getAlias(), len + 1); in cloneData()
58 const char *src = buffer.getAlias(); in extract()
68 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom()
75 if(buffer[--i]==c) { in lastIndexOf()
84 const char *p = buffer in contains()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DCodedInputStream.cs50 /// levels of protocol buffer format.
69 private readonly byte[] buffer; field in Google.Protobuf.CodedInputStream
72 /// The stream to read further input from, or null if the byte array buffer was provided
94 public CodedInputStream(byte[] buffer) : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffer"), 0, buffer.Length, true) in CodedInputStream() argument
101 public CodedInputStream(byte[] buffer, int offset, int length) in CodedInputStream() argument
102 : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffer"), offse in CodedInputStream()
139 CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, bool leaveOpen) CodedInputStream() argument
161 CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLimit, bool leaveOpen) CodedInputStream() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dcharstr.cpp30 : buffer(std::move(src.buffer)), len(src.len) { in len()
35 buffer = std::move(src.buffer);
48 uprv_memcpy(p, buffer.getAlias(), len + 1); in cloneData()
58 const char *src = buffer.getAlias(); in extract()
68 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom()
75 if(buffer[--i]==c) { in lastIndexOf()
84 const char *p = buffer in contains()
[all...]
/kernel/linux/linux-5.10/block/partitions/
H A Dldm.c609 * @buffer: Block of data being worked on
618 * Return: -1 Error, the calculated offset exceeded the size of the buffer
619 * n OK, a range-checked offset into buffer
621 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative() argument
625 if (!buffer || offset < 0 || base > buflen) { in ldm_relative()
626 if (!buffer) in ldm_relative()
627 ldm_error("!buffer"); in ldm_relative()
634 if (base + buffer[base] >= buflen) { in ldm_relative()
635 ldm_error("base (%d) + buffer[base] (%d) >= buflen (%d)", base, in ldm_relative()
636 buffer[bas in ldm_relative()
692 ldm_get_vstr(const u8 *block, u8 *buffer, int buflen) ldm_get_vstr() argument
720 ldm_parse_cmp3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_cmp3() argument
771 ldm_parse_dgr3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dgr3() argument
815 ldm_parse_dgr4(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dgr4() argument
856 ldm_parse_dsk3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dsk3() argument
895 ldm_parse_dsk4(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dsk4() argument
928 ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_prt3() argument
1004 ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_vol5() argument
[all...]
/kernel/linux/linux-6.6/block/partitions/
H A Dldm.c609 * @buffer: Block of data being worked on
618 * Return: -1 Error, the calculated offset exceeded the size of the buffer
619 * n OK, a range-checked offset into buffer
621 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative() argument
625 if (!buffer || offset < 0 || base > buflen) { in ldm_relative()
626 if (!buffer) in ldm_relative()
627 ldm_error("!buffer"); in ldm_relative()
634 if (base + buffer[base] >= buflen) { in ldm_relative()
635 ldm_error("base (%d) + buffer[base] (%d) >= buflen (%d)", base, in ldm_relative()
636 buffer[bas in ldm_relative()
692 ldm_get_vstr(const u8 *block, u8 *buffer, int buflen) ldm_get_vstr() argument
720 ldm_parse_cmp3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_cmp3() argument
770 ldm_parse_dgr3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dgr3() argument
811 ldm_parse_dgr4(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dgr4() argument
849 ldm_parse_dsk3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dsk3() argument
888 ldm_parse_dsk4(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_dsk4() argument
921 ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_prt3() argument
995 ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) ldm_parse_vol5() argument
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DBinaryWriter.java59 * message size is not known in advance, the writer employs a strategy of chunking and buffer
920 private byte[] buffer; field in BinaryWriter.SafeHeapWriter
953 throw new RuntimeException("Allocator returned non-heap buffer"); in nextBuffer()
961 this.buffer = allocatedBuffer.array(); in nextBuffer()
1152 buffer[pos--] = (byte) value; in writeVarint32OneByte()
1156 buffer[pos--] = (byte) (value >>> 7); in writeVarint32TwoBytes()
1157 buffer[pos--] = (byte) ((value & 0x7F) | 0x80); in writeVarint32TwoBytes()
1161 buffer[pos--] = (byte) (value >>> 14); in writeVarint32ThreeBytes()
1162 buffer[pos--] = (byte) (((value >>> 7) & 0x7F) | 0x80); in writeVarint32ThreeBytes()
1163 buffer[po in writeVarint32ThreeBytes()
1449 private byte[] buffer; global() field in BinaryWriter.UnsafeHeapWriter
1987 private ByteBuffer buffer; global() field in BinaryWriter.SafeDirectWriter
2535 private ByteBuffer buffer; global() field in BinaryWriter.UnsafeDirectWriter
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c70 } buffer[1]; member
457 struct nouveau_svm_fault_buffer *buffer, u32 offset) in nouveau_svm_fault_cache()
459 struct nvif_object *memory = &buffer->object; in nouveau_svm_fault_cache()
480 if (!buffer->fault[buffer->fault_nr]) { in nouveau_svm_fault_cache()
486 buffer->fault[buffer->fault_nr] = fault; in nouveau_svm_fault_cache()
489 fault = buffer->fault[buffer->fault_nr++]; in nouveau_svm_fault_cache()
718 struct nouveau_svm_fault_buffer *buffer in nouveau_svm_fault() local
456 nouveau_svm_fault_cache(struct nouveau_svm *svm, struct nouveau_svm_fault_buffer *buffer, u32 offset) nouveau_svm_fault_cache() argument
888 struct nouveau_svm_fault_buffer *buffer = container_of(event, typeof(*buffer), notify); nouveau_svm_event() local
945 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; nouveau_svm_fault_buffer_fini() local
954 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; nouveau_svm_fault_buffer_init() local
967 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; nouveau_svm_fault_buffer_dtor() local
988 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; nouveau_svm_fault_buffer_ctor() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_vp3_video.c39 nouveau_vp3_video_buffer_sampler_view_planes(struct pipe_video_buffer *buffer) in nouveau_vp3_video_buffer_sampler_view_planes() argument
41 struct nouveau_vp3_video_buffer *buf = (struct nouveau_vp3_video_buffer *)buffer; in nouveau_vp3_video_buffer_sampler_view_planes()
46 nouveau_vp3_video_buffer_sampler_view_components(struct pipe_video_buffer *buffer) in nouveau_vp3_video_buffer_sampler_view_components() argument
48 struct nouveau_vp3_video_buffer *buf = (struct nouveau_vp3_video_buffer *)buffer; in nouveau_vp3_video_buffer_sampler_view_components()
53 nouveau_vp3_video_buffer_surfaces(struct pipe_video_buffer *buffer) in nouveau_vp3_video_buffer_surfaces() argument
55 struct nouveau_vp3_video_buffer *buf = (struct nouveau_vp3_video_buffer *)buffer; in nouveau_vp3_video_buffer_surfaces()
60 nouveau_vp3_video_buffer_destroy(struct pipe_video_buffer *buffer) in nouveau_vp3_video_buffer_destroy() argument
62 struct nouveau_vp3_video_buffer *buf = (struct nouveau_vp3_video_buffer *)buffer; in nouveau_vp3_video_buffer_destroy()
74 FREE(buffer); in nouveau_vp3_video_buffer_destroy()
82 struct nouveau_vp3_video_buffer *buffer; in nouveau_vp3_video_buffer_create() local
[all...]
/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.cpp109 PkgBuffer buffer(buff); in SavePackage()
110 ret = pkgStream_->Write(buffer, sizeof(EndCentralDir), offset); in SavePackage()
120 int32_t ZipPkgFile::LoadPackage(std::vector<std::string> &fileNames, PkgBuffer &buffer, in LoadPackage() argument
125 endDir.signature = ReadLE32(buffer.buffer + offsetof(EndCentralDir, signature)); in LoadPackage()
126 endDir.numDisk = ReadLE16(buffer.buffer + offsetof(EndCentralDir, numDisk)); in LoadPackage()
127 endDir.startDiskOfCentralDir = ReadLE16(buffer.buffer + offsetof(EndCentralDir, startDiskOfCentralDir)); in LoadPackage()
128 endDir.totalEntriesInThisDisk = ReadLE16(buffer in LoadPackage()
409 EncodeLocalFileHeader(uint8_t *buffer, size_t bufferLen, bool hasDataDesc, size_t nameLen) EncodeLocalFileHeader() argument
462 DoDecodeCentralDirEntry(PkgBuffer &buffer, size_t &decodeLen, size_t currLen, uint16_t nameSize, uint16_t extraSize) DoDecodeCentralDirEntry() argument
512 DecodeCentralDirEntry(PkgStreamPtr inStream, PkgBuffer &buffer, size_t currentPos, size_t &decodeLen) DecodeCentralDirEntry() argument
720 DecodeHeader(PkgBuffer &buffer, size_t headerOffset, size_t dataOffset, size_t &decodeLen) DecodeHeader() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Ddmard10.c42 /* Offsets into the buffer read in dmard10_read_raw() */
76 unsigned char buffer[7]; in dmard10_reset() local
89 buffer[0] = DMARD10_REG_ACTR; in dmard10_reset()
90 buffer[1] = DMARD10_MODE_STANDBY; in dmard10_reset()
91 buffer[2] = DMARD10_MODE_READ_OTP; in dmard10_reset()
92 buffer[3] = DMARD10_MODE_STANDBY; in dmard10_reset()
93 buffer[4] = DMARD10_MODE_RESET_DATA_PATH; in dmard10_reset()
94 buffer[5] = DMARD10_MODE_STANDBY; in dmard10_reset()
95 ret = i2c_master_send(client, buffer, 6); in dmard10_reset()
106 buffer[ in dmard10_reset()
129 unsigned char buffer[3]; dmard10_shutdown() local
[all...]
/third_party/icu/icu4c/source/io/
H A Dufmt_cmn.cpp68 ufmt_64tou(UChar *buffer, in ufmt_64tou() argument
82 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit) in ufmt_64tou()
89 buffer[length++] = DIGIT_0; /*zero padding */ in ufmt_64tou()
92 /* reverse the buffer */ in ufmt_64tou()
93 left = buffer; in ufmt_64tou()
94 right = buffer + length; in ufmt_64tou()
105 ufmt_ptou(UChar *buffer, in ufmt_ptou() argument
124 buffer[length++]=TO_LC_DIGIT(firstNibble); in ufmt_ptou()
125 buffer[length++]=TO_LC_DIGIT(secondNibble); in ufmt_ptou()
128 buffer[lengt in ufmt_ptou()
137 ufmt_uto64(const UChar *buffer, int32_t *len, int8_t radix) ufmt_uto64() argument
168 ufmt_utop(const UChar *buffer, int32_t *len) ufmt_utop() argument
[all...]
/third_party/skia/third_party/externals/icu/source/io/
H A Dufmt_cmn.cpp68 ufmt_64tou(UChar *buffer, in ufmt_64tou() argument
82 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit) in ufmt_64tou()
89 buffer[length++] = DIGIT_0; /*zero padding */ in ufmt_64tou()
92 /* reverse the buffer */ in ufmt_64tou()
93 left = buffer; in ufmt_64tou()
94 right = buffer + length; in ufmt_64tou()
105 ufmt_ptou(UChar *buffer, in ufmt_ptou() argument
124 buffer[length++]=TO_LC_DIGIT(firstNibble); in ufmt_ptou()
125 buffer[length++]=TO_LC_DIGIT(secondNibble); in ufmt_ptou()
128 buffer[lengt in ufmt_ptou()
137 ufmt_uto64(const UChar *buffer, int32_t *len, int8_t radix) ufmt_uto64() argument
168 ufmt_utop(const UChar *buffer, int32_t *len) ufmt_utop() argument
[all...]
/base/startup/init/services/loopevent/task/
H A Dle_task.c63 LE_Buffer *buffer = GetFirstBuffer(stream); in CloseTask() local
64 while (buffer) { in CloseTask()
65 FreeBuffer(loopHandle, stream, (BufferHandle)buffer); in CloseTask()
66 buffer = GetFirstBuffer(stream); in CloseTask()
77 LE_Buffer *buffer = NULL; in CreateBuffer() local
78 LE_CHECK((buffer = (LE_Buffer *)malloc(sizeof(LE_Buffer) + bufferSize)) != NULL, in CreateBuffer()
79 return NULL, "Failed to alloc memory for buffer"); in CreateBuffer()
80 OH_ListInit(&buffer->node); in CreateBuffer()
81 buffer->buffSize = bufferSize; in CreateBuffer()
82 buffer in CreateBuffer()
98 LE_Buffer *buffer = NULL; GetFirstBuffer() local
106 AddBuffer(StreamTask *task, LE_Buffer *buffer) AddBuffer() argument
116 LE_Buffer *buffer = NULL; GetNextBuffer() local
130 FreeBuffer(const LoopHandle loop, StreamTask *task, LE_Buffer *buffer) FreeBuffer() argument
158 LE_Buffer *buffer = (LE_Buffer *)handle; LE_GetBufferInfo() local
179 LE_Buffer *buffer = (LE_Buffer *)buffHandle; LE_Send() local
[all...]
/third_party/python/Modules/clinic/
H A D_struct.c.h42 "unpack($self, buffer, /)\n"
47 "Unpack according to the format string Struct.format. The buffer\'s size\n"
56 Struct_unpack_impl(PyStructObject *self, Py_buffer *buffer);
62 Py_buffer buffer = {NULL, NULL}; in Struct_unpack() local
64 if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) { in Struct_unpack()
67 if (!PyBuffer_IsContiguous(&buffer, 'C')) { in Struct_unpack()
68 _PyArg_BadArgument("unpack", "argument", "contiguous buffer", arg); in Struct_unpack()
71 return_value = Struct_unpack_impl(self, &buffer); in Struct_unpack()
74 /* Cleanup for buffer */ in Struct_unpack()
75 if (buffer in Struct_unpack()
110 Py_buffer buffer = {NULL, NULL}; Struct_unpack_from() local
239 Py_buffer buffer = {NULL, NULL}; unpack() local
293 Py_buffer buffer = {NULL, NULL}; unpack_from() local
362 PyObject *buffer; iter_unpack() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-myanmar.cc68 hb_buffer_t *buffer);
72 hb_buffer_t *buffer);
104 hb_buffer_t *buffer, in setup_masks_myanmar()
107 HB_BUFFER_ALLOCATE_VAR (buffer, myanmar_category); in setup_masks_myanmar()
108 HB_BUFFER_ALLOCATE_VAR (buffer, myanmar_position); in setup_masks_myanmar()
113 unsigned int count = buffer->len; in setup_masks_myanmar()
114 hb_glyph_info_t *info = buffer->info; in setup_masks_myanmar()
122 hb_buffer_t *buffer) in setup_syllables_myanmar()
124 find_syllables_myanmar (buffer); in setup_syllables_myanmar()
125 foreach_syllable (buffer, star in setup_syllables_myanmar()
103 setup_masks_myanmar(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) setup_masks_myanmar() argument
120 setup_syllables_myanmar(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) setup_syllables_myanmar() argument
143 initial_reordering_consonant_syllable(hb_buffer_t *buffer, unsigned int start, unsigned int end) initial_reordering_consonant_syllable() argument
240 reorder_syllable_myanmar(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_face_t *face HB_UNUSED, hb_buffer_t *buffer, unsigned int start, unsigned int end) reorder_syllable_myanmar() argument
260 reorder_myanmar(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) reorder_myanmar() argument
[all...]
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/src/node/
H A Drk_scale_node.cpp49 void RKScaleNode::DeliverBuffer(std::shared_ptr<IBuffer>& buffer) in DeliverBuffer() argument
51 if (buffer == nullptr) { in DeliverBuffer()
56 if (buffer->GetBufferStatus() != CAMERA_BUFFER_STATUS_OK) { in DeliverBuffer()
58 return NodeBase::DeliverBuffer(buffer); in DeliverBuffer()
61 int32_t id = buffer->GetStreamId(); in DeliverBuffer()
64 buffer->GetStreamId(), buffer->GetIndex(), in DeliverBuffer()
65 buffer->GetCurWidth(), buffer->GetCurHeight(), buffer in DeliverBuffer()
[all...]

Completed in 19 milliseconds

1...<<11121314151617181920>>...541