/device/google/contexthub/firmware/lib/libc/ |
D | aeabi.cpp | 57 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/linaro/bootloader/edk2/StdLib/Include/ |
D | string.h | 91 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 …]
|
D | stdlib.h | 119 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 …]
|
D | wchar.h | 175 …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/linaro/bootloader/arm-trusted-firmware/include/stdlib/ |
D | stdlib.h | 48 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 …]
|
D | string.h | 46 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 *memmove(void *, const void *, size_t); 56 void *memset(void *, int, size_t); 60 size_t strlen(const char *) __pure; 61 int strncmp(const char *, const char *, size_t) __pure;
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | IndexRangeCache.h | 42 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 start = offset; 79 size_t start_other = rhs.offset; [all …]
|
D | SocketStream.h | 26 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 *read(void *buf, size_t *inout_len); 39 virtual int recv(void *buf, size_t len); 40 virtual int writeFully(const void *buf, size_t len); 44 size_t m_bufsize; 47 SocketStream(int sock, size_t bufSize);
|
D | IndexRangeCache.cpp | 23 size_t offset, in addRange() 24 size_t count, in addRange() 35 size_t offset, in findRange() 36 size_t count, in findRange() 56 void IndexRangeCache::invalidateRange(size_t offset, size_t size) { in invalidateRange() 57 size_t invalidateStart = offset; in invalidateRange() 58 size_t invalidateEnd = offset + size; in invalidateRange() 68 size_t rangeStart = it->first.offset; in invalidateRange() 69 size_t rangeEnd = in invalidateRange()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | multibyte_sb.c | 61 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 …]
|
D | multibyte_Utf8.c | 299 size_t 301 EstimateWtoM(const wchar_t * Src, size_t Limit, size_t *NumChar) in EstimateWtoM() 304 size_t CharCount; in EstimateWtoM() 312 ((size_t)(Estimate + NumBytes) < Limit)) in EstimateWtoM() 321 return (size_t)Estimate; // Return esimate of required bytes. in EstimateWtoM() 341 size_t 345 size_t Count; in CountMbcsChars() 470 size_t 473 size_t n, in mbrlen() 506 size_t n in mblen() [all …]
|
/device/linaro/hikey/bluetooth/ |
D | hci_internals.h | 31 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/CryptoPkg/Include/ |
D | OpenSslSupport.h | 107 typedef UINTN size_t; typedef 183 void *malloc (size_t); 184 void *realloc (void *, size_t); 192 void *memcpy (void *, const void *, size_t); 193 void *memset (void *, int, size_t); 194 void *memchr (const void *, int, size_t); 195 int memcmp (const void *, const void *, size_t); 196 void *memmove (void *, const void *, size_t); 198 int strncmp (const char *, const char *, size_t); 200 char *strncpy (char *, const char *, size_t); [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/Containers/ |
D | Fifo.h | 38 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/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | QemuPipeStream.h | 30 explicit QemuPipeStream(size_t bufsize = 10000); 34 virtual void *allocBuffer(size_t minSize); 35 virtual int commitBuffer(size_t size); 36 virtual const unsigned char *readFully( void *buf, size_t len); 37 virtual const unsigned char *read( void *buf, size_t *inout_len); 40 int recv(void *buf, size_t len); 42 virtual int writeFully(const void *buf, size_t len); 47 size_t m_bufsize; 49 QemuPipeStream(int sock, size_t bufSize);
|
/device/google/contexthub/util/common/ |
D | ring.h | 29 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;
|
D | ring.cpp | 28 RingBuffer::RingBuffer(size_t size) in RingBuffer() 40 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { in write() 43 size_t numAvailableToRead = mWritePos - mReadPos; in write() 44 size_t numAvailableToWrite = mSize - numAvailableToRead; in write() 50 size_t writePos = (mWritePos % mSize); in write() 51 size_t copy = mSize - writePos; in write() 72 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { in read() 75 size_t numAvailableToRead; in read() 89 size_t readPos = (mReadPos % mSize); in read() 90 size_t copy = mSize - readPos; in read() [all …]
|
/device/google/dragon/recovery/updater/ |
D | flash_device.h | 29 int (*read)(void *hnd, off_t offset, void *buffer, size_t count); 30 int (*write)(void *hnd, off_t offset, void *buffer, size_t count); 31 int (*erase)(void *hnd, off_t offset, size_t count); 32 size_t (*get_size)(void *hnd); 33 size_t (*get_write_size)(void *hnd); 34 size_t (*get_erase_size)(void *hnd); 44 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len); 45 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len); 46 int flash_erase(struct flash_device *dev, off_t off, size_t len); 47 size_t flash_get_size(struct flash_device *dev); [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | Types.h | 78 typedef size_t SizeT; 111 SRes (*Read)(void *p, void *buf, size_t *size); 117 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 118 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 123 size_t (*Write)(void *p, const void *buf, size_t size); 137 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 143 SRes (*Look)(void *p, void **buf, size_t *size); 147 SRes (*Skip)(void *p, size_t offset); 150 SRes (*Read)(void *p, void *buf, size_t *size); 155 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size); [all …]
|
/device/generic/goldfish-opengl/host/include/libOpenglRender/ |
D | IOStream.h | 27 IOStream(size_t bufSize) { in IOStream() 33 virtual void *allocBuffer(size_t minSize) = 0; 34 virtual int commitBuffer(size_t size) = 0; 35 virtual const unsigned char *readFully( void *buf, size_t len) = 0; 36 virtual const unsigned char *read( void *buf, size_t *inout_len) = 0; 37 virtual int writeFully(const void* buf, size_t len) = 0; 44 unsigned char *alloc(size_t len) { in alloc() 81 const unsigned char *readback(void *buf, size_t len) { in readback() 89 size_t m_bufsize; 90 size_t m_free;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | pymem.h | 52 PyAPI_FUNC(void *) PyMem_Malloc(size_t); 53 PyAPI_FUNC(void *) PyMem_Realloc(void *, size_t); 74 #define PyMem_MALLOC(n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL \ 76 #define PyMem_REALLOC(p, n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL \ 93 ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 96 ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 106 ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 109 ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | pymem.h | 52 PyAPI_FUNC(void *) PyMem_Malloc(size_t); 53 PyAPI_FUNC(void *) PyMem_Realloc(void *, size_t); 74 #define PyMem_MALLOC(n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL \ 76 #define PyMem_REALLOC(p, n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL \ 93 ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 96 ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 106 ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ 109 ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | Types.h | 101 typedef size_t SizeT; 134 SRes (*Read)(void *p, void *buf, size_t *size); 140 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 141 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 146 size_t (*Write)(void *p, const void *buf, size_t size); 160 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 166 SRes (*Look)(void *p, void **buf, size_t *size); 170 SRes (*Skip)(void *p, size_t offset); 173 SRes (*Read)(void *p, void *buf, size_t *size); 178 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size); [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | Types.h | 101 typedef size_t SizeT; 134 SRes (*Read)(void *p, void *buf, size_t *size); 140 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 141 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 146 size_t (*Write)(void *p, const void *buf, size_t size); 160 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 166 SRes (*Look)(void *p, void **buf, size_t *size); 170 SRes (*Skip)(void *p, size_t offset); 173 SRes (*Read)(void *p, void *buf, size_t *size); 178 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size); [all …]
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/ |
D | extern.h | 47 int __getcwd(char *, size_t); 48 int __getlogin(char *, size_t); 51 const char * __strerror(int , char *, size_t); 52 const char * __strsignal(int , char *, size_t); 55 int __sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t); 77 int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...) 82 int vsnprintf_ss(char * __restrict, size_t, const char * __restrict,
|