| /packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
| CarPropertyConfigTest.java | 105 fail(String.valueOf(value)); 116 fail(String.valueOf(intValue));
|
| /packages/services/NetworkRecommendation/src/com/android/networkrecommendation/config/ |
| PreferenceFile.java | 39 * public static final SharedPreference<String> pageUrl = sFile.value("page_url", "http://blah"); 42 * String pageUrl = Preferences.pageUrl.get(); 46 private static final String TAG = "PreferenceFile"; 54 private final String mName; 58 public PreferenceFile(String name) { 67 public PreferenceFile(String name, int mode) { 75 public String dump() { 77 Map<String, ?> allPrefs = sp.getAll(); 78 String format = "%" + longestString(allPrefs.keySet()) + "s = %s\n"; 80 for (String key : allPrefs.keySet()) [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/ |
| fixer_util.py | 80 """A numeric or string subscript""" 85 def String(string, prefix=None): 86 """A string leaf""" 87 return Leaf(token.STRING, string, prefix=prefix) 323 node.children[0].type == token.STRING):
|
| /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/ |
| fixer_util.py | 80 """A numeric or string subscript""" 85 def String(string, prefix=None): 86 """A string leaf""" 87 return Leaf(token.STRING, string, prefix=prefix) 323 node.children[0].type == token.STRING):
|
| /prebuilts/go/darwin-x86/src/bytes/ |
| buffer.go | 49 // String returns the contents of the unread portion of the buffer 50 // as a string. If the Buffer is a nil pointer, it returns "<nil>". 51 func (b *Buffer) String() string { 56 return string(b.buf[b.off:]) 144 func (b *Buffer) WriteString(s string) (n int, err error) { 397 // returning a string containing the data up to and including the delimiter. 402 func (b *Buffer) ReadString(delim byte) (line string, err error) { 404 return string(slice), err 416 // NewBufferString creates and initializes a new Buffer using string s as it [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
| op.go | 21 name string 68 auxString // aux is a string 94 func (x ValAndOff) String() string { 157 func (x SizeAndAlign) String() string {
|
| prove.go | 80 func (l limit) String() string { 304 v.Block.Func.Config.Warnl(parent.Line, "parent=%s, new limits %s %s %s", parent, v, w, lim.String())
|
| redblack32.go | 28 func (t *RBTint32) String() string { 32 return "[" + t.root.String() + "]" 35 func (t *node32) String() string { 38 s = t.left.String() + " " 42 s = s + " " + t.right.String()
|
| value.go | 52 // OpConst string 0 string constant 57 func (v *Value) String() string { 99 func (v *Value) LongString() string { 101 s += " <" + v.Type.String() + ">" 113 func (v *Value) auxString() string { 232 func (v *Value) Logf(msg string, args ...interface{}) { v.Block.Logf(msg, args...) } 234 func (v *Value) Fatalf(msg string, args ...interface{}) { 266 func (s *ExternSymbol) String() string [all...] |
| /prebuilts/go/darwin-x86/src/cmd/pack/ |
| pack.go | 39 For compatibility with old Go build environments the op string grc is 98 // setOp parses the operation string (first argument). 99 func setOp(arg string) { 140 files []string // Explicit list of files to be processed. 146 func archive(name string, mode int, files []string) *Archive { 166 func create(name string) { 180 func existingArchive(name string) bool { 198 if err != nil || string(buf) != arHeader { 205 name string [all...] |
| /prebuilts/go/darwin-x86/src/cmd/pprof/internal/driver/ |
| driver.go | 71 go func(i int, src string) { 124 // checking that it is a string of hex digits. 125 func isBuildID(id string) bool { 132 func adjustURL(source string, sec int, ui plugin.UI) (adjusted, host string, duration time.Duration) { 150 return url.String(), "", 0 183 return url.String(), url.Host, duration 186 func hasDuration(path string) bool { 187 for _, trigger := range []string{"profilez", "wallz", "/profile"} { 228 func compileFocusIgnore(focus, ignore, hide string) (f, i, h *regexp.Regexp, err error) [all...] |
| /prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
| ext_test.go | 43 text string 46 func (r ExtInst) String() string { 62 func (ext *ExtDis) Run(cmd ...string) (*bufio.Reader, error) { 97 syntax string, 101 allowedMismatch func(text string, size int, inst *Inst, dec ExtInst) bool, 130 errors = make([]string, 0, 100) // sampled errors, at most cap 191 func writeInst(generate func(func([]byte))) (file string, f *os.File, size int, err error) { 229 func disasm(syntax string, mode Mode, src []byte) (inst Inst, text string) { [all...] |
| /prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
| ext_test.go | 44 text string 47 func (r ExtInst) String() string { 62 func (ext *ExtDis) Run(cmd ...string) (*bufio.Reader, error) { 97 syntax string, 100 allowedMismatch func(text string, size int, inst *Inst, dec ExtInst) bool, 128 errors = make([]string, 0, 100) // sampled errors, at most cap 189 func writeInst(generate func(func([]byte))) (file string, f *os.File, size int, err error) { 227 func disasm(syntax string, src []byte) (inst Inst, text string) { [all...] |
| /prebuilts/go/darwin-x86/src/context/ |
| context.go | 162 func (deadlineExceededError) Error() string { return "context deadline exceeded" } 186 func (e *emptyCtx) String() string { 331 func (c *cancelCtx) String() string { 408 func (c *timerCtx) String() string { 447 // string or any other built-in type to avoid collisions between 470 func (c *valueCtx) String() string { [all...] |
| /prebuilts/go/darwin-x86/src/crypto/tls/ |
| alert.go | 44 var alertText = map[alert]string{ 71 func (e alert) String() string { 79 func (e alert) Error() string { 80 return e.String()
|
| /prebuilts/go/darwin-x86/src/debug/dwarf/ |
| type.go | 7 // the String methods use a pseudo-Go syntax. 17 String() string 26 Name string // name that can be used to refer to type 44 func (t *BasicType) String() string { 101 Qual string 105 func (t *QualType) String() string { return t.Qual + " " + t.Type.String() } [all...] |
| /prebuilts/go/darwin-x86/src/encoding/binary/ |
| binary.go | 40 String() string 93 func (littleEndian) String() string { return "LittleEndian" } 95 func (littleEndian) GoString() string { return "binary.LittleEndian" } 141 func (bigEndian) String() string { return "BigEndian" } 143 func (bigEndian) GoString() string { return "binary.BigEndian" } 241 return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String()) 361 return errors.New("binary.Write: invalid type " + reflect.TypeOf(data).String()) [all...] |
| /prebuilts/go/darwin-x86/src/encoding/json/ |
| decode.go | 41 // and the input is a JSON quoted string, Unmarshal calls that value's 42 // UnmarshalText method with the unquoted form of the string. 54 // string, for JSON strings 56 // map[string]interface{}, for JSON objects 75 // either be a string, an integer, or implement encoding.TextUnmarshaler. 122 Value string // description of JSON value - "bool", "array", "number -5" 125 Struct string // name of the struct type containing the field 126 Field string // name of the field holding the Go value 129 func (e *UnmarshalTypeError) Error() string { 131 return "json: cannot unmarshal " + e.Value + " into Go struct field " + e.Struct + "." + e.Field + " of type " + e.Type.String() [all...] |
| stream.go | 174 indentPrefix string 175 indentValue string 228 func (enc *Encoder) SetIndent(prefix, indent string) { 275 // string, for JSON string literals 342 func (d Delim) String() string { 343 return string(d) 353 // The input stream consists of basic JSON values?bool, string, 425 var x string [all...] |
| /prebuilts/go/darwin-x86/src/expvar/ |
| expvar.go | 41 // String returns a valid JSON value for the variable. 42 // Types with String methods that do not return valid JSON 44 String() string 56 func (v *Int) String() string { 77 func (v *Float) String() string { 100 // Map is a string-to-Var map variable that satisfies the Var interface. 103 m map[string]Va [all...] |
| /prebuilts/go/darwin-x86/src/go/token/ |
| position.go | 21 Filename string // filename, if any 30 // String returns a string in one of several forms: 37 func (pos Position) String() string { 93 name string // file name as provided to AddFile 103 func (f *File) Name() string { 212 Filename string 224 func (f *File) AddLineInfo(offset int, filename string, line int) { 269 func (f *File) unpack(offset int, adjusted bool) (filename string, line, column int) [all...] |
| /prebuilts/go/darwin-x86/src/internal/pprof/profile/ |
| profile.go | 28 DropFrames string 29 KeepFrames string 38 stringTable []string 43 Type string // cpu, wall, inuse_space, etc 44 Unit string // seconds, nanoseconds, bytes, etc 54 Label map[string][]string 55 NumLabel map[string][]int64 75 File string 76 BuildID string [all...] |
| /prebuilts/go/darwin-x86/src/net/ |
| dnsclient_unix.go | 30 dialDNS(ctx context.Context, network, addr string) (dnsConn, error) 119 func (d *Dialer) dialDNS(ctx context.Context, network, server string) (dnsConn, error) { 144 func exchange(ctx context.Context, server, name string, qtype uint16, timeout time.Duration) (*dnsMsg, error) { 154 for _, network := range []string{"udp", "tcp"} { 184 func tryOneName(ctx context.Context, cfg *dnsConfig, name string, qtype uint16) (string, []dnsRR, error) { 275 func (conf *resolverConfig) tryUpdate(name string) { 317 func lookup(ctx context.Context, name string, qtype uint16) (cname string, rrs []dnsRR, err error) { 349 func avoidDNS(name string) bool [all...] |
| /prebuilts/go/darwin-x86/src/net/http/cookiejar/ |
| jar_test.go | 24 func (testPSL) String() string { 27 func (testPSL) PublicSuffix(d string) string { 44 s, suffix string 117 var canonicalHostTests = map[string]string{ 151 var hasPortTests = map[string]bool{ 168 var jarKeyTests = map[string]string{ [all...] |
| /prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/ |
| all_test.go | 111 if resp.Id.(string) != string(i) { 112 t.Fatalf("resp: bad id %q want %q", resp.Id.(string), string(i)) 134 t.Errorf("Add: expected no error but got string %q", err.Error()) 144 t.Errorf("Mul: expected no error but got string %q", err.Error()) 159 t.Errorf("Add: expected no error but got string %q", addCall.Error.Error()) 167 t.Errorf("Mul: expected no error but got string %q", mulCall.Error.Error()) 232 if !strings.Contains(out.String(), errorText) { 235 if strings.Contains(out.String(), valueText) [all...] |