/external/linux-tools-perf/util/ |
D | strbuf.h | 44 struct strbuf { struct 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 *); 58 static inline ssize_t strbuf_avail(const struct strbuf *sb) { in strbuf_avail() 62 extern void strbuf_grow(struct strbuf *, size_t); 64 static inline void strbuf_setlen(struct strbuf *sb, size_t len) { in strbuf_setlen() 73 static inline void strbuf_addch(struct strbuf *sb, int c) { in strbuf_addch() 79 extern void strbuf_remove(struct strbuf *, size_t pos, size_t len); 81 extern void strbuf_add(struct strbuf *, const void *, size_t); [all …]
|
D | strbuf.c | 19 void strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init() 27 void strbuf_release(struct strbuf *sb) in strbuf_release() 35 char *strbuf_detach(struct strbuf *sb, size_t *sz) in strbuf_detach() 44 void strbuf_grow(struct strbuf *sb, size_t extra) in strbuf_grow() 53 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len, in strbuf_splice() 72 void strbuf_remove(struct strbuf *sb, size_t pos, size_t len) in strbuf_remove() 77 void strbuf_add(struct strbuf *sb, const void *data, size_t len) in strbuf_add() 84 void strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() 108 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read()
|
D | exec_cmd.c | 15 struct strbuf d = STRBUF_INIT; in system_path() 70 static void add_path(struct strbuf *out, const char *path) in add_path() 85 struct strbuf new_path = STRBUF_INIT; in setup_path()
|
D | quote.c | 20 static void sq_quote_buf(struct strbuf *dst, const char *src) in sq_quote_buf() 42 void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen) in sq_quote_argv()
|
D | quote.h | 27 extern void sq_quote_argv(struct strbuf *, const char **argv, size_t maxlen);
|
/external/iproute2/tc/ |
D | emp_ematch.l | 39 static char *strbuf; variable 46 strbuf = realloc(strbuf, strbuf_size); in strbuf_enlarge() 53 strbuf[strbuf_index++] = c; in strbuf_append_char() 60 memcpy(strbuf + strbuf_index, s, strlen(s)); in strbuf_append_charp() 73 if (strbuf == NULL) { 75 strbuf = calloc(1, strbuf_size); 76 if (strbuf == NULL) 86 yylval.b = bstr_new(strbuf, strbuf_index);
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MultipartMimeContentImpl.java | 106 StringBuffer strbuf = new StringBuffer(nextPart); in createContentList() local 107 while (strbuf.length() > 0 in createContentList() 108 && (strbuf.charAt(0) == '\r' || strbuf.charAt(0) == '\n')) in createContentList() 109 strbuf.deleteCharAt(0); in createContentList() 111 if (strbuf.length() == 0) in createContentList() 113 nextPart = strbuf.toString(); in createContentList()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 81 void strgetmsg(int fd, struct strbuf *ctlp, struct strbuf *datap, int *flagsp, char *caller); 670 struct strbuf data; in receivePacket() 770 struct strbuf ctl; in dlpromisconreq() 782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlpromisconreq() 790 struct strbuf ctl; in dlinforeq() 801 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlinforeq() 809 struct strbuf data, ctl; in dlunitdatareq() 836 struct strbuf ctl; in dlinfoack() 843 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack"); in dlinfoack() 868 struct strbuf ctl; in dlbindreq() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | wpa_debug.c | 279 char *strbuf = NULL; in _wpa_hexdump() local 289 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump() 290 if (strbuf == NULL) { in _wpa_hexdump() 297 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump() 300 display = strbuf; in _wpa_hexdump() 310 os_free(strbuf); in _wpa_hexdump() 317 char *strbuf = NULL; in _wpa_hexdump() local 324 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump() 325 if (strbuf == NULL) { in _wpa_hexdump() 332 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump() [all …]
|
/external/openssl/crypto/asn1/ |
D | a_mbstr.c | 100 char strbuf[32]; in ASN1_mbstring_ncopy() local 148 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); in ASN1_mbstring_ncopy() 149 ERR_add_error_data(2, "minsize=", strbuf); in ASN1_mbstring_ncopy() 155 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy() 156 ERR_add_error_data(2, "maxsize=", strbuf); in ASN1_mbstring_ncopy()
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
D | a_mbstr.c | 100 char strbuf[32]; in ASN1_mbstring_ncopy() local 148 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); in ASN1_mbstring_ncopy() 149 ERR_add_error_data(2, "minsize=", strbuf); in ASN1_mbstring_ncopy() 155 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy() 156 ERR_add_error_data(2, "maxsize=", strbuf); in ASN1_mbstring_ncopy()
|
/external/openssl/apps/ |
D | enc.c | 106 char *strbuf=NULL; in MAIN() local 374 strbuf=OPENSSL_malloc(SIZE); in MAIN() 376 if ((buff == NULL) || (strbuf == NULL)) in MAIN() 431 strbuf[0]='\0'; in MAIN() 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); in MAIN() 435 if (strbuf[0] == '\0') in MAIN() 440 str=strbuf; in MAIN() 562 if (str == strbuf) in MAIN() 684 if (strbuf != NULL) OPENSSL_free(strbuf); in MAIN()
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | enc.c | 106 char *strbuf=NULL; in MAIN() local 374 strbuf=OPENSSL_malloc(SIZE); in MAIN() 376 if ((buff == NULL) || (strbuf == NULL)) in MAIN() 431 strbuf[0]='\0'; in MAIN() 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); in MAIN() 435 if (strbuf[0] == '\0') in MAIN() 440 str=strbuf; in MAIN() 562 if (str == strbuf) in MAIN() 684 if (strbuf != NULL) OPENSSL_free(strbuf); in MAIN()
|
/external/linux-tools-perf/ |
D | builtin-help.c | 73 struct strbuf buffer = STRBUF_INIT; in check_emacsclient_version() 121 struct strbuf man_page = STRBUF_INIT; in exec_woman_emacs() 135 struct strbuf man_page = STRBUF_INIT; in exec_man_konqueror() 169 struct strbuf shell_cmd = STRBUF_INIT; in exec_man_cmd() 322 struct strbuf new_path = STRBUF_INIT; in setup_man_path() 378 static void get_html_page_path(struct strbuf *page_path, const char *page) in get_html_page_path() 407 struct strbuf page_path; /* it leaks but we exec bellow */ in show_html_page()
|
D | perf.c | 200 struct strbuf buf; in handle_alias() 372 struct strbuf cmd = STRBUF_INIT; in execv_dashed_external()
|
/external/clang/test/CodeGen/ |
D | compound.c | 17 void foo(char *strbuf) { in foo() argument 19 strbuf += stufflen; in foo()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/ |
D | 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; 541 yasm_unescape_cstring(strbuf, &count); [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-common.cc | 246 char strbuf[32]; in hb_language_from_string() local 248 len = MIN (len, (int) sizeof (strbuf) - 1); in hb_language_from_string() 249 str = (char *) memcpy (strbuf, str, len); in hb_language_from_string() 250 strbuf[len] = '\0'; in hb_language_from_string()
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-common.cc | 295 char strbuf[64]; in hb_language_from_string() local 302 len = MIN (len, (int) sizeof (strbuf) - 1); in hb_language_from_string() 303 str = (char *) memcpy (strbuf, str, len); in hb_language_from_string() 304 strbuf[len] = '\0'; in hb_language_from_string()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
D | nasm-token.re | 55 static YYCTYPE *strbuf = NULL; 57 /* length of strbuf (including terminating NULL character) */ 737 strbuf = yasm_xmalloc(STRBUF_ALLOC_SIZE); 751 strbuf[count++] = s->tok[0]; 753 strbuf = yasm_xrealloc(strbuf, 761 strbuf[count++] = s->tok[0]; 763 strbuf = yasm_xrealloc(strbuf, strbuf_size + STRBUF_ALLOC_SIZE); 773 strbuf[count++] = s->tok[0]; 775 strbuf = yasm_xrealloc(strbuf, strbuf_size + STRBUF_ALLOC_SIZE); 787 strbuf[count] = '\0'; [all …]
|
/external/netperf/ |
D | nettest_dlpi.c | 153 struct strbuf send_message; in send_dlpi_co_stream() 702 struct strbuf recv_message; in recv_dlpi_co_stream() 1043 struct strbuf send_message; in send_dlpi_co_rr() 1044 struct strbuf recv_message; in send_dlpi_co_rr() 1625 struct strbuf send_message; in send_dlpi_cl_stream() 1626 struct strbuf sctl_message; in send_dlpi_cl_stream() 2069 struct strbuf recv_message; in recv_dlpi_cl_stream() 2070 struct strbuf rctl_message; in recv_dlpi_cl_stream() 2396 struct strbuf send_message; in send_dlpi_cl_rr() 2397 struct strbuf recv_message; in send_dlpi_cl_rr() [all …]
|
/external/ppp/pppd/ |
D | srp-entry.c | 105 char strbuf[MAXB64PARAMLEN]; in main() local 185 pwval.pebuf.index, t_tob64(strbuf, in main()
|
D | sys-solaris.c | 1336 struct strbuf data; 1449 struct strbuf ctrl, data; 2308 struct strbuf buf; 2322 struct strbuf buf; 2335 struct strbuf buf; 2644 struct strbuf cbuf, dbuf;
|
/external/libpcap/ |
D | pcap-dlpi.c | 237 static struct strbuf ctl = { 256 struct strbuf data; in pcap_read_dlpi() 1123 struct strbuf ctl; in send_request() 1131 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) { in send_request() 1144 struct strbuf ctl; in recv_ack() 1159 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) { in recv_ack() 1496 struct strbuf ctl, data; in dlrawdatareq() 1625 struct strbuf ctl; in get_dlpi_ppa() 1654 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) { in get_dlpi_ppa() 1685 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) { in get_dlpi_ppa()
|
/external/strace/ |
D | stream.c | 57 struct strbuf { struct 82 struct strbuf *sbp; argument 103 struct strbuf buf;
|