/external/kmod/shared/ |
D | strbuf.h | 8 struct strbuf { struct 14 void strbuf_init(struct strbuf *buf); argument 15 void strbuf_release(struct strbuf *buf); 16 void strbuf_clear(struct strbuf *buf); 19 char *strbuf_steal(struct strbuf *buf); 25 const char *strbuf_str(struct strbuf *buf); 27 bool strbuf_pushchar(struct strbuf *buf, char ch); 28 unsigned strbuf_pushchars(struct strbuf *buf, const char *str); 29 void strbuf_popchar(struct strbuf *buf); 30 void strbuf_popchars(struct strbuf *buf, unsigned n);
|
D | strbuf.c | 31 static bool buf_grow(struct strbuf *buf, size_t newsize) in buf_grow() 52 void strbuf_init(struct strbuf *buf) in strbuf_init() 59 void strbuf_release(struct strbuf *buf) in strbuf_release() 64 char *strbuf_steal(struct strbuf *buf) in strbuf_steal() 77 const char *strbuf_str(struct strbuf *buf) in strbuf_str() 85 bool strbuf_pushchar(struct strbuf *buf, char ch) in strbuf_pushchar() 94 unsigned strbuf_pushchars(struct strbuf *buf, const char *str) in strbuf_pushchars() 112 void strbuf_popchar(struct strbuf *buf) in strbuf_popchar() 118 void strbuf_popchars(struct strbuf *buf, unsigned n) in strbuf_popchars() 124 void strbuf_clear(struct strbuf *buf) in strbuf_clear()
|
/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/dtc/ |
D | flattree.c | 251 void *etarget, struct data *strbuf, in flatten_tree() argument 276 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree() 292 emit->cell(etarget, stringtable_insert(strbuf, "name")); in flatten_tree() 302 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree() 367 struct data strbuf = empty_data; in dt_to_blob() local 378 flatten_tree(dti->dt, &bin_emitter, &dtbuf, &strbuf, vi); in dt_to_blob() 384 make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len, in dt_to_blob() 424 blob = data_merge(blob, strbuf); in dt_to_blob() 447 static void dump_stringtable_asm(FILE *f, struct data strbuf) in dump_stringtable_asm() argument 452 p = strbuf.val; in dump_stringtable_asm() [all …]
|
/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/boringssl/src/crypto/asn1/ |
D | a_mbstr.c | 104 char strbuf[32]; in ASN1_mbstring_ncopy() local 151 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); in ASN1_mbstring_ncopy() 152 ERR_add_error_data(2, "minsize=", strbuf); in ASN1_mbstring_ncopy() 158 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy() 159 ERR_add_error_data(2, "maxsize=", strbuf); in ASN1_mbstring_ncopy()
|
/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 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/kmod/libkmod/ |
D | libkmod-index.c | 210 static unsigned buf_freadchars(struct strbuf *buf, FILE *in) in buf_freadchars() 249 struct strbuf buf; in index_read() 278 struct strbuf buf; in index_read() 365 static void index_dump_node(struct index_node_f *node, struct strbuf *buf, in index_dump_node() 398 struct strbuf buf; in index_dump() 485 struct strbuf *buf, in index_searchwild__all() 525 struct strbuf *buf, in index_searchwild__node() 593 struct strbuf buf; in index_searchwild() 837 static void index_mm_dump_node(struct index_mm_node *node, struct strbuf *buf, in index_mm_dump_node() 872 struct strbuf buf; in index_mm_dump() [all …]
|
/external/kmod/testsuite/ |
D | .gitignore | 6 /test-strbuf 26 /test-strbuf.log 27 /test-strbuf.trs
|
D | test-strbuf.c | 35 struct strbuf buf; in test_strbuf_pushchar() 62 struct strbuf buf; in test_strbuf_pushchars()
|
/external/clang/test/CodeGen/ |
D | compound.c | 17 void foo(char *strbuf) { in foo() argument 19 strbuf += stufflen; in foo()
|
/external/libpcap/ |
D | pcap-dlpi.c | 184 struct strbuf ctl = { in pcap_read_dlpi() 189 struct strbuf data; in pcap_read_dlpi() 1082 struct strbuf ctl; 1090 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) { 1103 struct strbuf ctl; 1120 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) { 1458 struct strbuf ctl, data; 1568 struct strbuf ctl; 1597 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) { 1628 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
|
D | pcap-snit.c | 213 struct strbuf ctl, data; in pcap_inject_snit()
|
/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 | 1339 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/harfbuzz_ng/src/ |
D | hb-common.cc | 325 char strbuf[64]; in hb_language_from_string() local 326 len = MIN (len, (int) sizeof (strbuf) - 1); in hb_language_from_string() 327 memcpy (strbuf, str, len); in hb_language_from_string() 328 strbuf[len] = '\0'; in hb_language_from_string() 329 item = lang_find_or_insert (strbuf); in hb_language_from_string()
|
/external/kmod/ |
D | Android.bp | 15 "shared/strbuf.c",
|
/external/tcpdump/ |
D | configure | 6722 char strbuf[16+1]; 6723 sprintf(strbuf, "%016lx", t << 32); 6724 if (strcmp(strbuf, "0000000100000000") == 0) 6776 char strbuf[16+1]; 6777 sprintf(strbuf, "%016llx", t << 32); 6778 if (strcmp(strbuf, "0000000100000000") == 0) 6830 char strbuf[16+1]; 6831 sprintf(strbuf, "%016Lx", t << 32); 6832 if (strcmp(strbuf, "0000000100000000") == 0) 6884 char strbuf[16+1]; [all …]
|
D | aclocal.m4 | 839 char strbuf[16+1]; 840 sprintf(strbuf, "%016$1x", t << 32); 841 if (strcmp(strbuf, "0000000100000000") == 0)
|
/external/mksh/src/ |
D | var.c | 399 char strbuf[1 + 2 + 1 + 8 * sizeof(mksh_uari_t) + 1]; in str_val() local 403 s = strbuf + sizeof(strbuf); in str_val() 415 *(s = strbuf) = '1'; in str_val()
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 1355 char strbuf[1024]; in FSSpec_as_pathname() local 1360 err = _PyMac_GetFullPathname(&_self->ob_itself, strbuf, sizeof(strbuf)); in FSSpec_as_pathname() 1365 _res = PyString_FromString(strbuf); in FSSpec_as_pathname()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-generic.c | 2514 int, fd, struct strbuf *, ctrl, struct strbuf *, data, in PRE() 2551 int, fd, struct strbuf *, ctrl, struct strbuf *, data, in PRE()
|
/external/valgrind/include/vki/ |
D | vki-solaris.h | 1239 #define vki_strbuf strbuf
|
/external/libusb/libusb/os/ |
D | windows_winusb.c | 1296 char strbuf[MAX_PATH_LENGTH]; in windows_get_device_list() local 1420 size = sizeof(strbuf); in windows_get_device_list() 1422 ®_type, (BYTE *)strbuf, size, &size)) { in windows_get_device_list()
|
/external/clang/include/clang/Basic/ |
D | AttrDocs.td | 223 strnlen(strbuf, maxlen) to resolve to strnlen_chk(strbuf, maxlen, size of 224 strbuf) only if the size of strbuf can be determined:
|