/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 49 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) 51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 52 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && [all...] |
/external/libnetfilter_conntrack/src/expect/ |
snprintf_default.c | 13 __snprintf_expect_timeout(char *buf, unsigned int len, 17 return snprintf(buf, len, "%u ", exp->timeout); 23 __snprintf_expect_class(char *buf, unsigned int len, 27 return snprintf(buf, len, "class=%u ", exp->class); 33 unsigned int len, 36 return(snprintf(buf, len, "proto=%d ", 41 unsigned int len, 51 ret = snprintf(buf, len, "%9s ", "[NEW]"); 54 ret = snprintf(buf, len, "%9s ", "[UPDATE]"); 57 ret = snprintf(buf, len, "%9s ", "[DESTROY]") [all...] |
/external/brotli/csharp/org/brotli/dec/ |
Huffman.cs | 19 /// <summary>Returns reverse(reverse(key, len) + 1, len).</summary>
21 /// Returns reverse(reverse(key, len) + 1, len).
22 /// <p> reverse(key, len) is the bit-wise reversal of the len least significant bits of key.
24 private static int GetNextKey(int key, int len)
26 int step = 1 << (len - 1);
53 /// <param name="len">code length of the next processed symbol.</param>
55 private static int NextTableBitSize(int[] count, int len, int rootBits) [all...] |
/external/brotli/java/org/brotli/dec/ |
Huffman.java | 17 * Returns reverse(reverse(key, len) + 1, len). 19 * <p> reverse(key, len) is the bit-wise reversal of the len least significant bits of key. 21 private static int getNextKey(int key, int len) { 22 int step = 1 << (len - 1); 43 * @param len code length of the next processed symbol. 46 private static int nextTableBitSize(int[] count, int len, int rootBits) { 47 int left = 1 << (len - rootBits); 48 while (len < MAX_LENGTH) [all...] |
/external/python/cpython3/Include/ |
bytes_methods.h | 9 extern PyObject* _Py_bytes_isspace(const char *cptr, Py_ssize_t len); 10 extern PyObject* _Py_bytes_isalpha(const char *cptr, Py_ssize_t len); 11 extern PyObject* _Py_bytes_isalnum(const char *cptr, Py_ssize_t len); 12 extern PyObject* _Py_bytes_isascii(const char *cptr, Py_ssize_t len); 13 extern PyObject* _Py_bytes_isdigit(const char *cptr, Py_ssize_t len); 14 extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len); 15 extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len); 16 extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len); 18 /* These store their len sized answer in the given preallocated *result arg. */ 19 extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len); [all...] |
/art/libartbase/base/ |
mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { 28 return mmap(start, len, prot, flags, fd, fd_off); 31 int MemMap::TargetMUnmap(void* start, size_t len) { 32 return munmap(start, len);
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsdup.c | 37 size_t len; local 39 len = wcslen(s) + 1; 40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) 42 return (wmemcpy(copy, s, len));
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/juno/ |
juno_decl.h | 10 int juno_getentropy(void *buf, size_t len);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
wcsxfrm.c | 49 size_t len;
local 53 len = wcslen(s2);
54 if (len<n)
65 return (len);
|
/external/adhd/cras/src/common/ |
sfh.h | 14 uint32_t SuperFastHash(const char *data, int len, uint32_t hash);
|
/external/clang/test/CodeGen/ |
2003-11-26-PointerShift.c | 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
|
sizeof-vla.c | 5 void *g(unsigned long len);
|
/external/epid-sdk/epid/common/math/src/ |
sha256.c | 25 EpidStatus Sha256MessageDigest(void const* msg, size_t len, 28 int ipp_len = (int)len; 30 if ((len && !msg) || !digest) return kEpidBadArgErr; 32 if (INT_MAX < len) return kEpidBadArgErr;
|
/external/epid-sdk/epid/common/math/unittests/ |
octstrconvert-test.cc | 41 int len = OctStr2Bnu(nullptr, bnstr1, sizeof(bnstr1) / sizeof(uint8_t)); local 42 EXPECT_EQ(-1, len); 46 int len = OctStr2Bnu(bnustr_res, nullptr, sizeof(bnstr1) / sizeof(uint8_t)); local 47 EXPECT_EQ(-1, len); 51 int len = OctStr2Bnu(bnustr_res, bnstr1, -1); local 52 EXPECT_EQ(-1, len); 53 len = OctStr2Bnu(bnustr_res, bnstr1, 0); 54 EXPECT_EQ(-1, len); 55 len = OctStr2Bnu(bnustr_res, bnstr1, 3); 56 EXPECT_EQ(-1, len); 62 int len = OctStr2Bnu(bnustr_res, bnstr1, sizeof(bnstr1) \/ sizeof(uint8_t)); local 70 int len = OctStr2Bnu(bnustr_res, bnstr2, sizeof(bnstr2) \/ sizeof(uint8_t)); local [all...] |
/external/epid-sdk/ext/ipp/sources/ippcp/ |
pcpbngetsize.c | 80 cpSize len = INTERNAL_BNU_LENGTH(length); local 84 len++; 87 + len*sizeof(BNU_CHUNK_T) 88 + len*sizeof(BNU_CHUNK_T)
|
/external/expat/tests/ |
chardata.c | 48 int len = 0; local 50 while (s[len] != 0) 51 ++len; 52 return len; 64 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) 73 if (len < 0) 74 len = xmlstrlen(s); 75 if ((len + storage->count) > maxchars) { 76 len = (maxchars - storage->count); 78 if (len + storage->count < (int)sizeof(storage->data)) 89 int len = xmlstrlen(expected); local [all...] |
/external/kmod/tools/ |
port.c | 1 int darwin_init_module(void *module_image, unsigned long len, const char *param_values)
|
/external/strace/ |
bpf_fprog.h | 5 unsigned short len; member in struct:bpf_fprog
|
/external/tcpdump/missing/ |
strdup.c | 44 size_t len; local 47 len = strlen(str) + 1; 48 if ((copy = malloc(len)) == NULL) 50 memcpy(copy, str, len);
|
/external/u-boot/arch/nds32/include/asm/ |
dma-mapping.h | 11 static void *dma_alloc_coherent(size_t len, unsigned long *handle) 13 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); 17 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, 23 static inline void dma_unmap_single(volatile void *vaddr, size_t len,
|
/external/u-boot/arch/nios2/include/asm/ |
dma-mapping.h | 11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) 13 unsigned long addr = (unsigned long)malloc_cache_aligned(len); 18 invalidate_dcache_range(addr, addr + len); 22 return map_physmem(addr, len, MAP_NOCACHE);
|
/external/u-boot/fs/ext4/ |
crc16.h | 15 const void *buffer, unsigned int len);
|
/external/u-boot/include/linux/ |
crc8.h | 18 * @len: Length of buffer in bytes 21 unsigned int crc8(unsigned int crc_start, const unsigned char *vptr, int len);
|
/external/u-boot/include/ |
rc4.h | 15 * @len: Length of buffer in bytes 18 void rc4_encode(unsigned char *buf, unsigned int len, unsigned char key[16]);
|
/external/u-boot/net/ |
cdp.h | 19 void cdp_receive(const uchar *pkt, unsigned len);
|