/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
config.go | 35 func (mode *BuildMode) Set(s string) error { 105 func (mode *BuildMode) String() string { 134 func (mode *LinkMode) Set(s string) error { 148 func (mode *LinkMode) String() string { 162 func mustLinkExternal(ctxt *Link) (res bool, reason string) {
|
/prebuilts/go/linux-x86/src/cmd/vet/all/ |
main.go | 30 flagPlatforms = flag.String("p", "", "platform(s) to use e.g. linux/amd64,darwin/386") 35 var cmdGoPath string 79 pp = append(pp, parsePlatform(string(line))) 93 func parsePlatform(s string) platform { 101 type whitelist map[string]int 104 func (w whitelist) load(goos string, goarch string) { 119 filenames := []string{ 166 os string 167 arch string [all...] |
/prebuilts/go/linux-x86/src/database/sql/driver/ |
types.go | 60 func (boolType) String() string { return "Bool" } 66 case string: 73 b, err := strconv.ParseBool(string(s)) 122 case reflect.String: 123 i, err := strconv.Atoi(rv.String()) 132 // String is a ValueConverter that converts its input to a string. 133 // If the value is already a string or []byte, it's unchanged. 134 // If the value is of another type, conversion to string is don [all...] |
/prebuilts/go/linux-x86/src/fmt/ |
stringer_test.go | 27 type TS string 29 func (v TI) String() string { return Sprintf("I: %d", int(v)) } 30 func (v TI8) String() string { return Sprintf("I8: %d", int8(v)) } 31 func (v TI16) String() string { return Sprintf("I16: %d", int16(v)) } 32 func (v TI32) String() string { return Sprintf("I32: %d", int32(v)) } 33 func (v TI64) String() string { return Sprintf("I64: %d", int64(v)) [all...] |
/prebuilts/go/linux-x86/src/go/ast/ |
scope.go | 21 Objects map[string]*Object 27 return &Scope{outer, make(map[string]*Object, n)} 34 func (s *Scope) Lookup(name string) *Object { 51 func (s *Scope) String() string { 61 return buf.String() 78 Name string // declared name 85 func NewObj(kind ObjKind, name string) *Object { 150 var objKindStrings = [...]string{ 160 func (kind ObjKind) String() string { return objKindStrings[kind] [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
operand.go | 31 var operandModeString = [...]string{ 68 // Operand string formats 96 func operandString(x *operand, qf Qualifier) string { 99 var expr string 109 expr = x.val.String() 139 if s := x.val.String(); s != expr { 160 return buf.String() 163 func (x *operand) String() string { 168 func (x *operand) setConst(tok token.Token, lit string) { [all...] |
scope.go | 28 elems map[string]Object // lazily allocated 30 comment string // for debugging only 35 func NewScope(parent *Scope, pos, end token.Pos, comment string) *Scope { 51 func (s *Scope) Names() []string { 52 names := make([]string, len(s.elems)) 70 func (s *Scope) Lookup(name string) Object { 84 func (s *Scope) LookupParent(name string, pos token.Pos) (*Scope, Object) { 104 s.elems = make(map[string]Object) 154 // WriteTo writes a string representation of the scope to w, 185 // String returns a string representation of the scope, for debugging [all...] |
/prebuilts/go/linux-x86/src/io/ |
pipe_test.go | 34 } else if n != 12 || string(buf[0:12]) != "hello, world" { 154 func (p pipeTest) String() string { 300 var result string 305 result = string(buf[0:n])
|
/prebuilts/go/linux-x86/src/net/http/ |
cookie.go | 21 Name string 22 Value string 24 Path string // optional 25 Domain string // optional 27 RawExpires string // for reading cookies only 35 Raw string 36 Unparsed []string // Raw text of unparsed attribute-value pairs 133 if v := cookie.String(); v != "" { 138 // String returns the serialization of the cookie for use in a Cookie 141 // If c is nil or c.Name is invalid, the empty string is returned [all...] |
http.go | 31 name string 34 func (k *contextKey) String() string { return "net/http context value " + k.name } 36 // Given a string of the form "host", "host:port", or "[ipv6::address]:port", 37 // return true if the string includes a port. 38 func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") } 42 func removeEmptyPort(host string) string { 53 func isASCII(s string) bool { 62 func hexEscapeNonASCII(s string) string [all...] |
/prebuilts/go/linux-x86/src/net/ |
iprawsock.go | 33 Zone string // IPv6 scoped addressing zone 37 func (a *IPAddr) Network() string { return "ip" } 39 func (a *IPAddr) String() string { 70 func ResolveIPAddr(net, addr string) (*IPAddr, error) { 197 func DialIP(netProto string, laddr, raddr *IPAddr) (*IPConn, error) { 209 func ListenIP(netProto string, laddr *IPAddr) (*IPConn, error) {
|
udpsock.go | 25 Zone string // IPv6 scoped addressing zone 29 func (a *UDPAddr) Network() string { return "udp" } 31 func (a *UDPAddr) String() string { 65 func ResolveUDPAddr(net, addr string) (*UDPAddr, error) { 190 func DialUDP(net string, laddr, raddr *UDPAddr) (*UDPConn, error) { 213 func ListenUDP(net string, laddr *UDPAddr) (*UDPConn, error) { 240 func ListenMulticastUDP(network string, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error) {
|
/prebuilts/go/linux-x86/src/os/ |
exec_plan9.go | 22 func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { 41 func (p *Process) writeProcFile(file string, data string) error { 55 if e := p.writeProcFile("note", sig.String()); e != nil { 132 func (p *ProcessState) String() string {
|
/prebuilts/go/linux-x86/src/strconv/ |
decimal.go | 22 func (a *decimal) String() string { 58 return string(buf[0:w]) 168 // when the string prefix is "625" through "999", and one fewer digit 169 // if the string prefix is "000" through "624". 175 cutoff string // minus one digit if original < a. 256 func prefixIsLessThan(b []byte, s string) bool {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
route_test.go | 16 func (m *RouteMessage) String() string { 20 func (m *InterfaceMessage) String() string { 30 func (m *InterfaceAddrMessage) String() string { 40 func (m *InterfaceMulticastAddrMessage) String() string { 44 func (m *InterfaceAnnounceMessage) String() string { [all...] |
/prebuilts/go/linux-x86/test/ |
fibo.go | 175 func (x nat) String() string { 177 s := new(big.Int).SetBits(x).String() 225 want string 244 got := fibo(test.n, half, opt).String()
|
typeswitch.go | 17 String 36 var m = make(map[string]int) 38 func assert(b bool, s string) { 53 case String: 78 case string: 79 assert(x == "hello" && i == String, "string") 86 case map[string]int:
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15528.go | 22 func (x *RWS) String() string { return "rws" } 30 s string 41 {map[string]string{"here": "there"}, "map[string]string map[here:there]"}, 52 func (i Int) String() string { return fmt.Sprintf("Int=%d", i) } 63 s string [all...] |
/prebuilts/go/linux-x86/test/interface/ |
convert.go | 12 String() string 15 String() string 20 type T string 22 func (t T) String() string { 23 return string(t) 29 type U string 31 func (u U) String() string [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/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;
|
/prebuilts/misc/linux-x86/analyzer/tools/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;
|
/build/blueprint/bpmodify/ |
bpmodify.go | 29 parameter = flag.String("parameter", "deps", "name of parameter to modify on each module") 57 func processFile(filename string, in io.Reader, out io.Writer) error { 128 if targetedModule(prop.Value.Eval().(*parser.String).Value) { 141 func processModule(module *parser.Module, moduleName string, 154 func processParameter(value parser.Expression, paramName, moduleName string, 169 paramName, moduleName, value.Type().String())} 191 func targetedModule(name string) bool { 204 func visitFile(path string, f os.FileInfo, err error) error { 214 func walkDir(path string) { 287 idents []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...] |
/build/kati/ |
buf.go | 54 func (w *ssvWriter) writeWordString(word string) { 81 func (b *buffer) WriteString(s string) (int, error) { 88 func (b *buffer) String() string { return string(b.buf) } 184 func (wb *wordBuffer) WriteString(s string) (int, error) { 197 func (wb *wordBuffer) writeWordString(word string) {
|
dep.go | 28 Output string 29 Cmds []string 35 ActualInputs []string 37 Filename string 41 func (n *DepNode) String() string { 47 rules map[string]*rule 48 ruleVars map[string]Vars 52 suffixRules map[string][]*rule 57 done map[string]*DepNod [all...] |