Searched defs:len (Results 1 - 25 of 3746) sorted by relevance

1234567891011>>

/external/clang/test/Lexer/
H A Ddigraph.c9 void copy(char d<::>, const char s<::>, int len)
11 while (len-- >= 0)
13 d<:len:> = s<:len:>; variable
/external/clang/test/CodeGen/
H A D2003-11-26-PointerShift.c3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { argument
H A D2004-05-07-VarArrays.c3 int foo(int len, char arr[][len], int X) { argument
H A Doffsetof.c9 int test(int len) { argument
10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]);
/external/dropbear/
H A Dcli-service.c52 unsigned int len; local
56 servicename = buf_getstring(ses.payload, &len);
60 && len == SSH_SERVICE_USERAUTH_LEN
61 && strncmp(SSH_SERVICE_USERAUTH, servicename, len) == 0) {
71 && len == SSH_SERVICE_CONNECTION_LEN
72 && strncmp(SSH_SERVICE_CONNECTION, servicename, len) == 0) {
H A Dsvr-service.c33 static void send_msg_service_accept(unsigned char *name, int len);
40 unsigned int len; local
44 name = buf_getstring(ses.payload, &len);
47 if (len == SSH_SERVICE_USERAUTH_LEN &&
48 strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) {
50 send_msg_service_accept(name, len);
57 if (len == SSH_SERVICE_CONNECTION_LEN &&
58 (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) {
63 send_msg_service_accept(name, len);
76 static void send_msg_service_accept(unsigned char *name, int len) { argument
[all...]
/external/dropbear/libtomcrypt/src/misc/
H A Dburn_stack.c20 @param len amount of stack to burn in bytes
22 void burn_stack(unsigned long len) argument
26 if (len > (unsigned long)sizeof(buf))
27 burn_stack(len - sizeof(buf));
/external/dropbear/libtomcrypt/src/modes/cbc/
H A Dcbc_getiv.c23 @param len [in/out] The max size and resulting size of the initial vector
27 int cbc_getiv(unsigned char *IV, unsigned long *len, symmetric_CBC *cbc) argument
30 LTC_ARGCHK(len != NULL);
32 if ((unsigned long)cbc->blocklen > *len) {
33 *len = cbc->blocklen;
37 *len = cbc->blocklen;
H A Dcbc_setiv.c24 @param len The length of the vector (in octets)
28 int cbc_setiv(const unsigned char *IV, unsigned long len, symmetric_CBC *cbc) argument
32 if (len != (unsigned long)cbc->blocklen) {
35 XMEMCPY(cbc->IV, IV, len);
/external/dropbear/libtomcrypt/src/modes/cfb/
H A Dcfb_getiv.c23 @param len [in/out] The max size and resulting size of the initial vector
27 int cfb_getiv(unsigned char *IV, unsigned long *len, symmetric_CFB *cfb) argument
30 LTC_ARGCHK(len != NULL);
32 if ((unsigned long)cfb->blocklen > *len) {
33 *len = cfb->blocklen;
37 *len = cfb->blocklen;
H A Dcfb_setiv.c23 @param len The length of the vector (in octets)
27 int cfb_setiv(const unsigned char *IV, unsigned long len, symmetric_CFB *cfb) argument
38 if (len != (unsigned long)cfb->blocklen) {
/external/dropbear/libtomcrypt/src/modes/ctr/
H A Dctr_getiv.c23 @param len [in/out] The max size and resulting size of the initial vector
27 int ctr_getiv(unsigned char *IV, unsigned long *len, symmetric_CTR *ctr) argument
30 LTC_ARGCHK(len != NULL);
32 if ((unsigned long)ctr->blocklen > *len) {
33 *len = ctr->blocklen;
37 *len = ctr->blocklen;
/external/dropbear/libtomcrypt/src/modes/f8/
H A Df8_getiv.c23 @param len [in/out] The max size and resulting size of the initial vector
27 int f8_getiv(unsigned char *IV, unsigned long *len, symmetric_F8 *f8) argument
30 LTC_ARGCHK(len != NULL);
32 if ((unsigned long)f8->blocklen > *len) {
33 *len = f8->blocklen;
37 *len = f8->blocklen;
/external/dropbear/libtomcrypt/src/modes/lrw/
H A Dlrw_getiv.c23 @param len Length ... must be at least 16 :-)
27 int lrw_getiv(unsigned char *IV, unsigned long *len, symmetric_LRW *lrw) argument
30 LTC_ARGCHK(len != NULL);
32 if (*len < 16) {
33 *len = 16;
38 *len = 16;
/external/dropbear/libtomcrypt/src/modes/ofb/
H A Dofb_getiv.c23 @param len [in/out] The max size and resulting size of the initial vector
27 int ofb_getiv(unsigned char *IV, unsigned long *len, symmetric_OFB *ofb) argument
30 LTC_ARGCHK(len != NULL);
32 if ((unsigned long)ofb->blocklen > *len) {
33 *len = ofb->blocklen;
37 *len = ofb->blocklen;
/external/dropbear/libtommath/
H A Dbn_mp_clear.c23 int len; local
28 len = a->alloc;
30 while (len--) {
/external/e2fsprogs/lib/et/
H A Dvfprintf.c32 int len; local
38 len = _doprnt(fmt, ap, iop);
45 len = _doprnt(fmt, ap, iop);
47 return (ferror(iop) ? EOF : len);
/external/elfutils/lib/
H A Dxstrndup.c41 size_t len = strnlen (string, n); local
42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
/external/icu4c/test/perf/usetperf/
H A Dbitset.h18 uint32_t len; member in class:BitSet
/external/openssl/crypto/rc4/
H A Drc4_utl.c56 void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data) argument
61 private_RC4_set_key(key, len, data);
/external/tcpdump/missing/
H A Dstrdup.c49 size_t len; local
52 len = strlen(str) + 1;
53 if ((copy = malloc(len)) == NULL)
55 memcpy(copy, str, len);
/external/valgrind/main/none/tests/
H A Dcoolo_strlen.c7 int len = strlen(b2); local
8 if (len < 12)
/external/bison/lib/
H A Dstrdup.c43 size_t len = strlen (s) + 1; local
44 void *new = malloc (len);
49 return (char *) memcpy (new, s, len);
H A Dstrndup.c52 size_t len = __strnlen (s, n); local
53 char *new = malloc (len + 1);
58 new[len] = '\0';
59 return memcpy (new, s, len);
/external/chromium/crypto/
H A Dsha2.cc13 void SHA256HashString(const std::string& str, void* output, size_t len) { argument
16 ctx->Finish(output, len);

Completed in 5320 milliseconds

1234567891011>>