/external/kernel-headers/original/uapi/linux/ |
hidraw.h | 37 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 38 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) 40 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 41 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
/external/libchrome/base/ |
hash.cc | 11 uint32_t SuperFastHash(const char* data, size_t len) { 13 return hash_fn(std::string(data, len));
|
/external/libvpx/libvpx/ |
y4menc.h | 24 int y4m_write_file_header(char *buf, size_t len, int width, int height, 27 int y4m_write_frame_header(char *buf, size_t len);
|
/external/ltp/include/lapi/ |
tee.h | 27 ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags) 29 return tst_syscall(__NR_tee, fd_in, fd_out, len, flags);
|
/external/ppp/pppd/ |
magic.h | 49 void random_bytes __P((unsigned char *buf, int len));
|
/external/swiftshader/third_party/subzero/wasm-tests/ |
hello-write.c | 7 const int len = strlen(str); local 8 write(1, str, len);
|
/external/syslinux/gpxe/src/crypto/ |
crandom.c | 36 * @v len Number of random bytes to generate 41 void get_random_bytes ( void *buf, size_t len ) 52 while ( len-- ) {
|
/external/tcpdump/ |
print-ftp.c | 29 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) 31 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
|
print-sip.c | 51 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) 53 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
|
print-smtp.c | 29 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) 31 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);
|
/external/webrtc/webrtc/test/ |
mock_transport.h | 23 size_t len, 25 MOCK_METHOD2(SendRtcp, bool(const uint8_t* data, size_t len));
|
/external/wpa_supplicant_8/src/tls/ |
pkcs8.h | 12 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len); 14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
|
/frameworks/minikin/libs/minikin/ |
LayoutUtils.cpp | 51 size_t getPrevWordBreakForCache(const uint16_t* chars, size_t offset, size_t len) { 53 if (offset > len) offset = len; 66 * Return offset of next word break. It is either > offset or == len. 68 size_t getNextWordBreakForCache(const uint16_t* chars, size_t offset, size_t len) { 69 if (offset >= len) return len; 73 for (size_t i = offset + 1; i < len; i++) { 81 return len;
|
/libcore/ojluni/src/main/java/java/io/ |
OptionalDataException.java | 55 OptionalDataException(int len) { 57 length = len;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
SocketDispatcher.java | 40 int read(FileDescriptor fd, long address, int len) throws IOException { 43 return FileDispatcherImpl.read0(fd, address, len); 46 long readv(FileDescriptor fd, long address, int len) throws IOException { 49 return FileDispatcherImpl.readv0(fd, address, len); 52 int write(FileDescriptor fd, long address, int len) throws IOException { 55 return FileDispatcherImpl.write0(fd, address, len); 58 long writev(FileDescriptor fd, long address, int len) throws IOException { 61 return FileDispatcherImpl.writev0(fd, address, len);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xfuncs.h | 43 # define bzero(b,len) memset(b, 0, len) 44 # define bcmp(b1,b2,len) memcmp(b1, b2, len) 61 # define bzero(b,len) memset(b,0,len) 64 # define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
hidraw.h | 36 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 37 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) 39 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 40 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
/system/bt/osi/src/ |
properties.cc | 34 int len = 0; local 35 if (!default_value) return len; 37 len = strlen(default_value); 38 if (len >= PROPERTY_VALUE_MAX) len = PROPERTY_VALUE_MAX - 1; 40 memcpy(value, default_value, len); 41 value[len] = '\0'; 42 return len;
|
/system/core/liblog/ |
uio.c | 30 int len = vecs->iov_len; local 32 while (len > 0) { 33 int ret = read(fd, buf, len); 42 len -= ret; 54 int len = vecs->iov_len; local 56 while (len > 0) { 57 int ret = write(fd, buf, len); 66 len -= ret;
|
/system/core/libsparse/ |
output_file.h | 28 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len, 31 void *priv, unsigned int block_size, int64_t len, int gz, int sparse, 33 int write_data_chunk(struct output_file *out, unsigned int len, void *data); 34 int write_fill_chunk(struct output_file *out, unsigned int len, 36 int write_file_chunk(struct output_file *out, unsigned int len, 38 int write_fd_chunk(struct output_file *out, unsigned int len, 40 int write_skip_chunk(struct output_file *out, int64_t len); 43 int read_all(int fd, void *buf, size_t len);
|
/system/core/qemu_pipe/include/ |
qemu_pipe.h | 48 // Send a framed message |buff| of |len| bytes through the |fd| descriptor. 51 int qemu_pipe_frame_send(int fd, const void* buff, size_t len); 53 // Read a frame message from |fd|, and store it into |buff| of |len| bytes. 54 // If the framed message is larger than |len|, then this returns -1 and the 58 int qemu_pipe_frame_recv(int fd, void* buff, size_t len);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
memset.c | 20 memset (PTR dest, register int val, register size_t len) 23 while (len-- > 0)
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/auth/mbedtls/ |
mbedtls_x509_parser.c | 74 size_t len; local 85 end = v3_ext.p + v3_ext.len; 87 mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | 94 mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | 96 end_ext_data = p + len; 100 mbedtls_asn1_get_tag(&p, end, &extn_oid.len, MBEDTLS_ASN1_OID); 102 p += extn_oid.len; 108 mbedtls_asn1_get_tag(&p, end_ext_data, &len, 110 end_ext_octet = p + len; 121 *ext_len = (unsigned int)len; 145 size_t len; local [all...] |
/external/libnetfilter_conntrack/src/conntrack/ |
snprintf_default.c | 13 unsigned int len, 16 return (snprintf(buf, len, "%-8s %u ", 23 unsigned int len, 26 return (snprintf(buf, len, "%-8s %u ", 33 unsigned int len, 36 return snprintf(buf, len, "%u ", ct->timeout); 40 unsigned int len, 43 return snprintf(buf, len, "%s ", 50 unsigned int len, 53 return snprintf(buf, len, "%s " [all...] |
/external/adhd/cras/src/tests/ |
dsp_core_unittest.cc | 17 static void add_sine(float *data, size_t len, float freq, float offset, 20 for (size_t i = 0; i < len; i++) 25 * the result of DFT, multiplied by 2/len. */ 26 static float magnitude_at(float *data, size_t len, float f) 30 for (size_t i = 0; i < len; i++) { 34 return sqrt(re * re + im * im) * (2.0 / len); 79 size_t len = 44100; local 80 float NQ = len / 2; 84 float *data = (float *)malloc(sizeof(float) * len); 88 memset(data, 0, sizeof(float) * len); 143 size_t len = 44100; local 212 size_t len = 44100; local 257 size_t len = 44100; local 328 size_t len = 44100; local [all...] |