| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
| GenFfsFile.c | 40 #include <string.h>
60 IN OUT CHAR8 *String,
138 IN OUT CHAR8 *String
144 Removes quotes and/or whitespace from around a string
148 String - String to remove quotes from
160 Index2 = strspn (String, "\" \t\n");
161 StrLen = strlen (String);
163 for (Index = Index2; String[Index] != '\"', Index < StrLen; Index++) {
164 String[Index - Index2] = String[Index]; [all...] |
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
| StrGather.c | 18 Parse a strings file and create or add to a string database file.
23 #include <string.h>
371 // Create the string defines header file if there have been no errors.
401 // Dump the string data as HII binary string pack if requested
639 (Len = wstrcmp (SourceFile->FileBufferPtr + 1, L"string")) > 0
726 WCHAR *String;
750 Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "%S", Start);
765 "missing closing quote on printable language name string",
773 // Now allocate memory for the string and save it off [all...] |
| StringDB.c | 18 String database implementation
24 #include <string.h>
84 UINT32 Size; // number of bytes in string, including null terminator
88 WCHAR *Str; // the actual string
89 UINT16 Flags; // properties of this string (used, undefined)
96 STRING_LIST *String;
101 // We also keep track of all the string identifier names, which we assign unique
123 STRING_IDENTIFIER *CurrentStringIdentifier; // keep track of the last string identifier they added
133 "// This file is generated by the string gather utility",
256 Constructor function for the string database handler. [all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
| LegacyBootSupport.c | 54 CHAR8 *String;
94 String = (CHAR8 *)(UINTN)((BbsTable[Index].DescStringSegment << 4) + BbsTable[Index].DescStringOffset);
95 if (String != NULL) {
97 for (SubIndex = 0; String[SubIndex] != 0; SubIndex++) {
98 DEBUG ((EFI_D_INFO, "%c", String[SubIndex]));
[all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/ |
| DeviceManager.c | 38 // Which Mac Address string is select
150 // If user select the mac address, need to record mac address string to support next form show.
212 @param FormSetTitle Formset title string.
213 @param FormSetHelp Formset help string.
342 Get the mac address string from the device path.
346 @param PBuffer Output string buffer contain mac address.
360 CHAR16 *String;
364 String = NULL;
377 String = AllocateZeroPool (BufferLen);
378 if (String == NULL) { [all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
| ConfigKeywordHandler.c | 26 @param String MultiKeywordRequest string.
28 @param NextString string follow the possible PathHdr string.
33 The Input string not include PathHdr section.
38 IN EFI_STRING String,
56 if (String == NULL) {
65 if (*String == L'&') {
66 String ++;
72 if (StrnCmp (String, L"PATH=", StrLen (L"PATH=")) != 0) { [all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
| Expression.c | 975 @param String Th Unicode character to be converted.
980 IN CHAR16 *String
983 while (*String != 0) {
984 if ((*String >= 'a') && (*String <= 'z')) {
985 *String = (UINT16) ((*String) & ((UINT16) ~0x20));
987 String++;
1119 @param Format String format in EFI_IFR_TO_STRING.
1135 CHAR16 *String;
[all...] |
| /device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
| StatusCodeDataTypeId.h | 33 /// A NULL-terminated ASCII string.
37 /// A double NULL-terminated Unicode string.
41 /// An EFI_STATUS_CODE_STRING_TOKEN representing the string. The actual
42 /// string can be obtained by querying the HII Database
48 /// Specifies the format of the data in EFI_STATUS_CODE_STRING_DATA.String.
52 /// The HII package list which contains the string. Handle is a dynamic value that may
58 /// When combined with Handle, the string token can be used to retrieve the string.
66 /// ASCII formatted string.
70 /// Unicode formatted string. [all...] |
| /device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/ |
| UefiHandleParsingLib.c | 25 Function to translate the EFI_MEMORY_TYPE into a string.
29 @retval A string representation of the type allocated from BS Pool.
62 Function to translate the EFI_GRAPHICS_PIXEL_FORMAT into a string.
66 @retval A string representation of the type allocated from BS Pool.
161 @retval A poitner to a string containing the information.
238 @retval A poitner to a string containing the information.
312 @retval A poitner to a string containing the information.
452 @retval A poitner to a string containing the information.
528 @retval A poitner to a string containing the information.
562 @retval A poitner to a string containing the information. [all...] |
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
| MiscOemType0x94Function.c | 69 CHAR8 String[16];
109 @param Buffer Location to place ascii decimal number string of Value.
110 @param Value Decimal value to convert to a string in Buffer.
111 @param Flags Flags to use in printing decimal string, see file header for details.
185 // Reverse temp string into Buffer.
205 @param Buffer Location to place ascii hex string of Value.
206 @param Value Hex value to convert to a string in Buffer.
207 @param Flags Flags to use in printing Hex string, see file header for details.
262 // Reverse temp string into Buffer.
278 Converts MAC address to Unicode string. [all...] |
| /external/clang/test/SemaCXX/ |
| overload-call.cpp | 61 // expected-warning@-2 {{conversion from string literal to 'char *' is deprecated}} 68 // expected-warning@-2 {{conversion from string literal to 'char *' is deprecated}} 81 // expected-warning@-2 {{conversion from string literal to 'wchar_t *' is deprecated}} 104 // expected-warning@-2 {{conversion from string literal to 'char *' is deprecated}} 106 // expected-warning@-4 {{ISO C++11 does not allow conversion from string literal to 'char *'}} 201 double* q3 = quals_rank1("string literal"); 316 class string { }; class 317 class opt : public string { }; 320 SR(const string&); 474 struct String { String(char const*); } [all...] |
| /external/clang/tools/libclang/ |
| CXCursor.cpp | [all...] |
| /external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
| BindingGraphValidator.java | 207 String.format( 353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString(); 469 ImmutableList<String> printableDependencyPath = 477 String.format( 494 ImmutableList<String> printableDependencyPath = 502 String.format( 646 Iterable<String> formatted = FluentIterable.from(excessMethods).transform( 647 new Function<ExecutableElement, String>() { 648 @Override public String apply(ExecutableElement input) { 653 String.format(msgs.extraSetters(), formatted), spec.builderDefinitionType()) [all...] |
| /external/flatbuffers/include/flatbuffers/ |
| reflection_generated.h | 39 String = 13, 60 "String", 139 const flatbuffers::String *key() const { 140 return GetPointer<const flatbuffers::String *>(VT_KEY); 148 const flatbuffers::String *value() const { 149 return GetPointer<const flatbuffers::String *>(VT_VALUE); 164 void add_key(flatbuffers::Offset<flatbuffers::String> key) { 167 void add_value(flatbuffers::Offset<flatbuffers::String> value) { 185 flatbuffers::Offset<flatbuffers::String> key = 0, 186 flatbuffers::Offset<flatbuffers::String> value = 0) [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| NFRule.java | 21 * inserts its text into the result string and then passes control to its 89 * is inserted into the result string, and then the text from any 90 * substitutions is inserted into the result string 92 private String ruleText = null; 132 public static void makeRules(String description, 140 // description string) 253 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { 270 private String parseRuleDescriptor(String description) { 271 String descriptor [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
| LanguageTestFmwk.java | 56 private String locale; 64 private static final Map datacache = new HashMap(); // String->TestData 75 private static TestData getTestData(String locale) { 105 public LanguageTestFmwk(String locale, boolean ignore) { 109 private LanguageTestFmwk(TestData data, String locale) { 117 // public static void writeData(PrintWriter pw, String locale) 156 protected void xAssertEquals(String msg, String[] expected, int n, 157 String actual) { 176 protected static String timestring(Period ts) 258 String string = pf.format(p); local 259 xAssertEquals(u.toString() + c, targets, n++, string); local 281 String string = pf.format(p); local 282 xAssertEquals(u.toString(), targets, n++, string); local 303 String string = pf.format(p); local 304 xAssertEquals(u.toString(), targets, n++, string); local 447 String string = pf.format(p); local 448 xAssertEquals(u.toString(), targets, n++, string); local 478 String string = pf.format(p); local 479 xAssertEquals(u.toString(), targets, n++, string); local [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| NFRule.java | 20 * inserts its text into the result string and then passes control to its 88 * is inserted into the result string, and then the text from any 89 * substitutions is inserted into the result string 91 private String ruleText = null; 131 public static void makeRules(String description, 139 // description string) 252 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { 269 private String parseRuleDescriptor(String description) { 270 String descriptor [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
| LanguageTestFmwk.java | 55 private String locale; 63 private static final Map datacache = new HashMap(); // String->TestData 74 private static TestData getTestData(String locale) { 104 public LanguageTestFmwk(String locale, boolean ignore) { 108 private LanguageTestFmwk(TestData data, String locale) { 116 // public static void writeData(PrintWriter pw, String locale) 155 protected void xAssertEquals(String msg, String[] expected, int n, 156 String actual) { 175 protected static String timestring(Period ts) 257 String string = pf.format(p); local 258 xAssertEquals(u.toString() + c, targets, n++, string); local 280 String string = pf.format(p); local 281 xAssertEquals(u.toString(), targets, n++, string); local 302 String string = pf.format(p); local 303 xAssertEquals(u.toString(), targets, n++, string); local 446 String string = pf.format(p); local 447 xAssertEquals(u.toString(), targets, n++, string); local 477 String string = pf.format(p); local 478 xAssertEquals(u.toString(), targets, n++, string); local [all...] |
| /external/libchrome/base/test/ |
| trace_event_analyzer.cc | 44 std::string phase_str; 102 std::string str; 126 bool TraceEvent::GetArgAsString(const std::string& name, 127 std::string* arg) const { 136 bool TraceEvent::GetArgAsNumber(const std::string& name, 146 bool TraceEvent::GetArgAsValue(const std::string& name, 156 bool TraceEvent::HasStringArg(const std::string& name) const { 160 bool TraceEvent::HasNumberArg(const std::string& name) const { 164 bool TraceEvent::HasArg(const std::string& name) const { 168 std::string TraceEvent::GetKnownArgAsString(const std::string& name) const [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
| Spdy3.java | 277 private static IOException ioException(String message, Object... args) throws IOException { 278 throw new IOException(String.format(message, args));
|
| /external/pdfium/third_party/lcms2-2.6/src/ |
| cmsio0.c | [all...] |
| /external/pdfium/xfa/fde/css/ |
| fde_css.h | 29 String,
|
| /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
| ScriptEditor.java | 73 private String mLastSavedContent; 103 private int readIntPref(String key, int defaultValue, int maxValue) { 242 String rpcText = data.getStringExtra(Constants.EXTRA_RPC_HELP_TEXT); 269 private void insertContent(String text) { 351 mLineNo.setText(String.valueOf(getLineNo())); 360 String text = mContentText.getText().toString(); 377 String text = mContentText.getText().toString(); 411 String auto = null; 427 return String.format("\n%" + spaces + "s", " "); 573 String original = mContentText.getText().toString() [all...] |
| /external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/ |
| Emitter.java | 63 private static final Map<Character, String> ESCAPE_REPLACEMENTS = new HashMap<Character, String>(); 87 private final static Map<String, String> DEFAULT_TAG_PREFIXES = new LinkedHashMap<String, String>(); 144 private Map<String, String> tagPrefixes; 147 private String preparedAnchor; 148 private String preparedTag [all...] |
| /external/swiftshader/third_party/LLVM/utils/TableGen/ |
| FixedLenDecoderEmitter.cpp | 26 #include <string> 125 /// version and return the Opcode since the two have the same Asm format string. 281 void emitTop(raw_ostream &o, unsigned Indentation, std::string Namespace); 293 const std::string &nameWithID(unsigned Opcode) const { 574 std::string Namespace) { 667 const std::string &Name = nameWithID(Opcodes[i]); 740 std::string &Decoder = OpInfo.Decoder; 766 std::string PredicateNamespace) { 782 std::string P = Pred->getValueAsString("AssemblerCondString"); [all...] |