Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 1158) sorted by relevance

12345678910>>...47

/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.h27 int token, RIL_Errno e, void *response, size_t responselen);
31 size_t responselen);
35 size_t responselen);
39 size_t responselen);
43 size_t responselen);
47 size_t responselen);
51 size_t responselen);
55 void *response, size_t responselen);
59 size_t responselen);
62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
[all …]
/device/google/contexthub/firmware/lib/libc/
Daeabi.cpp57 using ::std::size_t;
63 size_t element_size; // element_size != 0
64 size_t element_count;
68 const size_t cookie_size = sizeof(array_cookie);
78 inline size_t& element_size_of(void* user_array) in element_size_of()
85 inline size_t& element_count_of(void* user_array) in element_count_of()
98 size_t element_size, size_t element_count);
101 size_t element_size, size_t element_count);
104 size_t element_size, size_t element_count,
106 extern "C" void* __aeabi_vec_new_cookie_noctor(size_t element_size, size_t element_count);
[all …]
/device/generic/goldfish/radio/libril/
Dril_service.h27 int token, RIL_Errno e, void *response, size_t responselen);
31 size_t responselen);
35 size_t responselen);
39 size_t responselen);
43 size_t responselen);
47 size_t responselen);
51 size_t responselen);
55 void *response, size_t responselen);
59 size_t responselen);
62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dstring.h91 typedef _EFI_SIZE_T_ size_t; typedef
110 void *memcpy(void * __restrict Dest, const void * __restrict Src, size_t N);
125 void *memmove(void *Dest, const void *Src, size_t N);
153 char *strncpy(char * __restrict Dest, const char * __restrict Src, size_t N);
173 int strncpyX(char * __restrict Dest, const char * __restrict Src, size_t N);
203 char *strncat(char * __restrict Dest, const char * __restrict Src, size_t N);
223 int strncatX(char * __restrict s1, const char * __restrict s2, size_t n);
238 int memcmp(const void *S1, const void *S2, size_t N);
279 int strncmp(const char *S1, const char *S2, size_t N);
300 size_t strxfrm(char * __restrict Dest, const char * __restrict Src, size_t N);
[all …]
Dstdlib.h119 typedef _EFI_SIZE_T_ size_t; typedef
608 void *calloc(size_t Num, size_t Size);
638 void *malloc(size_t Size);
671 void *realloc(void *Ptr, size_t NewSize);
700 size_t Nmemb, size_t Size,
722 void qsort( void *base, size_t nmemb, size_t size,
748 int mblen(const char *S, size_t N);
777 int mbtowc(wchar_t * __restrict Pwc, const char * __restrict S, size_t N);
832 size_t mbstowcs(wchar_t * __restrict Dest, const char * __restrict Src, size_t Limit);
859 size_t wcstombs(char * __restrict Dest, const wchar_t * __restrict Src, size_t Limit);
[all …]
Dwchar.h175 …typedef _EFI_SIZE_T_ size_t; /**< Unsigned integer type of the result of the sizeof operator.… typedef
694 int swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict format, ...);
783 int vswprintf(wchar_t * __restrict S, size_t N, const wchar_t * __restrict Format, va_list Args);
1129 wchar_t *wcsncpy(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
1139 wchar_t *wmemcpy(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
1155 wchar_t *wmemmove(wchar_t *Dest, const wchar_t *Src, size_t n);
1176 wchar_t *wcsncat(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
1211 int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n);
1227 size_t wcsxfrm(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n);
1237 int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n);
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.cpp74 static size_t ilog2Floor(size_t n) { in ilog2Floor()
75 size_t res = 0; in ilog2Floor()
76 size_t test = 1; in ilog2Floor()
87 Block(size_t _chunkSize, size_t _numChunks) { in Block()
114 nextFree = (size_t*)data; in Block()
125 uint8_t* getPtr(size_t element) { in getPtr()
134 size_t getElement(void* ptr) { in getElement()
137 return (size_t)(ptrVal >> chunkSizeLog2); in getElement()
144 size_t* nextUnallocPtr = in alloc()
145 (size_t*)getPtr(numAlloced); in alloc()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/
Dstdlib.h48 typedef __size_t size_t; typedef
81 void *bsearch(const void *, const void *, size_t,
82 size_t, int (*)(const void *, const void *));
83 void *calloc(size_t, size_t) __malloc_like;
90 void *malloc(size_t) __malloc_like;
91 int mblen(const char *, size_t);
92 void qsort(void *, size_t, size_t,
95 void *realloc(void *, size_t);
147 void *aligned_alloc(size_t, size_t) __malloc_like;
162 int posix_memalign(void **, size_t, size_t); /* (ADV) */
[all …]
Dstring.h46 typedef __size_t size_t; typedef
52 void *memchr(const void *, int, size_t) __pure;
53 int memcmp(const void *, const void *, size_t) __pure;
54 void *memcpy(void * __restrict, const void * __restrict, size_t);
55 void *memcpy16(void * __restrict, const void * __restrict, size_t);
56 void *memmove(void *, const void *, size_t);
57 void *memset(void *, int, size_t);
61 size_t strlen(const char *) __pure;
62 int strncmp(const char *, const char *, size_t) __pure;
63 size_t strnlen(const char *, size_t) __pure;
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuPipeStream.h33 explicit VirtioGpuPipeStream(size_t bufsize = 10000);
38 virtual void *allocBuffer(size_t minSize);
39 virtual int commitBuffer(size_t size);
40 virtual const unsigned char *readFully( void *buf, size_t len);
42 size_t size, void *buf, size_t len);
43 virtual const unsigned char *read( void *buf, size_t *inout_len);
47 int recv(void *buf, size_t len);
49 virtual int writeFully(const void *buf, size_t len);
57 ssize_t transferToHost(const void* buffer, size_t len);
58 ssize_t transferFromHost(void* buffer, size_t len);
[all …]
DAddressSpaceStream.h26 AddressSpaceStream* createAddressSpaceStream(size_t bufSize);
38 virtual size_t idealAllocSize(size_t len);
39 virtual void *allocBuffer(size_t minSize);
40 virtual int commitBuffer(size_t size);
41 virtual const unsigned char *readFully( void *buf, size_t len);
42 virtual const unsigned char *read( void *buf, size_t *inout_len);
43 virtual int writeFully(const void *buf, size_t len);
44 virtual const unsigned char *commitBufferAndReadFully(size_t size, void *buf, size_t len);
48 ssize_t speculativeRead(unsigned char* readBuffer, size_t trySize);
55 int type1Write(uint32_t offset, size_t size);
[all …]
DVirtioGpuStream.h39 explicit VirtioGpuStream(size_t bufSize);
46 virtual unsigned char *alloc(size_t len) in alloc()
54 virtual void *allocBuffer(size_t minSize);
55 virtual int writeFully(const void *buf, size_t len);
56 virtual const unsigned char *readFully(void *buf, size_t len);
57 virtual int commitBuffer(size_t size);
58 virtual const unsigned char* commitBufferAndReadFully(size_t size, void *buf, size_t len) in commitBufferAndReadFully()
62 virtual const unsigned char *read(void *buf, size_t *inout_len) final in read()
79 size_t m_bufSize;
92 size_t m_cmdRespPos;
[all …]
DQemuPipeStream.h38 explicit QemuPipeStream(size_t bufsize = 10000);
42 virtual void *allocBuffer(size_t minSize);
43 virtual int commitBuffer(size_t size);
44 virtual const unsigned char *readFully( void *buf, size_t len);
45 virtual const unsigned char *commitBufferAndReadFully(size_t size, void *buf, size_t len);
46 virtual const unsigned char *read( void *buf, size_t *inout_len);
49 int recv(void *buf, size_t len);
51 virtual int writeFully(const void *buf, size_t len);
56 size_t m_bufsize;
58 size_t m_read;
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.h25 size_t frame_size;
26 size_t frame_count;
27 size_t head;
28 size_t tail;
29 size_t live;
32 int audio_vbuffer_init(audio_vbuffer_t *audio_vbuffer, size_t frame_count,
33 size_t frame_size);
41 size_t audio_vbuffer_write(audio_vbuffer_t *audio_vbuffer, const void *buffer,
42 size_t frame_count);
44 size_t audio_vbuffer_read(audio_vbuffer_t *audio_vbuffer, void *buffer,
[all …]
/device/google/trout/hal/audio/6.0/
Daudio_vbuffer.h25 size_t frame_size;
26 size_t frame_count;
27 size_t head;
28 size_t tail;
29 size_t live;
32 int audio_vbuffer_init(audio_vbuffer_t *audio_vbuffer, size_t frame_count,
33 size_t frame_size);
41 size_t audio_vbuffer_write(audio_vbuffer_t *audio_vbuffer, const void *buffer,
42 size_t frame_count);
44 size_t audio_vbuffer_read(audio_vbuffer_t *audio_vbuffer, void *buffer,
[all …]
/device/linaro/hikey/bluetooth/
Dhci_internals.h31 const size_t HCI_COMMAND_PREAMBLE_SIZE = 3;
32 const size_t HCI_LENGTH_OFFSET_CMD = 2;
35 const size_t HCI_ACL_PREAMBLE_SIZE = 4;
36 const size_t HCI_LENGTH_OFFSET_ACL = 2;
39 const size_t HCI_SCO_PREAMBLE_SIZE = 3;
40 const size_t HCI_LENGTH_OFFSET_SCO = 2;
43 const size_t HCI_EVENT_PREAMBLE_SIZE = 2;
44 const size_t HCI_LENGTH_OFFSET_EVT = 1;
46 const size_t HCI_PREAMBLE_SIZE_MAX = HCI_ACL_PREAMBLE_SIZE;
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dmultibyte_sb.c61 size_t
64 size_t n, in mbrlen()
74 return (size_t)-1; in mbrlen()
81 size_t n in mblen()
91 size_t
95 size_t n, in mbrtowc()
107 return (size_t)-1; in mbrtowc()
117 size_t n in mbtowc()
128 size_t
164 size_t
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSocketStream.h26 explicit SocketStream(size_t bufsize = 10000);
33 virtual void *allocBuffer(size_t minSize);
34 virtual int commitBuffer(size_t size);
35 virtual const unsigned char *readFully(void *buf, size_t len);
36 virtual const unsigned char *commitBufferAndReadFully(size_t size, void *buf, size_t len);
37 virtual const unsigned char *read(void *buf, size_t *inout_len);
40 virtual int recv(void *buf, size_t len);
41 virtual int writeFully(const void *buf, size_t len);
45 size_t m_bufsize;
48 SocketStream(int sock, size_t bufSize);
DIndexRangeCache.h42 size_t vertexIndexCount; // TODO; not being accounted yet (GLES3 feature)
48 size_t offset,
49 size_t count,
54 size_t offset,
55 size_t count,
59 void invalidateRange(size_t offset, size_t size);
69 size_t _offset, in IndexRangeKey()
70 size_t _count, in IndexRangeKey()
78 size_t end = offset + count * glSizeof(type);
79 size_t end_other = rhs.offset + rhs.count * glSizeof(rhs.type);
[all …]
/device/generic/goldfish-opengl/host/include/libOpenglRender/
DIOStream.h27 IOStream(size_t bufSize) { in IOStream()
33 virtual size_t idealAllocSize(size_t len) { in idealAllocSize()
37 virtual void *allocBuffer(size_t minSize) = 0;
38 virtual int commitBuffer(size_t size) = 0;
39 virtual const unsigned char *readFully( void *buf, size_t len) = 0;
40 virtual const unsigned char *commitBufferAndReadFully(size_t size, void *buf, size_t len) = 0;
41 virtual const unsigned char *read( void *buf, size_t *inout_len) = 0;
42 virtual int writeFully(const void* buf, size_t len) = 0;
49 virtual unsigned char *alloc(size_t len) { in alloc()
86 const unsigned char *readback(void *buf, size_t len) { in readback()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/include/webrtc/
DSDP.h32 size_t countSections() const;
35 size_t section) const;
38 size_t section) const;
50 explicit SectionEditor(SDP *sdp, size_t section);
53 size_t mSection;
59 SectionEditor appendToSection(size_t section);
67 std::vector<size_t> mLineIndexBySection;
72 size_t section,
73 size_t *lineStartIndex,
74 size_t *lineStopIndex) const;
[all …]
/device/google/contexthub/util/common/
Dring.h29 explicit RingBuffer(size_t size);
32 ssize_t write(const sensors_event_t *ev, size_t size);
33 ssize_t read(sensors_event_t *ev, size_t size);
39 size_t mSize;
41 size_t mReadPos, mWritePos;
47 LockfreeBuffer(void* buf, size_t size);
51 void write(const sensors_event_t *ev, size_t size);
54 size_t mSize;
55 size_t mWritePos;
/device/generic/goldfish-opengl/android-emu/android/base/synchronization/
DAndroidMessageChannel.h33 size_t size() const;
46 MessageChannelBase(size_t capacity);
56 size_t beforeWrite();
61 Optional<size_t> beforeTryWrite();
74 size_t beforeRead();
79 Optional<size_t> beforeTryRead();
84 Optional<size_t> beforeTimedRead(uint64_t wallTimeUs);
98 size_t mPos = 0;
99 size_t mCapacity;
100 size_t mCount = 0;
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/Containers/
DFifo.h38 cFIFO * EFIAPI New_cFIFO(UINT32 NumElements, size_t ElementSize);
57 typedef size_t (EFIAPI *cFIFO_Enqueue) (cFIFO *Self, const void *ElementPointer, size_t Count);
77 typedef size_t (EFIAPI *cFIFO_Dequeue) (cFIFO *Self, void *ElementPointer, size_t Count);
90 typedef size_t (EFIAPI *cFIFO_Copy) (cFIFO *Self, void *ElementPointer, size_t Count);
123 typedef size_t (EFIAPI *cFIFO_NumInQueue) (cFIFO *Self, FIFO_ElemBytes As);
138 typedef size_t (EFIAPI *cFIFO_FreeSpace) (cFIFO *Self, FIFO_ElemBytes As);
149 typedef size_t (EFIAPI *cFIFO_Flush) (cFIFO *Self, size_t NumToFlush);
157 typedef size_t (EFIAPI *cFIFO_Truncate) (cFIFO *Self);
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/
Demmc.h104 int (*prepare)(int lba, uintptr_t buf, size_t size);
105 int (*read)(int lba, uintptr_t buf, size_t size);
106 int (*write)(int lba, const uintptr_t buf, size_t size);
153 size_t emmc_read_blocks(int lba, uintptr_t buf, size_t size);
154 size_t emmc_write_blocks(int lba, const uintptr_t buf, size_t size);
155 size_t emmc_erase_blocks(int lba, size_t size);
156 size_t emmc_rpmb_read_blocks(int lba, uintptr_t buf, size_t size);
157 size_t emmc_rpmb_write_blocks(int lba, const uintptr_t buf, size_t size);
158 size_t emmc_rpmb_erase_blocks(int lba, size_t size);

12345678910>>...47