/prebuilts/go/linux-x86/src/go/types/ |
methodset.go | 22 func (s *MethodSet) String() string { 33 return buf.String() 43 func (s *MethodSet) Lookup(pkg *Package, name string) *Selection { 202 type fieldSet map[string]*Var // a nil entry indicates a name collision 226 type methodSet map[string]*Selection // a nil entry indicates a name collision
|
package.go | 14 path string 15 name string 25 func NewPackage(path, name string) *Package { 34 func (pkg *Package) Path() string { return pkg.path } 37 func (pkg *Package) Name() string { return pkg.name } 40 func (pkg *Package) SetName(name string) { pkg.name = name } 66 func (pkg *Package) String() string {
|
selection.go | 108 func (s *Selection) String() string { return SelectionString(s, nil) } 110 // SelectionString returns the string form of s. 119 func SelectionString(s *Selection, qf Qualifier) string { 120 var k string 142 return buf.String()
|
/prebuilts/go/linux-x86/src/image/jpeg/ |
dct_test.go | 183 func (b *block) String() string { 194 return s.String()
|
/prebuilts/go/linux-x86/src/math/big/ |
decimal.go | 160 func (x *decimal) String() string { 185 return string(buf)
|
ftoa.go | 5 // This file implements Float-to-string conversion functions. 17 // Text converts the floating-point number x to a string according 43 func (x *Float) Text(format byte, prec int) string { 48 return string(x.Append(make([]byte, 0, cap), format, prec)) 51 // String formats x like x.Text('g', 10). 52 // (String must be called explicitly, Float.Format does not support %s verb.) 53 func (x *Float) String() string { 57 // Append appends to buf the string form of the floating-point number x, 305 // fmtB appends the string of x in the format mantissa "p" exponen [all...] |
hilbert_test.go | 125 func (a *matrix) String() string {
|
intconv.go | 5 // This file implements int-to-string conversion functions. 19 // string copy if the number is negative. 21 // Text returns the string representation of x in the given base. 24 // prefix (such as "0x") is added to the string. 25 func (x *Int) Text(base int) string { 29 return string(x.abs.itoa(x.neg, base)) 32 // Append appends the string representation of x, as generated by 41 func (x *Int) String() string { 46 func writeMultiple(s fmt.State, text string, count int) [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
triv.go | 39 func (ctr *Counter) String() string { 54 body := buf.String() 72 if f.Value.String() != f.DefValue { 73 fmt.Fprintf(w, "%s = %s [default = %s]\n", f.Name, f.Value.String(), f.DefValue) 75 fmt.Fprintf(w, "%s = %s\n", f.Name, f.Value.String()) 121 var webroot = flag.String("root", os.Getenv("HOME"), "web root directory")
|
/prebuilts/go/linux-x86/src/net/ |
pipe.go | 32 func (pipeAddr) Network() string { 36 func (pipeAddr) String() string {
|
/prebuilts/go/linux-x86/src/os/ |
exec_posix.go | 21 func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { 84 func (p *ProcessState) String() string { 94 res = "signal: " + status.Signal().String() 96 res = "stop signal: " + status.StopSignal().String()
|
/prebuilts/go/linux-x86/src/sort/ |
example_wrapper_test.go | 14 func (g Grams) String() string { return fmt.Sprintf("%dg", int(g)) } 17 Name string
|
/prebuilts/go/linux-x86/src/text/tabwriter/ |
tabwriter_test.go | 35 func (b *buffer) String() string { return string(b.a) } 37 func write(t *testing.T, testname string, w *Writer, src string) { 47 func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) { 53 res := b.String() 59 func check(t *testing.T, testname string, minwidth, tabwidth, padding int, padchar byte, flags uint, src, expected string) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
TestLogger.java | 31 public void error(Throwable t, String errorFormat, Object... args) { 32 String message = String.format(errorFormat, args); 40 public void info(String msgFormat, Object... args) { 41 System.out.println(String.format(msgFormat, args)); 45 public void verbose(String msgFormat, Object... args) { 50 public void warning(String warningFormat, Object... args) { 51 System.err.println(String.format(warningFormat, args));
|
/external/libmojo/base/android/linker/ |
linker_jni.h | 63 // A simple scoped UTF String class that can be initialized from 64 // a Java jstring handle. Modeled like std::string, which cannot 66 class String { 68 String(JNIEnv* env, jstring str); 70 inline ~String() { ::free(ptr_); }
|
linker_jni.cc | 20 #include <string.h> 30 // Simple scoped UTF String class constructor. 31 String::String(JNIEnv* env, jstring str) {
|
/build/blueprint/ |
ninja_defs.go | 35 func (d Deps) String() string { 51 Comment string // The comment that will appear above the definition. 59 Command string // The command that Ninja will run for the rule. 60 Depfile string // The dependency file name. 62 Description string // The description that Ninja will print for the rule. 66 Rspfile string // The response file. 67 RspfileContent string // The response file content. 70 CommandDeps []string // Command-specific implicit dependencies to prepend to builds 71 Comment string // The comment that will appear above the definition [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
ResultProcessorCreatorTest.java | 36 public static final String NOT_SUPPORTED = 45 assertEquals(String.format(NOT_SUPPORTED, NoPublicConstructorResultProcessor.class), 72 String.format(NOT_SUPPORTED, PublicButNotDefaultDefaultConstructorResultProcessor.class),
|
/external/clang/tools/scan-build/share/scan-build/ |
sorttable.js | 466 String.forEach = function(string, block, context) { 467 Array.forEach(string.split(""), function(chr, index) { 468 block.call(context, chr, index, string); 483 } else if (typeof object == "string") { 484 // the object is a string 485 resolve = String;
|
/external/clang/tools/scan-build-py/libscanbuild/resources/ |
sorttable.js | 466 String.forEach = function(string, block, context) { 467 Array.forEach(string.split(""), function(chr, index) { 468 block.call(context, chr, index, string); 483 } else if (typeof object == "string") { 484 // the object is a string 485 resolve = String;
|
/external/google-breakpad/src/processor/ |
synth_minidump.cc | 57 const String &csd_version) 112 const string SystemInfo::windows_x86_csd_version = "Service Pack 2"; 114 String::String(const Dump &dump, const string &contents) : Section(dump) { 116 for (string::const_iterator i = contents.begin(); i != contents.end(); i++) 120 void String::CiteStringIn(test_assembler::Section *section) const { 251 const String &name,
|
/external/guava/guava-tests/test/com/google/common/escape/ |
ArrayBasedEscaperMapTest.java | 41 Map<Character, String> map = ImmutableMap.of(); 48 Map<Character, String> map = ImmutableMap.of( 57 Map<Character, String> map = ImmutableMap.of( 73 assertEquals(map.get(c), new String(replacementArray[n]));
|
/external/llvm/lib/DebugInfo/DWARF/ |
SyntaxHighlighting.h | 20 enum HighlightColor { Address, String, Tag, Attribute, Enumerator, Macro }; 28 /// To be used like this: WithColor(OS, syntax::String) << "text";
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PasvCommandHandler.java | 67 String hostAndPort = "(" + convertHostAndPortToStringOfBytes(server, port) + ")";
74 * suitable for the response String from the PASV command.
79 static String convertHostAndPortToStringOfBytes(InetAddress host, int port) {
89 buffer.append(String.valueOf(p1));
91 buffer.append(String.valueOf(p2));
|
/external/smali/util/src/main/java/org/jf/util/ |
ExceptionWithContext.java | 48 public static ExceptionWithContext withContext(Throwable ex, String str, Object... formatArgs) { 57 ewc.addContext(String.format(str, formatArgs)); 66 public ExceptionWithContext(String message, Object... formatArgs) { 85 public ExceptionWithContext(Throwable cause, String message, Object... formatArgs) { 91 String ctx = ((ExceptionWithContext) cause).context.toString(); 99 private static String formatMessage(String message, Object... formatArgs) { 103 return String.format(message, formatArgs); 125 public void addContext(String str) { 141 public String getContext() [all...] |