| /prebuilts/go/darwin-x86/src/net/rpc/ |
| server_test.go | 24 serverAddr, newServerAddr string 25 httpServerAddr string 63 func (t *Arith) String(args *Args, reply *string) error { 68 func (t *Arith) Scan(args string, reply *Reply) (err error) { 88 func listenTCP() (net.Listener, string) { 93 return l, l.Addr().String() 128 httpServerAddr = server.Listener.Addr().String() 140 func testRPC(t *testing.T, addr string) { 152 t.Errorf("Add: expected no error but got string %q", err.Error() [all...] |
| /prebuilts/go/darwin-x86/src/regexp/ |
| regexp.go | 27 // Find(All)?(String)?(Submatch)?(Index)? 36 // If 'String' is present, the argument is a string; otherwise it is a slice 47 // pairs within the input string: result[2*n:2*n+1] identifies the indexes of 51 // subexpression did not match any string in the input. 90 expr string // as passed to Compile 93 prefix string // required prefix in unanchored matches 100 subexpNames []string 104 // String returns the source text used to compile the regular expression. 105 func (re *Regexp) String() string [all...] |
| /prebuilts/go/darwin-x86/src/text/template/ |
| exec_test.go | 26 X string 31 // Struct with String method. 42 MSI map[string]int 43 MSIone map[string]int // one element, for deterministic output 44 MSIEmpty map[string]int 47 SMSI []map[string]int 62 PS *string 66 BinaryFunc func(string, string) string [all...] |
| /prebuilts/go/darwin-x86/src/text/template/parse/ |
| lex.go | 14 // item represents a token or text string returned from the scanner. 17 pos Pos // The starting position, in bytes, of this item in the input string. 18 val string // The value of this item. 22 func (i item) String() string { 53 itemRawString // raw quoted string (includes quotes) 57 itemString // quoted string (includes quotes) 74 var key = map[string]itemType{ 109 name string // the name of the input; used only for error reports 110 input string // the string being scanne [all...] |
| node.go | 23 String() string 28 Position() Pos // byte position of start of node in full original input string 68 NodeString // A string constant. 96 func (l *ListNode) String() string { 101 return b.String() 127 func (t *Tree) newText(pos Pos, text string) *TextNode { 131 func (t *TextNode) String() string { [all...] |
| /prebuilts/go/linux-x86/src/cmd/internal/goobj/ |
| read.go | 76 var symKindStrings = []string{ 113 func (k SymKind) String() string { 136 Name string 146 func (s SymID) String() string { 184 Name string // Name of variable. 203 File []string // paths indexed by PCFile 216 ImportPath string // import path denoting this package 217 Imports []string // packages imported by this packag [all...] |
| /prebuilts/go/linux-x86/src/encoding/gob/ |
| codec_test.go | 311 // string 314 var data string = "hello" 319 t.Errorf("string enc instructions: expected % x got % x", bytesResult, b.Bytes()) 324 func execDec(typ string, instr *decInstr, state *decoderState, t *testing.T, value reflect.Value) { 527 if string(data) != "hello" { 528 t.Errorf(`bytes a = %q not "hello"`, string(data)) 532 // string 534 var data string 546 T string 552 M map[string]*float6 [all...] |
| /prebuilts/go/linux-x86/src/flag/ |
| flag.go | 10 Define flags using flag.String(), Bool(), Int(), etc. 89 func (b *boolValue) Set(s string) error { 97 func (b *boolValue) String() string { return strconv.FormatBool(bool(*b)) } 116 func (i *intValue) Set(s string) error { 124 func (i *intValue) String() string { return strconv.Itoa(int(*i)) } 134 func (i *int64Value) Set(s string) error { 142 func (i *int64Value) String() string { return strconv.FormatInt(int64(*i), 10) [all...] |
| /prebuilts/go/linux-x86/src/go/ast/ |
| ast.go | 64 Text string // comment text (excluding '\n' for //-style comments) 82 func stripTrailingWhitespace(s string) string { 96 func (g *CommentGroup) Text() string { 100 comments := make([]string, len(g.List)) 105 lines := make([]string, 0, 10) // most comments are less than 10 lines 240 Name string // identifier name 255 Kind token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING 256 Value string // literal string; e.g. 42, 0x7f, 3.14, 1e-9, 2.4i, 'a', '\x7f', "foo" or `\m\n\o [all...] |
| /prebuilts/go/linux-x86/src/go/constant/ |
| value.go | 33 String 46 // String returns a short, quoted (human-readable) form of the value. 48 // for String values the result may be a shortened string. 49 // Use ExactString for a string representing a value exactly. 50 String() string 53 // If the Value is of Kind String, use StringVal to obtain the unquoted string. 54 ExactString() string [all...] |
| /prebuilts/go/linux-x86/src/go/internal/gcimporter/ |
| bimport.go | 22 imports map[string]*types.Package 24 path string 29 strList []string // in order of appearance 36 prevFile string 39 files map[string]*token.File 50 func BImportData(fset *token.FileSet, imports map[string]*types.Package, data []byte, path string) (_ int, _ *types.Package, err error) { 65 strList: []string{""}, // empty string is mapped to 0 67 files: make(map[string]*token.File) 777 func (p *importer) string() string { func [all...] |
| /prebuilts/go/linux-x86/src/net/ |
| dnsmsg.go | 17 // A few of the structure elements have string tags to aid the 78 // for v are *uint16, *uint32, *string, or []byte, and 82 Walk(f func(v interface{}, name, tag string) (ok bool)) (ok bool) 92 func (h *dnsHeader) Walk(f func(v interface{}, name, tag string) bool) bool { 112 Name string 117 func (q *dnsQuestion) Walk(f func(v interface{}, name, tag string) bool) bool { 127 Name string 138 func (h *dnsRR_Header) Walk(f func(v interface{}, name, tag string) bool) bool { 155 Cname string 162 func (rr *dnsRR_CNAME) Walk(f func(v interface{}, name, tag string) bool) bool [all...] |
| /prebuilts/go/linux-x86/src/net/rpc/ |
| server_test.go | 24 serverAddr, newServerAddr string 25 httpServerAddr string 63 func (t *Arith) String(args *Args, reply *string) error { 68 func (t *Arith) Scan(args string, reply *Reply) (err error) { 88 func listenTCP() (net.Listener, string) { 93 return l, l.Addr().String() 128 httpServerAddr = server.Listener.Addr().String() 140 func testRPC(t *testing.T, addr string) { 152 t.Errorf("Add: expected no error but got string %q", err.Error() [all...] |
| /prebuilts/go/linux-x86/src/regexp/ |
| regexp.go | 27 // Find(All)?(String)?(Submatch)?(Index)? 36 // If 'String' is present, the argument is a string; otherwise it is a slice 47 // pairs within the input string: result[2*n:2*n+1] identifies the indexes of 51 // subexpression did not match any string in the input. 90 expr string // as passed to Compile 93 prefix string // required prefix in unanchored matches 100 subexpNames []string 104 // String returns the source text used to compile the regular expression. 105 func (re *Regexp) String() string [all...] |
| /prebuilts/go/linux-x86/src/text/template/ |
| exec_test.go | 26 X string 31 // Struct with String method. 42 MSI map[string]int 43 MSIone map[string]int // one element, for deterministic output 44 MSIEmpty map[string]int 47 SMSI []map[string]int 62 PS *string 66 BinaryFunc func(string, string) string [all...] |
| /prebuilts/go/linux-x86/src/text/template/parse/ |
| lex.go | 14 // item represents a token or text string returned from the scanner. 17 pos Pos // The starting position, in bytes, of this item in the input string. 18 val string // The value of this item. 22 func (i item) String() string { 53 itemRawString // raw quoted string (includes quotes) 57 itemString // quoted string (includes quotes) 74 var key = map[string]itemType{ 109 name string // the name of the input; used only for error reports 110 input string // the string being scanne [all...] |
| node.go | 23 String() string 28 Position() Pos // byte position of start of node in full original input string 68 NodeString // A string constant. 96 func (l *ListNode) String() string { 101 return b.String() 127 func (t *Tree) newText(pos Pos, text string) *TextNode { 131 func (t *TextNode) String() string { [all...] |
| /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
| PackageManagerHostTestUtils.java | 43 public static final String JB_APP_PRIVATE_PATH = "/mnt/asec/"; 44 public static final String DEVICE_APP_PATH = "/data/app/"; 45 public static final String SDCARD_APP_PATH = "/mnt/asec/"; 47 private static String mAppPrivatePath = JB_APP_PRIVATE_PATH; 81 public static String getAppPrivatePath() { 85 public static void setAppPrivatePath(String path) { 94 public static String getDeviceAppPath() { 103 public static String getSDCardAppPath() { 121 private CollectingTestListener doRunTests(String pkgName, String className [all...] |
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
| ITestSuiteIntegrationTest.java | 69 private static final String CONFIG = 79 private static final String FILENAME = "%s.config"; 80 private static final String TEST_STUB = "TestSuiteStub"; // Trivial test stub 102 String name, 103 String moduleClass, 110 File config = new File(testsDir, String.format(FILENAME, name)); 113 throw new IOException(String.format("Failed to create '%s'", config.getAbsolutePath())); 117 String.format( 162 public LinkedHashMap<String, IConfiguration> loadTests() { 163 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>() [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/ |
| OldClassTest.java | 43 final String packageName = getClass().getPackage().getName(); 44 final String classNameInitError1 = packageName + ".TestClass1"; 45 final String classNameInitError2 = packageName + ".TestClass1B"; 46 final String classNameLinkageError = packageName + ".TestClass"; 47 final String sourceJARfile = "illegalClasses.jar"; 48 final String illegalClassName = "illegalClass"; 52 String value(); 113 public static String TEST_FIELD = "test field"; 141 public String toString() { 148 public String toString() [all...] |
| /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
| IntegrationTest.java | 71 private static final String CONFIG = 81 private static final String FILENAME = "%s.config"; 82 private static final String TEST_STUB = "TestStub"; // Test stub 83 private static final String SIMPLE_TEST_STUB = "SimpleTestStub"; // Simple test stub 84 private static final String TEST_STUB_SHARDABLE = "TestStubShardable"; 85 private static final String COMMAND_LINE = "run cts"; 96 private Map<String, String> mAttributes; 103 protected Set<String> getAbisForBuildTargetArch() { 104 Set<String> abis = new HashSet<>() [all...] |
| /cts/hostsidetests/compilation/src/android/cts/compilation/ |
| AdbRootDependentCompilationTest.java | 53 private static final String APPLICATION_PACKAGE = "android.cts.compilation"; 59 private String directory; 61 ProfileLocation(String directory) { 65 public String getDirectory() { 69 public String getPath() { 85 String buildType = mDevice.getProperty("ro.build.type"); 124 String expectedInstallFilter = checkNotNull(mDevice.getProperty("pm.dexopt.install")); 126 String expectedBgDexoptFilter = checkNotNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); 128 String odexPath = getOdexFilePath(); 178 private byte[] readFileOnClient(String clientPath) throws Exception [all...] |
| /cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
| DalvikTest.java | 72 private static final String TAG = DalvikTest.class.getSimpleName(); 79 private static final Set<String> TEST_PACKAGES = new HashSet<>(); 80 private static final String JDWP_PACKAGE_BASE = "org.apache.harmony.jpda.tests.jdwp.%s"; 83 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ArrayReference")); 84 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ArrayType")); 85 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassLoaderReference")); 86 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassObjectReference")); 87 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassType")); 88 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "DebuggerOnDemand")); 89 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "Deoptimization")) [all...] |
| /developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
| WearableMainActivity.java | 69 private static final String TAG = "WearableActivity"; 87 private static final String PREFS_SPEED_LIMIT_KEY = "SpeedLimit"; 98 private String mGpsPermissionNeededMessage; 99 private String mAcquiringGpsMessage; 152 mGpsPermissionNeededMessage = getString(R.string.permission_rationale); 153 mAcquiringGpsMessage = getString(R.string.acquiring_gps); 173 .setMessage(getString(R.string.gps_not_available)) 174 .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { 248 new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 300 mSpeedLimitTextView.setText(getString(R.string.speed_limit, mSpeedLimit)) [all...] |
| /developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
| WearableMainActivity.java | 69 private static final String TAG = "WearableActivity"; 87 private static final String PREFS_SPEED_LIMIT_KEY = "SpeedLimit"; 98 private String mGpsPermissionNeededMessage; 99 private String mAcquiringGpsMessage; 152 mGpsPermissionNeededMessage = getString(R.string.permission_rationale); 153 mAcquiringGpsMessage = getString(R.string.acquiring_gps); 173 .setMessage(getString(R.string.gps_not_available)) 174 .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { 248 new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 300 mSpeedLimitTextView.setText(getString(R.string.speed_limit, mSpeedLimit)) [all...] |