Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 18 of 18) sorted by relevance

/external/iproute2/tc/
Demp_ematch.l39 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/
DMultipartMimeContentImpl.java106 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/boringssl/src/crypto/asn1/
Da_mbstr.c101 char strbuf[32]; in ASN1_mbstring_ncopy() local
146 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); in ASN1_mbstring_ncopy()
147 ERR_add_error_data(2, "minsize=", strbuf); in ASN1_mbstring_ncopy()
153 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy()
154 ERR_add_error_data(2, "maxsize=", strbuf); in ASN1_mbstring_ncopy()
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c279 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 bin_clear_free(strbuf, 1 + 3 * slen); 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/harfbuzz_ng/src/
Dhb-common.cc306 char strbuf[64]; in hb_language_from_string() local
307 len = MIN (len, (int) sizeof (strbuf) - 1); in hb_language_from_string()
308 memcpy (strbuf, str, len); in hb_language_from_string()
309 strbuf[len] = '\0'; in hb_language_from_string()
310 item = lang_find_or_insert (strbuf); in hb_language_from_string()
/external/clang/test/CodeGen/
Dcompound.c17 void foo(char *strbuf) { in foo() argument
19 strbuf += stufflen; in foo()
/external/libpcap/
Dpcap-dlpi.c171 static struct strbuf ctl = {
189 struct strbuf data; in pcap_read_dlpi()
1009 struct strbuf ctl;
1017 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
1030 struct strbuf ctl;
1045 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) {
1385 struct strbuf ctl, data;
1494 struct strbuf ctl;
1523 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
1554 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
Dpcap-snit.c213 struct strbuf ctl, data; in pcap_inject_snit()
/external/netperf/src/
Dnettest_dlpi.c55 struct strbuf control_message = {DLPI_DATA_SIZE, 0, (char *)control_data};
217 struct strbuf data_message; in dl_connect()
393 struct strbuf send_message; in send_dlpi_co_stream()
942 struct strbuf recv_message; in recv_dlpi_co_stream()
1283 struct strbuf send_message; in send_dlpi_co_rr()
1284 struct strbuf recv_message; in send_dlpi_co_rr()
1865 struct strbuf send_message; in send_dlpi_cl_stream()
1866 struct strbuf sctl_message; in send_dlpi_cl_stream()
2309 struct strbuf recv_message; in recv_dlpi_cl_stream()
2310 struct strbuf rctl_message; in recv_dlpi_cl_stream()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DCharBuffer.java541 StringBuffer strbuf = new StringBuffer(); in toString() local
543 strbuf.append(get(i)); in toString()
545 return strbuf.toString(); in toString()
/external/ppp/pppd/
Dsrp-entry.c105 char strbuf[MAXB64PARAMLEN]; in main() local
185 pwval.pebuf.index, t_tob64(strbuf, in main()
Dsys-solaris.c1339 struct strbuf data;
1452 struct strbuf ctrl, data;
2311 struct strbuf buf;
2325 struct strbuf buf;
2338 struct strbuf buf;
2652 struct strbuf cbuf, dbuf;
/external/mksh/src/
Dvar.c379 char strbuf[1 + 2 + 1 + 8 * sizeof(mksh_uari_t) + 1]; in str_val() local
383 s = strbuf + sizeof(strbuf); in str_val()
395 *(s = strbuf) = '1'; in str_val()
/external/tcpdump/
Dconfigure7180 char strbuf[16+1];
7181 sprintf(strbuf, "%016lx", t << 32);
7182 if (strcmp(strbuf, "0000000100000000") == 0)
7234 char strbuf[16+1];
7235 sprintf(strbuf, "%016llx", t << 32);
7236 if (strcmp(strbuf, "0000000100000000") == 0)
7288 char strbuf[16+1];
7289 sprintf(strbuf, "%016Lx", t << 32);
7290 if (strcmp(strbuf, "0000000100000000") == 0)
7342 char strbuf[16+1];
[all …]
Daclocal.m4798 char strbuf[16+1];
799 sprintf(strbuf, "%016$1x", t << 32);
800 if (strcmp(strbuf, "0000000100000000") == 0)
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c2506 int, fd, struct strbuf *, ctrl, struct strbuf *, data, in PRE()
2543 int, fd, struct strbuf *, ctrl, struct strbuf *, data, in PRE()
/external/valgrind/include/vki/
Dvki-solaris.h1171 #define vki_strbuf strbuf
/external/clang/include/clang/Basic/
DAttrDocs.td223 strnlen(strbuf, maxlen) to resolve to strnlen_chk(strbuf, maxlen, size of
224 strbuf) only if the size of strbuf can be determined: