| /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;
|
| /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);
|
| /external/swiftshader/third_party/subzero/src/ |
| PNaClTranslator.cpp | 270 raw_string_ostream StrBuf(Buffer); 271 StrBuf << "Can't define more than " << NaClBcIndexSize_t_Max 273 blockError(StrBuf.str()); 414 raw_string_ostream StrBuf(Buffer); 415 StrBuf << Prefix << " alignment greater than 2**" << AlignPowerLimit 417 Parser->Error(StrBuf.str()); 535 raw_string_ostream StrBuf(Buffer); 536 StrBuf << Kind << " " << Decl.getName() 539 StrBuf << "\n Use flag -allow-externally-defined-symbols to override"; 540 Error(StrBuf.str()) [all...] |
| IceGlobalInits.cpp | 43 llvm::raw_string_ostream StrBuf(Buffer); 44 StrBuf << "Unknown linkage value: " << Linkage; 45 llvm::report_fatal_error(StrBuf.str()); 54 llvm::raw_string_ostream StrBuf(Buffer); 55 StrBuf << "Unknown calling convention: " << CallingConv; 56 llvm::report_fatal_error(StrBuf.str()); 98 llvm::raw_string_ostream StrBuf(Buffer); 99 StrBuf << "Invalid"; 104 StrBuf << " intrinsic name: " << getName(); 105 return StrBuf.str() [all...] |
| IceTranslator.cpp | 36 llvm::raw_string_ostream StrBuf(Buffer); 37 StrBuf << Prefix << Index; 38 return StrBuf.str();
|
| IceBrowserCompileServer.h | 86 StringStream() : StrBuf(Buffer) {} 87 const std::string &getContents() { return StrBuf.str(); } 88 Ostream &getStream() { return StrBuf; } 92 llvm::raw_string_ostream StrBuf;
|
| IceConverter.cpp | 619 raw_string_ostream StrBuf(Buffer); 620 StrBuf << "Intrinsic call expects return type " << I->getReturnType() 622 report_fatal_error(StrBuf.str()); 627 raw_string_ostream StrBuf(Buffer); 628 StrBuf << "Intrinsic call expects " << I->getNumArgs() 630 report_fatal_error(StrBuf.str()); 635 raw_string_ostream StrBuf(Buffer); 636 StrBuf << "Intrinsic call argument " << ArgIndex << " expects type " 639 report_fatal_error(StrBuf.str()); 697 raw_string_ostream StrBuf(Buffer) [all...] |
| IceBrowserCompileServer.cpp | 120 llvm::raw_string_ostream StrBuf(Buffer); 121 StrBuf << "Invalid number of FDs for onInitCallback " << ObjFileFDCount 123 return strdup(StrBuf.str().c_str()); 128 llvm::raw_string_ostream StrBuf(Buffer); 129 StrBuf << "Invalid FD given for onInitCallback " << ObjFileFD << "\n"; 130 return strdup(StrBuf.str().c_str());
|
| /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/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/swiftshader/third_party/subzero/pnacl-llvm/ |
| NaClBitstreamReader.cpp | 51 raw_string_ostream StrBuf(Buffer); 52 naclbitc::ErrorAt(StrBuf, naclbitc::Fatal, 54 report_fatal_error(StrBuf.str()); 59 raw_string_ostream StrBuf(Buffer); 60 StrBuf << "Invalid abbreviation # " << AbbrevNo << " defined for record"; 61 ErrHandler->Fatal(StrBuf.str()); 66 raw_string_ostream StrBuf(Buffer); 67 StrBuf << "Invalid jump to bit " << BitNo; 68 ErrHandler->Fatal(StrBuf.str()); 249 raw_string_ostream StrBuf(Buffer) [all...] |
| NaClBitCodes.cpp | 41 raw_string_ostream StrBuf(Buffer); 42 StrBuf << "Invalid NaClBitCodeAbbrevOp(" << E << ", " << Data << ")"; 43 report_fatal_error(StrBuf.str());
|
| /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/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...] |
| /external/kmod/ |
| Android.bp | 15 "shared/strbuf.c",
|
| /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/swiftshader/third_party/subzero/runtime/ |
| wasm-runtime.cpp | 80 /// StrBuf is returned by functions that return strings. 81 char StrBuf[256]; 270 strncpy(GlobalData->StrBuf, CTime, sizeof(GlobalData->StrBuf)); 271 GlobalData->StrBuf[sizeof(GlobalData->StrBuf) - 1] = '\0'; 272 return trace(WasmPtr<char>(GlobalData->StrBuf).asInt());
|
| /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/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/libs/binder/include/binder/ |
| TextOutput.h | 71 std::stringstream strbuf; local 72 strbuf << val; 73 std::string str = strbuf.str();
|
| /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...] |