/external/qemu/slirp/ |
H A D | sbuf.h | 14 struct sbuf { struct 18 * bytes should be written in the sbuf */ 20 * byte should be read from the sbuf */ 24 void sbfree _P((struct sbuf *)); 25 void sbdrop _P((struct sbuf *, int)); 26 void sbreserve _P((struct sbuf *, int)); 28 void sbcopy _P((struct sbuf *, int, int, char *));
|
H A D | sbuf.c | 10 static void sbappendsb(struct sbuf *sb, struct mbuf *m); 21 sbfree(struct sbuf *sb) 27 sbdrop(struct sbuf *sb, int num) 43 sbreserve(struct sbuf *sb, int size) 132 sbappendsb(struct sbuf *sb, struct mbuf *m) 164 * Copy data from sbuf to a normal, straight buffer 165 * Don't update the sbuf rptr, this will be 169 sbcopy(struct sbuf *sb, int off, int len, char *to)
|
H A D | socket.h | 25 /* XXX union these with not-yet-used sbuf params */ 51 struct sbuf so_rcv; /* Receive buffer */ 52 struct sbuf so_snd; /* Send buffer */
|
H A D | slirp.c | 913 static void slirp_sbuf_save(QEMUFile *f, struct sbuf *sbuf) argument 917 qemu_put_be32(f, sbuf->sb_cc); 918 qemu_put_be32(f, sbuf->sb_datalen); 919 off = (uint32_t)(sbuf->sb_wptr - sbuf->sb_data); 921 off = (uint32_t)(sbuf->sb_rptr - sbuf->sb_data); 923 qemu_put_buffer(f, (unsigned char*)sbuf->sb_data, sbuf 1007 slirp_sbuf_load(QEMUFile *f, struct sbuf *sbuf) argument [all...] |
/external/qemu/slirp-android/ |
H A D | sbuf.h | 14 struct sbuf { struct 18 * bytes should be written in the sbuf */ 20 * byte should be read from the sbuf */ 24 void sbfree _P((struct sbuf *)); 25 void sbdrop _P((struct sbuf *, int)); 26 void sbreserve _P((struct sbuf *, int)); 28 void sbcopy _P((struct sbuf *, int, int, char *));
|
H A D | sbuf.c | 10 static void sbappendsb(struct sbuf *sb, struct mbuf *m); 21 sbfree(struct sbuf *sb) 27 sbdrop(struct sbuf *sb, int num) 43 sbreserve(struct sbuf *sb, int size) 132 sbappendsb(struct sbuf *sb, struct mbuf *m) 164 * Copy data from sbuf to a normal, straight buffer 165 * Don't update the sbuf rptr, this will be 169 sbcopy(struct sbuf *sb, int off, int len, char *to)
|
H A D | socket.h | 25 /* XXX union these with not-yet-used sbuf params */ 52 struct sbuf so_rcv; /* Receive buffer */ 53 struct sbuf so_snd; /* Send buffer */
|
/external/javassist/src/main/javassist/compiler/ast/ |
H A D | ASTree.java | 43 StringBuffer sbuf = new StringBuffer(); 44 sbuf.append('<'); 45 sbuf.append(getTag()); 46 sbuf.append('>'); 47 return sbuf.toString();
|
H A D | Pair.java | 35 StringBuffer sbuf = new StringBuffer(); 36 sbuf.append("(<Pair> "); 37 sbuf.append(left == null ? "<null>" : left.toString()); 38 sbuf.append(" . "); 39 sbuf.append(right == null ? "<null>" : right.toString()); 40 sbuf.append(')'); 41 return sbuf.toString();
|
H A D | ASTList.java | 73 StringBuffer sbuf = new StringBuffer(); 74 sbuf.append("(<"); 75 sbuf.append(getTag()); 76 sbuf.append('>'); 79 sbuf.append(' '); 81 sbuf.append(a == null ? "<null>" : a.toString()); 85 sbuf.append(')'); 86 return sbuf.toString();
|
H A D | Declarator.java | 106 StringBuffer sbuf = new StringBuffer(); 107 astToClassName(sbuf, name, sep); 108 return sbuf.toString(); 111 private static void astToClassName(StringBuffer sbuf, ASTList name, argument 116 sbuf.append(((Symbol)h).get()); 118 astToClassName(sbuf, (ASTList)h, sep); 124 sbuf.append(sep);
|
/external/iproute2/tc/ |
H A D | tc_red.h | 6 extern int tc_red_eval_idle_damping(int wlog, unsigned avpkt, unsigned bandwidth, __u8 *sbuf);
|
H A D | tc_red.c | 72 int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) argument 89 sbuf[0] = 0; 91 sbuf[i] = (i<<clog)*lW; 92 if (sbuf[i] > 31) 93 sbuf[i] = 31; 95 sbuf[255] = 31;
|
/external/javassist/src/main/javassist/util/proxy/ |
H A D | RuntimeSupport.java | 151 StringBuffer sbuf = new StringBuffer(); 152 sbuf.append('('); 154 makeDesc(sbuf, params[i]); 156 sbuf.append(')'); 157 makeDesc(sbuf, retType); 158 return sbuf.toString(); 161 private static void makeDesc(StringBuffer sbuf, Class type) { argument 163 sbuf.append('['); 164 makeDesc(sbuf, type.getComponentType()); 168 sbuf [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | SignatureAttribute.java | 210 StringBuffer sbuf = new StringBuffer(); 212 TypeParameter.toString(sbuf, params); 213 sbuf.append(" extends ").append(superClass); 215 sbuf.append(" implements "); 216 Type.toString(sbuf, interfaces); 219 return sbuf.toString(); 270 StringBuffer sbuf = new StringBuffer(); 272 TypeParameter.toString(sbuf, typeParams); 273 sbuf.append(" ("); 274 Type.toString(sbuf, param 344 toString(StringBuffer sbuf, TypeParameter[] tp) argument 413 toString(StringBuffer sbuf, Type[] ts) argument [all...] |
H A D | ParameterAnnotationsAttribute.java | 196 StringBuilder sbuf = new StringBuilder(); 202 sbuf.append(a[i++].toString()); 204 sbuf.append(" "); 208 sbuf.append(", "); 211 return sbuf.toString();
|
H A D | Descriptor.java | 112 StringBuffer sbuf = new StringBuffer(name); 114 sbuf.append("[]"); 117 return sbuf.toString(); 245 StringBuffer sbuf = new StringBuffer(); 246 toDescriptor(sbuf, type); 247 return sbuf.toString(); 584 StringBuffer sbuf = new StringBuffer(name); 586 sbuf.append("[]"); 588 name = sbuf.toString(); 742 StringBuffer sbuf 761 readType(StringBuffer sbuf, int pos, String desc) argument [all...] |
/external/chromium/base/ |
H A D | file_util_android.cc | 68 struct stat sbuf; local 113 rval = stat(path, &sbuf); 117 if (!S_ISDIR(sbuf.st_mode)) { 138 } else if (lstat(path, &sbuf))
|
/external/openssh/openbsd-compat/ |
H A D | mktemp.c | 80 struct stat sbuf; local 125 rval = stat(path, &sbuf); 129 if (!S_ISDIR(sbuf.st_mode)) { 150 } else if (lstat(path, &sbuf))
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
H A D | TypedBlock.java | 66 protected void toString2(StringBuffer sbuf) { argument 67 super.toString2(sbuf); 68 sbuf.append(",\n stack={"); 69 printTypes(sbuf, stackTop, stackTypes); 70 sbuf.append("}, locals={"); 71 printTypes(sbuf, numLocals, localsTypes); 72 sbuf.append("}, inputs={"); 75 sbuf.append(inputs[i] ? "1, " : "0, "); 77 sbuf.append('}'); 80 private void printTypes(StringBuffer sbuf, in argument [all...] |
H A D | BasicBlock.java | 65 StringBuffer sbuf = new StringBuffer(); 68 sbuf.append(i < 0 ? cname : cname.substring(i + 1)); 69 sbuf.append("["); 70 toString2(sbuf); 71 sbuf.append("]"); 72 return sbuf.toString(); 75 protected void toString2(StringBuffer sbuf) { argument 76 sbuf.append("pos=").append(position).append(", len=") 81 sbuf.append(exit[i].position).append(", "); 84 sbuf [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefResultChecker.cpp | 50 SmallString<256> sbuf; local 51 llvm::raw_svector_ostream OS(sbuf);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
H A D | filecap.c | 91 struct stat sbuf; 111 if (lstat(argv[i], &sbuf) != 0) { 119 if (S_ISREG(sbuf.st_mode) && path == NULL && 123 } else if (S_ISDIR(sbuf.st_mode) && path == NULL 169 check_file(path, &sbuf, 0, NULL);
|
/external/oprofile/daemon/ |
H A D | init.c | 52 static char * sbuf; variable 325 sbuf = xmalloc(s_buf_bytesize); 358 opd_do_read(sbuf, s_buf_bytesize); 367 free(sbuf);
|
/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/ |
H A D | SDL_dlcompat.c | 236 static struct dlstatus *lookupStatus(const struct stat *sbuf); 237 static void insertStatus(struct dlstatus *dls, const struct stat *sbuf); 242 static struct dlstatus *loadModule(const char *path, const struct stat *sbuf, int mode); 447 static struct stat sbuf; local 451 if (0 == stat(file, &sbuf)) 452 return &sbuf; 460 if (0 == stat(*fullPath, &sbuf)) 461 return &sbuf; 488 static struct dlstatus *lookupStatus(const struct stat *sbuf) argument 493 || sbuf 498 insertStatus(struct dlstatus *dls, const struct stat *sbuf) argument 772 loadModule(const char *path, const struct stat *sbuf, int mode) argument 968 const struct stat *sbuf; local [all...] |