Searched defs:String (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-head/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-string.h32 // This header file declares the String class and functions used internally by
57 // String - an abstract class holding static string utilities.
58 class GTEST_API_ String { class in namespace:testing::internal
104 // Converts a wide C string to a String using the UTF-8 encoding.
157 String(); // Not meant to be instantiated.
158 }; // class String
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.h21 explicit ScopedString(uptr MaxLength) : String(MaxLength), Length(0) {
22 String[0] = '\0';
25 const char *data() { return String.data(); }
27 String[0] = '\0';
34 Vector<char> String; member in class:scudo::ScopedString
/freebsd-head/sys/contrib/dev/acpica/components/utilities/
H A Dutstrtoul64.c3 * Module Name: utstrtoul64 - String-to-integer conversion support for both
205 * PARAMETERS: String - Null terminated input string,
230 char *String,
238 ACPI_FUNCTION_TRACE_STR (UtStrtoul64, String);
245 if (*String == 0)
250 if (!AcpiUtRemoveWhitespace (&String))
258 if (AcpiUtDetectHexPrefix (&String))
267 else if (AcpiUtDetectOctalPrefix (&String))
272 if (!AcpiUtRemoveLeadingZeros (&String))
292 Status = AcpiUtConvertOctalString (String, ReturnValu
229 AcpiUtStrtoul64( char *String, UINT64 *ReturnValue) argument
367 AcpiUtImplicitStrtoul64( char *String) argument
455 AcpiUtExplicitStrtoul64( char *String) argument
[all...]
H A Dutstring.c165 * PARAMETERS: String - Null terminated ASCII string
178 char *String,
184 if (!String)
191 for (i = 0; (i < MaxLength) && String[i]; i++)
195 switch (String[i])
236 AcpiOsPrintf ("\\%c", (int) String[i]);
243 if (isprint ((int) String[i]))
247 AcpiOsPrintf ("%c", (int) String[i]);
253 AcpiOsPrintf ("\\x%2.2X", (INT32) String[i]);
261 if (i == MaxLength && String[
177 AcpiUtPrintString( char *String, UINT16 MaxLength) argument
[all...]
H A Dutnonansi.c180 char *String; local
193 for (String = SrcString; *String; String++)
195 *String = (char) tolower ((int) *String);
216 char *String; local
229 for (String = SrcString; *String; String
[all...]
H A Dutstrsuppt.c184 * PARAMETERS: String - Null terminated input string
199 char *String,
208 while (*String)
212 if (!(ACPI_IS_OCTAL_DIGIT (*String)))
219 Status = AcpiUtInsertDigit (&AccumulatedValue, 8, *String);
226 String++;
240 * PARAMETERS: String - Null terminated input string
255 char *String,
264 while (*String)
268 if (!isdigit (*String))
198 AcpiUtConvertOctalString( char *String, UINT64 *ReturnValuePtr) argument
254 AcpiUtConvertDecimalString( char *String, UINT64 *ReturnValuePtr) argument
310 AcpiUtConvertHexString( char *String, UINT64 *ReturnValuePtr) argument
364 AcpiUtRemoveLeadingZeros( char **String) argument
393 AcpiUtRemoveWhitespace( char **String) argument
419 AcpiUtDetectHexPrefix( char **String) argument
447 AcpiUtRemoveHexPrefix( char **String) argument
472 AcpiUtDetectOctalPrefix( char **String) argument
[all...]
H A Dutdebug.c498 * String - Additional string to display
513 const char *String)
525 "%s %s\n", AcpiGbl_FunctionEntryPrefix, String);
762 * String - String to display
777 const char *String)
786 "%s %s\n", AcpiGbl_FunctionExitPrefix, String);
508 AcpiUtTraceStr( UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, const char *String) argument
772 AcpiUtStrExit( UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, const char *String) argument
/freebsd-head/contrib/llvm-project/llvm/lib/MC/
H A DSubtargetFeature.cpp39 void SubtargetFeatures::AddFeature(StringRef String, bool Enable) { argument
41 if (!String.empty())
43 Features.push_back(hasFlag(String) ? String.lower()
44 : (Enable ? "+" : "-") + String.lower());
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp209 std::error_code fromString(std::string String, Metadata &HSAMetadata) { argument
210 yaml::Input YamlInput(String);
215 std::error_code toString(Metadata HSAMetadata, std::string &String) { argument
216 raw_string_ostream YamlStream(String);
H A DStringExtras.cpp70 void llvm::printHTMLEscaped(StringRef String, raw_ostream &Out) { argument
71 for (char C : String) {
87 void llvm::printLowerCase(StringRef String, raw_ostream &Out) { argument
88 for (const char C : String)
H A DRegex.cpp72 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ argument
82 pm[0].rm_eo = String.size();
84 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
106 Matches->push_back(StringRef(String.data()+pm[i].rm_so,
114 std::string Regex::sub(StringRef Repl, StringRef String, argument
122 if (!match(String, &Matches))
123 return String;
127 std::string Res(String.begin(), Matches[0].begin());
185 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end());
200 std::string Regex::escape(StringRef String) { argument
[all...]
/freebsd-head/sys/contrib/dev/acpica/components/tables/
H A Dtbprint.c164 char *String,
177 * PARAMETERS: String - String to be repaired
189 char *String,
193 while (Length && *String)
195 if (!isprint ((int) *String))
197 *String = '?';
200 String++;
188 AcpiTbFixString( char *String, ACPI_SIZE Length) argument
/freebsd-head/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h54 String, member in class:llvm::msgpack::Type
86 /// Value for \c Type::String and \c Type::Binary.
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DWithColor.h24 String, member in class:llvm::HighlightColor
42 /// To be used like this: WithColor(OS, HighlightColor::String) << "text";
/freebsd-head/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp70 StringIdRecord &String) {
71 Name = String.getString();
69 visitKnownRecord(CVRecord<TypeLeafKind> &CVR, StringIdRecord &String) argument
/freebsd-head/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFVisitor.h62 virtual void onValue(const StringRef String) {} argument
/freebsd-head/contrib/llvm-project/llvm/lib/Remarks/
H A DRemark.cpp32 extern "C" const char *LLVMRemarkStringGetData(LLVMRemarkStringRef String) { argument
33 return unwrap(String)->data();
36 extern "C" uint32_t LLVMRemarkStringGetLen(LLVMRemarkStringRef String) { argument
37 return unwrap(String)->size();
/freebsd-head/sys/contrib/dev/acpica/compiler/
H A Dasldebug.c266 * DESCRIPTION: Emit formatted debug output for String/Pathname ops.
275 char *String; local
278 String = Op->Asl.Value.String;
284 * Value.String is the raw "internal" name from the AML code, which
289 String = Op->Asl.ExternalName;
293 if (!String)
296 " ERROR: Could not find a valid String/Path pointer\n");
300 String = UtCreateEscapeSequences (String);
330 char *String = InString; local
[all...]
H A Ddtsubtable.c181 char *String; local
188 String = UtLocalCacheCalloc (Length);
189 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
H A Ddtcompile.c560 char *String; local
597 String = UtLocalCacheCalloc (Length);
598 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
738 /* Normal case for most field types (Integer, String, etc.) */
841 char *String; local
848 String = UtLocalCacheCalloc (Length);
849 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
H A Ddtutils.c309 * PARAMETERS: String - Only hex constants are supported,
321 char *String)
333 ConvertedInteger = AcpiUtImplicitStrtoul64 (String);
320 DtDoConstant( char *String) argument
/freebsd-head/sys/contrib/dev/acpica/common/
H A Dadfile.c356 char *String)
361 NewString = UtLocalCacheCalloc ((ACPI_SIZE) strlen (String) + 1);
362 strcpy (NewString, String);
355 FlStrdup( char *String) argument
/freebsd-head/sys/contrib/dev/acpica/components/debugger/
H A Ddbconvert.c255 * PARAMETERS: String - Input string to be converted
260 * DESCRIPTION: Convert a string to a buffer object. String is treated a list
267 char *String,
279 AcpiUtRemoveWhitespace (&String);
283 for (i = 0, Length = 0; String[i];)
288 while (String[i] &&
289 ((String[i] == ',') || (String[i] == ' ')))
303 for (i = 0, j = 0; String[i];)
305 Status = AcpiDbHexByteToBinary (&String[
266 AcpiDbConvertToBuffer( char *String, ACPI_OBJECT *Object) argument
343 AcpiDbConvertToPackage( char *String, ACPI_OBJECT *Object) argument
406 AcpiDbConvertToObject( ACPI_OBJECT_TYPE Type, char *String, ACPI_OBJECT *Object) argument
[all...]
/freebsd-head/sys/contrib/dev/acpica/components/executer/
H A Dexconvrt.c167 UINT8 *String,
176 * Integer, Buffer, or String
236 /* String conversion is different than Buffer conversion */
322 * Integer, Buffer, or String
381 ObjDesc->String.Length + 1);
390 strncpy ((char *) NewBuf, (char *) ObjDesc->String.Pointer,
391 ObjDesc->String.Length);
413 * String - Where the string is returned
426 UINT8 *String,
489 String[
423 AcpiExConvertToAscii( UINT64 Integer, UINT16 Base, UINT8 *String, UINT8 DataWidth) argument
[all...]
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Utility/
H A DJSON.h31 enum class Kind { String, Number, True, False, Null, Object, Array }; member in class:lldb_private::JSONValue::Kind
59 return V->GetKind() == JSONValue::Kind::String;
259 String, enumerator in enum:lldb_private::JSONParser::Token

Completed in 474 milliseconds

1234