/haiku/headers/libs/print/libprint/ |
H A D | PrinterData.h | 9 #include <string> 24 const string& GetDriverName() const; 25 const string& GetPrinterName() const; 26 const string& GetComments() const; 27 const string& GetTransport() const; 34 bool GetPath(string& path) const; 44 string fDriverName; 45 string fPrinterName; 46 string fComments; 47 string fTranspor [all...] |
/haiku/src/tests/apps/haikudepot/ |
H A D | StringUtilsTest.cpp | 28 BString string = "\t\n Tonic Water"; local 31 StringUtils::InSituTrimSpaceAndControl(string); 35 CPPUNIT_ASSERT_EQUAL(expected, string); 42 BString string = "Tonic Water \x05\t"; local 45 StringUtils::InSituTrimSpaceAndControl(string); 49 CPPUNIT_ASSERT_EQUAL(expected, string); 56 BString string = "\x01Tonic Water\x02"; local 59 StringUtils::InSituTrimSpaceAndControl(string); 63 CPPUNIT_ASSERT_EQUAL(expected, string); 70 BString string local 84 BString string = "\\x01 To\\tnic Wa\\nter "; local 99 BString string = "Tonic Water"; local [all...] |
/haiku/headers/os/locale/ |
H A D | Catalog.h | 32 const char* GetString(const char* string, 80 // this string will be the same for all languages, each occurrence of 81 // the string must be translated on its own. 82 // Specifying the context explicitly with each string allows the person 84 // same string and tell which strings appears in what context of the 107 #define B_TRANSLATE(string) \ 108 B_CATALOG->GetString((string), B_TRANSLATION_CONTEXT) 111 #define B_TRANSLATE_CONTEXT(string, context) \ 112 B_CATALOG->GetString((string), (context)) 115 #define B_TRANSLATE_COMMENT(string, commen [all...] |
/haiku/src/libs/print/libprint/ |
H A D | JSDSlider.cpp | 14 #include <string.h> 35 static char string[64]; local 36 string[0] = 0; 41 sprintf(string, " %.2f", gamma); 45 sprintf(string," %.0f%%", density); 48 fResult.SetTo(string);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | StringKey.h | 14 StringKey(const ::String& string) argument 16 fString(string.Data()), 17 fHash(string.Hash()) 21 explicit StringKey(const char* string) argument 23 fString(string), 24 fHash(hash_hash_string(string))
|
/haiku/headers/private/shared/ |
H A D | HashString.h | 37 HashString(const HashString &string); 38 HashString(const char *string, int32 length = -1); 41 bool SetTo(const char *string, int32 maxLength = -1); 51 HashString &operator=(const HashString &string); 52 bool operator==(const HashString &string) const; 53 bool operator!=(const HashString &string) const { return !(*this == string); } 56 bool _SetTo(const char *string, int32 length);
|
/haiku/headers/tools/cppunit/ |
H A D | TestSuite.h | 7 #include <string> 16 BTestSuite(std::string name = ""); 21 virtual std::string getName() const; 22 virtual std::string toString() const; 24 virtual void addTest(std::string name, CppUnit::Test *test); 27 const std::map<std::string, CppUnit::Test*> &getTests() const; 30 std::map<std::string, CppUnit::Test*> fTests; 31 const std::string fName;
|
H A D | ThreadedTestCase.h | 8 #include <string> 14 BThreadedTestCase(std::string Name = "", std::string progressSeparator = "."); 26 you really need to print a single string that's long than that, fix the 36 void InitThreadInfo(thread_id id, std::string threadName); 40 std::vector<std::string>& AcquireUpdateList(); 46 std::string fProgressSeparator; 49 std::string name; 53 std::vector<std::string> fUpdateList;
|
/haiku/src/tests/add-ons/print/ppd/test/ |
H A D | TestScanner.cpp | 51 BString string; local 52 string.Append('a', 1); 53 printf("%d\n", (int)string.Length()); 54 string.Append((char)0, 1); 55 string.Append('b', 1); 56 printf("%d\n", (int)string.Length()); 57 for (int i = 0; i < string.Length(); i ++) { 58 printf("%c ", string.String()[i]);
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | DrawingModeToString.cpp | 8 #include <string.h> 12 const char* string; member in struct:DrawingModeString 32 bool ToDrawingMode(const char* string, drawing_mode& mode) argument 36 if (strcmp(kDrawingModes[i].string, string) == 0) { 45 bool ToString(drawing_mode mode, const char*& string) argument 50 string = kDrawingModes[i].string;
|
/haiku/headers/compatibility/bsd/ |
H A D | string.h | 9 #include_next <string.h> 20 char* strsep(char** string, const char* delimiters);
|
/haiku/headers/tools/cppunit/cppunit/ |
H A D | SourceLine.h | 5 #include <string> 35 SourceLine( const std::string &fileName, 45 std::string fileName() const; 51 std::string m_fileName;
|
H A D | Test.h | 5 #include <string> 45 virtual std::string getName () const = 0; 54 virtual std::string toString () const = 0;
|
/haiku/src/add-ons/accelerants/neomagic/ |
H A D | acc_std.h | 10 #include <string.h>
|
/haiku/src/apps/mediaplayer/support/ |
H A D | DurationToString.h | 12 void duration_to_string(int32 seconds, char* string, size_t stringSize);
|
/haiku/src/system/kernel/util/ |
H A D | StringHash.cpp | 14 hash_hash_string(const char* string) argument 20 while ((c = *string++) != 0) { 31 hash_hash_string_part(const char* string, size_t maxLength) argument 37 while (maxLength-- > 0 && (c = *string++) != 0) {
|
/haiku/src/tests/system/libroot/posix/ |
H A D | posix_spawn_pipe_err.c | 4 #include <string.h>
|
H A D | test_confstr.c | 3 #include <string.h> 7 char string[512]; variable 18 size = confstr(i, string, sizeof(string)); 19 printf("%ld value %s\n", i, string);
|
/haiku/src/add-ons/accelerants/matrox/ |
H A D | acc_std.h | 10 #include <string.h>
|
/haiku/src/kits/debugger/value/values/ |
H A D | AddressValue.cpp | 33 BString string(buffer); 34 if (string.Length() == 0) 37 _string = string;
|
H A D | IntegerValue.cpp | 37 BString string; 39 string << fValue.ToInt64(); 41 string << fValue.ToUInt64(); 43 if (string.Length() == 0) 46 _string = string;
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | QueryParserUtils.cpp | 15 # include <string.h> 42 char* string = (*expr) + skip; local 43 while (*string == ' ' || *string == '\t') string++; 44 *expr = string; 51 char* string = *expr; local 52 while (string > stop && (*string == ' ' || *string 95 utf8ToUnicode(char** string) argument 135 getFirstPatternSymbol(char* string) argument 186 matchString(char* pattern, char* string) argument [all...] |
/haiku/src/tools/cppunit/cppunit/ |
H A D | TypeInfoHelper.cpp | 5 #include <string> 9 using std::string; 14 string 17 static const string classPrefix( "class " ); 18 string name( info.name() );
|
/haiku/headers/private/file_systems/ |
H A D | QueryParserUtils.h | 49 uint32 utf8ToUnicode(char** string); 50 int32 getFirstPatternSymbol(char* string); 52 status_t matchString(char* pattern, char* string); 59 isPattern(char* string) argument 61 return getFirstPatternSymbol(string) >= 0 ? true : false;
|
/haiku/headers/private/package/hpkg/ |
H A D | Strings.h | 21 uint32 hash_string(const char* string); 25 char* string; member in struct:BPackageKit::BHPKG::BPrivate::CachedString 32 string(NULL), 40 free(string); 43 bool Init(const char* string) argument 45 this->string = strdup(string); 46 if (this->string == NULL) 65 return HashKey(value->string); 70 return strcmp(value->string, ke [all...] |