HomeSort by relevance Sort by last modified time
    Searched refs:strbuf (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/linux-tools-perf/perf-3.12.0/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 16 * initialized strbuf.
20 void strbuf_init(struct strbuf *sb, ssize_t hint)
28 void strbuf_release(struct strbuf *sb)
36 char *strbuf_detach(struct strbuf *sb, size_t *sz)
45 void strbuf_grow(struct strbuf *sb, size_t extra)
54 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len,
73 void strbuf_remove(struct strbuf *sb, size_t pos, size_t len)
78 void strbuf_add(struct strbuf *sb, const void *data, size_t len)
85 void strbuf_addf(struct strbuf *sb, const char *fmt, ...)
109 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/x86_64-linux-glibc2.11-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.11-4.8/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);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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.11-4.8/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();
  /system/core/toolbox/
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);
date.c 148 char strbuf[260]; local
181 strftime(strbuf, sizeof(strbuf),
186 strftime(strbuf, sizeof(strbuf),
190 printf("%s\n", strbuf);
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
gas-token.re 164 static YYCTYPE *strbuf = NULL;
166 /* length of strbuf (including terminating NULL character) */
173 strbuf = yasm_xrealloc(strbuf, strbuf_size + STRBUF_ALLOC_SIZE);
176 strbuf[count] = ch;
480 strbuf = yasm_xmalloc(STRBUF_ALLOC_SIZE);
490 lvalp->str.contents = (char *)strbuf;
501 lvalp->str.contents = (char *)strbuf;
517 strbuf = yasm_xmalloc(STRBUF_ALLOC_SIZE);
530 lvalp->str.contents = (char *)strbuf;
    [all...]
  /external/chromium_org/third_party/openssl/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/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/perf-3.12.0/tools/perf/
builtin-help.c 59 struct strbuf buffer = STRBUF_INIT;
107 struct strbuf man_page = STRBUF_INIT;
121 struct strbuf man_page = STRBUF_INIT;
155 struct strbuf shell_cmd = STRBUF_INIT;
312 struct strbuf new_path = STRBUF_INIT;
371 static int get_html_page_path(struct strbuf *page_path, const char *page)
404 struct strbuf page_path; /* it leaks but we exec bellow */
  /external/harfbuzz_ng/src/
hb-common.cc 295 char strbuf[64]; local
303 len = MIN (len, (int) sizeof (strbuf) - 1);
304 memcpy (strbuf, str, len);
305 strbuf[len] = '\0';
306 str = strbuf;
  /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 279 char *strbuf = NULL; local
289 strbuf = os_malloc(1 + 3 * slen);
290 if (strbuf == NULL) {
297 os_snprintf(&strbuf[i * 3], 4, " %02x",
300 display = strbuf;
310 os_free(strbuf);
317 char *strbuf = NULL;
324 strbuf = os_malloc(1 + 3 * len);
325 if (strbuf == NULL) {
332 os_snprintf(&strbuf[i * 3], 4, " %02x"
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-common.cc 295 char strbuf[64]; local
302 len = MIN (len, (int) sizeof (strbuf) - 1);
303 str = (char *) memcpy (strbuf, str, len);
304 strbuf[len] = '\0';
  /external/chromium_org/third_party/openssl/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/openssl/apps/
enc.c 106 char *strbuf=NULL; local
380 strbuf=OPENSSL_malloc(SIZE);
382 if ((buff == NULL) || (strbuf == NULL))
437 strbuf[0]='\0';
438 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc);
441 if (strbuf[0] == '\0')
446 str=strbuf;
568 if (str == strbuf)
690 if (strbuf != NULL) OPENSSL_free(strbuf);
    [all...]
  /external/strace/
stream.c 49 struct strbuf { struct
61 printstrbuf(struct tcb *tcp, struct strbuf *sbp, int getting)
78 struct strbuf buf;

Completed in 2472 milliseconds

1 2 3