/external/clang/test/CodeGen/ |
sizeof-vla.c | 5 void *g(unsigned long len);
|
/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/syslinux/com32/elflink/ldlinux/ |
refstr.c | 25 /* Allocate space for a refstring of len bytes, plus final null */ 27 char *refstr_alloc(size_t len) 29 char *r = malloc(sizeof(unsigned int) + len + 1); 34 r[len] = '\0'; 38 const char *refstrndup(const char *str, size_t len) 45 len = strnlen(str, len); 46 r = refstr_alloc(len); 48 memcpy(r, str, len); 55 size_t len; local 70 int len; local [all...] |
/external/syslinux/com32/lib/syslinux/ |
initramfs_archive.c | 41 size_t len; local 43 if (loadfile(filename, &data, &len)) 46 return initramfs_add_data(ihead, data, len, len, 4);
|
initramfs_loadfile.c | 41 size_t len; local 43 if (loadfile(src_filename, &data, &len)) 46 return initramfs_add_file(ihead, data, len, len, dst_filename,
|
/external/syslinux/com32/menu/ |
refstr.c | 24 /* Allocate space for a refstring of len bytes, plus final null */ 26 char *refstr_alloc(size_t len) 28 char *r = malloc(sizeof(unsigned int) + len + 1); 33 r[len] = '\0'; 37 const char *refstrndup(const char *str, size_t len) 44 len = strnlen(str, len); 45 r = refstr_alloc(len); 47 memcpy(r, str, len); 54 size_t len; local 69 int len; local [all...] |
/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/vboot_reference/firmware/lib/cgptlib/include/ |
crc32.h | 10 uint32_t Crc32(const void *buffer, uint32_t len);
|
/external/vboot_reference/firmware/lib/include/ |
crc8.h | 11 uint8_t Crc8(const void *data, int len);
|
stateful_util.h | 27 void StatefulInit(MemcpyState *state, void *buf, uint64_t len); 30 * Skip [len] bytes only if there's enough data to skip according to [state]. 38 void *StatefulSkip(MemcpyState *state, uint64_t len); 41 * Copy [len] bytes into [dst] only if there's enough data to read according 50 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len); 62 const void *StatefulMemcpy_r(MemcpyState *state, const void *src, uint64_t len); 74 uint64_t len);
|
/external/webrtc/webrtc/base/ |
md5digest.cc | 19 void Md5Digest::Update(const void* buf, size_t len) { 20 MD5Update(&ctx_, static_cast<const uint8_t*>(buf), len); 23 size_t Md5Digest::Finish(void* buf, size_t len) { 24 if (len < kSize) {
|
sha1digest.cc | 19 void Sha1Digest::Update(const void* buf, size_t len) { 20 SHA1Update(&ctx_, static_cast<const uint8_t*>(buf), len); 23 size_t Sha1Digest::Finish(void* buf, size_t len) { 24 if (len < kSize) {
|
/external/wpa_supplicant_8/src/utils/ |
base64.h | 12 unsigned char * base64_encode(const unsigned char *src, size_t len, 14 unsigned char * base64_decode(const unsigned char *src, size_t len, 16 unsigned char * base64_url_encode(const unsigned char *src, size_t len, 18 unsigned char * base64_url_decode(const unsigned char *src, size_t len,
|
/toolchain/binutils/binutils-2.27/libiberty/ |
stpncpy.c | 24 size_t @var{len}) 26 Copies the string @var{src} into @var{dst}, copying exactly @var{len} 27 and padding with zeros if necessary. If @var{len} < strlen(@var{src}) 28 then return @var{dst} + @var{len}, otherwise returns @var{dst} + 42 stpncpy (char *dst, const char *src, size_t len) 45 if (n > len) 46 n = len; 47 return strncpy (dst, src, len) + n;
|
/external/syslinux/com32/lib/ |
dhcpunpack.c | 15 int dhcp_unpack_field(const void *field, size_t len, 21 while (len > 1) { 25 op = *p++; len--; 31 xlen = *p++; len--; 32 if (xlen > len) 34 if (opt[op].len < 0) 35 opt[op].len = 0; 38 opt[op].len + xlen + 1); 43 memcpy((char *)opt[op].data + opt[op].len, p, xlen); 44 opt[op].len += xlen [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
seq.h | 23 void isl_seq_clr(isl_int *p, unsigned len); 24 void isl_seq_set(isl_int *p, isl_int v, unsigned len); 25 void isl_seq_set_si(isl_int *p, int v, unsigned len); 26 void isl_seq_neg(isl_int *dat, isl_int *src, unsigned len); 27 void isl_seq_cpy(isl_int *dst, isl_int *src, unsigned len); 28 void isl_seq_addmul(isl_int *dst, isl_int f, isl_int *src, unsigned len); 29 void isl_seq_submul(isl_int *dst, isl_int f, isl_int *src, unsigned len); 30 void isl_seq_swp_or_cpy(isl_int *dst, isl_int *src, unsigned len); 31 void isl_seq_scale(isl_int *dst, isl_int *src, isl_int f, unsigned len); 32 void isl_seq_scale_down(isl_int *dst, isl_int *src, isl_int f, unsigned len); [all...] |
/external/fio/t/ |
log.c | 9 size_t len; local 12 len = vsnprintf(buffer, sizeof(buffer), format, args); 14 len = min(len, sizeof(buffer) - 1); 16 return fwrite(buffer, len, 1, stderr); 23 size_t len; local 26 len = vsnprintf(buffer, sizeof(buffer), format, args); 28 len = min(len, sizeof(buffer) - 1); 30 return fwrite(buffer, len, 1, stdout) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strndup.c | 29 size_t len; local 31 len = strnlen(str, maxlen); 32 copy = malloc(len + 1); 34 (void)memcpy(copy, str, len); 35 copy[len] = '\0';
|
/external/fio/crc/ |
fnv.c | 9 uint64_t fnv(const void *buf, uint32_t len, uint64_t hval) 13 while (len) { 15 if (len >= sizeof(uint64_t)) { 17 len -= sizeof(uint64_t); 24 for (i = 0; i < len; i++) {
|
/external/libnetfilter_conntrack/src/expect/ |
snprintf.c | 13 unsigned int len, 23 size = __snprintf_expect_default(buf, len, exp, type, flags); 26 size = __snprintf_expect_xml(buf, len, exp, type, flags); 34 buf[size+1 > len ? len-1 : size] = '\0';
|
/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_isdigit(const char *cptr, Py_ssize_t len); 13 extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len); 14 extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len); 15 extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len); 17 /* These store their len sized answer in the given preallocated *result arg. */ 18 extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len); 19 extern void _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len); [all...] |
/external/syslinux/com32/lib/sys/vesa/ |
debug.h | 15 size_t len; 18 len = vsnprintf(buf, sizeof buf, str, va); 21 if (len >= sizeof buf) 22 len = sizeof buf - 1; 24 __serial_write(NULL, buf, len);
|
/external/syslinux/gpxe/src/arch/x86/core/ |
x86_string.c | 34 * @v len Length 37 void * __memcpy ( void *dest, const void *src, size_t len ) { 46 if ( len >> 2 ) { 51 "2" ( len >> 2 ) 54 if ( len & 0x02 ) { 58 if ( len & 0x01 ) {
|