/external/linux-tools-perf/util/ |
strbuf.h | 5 * Strbuf's can be use in many ways: as a byte array, or to store arbitrary 10 * 1. the ->buf member is always malloc-ed, hence strbuf's can be used to 19 * member to be a valid C-string. Every strbuf function ensure this 34 * missing API to the strbuf module is the way to go. 44 struct strbuf { struct 52 /*----- strbuf life cycle -----*/ 53 extern void strbuf_init(struct strbuf *buf, ssize_t hint); 54 extern void strbuf_release(struct strbuf *); 55 extern char *strbuf_detach(struct strbuf *, size_t *); 57 /*----- strbuf size related -----* [all...] |
quote.h | 27 extern void sq_quote_argv(struct strbuf *, const char **argv, size_t maxlen);
|
strbuf.c | 15 * initialized strbuf. 19 void strbuf_init(struct strbuf *sb, ssize_t hint) 27 void strbuf_release(struct strbuf *sb) 35 char *strbuf_detach(struct strbuf *sb, size_t *sz) 44 void strbuf_grow(struct strbuf *sb, size_t extra) 53 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len, 72 void strbuf_remove(struct strbuf *sb, size_t pos, size_t len) 77 void strbuf_add(struct strbuf *sb, const void *data, size_t len) 84 void strbuf_addf(struct strbuf *sb, const char *fmt, ...) 108 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint [all...] |
quote.c | 20 static void sq_quote_buf(struct strbuf *dst, const char *src) 42 void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen)
|
exec_cmd.c | 15 struct strbuf d = STRBUF_INIT; 70 static void add_path(struct strbuf *out, const char *path) 85 struct strbuf new_path = STRBUF_INIT;
|
/external/clang/test/CodeGen/ |
compound.c | 17 void foo(char *strbuf) { 19 strbuf += stufflen;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
stropts.h | 51 extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr, 52 struct strbuf *__restrict __dataptr, 60 extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr, 61 struct strbuf *__restrict __dataptr, 73 extern int putmsg (int __fildes, __const struct strbuf *__ctlptr, 74 __const struct strbuf *__dataptr, int __flags); 80 extern int putpmsg (int __fildes, __const struct strbuf *__ctlptr, 81 __const struct strbuf *__dataptr, int __band, int __flags);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
stropts.h | 51 extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr, 52 struct strbuf *__restrict __dataptr, 60 extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr, 61 struct strbuf *__restrict __dataptr, 73 extern int putmsg (int __fildes, __const struct strbuf *__ctlptr, 74 __const struct strbuf *__dataptr, int __flags); 80 extern int putpmsg (int __fildes, __const struct strbuf *__ctlptr, 81 __const struct strbuf *__dataptr, int __band, int __flags);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
stropts.h | 51 extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr, 52 struct strbuf *__restrict __dataptr, 60 extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr, 61 struct strbuf *__restrict __dataptr, 73 extern int putmsg (int __fildes, __const struct strbuf *__ctlptr, 74 __const struct strbuf *__dataptr, int __flags); 80 extern int putpmsg (int __fildes, __const struct strbuf *__ctlptr, 81 __const struct strbuf *__dataptr, int __band, int __flags);
|
/external/iproute2/tc/ |
emp_ematch.l | 39 static char *strbuf; 46 strbuf = realloc(strbuf, strbuf_size); 53 strbuf[strbuf_index++] = c; 60 memcpy(strbuf + strbuf_index, s, strlen(s)); 73 if (strbuf == NULL) { 75 strbuf = calloc(1, strbuf_size); 76 if (strbuf == NULL) 86 yylval.b = bstr_new(strbuf, strbuf_index);
|
/system/core/toolbox/ |
date.c | 51 char strbuf[260]; local 86 strftime(strbuf, sizeof(strbuf), 91 strftime(strbuf, sizeof(strbuf), 95 printf("%s\n", strbuf);
|
alarm.c | 19 char strbuf[26]; local 89 asctime_r(&tm, strbuf); 90 printf("%s", strbuf); 100 asctime_r(&tm, strbuf); 101 printf("Now: %s", strbuf); 123 asctime_r(&tm, strbuf); 124 printf("Requested %s", strbuf);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
stropts.h | 180 struct strbuf struct 189 struct strbuf ctlbuf; 190 struct strbuf databuf; 196 struct strbuf ctlbuf; 197 struct strbuf databuf;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
stropts.h | 180 struct strbuf struct 189 struct strbuf ctlbuf; 190 struct strbuf databuf; 196 struct strbuf ctlbuf; 197 struct strbuf databuf;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
stropts.h | 180 struct strbuf struct 189 struct strbuf ctlbuf; 190 struct strbuf databuf; 196 struct strbuf ctlbuf; 197 struct strbuf databuf;
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MultipartMimeContentImpl.java | 106 StringBuffer strbuf = new StringBuffer(nextPart); local 107 while (strbuf.length() > 0 108 && (strbuf.charAt(0) == '\r' || strbuf.charAt(0) == '\n')) 109 strbuf.deleteCharAt(0); 111 if (strbuf.length() == 0) 113 nextPart = strbuf.toString();
|
/external/openssl/crypto/asn1/ |
a_mbstr.c | 100 char strbuf[32]; local 148 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); 149 ERR_add_error_data(2, "minsize=", strbuf); 155 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); 156 ERR_add_error_data(2, "maxsize=", strbuf);
|
/external/linux-tools-perf/ |
builtin-help.c | 73 struct strbuf buffer = STRBUF_INIT; 121 struct strbuf man_page = STRBUF_INIT; 135 struct strbuf man_page = STRBUF_INIT; 169 struct strbuf shell_cmd = STRBUF_INIT; 322 struct strbuf new_path = STRBUF_INIT; 378 static void get_html_page_path(struct strbuf *page_path, const char *page) 407 struct strbuf page_path; /* it leaks but we exec bellow */
|
perf.c | 200 struct strbuf buf; 372 struct strbuf cmd = STRBUF_INIT;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 81 void strgetmsg(int fd, struct strbuf *ctlp, struct strbuf *datap, int *flagsp, char *caller); 670 struct strbuf data; 770 struct strbuf ctl; 782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) 790 struct strbuf ctl; 801 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) 809 struct strbuf data, ctl; 836 struct strbuf ctl; 843 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack") [all...] |
/external/wpa_supplicant_8/src/utils/ |
wpa_debug.c | 166 char *strbuf = NULL; local 173 strbuf = os_malloc(1 + 3 * len); 174 if (strbuf == NULL) { 181 os_snprintf(&strbuf[i * 3], 4, " %02x", 184 display = strbuf; 191 os_free(strbuf);
|
/external/openssl/apps/ |
enc.c | 106 char *strbuf=NULL; local 374 strbuf=OPENSSL_malloc(SIZE); 376 if ((buff == NULL) || (strbuf == NULL)) 431 strbuf[0]='\0'; 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); 435 if (strbuf[0] == '\0') 440 str=strbuf; 562 if (str == strbuf) 684 if (strbuf != NULL) OPENSSL_free(strbuf); [all...] |
/external/netperf/ |
nettest_dlpi.c | 155 struct strbuf send_message; 705 struct strbuf recv_message; [all...] |
/external/libpcap/ |
pcap-dlpi.c | 237 static struct strbuf ctl = { 256 struct strbuf data; 1123 struct strbuf ctl; 1131 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) { 1144 struct strbuf ctl; 1159 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) { [all...] |
/external/ppp/pppd/ |
srp-entry.c | 105 char strbuf[MAXB64PARAMLEN]; local 185 pwval.pebuf.index, t_tob64(strbuf,
|