| /development/samples/ApiDemos/src/com/example/android/apis/preference/ |
| MyPreference.java | 51 myTextView.setText(String.valueOf(mClickCounter));
|
| /development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
| BackgroundPickers.java | 64 label.setText(String.format(res.getString(R.string.bg_picker_label), i+1)); 81 String tag = (String) mPickers.get(position).getTag();
|
| /device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
| ColorLEDController.java | 34 mTarget.setText(String.valueOf(v)); 94 String labelText = "Led"; 97 ssb.append(String.valueOf(mLEDNumber));
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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):
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
| fixcid.py | 197 String = '"\([^\n\\"]\|\\\\.\)*"'
214 OutsideComment = (Identifier, Number, String, Char, CommentStart)
|
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
| IfrOnTheFly.c | 53 StringBuffer - Pointer of FormSetTitile string created
94 // Add the FormSetTitle to the string buffer and get the StringToken
163 StringBuffer - Pointer of FormTitil string created
230 StringBuffer - String buffer created for subtitle
270 IN CHAR16 *String,
286 String - First string of the text
288 String2 - Second string of the text
290 String3 - Help string of the text
298 StringBuffer - String buffer created for String, String2 and String3 [all...] |
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
| UefiIfrOpCodeCreation.c | 18 Library Routines to create IFR independent of string data - assume tokens already exist
574 EFI_IFR_STRING String;
587 String.Header.OpCode = EFI_IFR_STRING_OP;
588 String.Header.Length = (UINT8) sizeof (EFI_IFR_STRING);
589 String.Header.Scope = 0;
590 String.Question.Header.Prompt = Prompt;
591 String.Question.Header.Help = Help;
592 String.Question.QuestionId = QuestionId;
593 String.Question.VarStoreId = VarStoreId;
594 String.Question.VarStoreInfo.VarOffset = VarOffset; [all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
| FrameworkFormCallback.h | 66 UINT8 OpCode; ///< Likely a string, numeric, or one-of
72 /// If the OpCode is a String type - Data is a CHAR16[x] type.
93 CHAR16 String[1]; ///< If returning an error - fill the string with null-terminated contents.
113 @param VariableName A NULL-terminated Unicode string that is the
145 @param VariableName A NULL-terminated Unicode string that is the
|
| /device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
| BmDriverHealth.c | 40 @return A pointer to the Unicode string to return. This Unicode string is the name of the controller
123 EFI_STRING String;
140 String = HiiGetString (
145 if (String != NULL) {
146 Print (L" %s\n", String);
147 DEBUG ((EFI_D_INFO, " %s\n", String));
148 FreePool (String);
|
| /device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckUefiLib/ |
| VarCheckUefiLibNullClass.c | 152 Internal check for ASCII string.
159 @retval EFI_INVALID_PARAMETER The data buffer is not a Null-terminated ASCII string.
170 CHAR8 *String;
173 String = (CHAR8 *) Data;
174 if (String[DataSize - 1] == '\0') {
177 for (Index = 1; Index < DataSize && (String[DataSize - 1 - Index] != '\0'); Index++);
|
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/VlanConfigDxe/ |
| VlanConfigImpl.c | 47 @param[in] Request A null-terminated Unicode string in
50 string. Points to the string's null terminator if
53 the beginning of the string if the failure is in
56 @param[out] Results A null-terminated Unicode string in
58 in for the names in the Request string. String to
117 // Request has no request element, construct full request string.
139 // Free the allocated config request string.
146 // Set Progress string to the original request string. [all...] |
| /device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/ |
| Console.c | 2 This module provide help function for displaying unicode string.
252 Computes the display length of a Null-terminated Unicode String.
255 Unicode string specified by String. If String is NULL then 0 is returned. If
256 any of the widths of the Unicode characters in String can not be determined,
257 then 0 is returned. The display width of String can be computed by summing the
258 display widths of each Unicode character in String. Unicode characters that
260 have a width of 2. If String is not aligned on a 16-bit boundary, then ASSERT().
262 @param String A pointer to a Null-terminated Unicode string. [all...] |
| /external/apache-http/src/org/apache/http/util/ |
| CharArrayBuffer.java | 88 public void append(String str) { 158 append(String.valueOf(obj)); 233 public String substring(int beginIndex, int endIndex) { 243 return new String(this.buffer, beginIndex, endIndex - beginIndex); 246 public String substringTrimmed(int beginIndex, int endIndex) { 262 return new String(this.buffer, beginIndex, endIndex - beginIndex); 265 public String toString() { 266 return new String(this.buffer, 0, this.len);
|
| /external/boringssl/src/ssl/test/runner/ |
| alert.go | 50 var alertText = map[alert]string{ 83 func (e alert) String() string { 91 func (e alert) Error() string { 92 return e.String()
|
| /external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
| TestKeyManager.java | 61 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 64 for (String keyType : keyTypes) { 74 private void assertKeyTypes(String[] keyTypes) { 75 for (String keyType : keyTypes) { 80 private void assertKeyType(String keyType) { 86 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 99 out.print(String.valueOf(socket)); 114 private String dumpAlias(String alias) [all...] |
| /external/desugar/java/com/google/devtools/common/options/ |
| ParamsFilePreProcessor.java | 36 static final String ERROR_MESSAGE_FORMAT = "Error reading params file: %s %s"; 38 static final String TOO_MANY_ARGS_ERROR_MESSAGE_FORMAT = 41 static final String UNFINISHED_QUOTE_MESSAGE_FORMAT = "Unfinished quote %s at %s"; 57 public List<String> preProcess(List<String> args) throws OptionsParsingException { 61 String.format(TOO_MANY_ARGS_ERROR_MESSAGE_FORMAT, args), args.get(0)); 65 List<String> newArgs = new ArrayList<>(); 84 String.format(ERROR_MESSAGE_FORMAT, path, iterator.getUnmatchedQuoteMessage())); 89 String.format(ERROR_MESSAGE_FORMAT, path, e.getMessage()), args.get(0), e); 132 public String getUnmatchedQuoteMessage() [all...] |
| /external/doclava/src/com/google/doclava/ |
| AndroidAuxSource.java | 52 final String expected = String.valueOf(val.value()); 55 if (String.valueOf(field.constantValue()).equals(expected)) { 57 "{@link android.content.Context#getSystemService(String)" 58 + " Context.getSystemService(String)}", 70 Map<String, String> args = new HashMap<>(); 91 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment) { 94 return auxTags(TYPE_PARAM, param.annotations(), new String[] { comment }); 104 String[] comment) [all...] |
| /external/google-breakpad/src/processor/ |
| synth_minidump.h | 68 // string contents; 114 #include <string> 133 class String; 184 // the file offset of the string CSD_VERSION, which can be 'Add'ed 191 const String &csd_version); 196 static const string windows_x86_csd_version; 199 // An MDString: a string preceded by a 32-bit length. 200 class String: public Section { 202 String(const Dump &dump, const string &value) [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/ |
| DecompressionTest.java | 22 log(String.valueOf(chars[i])); 35 private String decompressTest(byte [] segment1, byte [] segment2) { 79 String result;
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
| DecompressionTest.java | 21 log(String.valueOf(chars[i])); 34 private String decompressTest(byte [] segment1, byte [] segment2) { 78 String result;
|
| /external/libmojo/mojo/public/cpp/bindings/ |
| string.h | 10 #include <string> 18 // A UTF-8 encoded character string that can be null. Provides functions that 19 // are similar to std::string, along with access to the underlying std::string 21 class String { 23 // Constructs an empty string. 24 String() : is_null_(false) {} 25 String(const std::string& str) : value_(str), is_null_(false) {} 26 String(const char* chars) : is_null_(!chars) [all...] |
| /external/mockito/src/test/java/org/mockito/internal/exceptions/ |
| ReporterTest.java | 58 throw Reporter.wrongTypeOfArgumentToReturn(invocation_with_bogus_default_answer, "", String.class, 0); 65 throw Reporter.delegatedMethodDoesNotExistOnDelegate(dumb_invocation.getMethod(), mock_with_bogus_default_answer, String.class); 72 throw Reporter.delegatedMethodHasWrongReturnType(dumb_invocation.getMethod(), dumb_invocation.getMethod(), mock_with_bogus_default_answer, String.class);
|
| /external/okhttp/okio/okio/src/test/java/okio/ |
| RealBufferedSourceTest.java | 51 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8));
|
| /external/sl4a/Utils/src/com/googlecode/android_scripting/ |
| FileUtils.java | 44 String state = Environment.getExternalStorageState(); 52 fileUtils.getMethod("setPermissions", String.class, int.class, int.class, int.class); 89 public static File copyFromStream(String name, InputStream input) { 132 Method m = c.getDeclaredMethod("getExternalStoragePublicDirectory", String.class); 133 String download = c.getDeclaredField("DIRECTORY_DOWNLOADS").get(null).toString(); 140 public static boolean rename(File file, String name) { 144 public static String readToString(File file) throws IOException { 153 out.append(String.valueOf(buffer, 0, numRead)); 159 public static String readFromAssetsFile(Context context, String name) throws IOException [all...] |
| /external/vogar/src/vogar/android/ |
| JackDexTask.java | 42 public JackDexTask(Run run, Classpath classpath, boolean benchmark, String name, 74 String classpathSubKey = jackCache.makeKey(classpath); 75 String cacheKey = null; 81 String debuggingSubKey = "debug=" + run.debugging; 82 String multidexSubKey = "mdex=" + multidex; 95 jack.minApiLevel(String.valueOf(run.language.getJackMinApilevel()));
|