Searched refs:len (Results 26 - 50 of 6036) sorted by relevance

1234567891011>>

/external/valgrind/memcheck/
H A Dmc_replace_strmem.c43 #define RECORD_OVERLAP_ERROR(s, src, dst, len) \
46 s, src, dst, len, 0)
/external/valgrind/none/tests/
H A Dcoolo_strlen.c7 int len = strlen(b2); local
8 if (len < 12)
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbase64.h12 unsigned char * base64_encode(const unsigned char *src, size_t len,
14 unsigned char * base64_decode(const unsigned char *src, size_t len,
/external/wpa_supplicant_8/src/utils/
H A Dbase64.h12 unsigned char * base64_encode(const unsigned char *src, size_t len,
14 unsigned char * base64_decode(const unsigned char *src, size_t len,
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dbase64.h12 unsigned char * base64_encode(const unsigned char *src, size_t len,
14 unsigned char * base64_decode(const unsigned char *src, size_t len,
/external/linux-tools-perf/src/tools/perf/util/
H A Dstrbuf.c22 sb->alloc = sb->len = 0;
40 *sz = sb->len;
47 if (sb->len + extra + 1 <= sb->len)
51 ALLOC_GROW(sb->buf, sb->len + extra + 1, sb->alloc);
54 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len, argument
57 if (pos + len < pos)
59 if (pos > sb->len)
61 if (pos + len > sb->len)
73 strbuf_remove(struct strbuf *sb, size_t pos, size_t len) argument
78 strbuf_add(struct strbuf *sb, const void *data, size_t len) argument
87 int len; local
[all...]
/external/strace/tests/
H A Dunix-pair-send-recv.c8 transpose(char *str, int len) argument
12 for (i = 0; i < len / 2; ++i) {
14 str[i] = str[len - 1 - i];
15 str[len - 1 - i] = c;
23 const int len = strlen(av[1]); local
24 assert(len);
39 transpose(av[1], len);
40 assert(sendto(0, av[1], len, MSG_DONTROUTE, NULL, 0) == len);
41 assert(recvfrom(0, av[1], len, MSG_WAITAL
[all...]
/external/linux-tools-perf/src/tools/lib/traceevent/
H A Dtrace-seq.c45 s->len = 0;
60 s->len = 0;
105 int len; local
111 len = (s->buffer_size - 1) - s->len;
114 ret = vsnprintf(s->buffer + s->len, len, fmt, ap);
117 if (ret >= len) {
122 s->len += ret;
141 int len; local
173 int len; local
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h49 #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) >
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h49 #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) >
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h49 #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) >
[all...]
/external/expat/tests/
H A Dchardata.c26 int len = 0; local
28 while (s[len] != 0)
29 ++len;
30 return len;
45 int len; local
48 len = strlen(s);
51 if ((len + storage->count) > maxchars) {
52 len = (maxchars - storage->count);
54 if (len + storage->count < sizeof(storage->data)) {
55 memcpy(storage->data + storage->count, s, len);
61 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) argument
86 int len; local
115 int len = xmlstrlen(expected); local
[all...]
/external/bison/lib/
H A Dstrndup.c28 size_t len = strnlen (s, n); local
29 char *new = malloc (len + 1);
34 new[len] = '\0';
35 return memcpy (new, s, len);
/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 Dsizeof-vla.c5 void *g(unsigned long len);
/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/vboot_reference/firmware/lib/cgptlib/include/
H A Dcrc32.h10 uint32_t Crc32(const void *buffer, uint32_t len);
/external/vboot_reference/firmware/lib/include/
H A Dcrc8.h11 uint8_t Crc8(const void *data, int len);
H A Dstateful_util.h27 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/libvorbis/test/
H A Dutil.c30 gen_windowed_sine (float *data, int len, float maximum) argument
33 memset (data, 0, len * sizeof (float)) ;
35 len /= 2 ;
37 for (k = 0 ; k < len ; k++)
41 data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ;
48 set_data_in (float * data, unsigned len, float value) argument
51 for (k = 0 ; k < len ; k++)
/external/toybox/toys/other/
H A Drev.c23 int len, i; local
26 len = strlen(c) - 1;
27 for (i = 0; i <= len/2; i++) {
30 c[i] = c[len-i];
31 c[len-i] = tmp;
/external/liblzf/
H A Dlzf_c.c163 unsigned int len = 2; local
164 unsigned int maxlen = in_end - ip - len;
178 len++; if (ref [len] != ip [len]) break;
179 len++; if (ref [len] != ip [len]) break;
180 len++; if (ref [len] !
[all...]
/external/tcpdump/
H A Dprint-msdp.c41 unsigned int type, len; local
46 len = EXTRACT_16BITS(sp + 1);
47 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
53 len = EXTRACT_16BITS(sp + 1);
54 if (len > 1400 || vflag)
55 printf(" [len %u]", len);
56 if (len < 3)
69 if ((u_int)((*sp * 12) + 8) < len) {
[all...]
/external/pdfium/third_party/bigint/
H A DBigUnsigned.cc32 if (i < len) {
36 // If i >= len, no effect.
38 if (i >= len) {
42 for (Index j = len; j < i; j++)
44 len = i+1;
57 Blk leftmostBlock = getBlock(len - 1);
63 return leftmostBlockLen + (len - 1) * N;
77 if (len < x.len)
79 else if (len >
[all...]
/external/google-breakpad/src/third_party/libdisasm/
H A Dx86_format.c18 #define STRNCAT( buf, str, len ) do { \
19 int _i = strlen(str), _blen = strlen(buf), _len = len - 1; \
20 if ( len ) { \
24 len = 0; \
26 len -= _i; \
31 #define STRNCATF( buf, fmt, data, len ) do { \
35 STRNCAT( buf, _tmp, len ); \
42 STRNCATF( buf, "-0x%" PRIX32, -ea->disp, len ); \
44 STRNCATF( buf, "0x%" PRIX32, ea->disp, len ); \
58 int len ) {
161 format_expr( x86_ea_t *ea, char *buf, int len, enum x86_asm_format format ) argument
285 format_seg( x86_op_t *op, char *buf, int len, enum x86_asm_format format ) argument
405 format_insn_eflags_str( enum x86_flag_status flags, char *buf, int len) argument
645 format_operand_att( x86_op_t *op, x86_insn_t *insn, char *buf, int len) argument
719 format_operand_native( x86_op_t *op, x86_insn_t *insn, char *buf, int len) argument
783 format_operand_xml( x86_op_t *op, x86_insn_t *insn, char *buf, int len) argument
884 format_operand_raw( x86_op_t *op, x86_insn_t *insn, char *buf, int len) argument
983 x86_format_operand( x86_op_t *op, char *buf, int len, enum x86_asm_format format ) argument
1017 format_att_mnemonic( x86_insn_t *insn, char *buf, int len) argument
1071 x86_format_mnemonic(x86_insn_t *insn, char *buf, int len, enum x86_asm_format format) argument
1087 struct op_string { char *buf; size_t len; }; member in struct:op_string
1095 format_insn_note(x86_insn_t *insn, char *buf, int len) argument
1228 x86_format_header( char *buf, int len, enum x86_asm_format format ) argument
1302 x86_format_insn( x86_insn_t *insn, char *buf, int len, enum x86_asm_format format ) argument
[all...]

Completed in 1676 milliseconds

1234567891011>>