/external/kmod/shared/ |
strbuf.h | 8 struct strbuf { struct 14 void strbuf_init(struct strbuf *buf); 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) [all...] |
strbuf.c | 27 #include "strbuf.h" 31 static bool buf_grow(struct strbuf *buf, size_t newsize) 52 void strbuf_init(struct strbuf *buf) 59 void strbuf_release(struct strbuf *buf) 64 char *strbuf_steal(struct strbuf *buf) 77 const char *strbuf_str(struct strbuf *buf) 85 bool strbuf_pushchar(struct strbuf *buf, char ch) 94 unsigned strbuf_pushchars(struct strbuf *buf, const char *str) 112 void strbuf_popchar(struct strbuf *buf) 118 void strbuf_popchars(struct strbuf *buf, unsigned n [all...] |
/external/clang/test/CodeGen/ |
compound.c | 17 void foo(char *strbuf) { 19 strbuf += stufflen;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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.15-4.8/sysroot/usr/include/i386-linux-gnu/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.15-4.8/sysroot/usr/include/x86_64-linux-gnu/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/kmod/testsuite/ |
test-strbuf.c | 25 #include <shared/strbuf.h> 31 "this is a very long test that is longer than the size we initially se in the strbuf"; 35 struct strbuf buf; 62 struct strbuf buf;
|
/external/boringssl/src/crypto/asn1/ |
a_mbstr.c | 104 char strbuf[32]; local 151 BIO_snprintf(strbuf, sizeof strbuf, "%ld", minsize); 152 ERR_add_error_data(2, "minsize=", strbuf); 158 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); 159 ERR_add_error_data(2, "maxsize=", strbuf);
|
/external/dtc/ |
flattree.c | 251 void *etarget, struct data *strbuf, 276 nameoff = stringtable_insert(strbuf, prop->name); 292 emit->cell(etarget, stringtable_insert(strbuf, "name")); 302 flatten_tree(child, emit, etarget, strbuf, vi); 367 struct data strbuf = empty_data; local 378 flatten_tree(dti->dt, &bin_emitter, &dtbuf, &strbuf, vi); 384 make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len, 424 blob = data_merge(blob, strbuf); 447 static void dump_stringtable_asm(FILE *f, struct data strbuf) 452 p = strbuf.val 465 struct data strbuf = empty_data; local 820 struct inbuf dtbuf, strbuf; local [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 bin_clear_free(strbuf, 1 + 3 * slen); 317 char *strbuf = NULL; 324 strbuf = os_malloc(1 + 3 * len); 325 if (strbuf == NULL) { 332 os_snprintf(&strbuf[i * 3], 4, " %02x" [all...] |
/frameworks/native/libs/binder/include/binder/ |
TextOutput.h | 71 std::stringstream strbuf; local 72 strbuf << val; 73 std::string str = strbuf.str();
|
/system/libhwbinder/include/hwbinder/ |
TextOutput.h | 72 std::stringstream strbuf; local 73 strbuf << val; 74 std::string str = strbuf.str();
|
/external/kmod/libkmod/ |
libkmod-index.c | 30 #include <shared/strbuf.h> 210 static unsigned buf_freadchars(struct strbuf *buf, FILE *in) 249 struct strbuf buf; 278 struct strbuf buf; 365 static void index_dump_node(struct index_node_f *node, struct strbuf *buf, 398 struct strbuf buf; 485 struct strbuf *buf, 525 struct strbuf *buf, 593 struct strbuf buf; 837 static void index_mm_dump_node(struct index_mm_node *node, struct strbuf *buf [all...] |
/frameworks/native/vulkan/tools/ |
vkinfo.cpp | 491 std::ostringstream strbuf; local 505 strbuf << "DEVICE_LOCAL"; 509 info.memory.memoryHeaps[heap].size, strbuf.str().c_str()); 510 strbuf.str(std::string()); 518 strbuf << " DEVICE_LOCAL"; 520 strbuf << " HOST_VISIBLE"; 522 strbuf << " COHERENT"; 524 strbuf << " CACHED"; 526 strbuf << " LAZILY_ALLOCATED"; 528 strbuf.str().c_str()) 569 std::ostringstream strbuf; local [all...] |
/external/harfbuzz_ng/src/ |
hb-common.cc | 325 char strbuf[64]; local 326 len = MIN (len, (int) sizeof (strbuf) - 1); 327 memcpy (strbuf, str, len); 328 strbuf[len] = '\0'; 329 item = lang_find_or_insert (strbuf);
|
/external/libpcap/ |
pcap-dlpi.c | 184 struct strbuf ctl = { 189 struct strbuf data; 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) { [all...] |
pcap-snit.c | 213 struct strbuf ctl, data;
|
/external/ppp/pppd/ |
srp-entry.c | 105 char strbuf[MAXB64PARAMLEN]; local 185 pwval.pebuf.index, t_tob64(strbuf,
|
sys-solaris.c | [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
BearerData.java | 1268 StringBuffer strbuf = new StringBuffer(dataLen); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/link/internal/loadmacho/ |
ldmacho.go | 381 strbuf := make([]byte, symtab.strsize) 385 if _, err := io.ReadFull(m.f, strbuf); err != nil { 409 s.name = cstring(strbuf[v:]) 421 symtab.str = strbuf
|
/prebuilts/go/linux-x86/src/cmd/link/internal/loadmacho/ |
ldmacho.go | 381 strbuf := make([]byte, symtab.strsize) 385 if _, err := io.ReadFull(m.f, strbuf); err != nil { 409 s.name = cstring(strbuf[v:]) 421 symtab.str = strbuf
|
/external/mksh/src/ |
var.c | 399 char strbuf[1 + 2 + 1 + 8 * sizeof(mksh_uari_t) + 1]; local 403 s = strbuf + sizeof(strbuf); 415 *(s = strbuf) = '1'; [all...] |