Searched refs:string (Results 101 - 125 of 3270) sorted by relevance

1234567891011>>

/haiku/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dargv.c3 string and chop it into individual words. The return value is an
19 #include <string.h>
74 *str++ = '\0'; /* chop the string */
/haiku/headers/private/shared/
H A DStringForRate.h14 const char* string_for_rate(double rate, char* string, size_t stringSize);
/haiku/src/system/libroot/posix/string/
H A Dstpcpy.c8 #include <string.h>
/haiku/src/system/libroot/posix/
H A Dinttypes.c36 strtoimax(const char *string, char **_end, int base) argument
38 return (intmax_t)strtoll(string, _end, base);
43 strtoumax(const char *string, char **_end, int base) argument
45 return (intmax_t)strtoull(string, _end, base);
/haiku/src/system/boot/platform/efi/
H A Dtimer.cpp13 #include <string.h>
/haiku/src/kits/package/
H A DPackageInfoContentHandler.cpp62 fPackageInfo.SetName(value.string);
66 fPackageInfo.SetSummary(value.string);
70 fPackageInfo.SetDescription(value.string);
74 fPackageInfo.SetVendor(value.string);
78 fPackageInfo.SetPackager(value.string);
95 return fPackageInfo.AddCopyright(value.string);
98 return fPackageInfo.AddLicense(value.string);
116 return fPackageInfo.AddReplaces(value.string);
119 return fPackageInfo.AddURL(value.string);
122 return fPackageInfo.AddSourceURL(value.string);
[all...]
/haiku/src/libs/glut/
H A Dbeos_x11.cpp66 * were actually found in the string. For each value found,
72 ReadInteger(char *string, char **NextString) argument
77 if (*string == '+')
78 string++;
79 else if (*string == '-')
81 string++;
84 for (; (*string >= '0') && (*string <= '9'); string++)
86 Result = (Result * 10) + (*string
95 XParseGeometry(char *string, int *x, int *y, unsigned int *width, unsigned int *height) argument
[all...]
/haiku/src/system/libroot/posix/musl/dirent/
H A Dalphasort.c1 #include <string.h>
/haiku/src/bin/debug/strace/
H A DSyscall.h8 #include <string>
15 using std::string;
21 Type(string typeName, TypeHandler *handler)
24 const string &TypeName() const { return fTypeName; }
38 string fTypeName;
46 Parameter(string name, int32 offset, string typeName, TypeHandler *handler)
55 const string &Name() const { return fName; }
63 string fName;
72 Syscall(string nam
[all...]
/haiku/headers/posix/
H A Dstring.h30 /* string functions */
36 extern size_t strlen(const char *string);
40 extern char *strchr(const char *string, int character);
41 extern char *strrchr(const char *string, int character);
42 extern char *strstr(const char *string, const char *searchString);
45 extern char *strchrnul(const char *string, int character);
48 extern char *strpbrk(const char *string, const char *set);
49 extern char *strtok(char *string, const char *set);
50 extern char *strtok_r(char *string, const char *set, char **savePointer);
51 extern size_t strspn(const char *string, cons
[all...]
/haiku/headers/tools/cppunit/cppunit/
H A DException.h7 #include <string>
24 Type( std::string type ) : m_type ( type ) {}
31 const std::string m_type;
35 Exception( std::string message = "",
39 Exception( std::string message,
41 std::string fileName );
56 string fileName() const;
58 static const std::string UNKNOWNFILENAME;
73 std::string m_message;
/haiku/src/tools/cppunit/
H A DBTestSuite.cpp6 using std::string;
10 BTestSuite::BTestSuite( string name )
26 for ( map<string, CppUnit::Test*>::iterator it = fTests.begin();
38 for ( map<string, CppUnit::Test*>::iterator it = fTests.begin();
57 for ( map<string, CppUnit::Test *>::const_iterator it = fTests.begin();
69 BTestSuite::addTest(string name, CppUnit::Test *test) {
74 // Returns a string representation of the test suite.
76 string
84 string
91 const map<string, CppUni
[all...]
/haiku/headers/os/locale/
H A DNumberFormat.h27 ssize_t Format(char* string, size_t maxSize, const double value);
28 status_t Format(BString& string, const double value);
29 ssize_t Format(char* string, size_t maxSize, const int32 value);
30 status_t Format(BString& string, const int32 value);
34 ssize_t FormatMonetary(char* string, size_t maxSize, const double value);
35 status_t FormatMonetary(BString& string, const double value);
37 ssize_t FormatPercent(char* string, size_t maxSize, const double value);
38 status_t FormatPercent(BString& string, const double value);
40 status_t Parse(const BString& string, double& value);
/haiku/src/apps/devices/
H A DDeviceACPI.cpp77 BString string(B_TRANSLATE("ACPI Processor Namespace '%2'"));
78 string.ReplaceFirst("%2", nodeACPIPath);
80 deviceName << string.String();
85 BString string(B_TRANSLATE("ACPI node '%1'"));
86 string.ReplaceFirst("%1", nodeACPIPath);
87 deviceName << string.String();
91 BString string(B_TRANSLATE("ACPI Button '%1'"));
92 string.ReplaceFirst("%1", nodeACPIHid);
93 deviceName << string.String();
95 BString string(B_TRANSLAT
[all...]
/haiku/src/kits/support/
H A DString.cpp15 /*! String class supporting common string operations. */
56 //! Returns length of given string (but clamps to given maximum).
58 strlen_clamp(const char* string, int32 max) argument
61 return max <= 0 ? 0 : strnlen(string, max);
67 string_length(const char* string) argument
69 return string != NULL ? strlen(string) : 0;
73 //! helper function, massages given pointer into a legal c-string:
75 safestr(const char* string) argument
77 return string !
167 BString(const char* string) argument
175 BString(const BString& string) argument
189 BString(const char* string, int32 maxLength) argument
230 HashValue(const char* string) argument
250 operator =(const BString& string) argument
257 operator =(const char* string) argument
289 SetTo(const char* string, int32 maxLength) argument
304 SetTo(const BString& string) argument
335 SetTo(const BString& string, int32 maxLength) argument
374 SetToChars(const char* string, int32 charCount) argument
381 SetToChars(const BString& string, int32 charCount) argument
388 AdoptChars(BString& string, int32 charCount) argument
573 Append(const BString& string, int32 length) argument
585 Append(const char* string, int32 length) argument
607 AppendChars(const BString& string, int32 charCount) argument
614 AppendChars(const char* string, int32 charCount) argument
624 Prepend(const char* string) argument
633 Prepend(const BString& string) argument
642 Prepend(const char* string, int32 length) argument
651 Prepend(const BString& string, int32 length) argument
669 PrependChars(const char* string, int32 charCount) argument
676 PrependChars(const BString& string, int32 charCount) argument
686 Insert(const char* string, int32 position) argument
705 Insert(const char* string, int32 length, int32 position) argument
724 Insert(const char* string, int32 fromOffset, int32 length, int32 position) argument
734 Insert(const BString& string, int32 position) argument
743 Insert(const BString& string, int32 length, int32 position) argument
752 Insert(const BString& string, int32 fromOffset, int32 length, int32 position) argument
778 InsertChars(const char* string, int32 charPosition) argument
785 InsertChars(const char* string, int32 charCount, int32 charPosition) argument
793 InsertChars(const char* string, int32 fromCharOffset, int32 charCount, int32 charPosition) argument
804 InsertChars(const BString& string, int32 charPosition) argument
811 InsertChars(const BString& string, int32 charCount, int32 charPosition) argument
819 InsertChars(const BString& string, int32 fromCharOffset, int32 charCount, int32 charPosition) argument
873 RemoveFirst(const BString& string) argument
885 RemoveLast(const BString& string) argument
896 RemoveAll(const BString& string) argument
909 RemoveFirst(const char* string) argument
922 RemoveLast(const char* string) argument
935 RemoveAll(const char* string) argument
1062 Compare(const BString& string, int32 length) const argument
1069 Compare(const char* string, int32 length) const argument
1076 CompareAt(size_t offset, const BString& string, int32 length) const argument
1083 CompareChars(const BString& string, int32 charCount) const argument
1090 CompareChars(const char* string, int32 charCount) const argument
1111 ICompare(const BString& string, int32 length) const argument
1118 ICompare(const char* string, int32 length) const argument
1145 FindFirst(const BString& string, int32 fromOffset) const argument
1156 FindFirst(const char* string, int32 fromOffset) const argument
1211 FindFirstChars(const BString& string, int32 fromCharOffset) const argument
1218 FindFirstChars(const char* string, int32 fromCharOffset) const argument
1242 FindLast(const BString& string, int32 beforeOffset) const argument
1253 FindLast(const char* string, int32 beforeOffset) const argument
1308 FindLastChars(const BString& string, int32 beforeCharOffset) const argument
1315 FindLastChars(const char* string, int32 beforeCharOffset) const argument
1339 IFindFirst(const BString& string, int32 fromOffset) const argument
1350 IFindFirst(const char* string, int32 fromOffset) const argument
1381 IFindLast(const BString& string, int32 beforeOffset) const argument
1392 IFindLast(const char* string, int32 beforeOffset) const argument
1420 StartsWith(const char* string, int32 length) const argument
1444 IStartsWith(const char* string, int32 length) const argument
1468 EndsWith(const char* string, int32 length) const argument
1493 IEndsWith(const char* string, int32 length) const argument
2103 const char* string = String(); local
2137 operator <<(const char* string) argument
2149 operator <<(const BString& string) argument
2466 _DoAppend(const char* string, int32 length) argument
2478 _DoPrepend(const char* string, int32 length) argument
2493 _DoInsert(const char* string, int32 offset, int32 length) argument
2508 _ShortFindAfter(const char* string, int32 len) const argument
2520 _FindAfter(const char* string, int32 offset, int32 length) const argument
2532 _IFindAfter(const char* string, int32 offset, int32 length) const argument
2544 _FindBefore(const char* string, int32 offset, int32 length) const argument
2560 _IFindBefore(const char* string, int32 offset, int32 length) const argument
2576 _DoCharacterEscape(const char* string, const char* setOfCharsToEscape, char escapeChar) argument
2631 _DoCharacterDeescape(const char* string, char escapeChar) argument
2725 __ls__7BStringR7BString(BString* self, BString& string) argument
2755 BStringRef(BString& string, int32 position) argument
[all...]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_std.h2 #include <string.h>
/haiku/src/bin/rc/tests/
H A Dbuiltin.rdef33 string signature // max 240 bytes (including null)
39 string catalog_entry
73 string short_info[64],
74 string long_info[256]
/haiku/src/tests/
H A DUnitTester.h11 #include <string>
17 const std::string &description = "",
/haiku/src/tests/kits/support/bautolock/
H A DAutolockLockerTest.h14 #include <string>
29 AutolockLockerTest(std::string);
H A DAutolockLooperTest.h15 #include <string>
28 AutolockLooperTest(std::string);
/haiku/src/tests/kits/support/blocker/
H A DBenaphoreLockCountTest1.h14 #include <string>
32 BenaphoreLockCountTest1(std::string);
H A DDestructionTest1.h14 #include <string>
25 DestructionTest1(std::string name, bool isBenaphore);
H A DSemaphoreLockCountTest1.h15 #include <string>
33 SemaphoreLockCountTest1(std::string);
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DString.cpp11 String::SetToExactLength(const char* string, size_t length) argument
13 StringData* data = StringPool::Get(string, length);
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp19 const char* string, bool valueChanged, enum alignment alignment,
29 truncatedString = string;
32 string = truncatedString.String();
44 x = rect.left + (rect.Width() - view->StringWidth(string)) / 2;
48 x = rect.right - kTextMargin - view->StringWidth(string);
65 view->DrawString(string, BPoint(x, y));
74 const char* string)
76 return view->StringWidth(string) + 2 * kTextMargin;
18 DrawString(BView* view, BRect rect, const char* string, bool valueChanged, enum alignment alignment, bool truncate) argument
73 PreferredStringWidth(BView* view, const char* string) argument

Completed in 120 milliseconds

1234567891011>>