/prebuilts/go/linux-x86/src/crypto/x509/pkix/ |
pkix.go | 26 var attributeTypeNames = map[string]string{ 38 // String returns a string representation of the sequence r, 40 func (r RDNSequence) String() string { 52 oidString := tv.Type.String() 88 s += typeName + "=" + string(escaped) 124 Country, Organization, OrganizationalUnit []string 125 Locality, Province []string [all...] |
/prebuilts/go/linux-x86/src/flag/ |
flag_test.go | 20 func boolString(s string) string { 34 String("test_string", "0", "string value") 38 m := make(map[string]*Flag) 45 case f.Value.String() == desired: 47 case f.Name == "test_bool" && f.Value.String() == boolString(desired): 49 case f.Name == "test_duration" && f.Value.String() == desired+"s": 53 t.Error("Visit: bad value", f.Value.String(), "for", f.Name) 64 m = make(map[string]*Flag [all...] |
/prebuilts/go/linux-x86/src/go/ast/ |
commentmap.go | 281 func summary(list []*CommentGroup) string { 314 return string(bytes) 317 func (cmap CommentMap) String() string { 322 var s string 331 return buf.String()
|
/prebuilts/go/linux-x86/src/go/doc/testdata/ |
benchmark.go | 15 var matchBenchmarks = flag.String("test.bench", "", "regular expression to select benchmarks to run") 21 Name string 195 func (r BenchmarkResult) String() string { 217 func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark) {
|
/prebuilts/go/linux-x86/src/go/types/ |
api.go | 44 Msg string // error message 48 // Error returns an error string formatted as follows: 50 func (err Error) Error() string { 63 Import(path string) (*Package, error) 89 ImportFrom(path, dir string, mode ImportMode) (*Package, error) 325 func (init *Initializer) String() string { 335 return buf.String() 349 func (conf *Config) Check(path string, fset *token.FileSet, files []*ast.File, info *Info) (*Package, error) {
|
/prebuilts/go/linux-x86/src/image/ |
geom.go | 17 // String returns a string representation of p like "(3,4)". 18 func (p Point) String() string { 89 // String returns a string representation of r like "(3,4)-(6,5)". 90 func (r Rectangle) String() string { 91 return r.Min.String() + "-" + r.Max.String() [all...] |
ycbcr.go | 23 func (s YCbCrSubsampleRatio) String() string {
|
/prebuilts/go/linux-x86/src/io/ |
pipe_test.go | 37 } else if n != 12 || string(buf[0:12]) != "hello, world" { 157 func (p pipeTest) String() string { 303 var result string 308 result = string(buf[0:n]) 372 got := string(buf) 409 if string(got) != string(want) {
|
/prebuilts/go/linux-x86/src/net/ |
interface.go | 33 Name string // e.g., "en0", "lo0", "eth0.100" 48 var flagNames = []string{ 56 func (f Flags) String() string { 153 func InterfaceByName(name string) (*Interface, error) { 181 toIndex map[string]int // interface name to its index 182 toName map[int]string // interface index to its name 186 toIndex: make(map[string]int), 187 toName: make(map[int]string), 204 zc.toIndex = make(map[string]int, len(ift) [all...] |
pipe.go | 83 func (timeoutError) Error() string { return "deadline exceeded" } 89 func (pipeAddr) Network() string { return "pipe" } 90 func (pipeAddr) String() string { return "pipe" }
|
tcpsock.go | 22 Zone string // IPv6 scoped addressing zone 26 func (a *TCPAddr) Network() string { return "tcp" } 28 func (a *TCPAddr) String() string { 68 func ResolveTCPAddr(network, address string) (*TCPAddr, error) { 206 func DialTCP(network string, laddr, raddr *TCPAddr) (*TCPConn, error) { 322 func ListenTCP(network string, laddr *TCPAddr) (*TCPListener, error) {
|
/prebuilts/go/linux-x86/src/net/internal/socktest/ |
switch.go | 79 func (so Status) String() string { 102 func (st Stat) String() string {
|
/prebuilts/go/linux-x86/src/os/ |
types.go | 22 Name() string // base name of the file 44 // used by the String method's formatting. 64 func (m FileMode) String() string { 87 return string(buf[:w]) 107 func (fs *fileStat) Name() string { return fs.name }
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo.go | 19 name string 39 name string // abbreviated name, "CET" 84 // String returns a descriptive name for the time zone information, 86 func (l *Location) String() string { 92 func FixedZone(name string, offset int) *Location { 111 func (l *Location) lookup(sec int64) (name string, offset int, isDST bool, start, end int64) { 226 func (l *Location) lookupName(name string, unix int64) (offset int, ok bool) { 262 var zoneinfo *string 279 func LoadLocation(name string) (*Location, error) [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/bidi/ |
bidi.go | 91 func (p *Paragraph) SetString(s string, opts ...Option) (n int, err error) { 160 // String returns the text of the run in its original order. 161 func (r *Run) String() string { 193 // ReverseString reverses the order of characters in s and returns a new string. 196 func ReverseString(s string) string {
|
bracket.go | 58 func (b *bracketPair) String() string { 71 // For each rune, it takes the indexes into the original string, the class the 120 indexes []int // array of index values into the original string
|
/prebuilts/go/linux-x86/test/ |
named.go | 19 type String string 30 func asString(String) {} 45 func isString(x interface{}) { _ = x.(String) } 56 str String = "hello" 268 asString(String('a')) 269 isString(String('a')) 270 asString(String([]byte(slice))) 271 isString(String([]byte(slice))) 272 asString(String([]byte(nil)) [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
AbstractSectionParserTest.java | 36 public IItem parse(List<String> lines) { 37 for (String line : lines) { 47 private String mExpected = null; 50 public FakeBlockParser(String expected) { 59 public IItem parse(List<String> input) { 71 final String lineFormat = "howdy, parser %d!"; 72 final String linePattern = "I spy %d candles"; 75 final List<String> lines = new ArrayList<String>(2*nParsers); 78 String line = String.format(lineFormat, i) [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
DocString.java | 23 * A class representing a small string of document content consisting of text, 36 public static DocString text(String str) { 44 public static DocString format(String format, Object... args) { 60 public static DocString image(URI uri, String alt) { 65 * Append literal text to the given doc string. 68 public DocString append(String text) { 74 * Append formatted text to the given doc string. 77 public DocString appendFormat(String format, Object... args) { 78 append(String.format(format, args)); 88 * Adorn the given string to indicate it represents something added relativ 92 DocString string = new DocString(); local 112 DocString string = new DocString(); local 135 DocString string = new DocString(); local [all...] |
/build/blueprint/microfactory/ |
microfactory.go | 73 func findGoVersion() string { 75 return string(version) 80 return string(version) 90 TrimPath string 92 TraceFunc func(name string) func() 94 pkgs []string 95 paths map[string]string 98 func (c *Config) Map(pkgPrefix, pathPrefix string) error { 100 c.paths = make(map[string]string [all...] |
/build/blueprint/parser/ |
ast.go | 33 String() string 40 Name string 45 Assigner string 49 func (a *Assignment) String() string { 60 Type string 74 func (m *Module) String() string { 75 propertyStrings := make([]string, len(m.Properties) [all...] |
parser.go | 36 func (e *ParseError) Error() string { 41 Name string 86 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) { 94 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) { 114 p.scanner.Error = func(sc *scanner.Scanner, msg string) { 138 func (p *parser) errorf(format string, args ...interface{}) { 205 func (p *parser) parseAssignment(name string, namePos scanner.Position, 206 assigner string) (assignment *Assignment) { 250 func (p *parser) parseModule(typ string, typPos scanner.Position) *Module { 334 p.errorf("subtraction not supported: %s", p.scanner.String()) [all...] |
/build/blueprint/ |
scope.go | 29 name() string // "foo" 30 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo" 32 String() string 39 name() string // "foo" 40 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo" 42 String() string [all...] |
/build/kati/ |
eval.go | 39 Filename string 46 m map[string]*accessedMakefile 51 m: make(map[string]*accessedMakefile), 55 func (ac *accessCache) update(fn string, hash [sha1.Size]byte, st fileState) string { 106 ruleVars map[string]Vars 108 exports map[string]bool 113 filename string 117 func (p srcpos) String() string { [all...] |
expr.go | 39 writeWordString(string) 45 String() string 52 type literal string 54 func (s literal) String() string { return string(s) } 56 io.WriteString(w, string(s)) 60 return serializableVar{Type: "literal", V: string(s)} 70 func (t tmpval) String() string { return string(t) [all...] |