/prebuilts/go/linux-x86/src/go/types/ |
package.go | 14 path string 15 name string 24 func NewPackage(path, name string) *Package { 30 func (pkg *Package) Path() string { return pkg.path } 33 func (pkg *Package) Name() string { return pkg.name } 36 func (pkg *Package) SetName(name string) { pkg.name = name } 62 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. 15 // Text returns the string representation of x in the given base. 19 // No prefix (such as "0x") is added to the string. 20 func (x *Int) Text(base int) string { 24 return string(x.abs.itoa(x.neg, base)) 27 // Append appends the string representation of x, as generated by 36 func (x *Int) String() string { 41 func writeMultiple(s fmt.State, text string, count int) { 77 fmt.Fprintf(s, "%%!%c(big.Int=%s)", ch, x.String()) [all...] |
ratconv.go | 5 // This file implements rat-to-string conversion functions. 34 if _, ok := z.SetString(string(tok)); !ok { 42 // optionally followed by an exponent. The entire string (not just a prefix) 45 func (z *Rat) SetString(s string) (*Rat, bool) { 61 // entire string must have been consumed 199 exp, err = strconv.ParseInt(string(digits), 10, 64) 203 // String returns a string representation of x in the form "a/b" (even if b == 1). 204 func (x *Rat) String() string { [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/os/ |
exec_posix.go | 22 func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { 85 func (p *ProcessState) String() string { 95 res = "signal: " + status.Signal().String() 97 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/strings/ |
builder.go | 12 // A Builder is used to efficiently build a string using Write methods. 45 // String returns the accumulated string. 46 func (b *Builder) String() string { 47 return *(*string)(unsafe.Pointer(&b.buf)) 50 // Len returns the number of accumulated bytes; b.Len() == len(b.String()). 115 func (b *Builder) WriteString(s string) (int, error) {
|
/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...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/cryptobyte/ |
string.go | 9 // The String type is for parsing. It wraps a []byte slice and provides helper 16 // See the documentation and examples for the Builder and String types to get 20 // String represents a string of bytes. It provides methods for parsing 22 type String []byte 24 // read advances a String by n bytes and returns them. If less than n bytes 26 func (s *String) read(n int) []byte { 35 // Skip advances the String by n byte and reports whether it was successful. 36 func (s *String) Skip(n int) bool { 42 func (s *String) ReadUint8(out *uint8) bool [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));
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
VerifyLog.java | 33 void log(@Nonnull String message); 41 ImmutableList<String> getLogs(); 49 * @param args arguments for formatting {@code message} using {@code String.format} 51 default void verify(boolean condition, @Nonnull String message, @Nonnull Object... args) { 53 log(String.format(message, 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_); }
|
/build/blueprint/ |
name_interface.go | 22 // This file exposes the logic of locating a module via a query string, to enable 25 // just treats the query string as a module name, and does a simple map lookup. 33 func (h *ModuleGroup) String() string { 58 ModuleFromName(moduleName string, namespace Namespace) (group ModuleGroup, found bool) 62 MissingDependencyError(depender string, dependerNamespace Namespace, depName string) (err error) 65 Rename(oldName string, newName string, namespace Namespace) []error 73 // returns a deterministic, unique, arbitrary string for the given name in the given namespac [all...] |
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 CommandOrderOnly []string // Command-specific order-only dependencies to prepend to build [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/golang-protobuf/ptypes/wrappers/ |
wrappers.pb.go | 47 func (m *DoubleValue) String() string { return proto.CompactTextString(m) } 50 func (*DoubleValue) XXX_WellKnownType() string { return "DoubleValue" } 68 func (m *FloatValue) String() string { return proto.CompactTextString(m) } 71 func (*FloatValue) XXX_WellKnownType() string { return "FloatValue" } 82 // The JSON representation for `Int64Value` is JSON string. 89 func (m *Int64Value) String() string { return proto.CompactTextString(m) } 92 func (*Int64Value) XXX_WellKnownType() string { return "Int64Value" [all...] |
/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]));
|