/haiku/src/tests/kits/support/bstring/ |
H A D | StringInsertTest.cpp | 20 BString *str1, *str2; in PerformTest() local 101 str2 = new BString("INSERTED"); in PerformTest() 102 str1->Insert(*str2, 0); in PerformTest() 105 delete str2; in PerformTest() 115 str2 = new BString("INSERTED"); in PerformTest() 116 str1->Insert(*str2, -1); in PerformTest() 119 delete str2; in PerformTest() 124 str2 = new BString("INSERTED"); in PerformTest() 125 str1->Insert(*str2, 2, 2); in PerformTest() 128 delete str2; in PerformTest() [all …]
|
H A D | StringAppendTest.cpp | 20 BString *str1, *str2; in PerformTest() local 25 str2 = new BString("APPENDED"); in PerformTest() 26 *str1 += *str2; in PerformTest() 29 delete str2; in PerformTest() 62 str2 = new BString("APPENDED"); in PerformTest() 63 str1->Append(*str2); in PerformTest() 66 delete str2; in PerformTest() 91 str2 = new BString("APPENDED"); in PerformTest() 92 str1->Append(*str2, 2); in PerformTest() 95 delete str2; in PerformTest()
|
H A D | StringPrependTest.cpp | 21 BString *str1, *str2; in PerformTest() local 26 str2 = new BString("PREPENDED"); in PerformTest() 27 str1->Prepend(*str2); in PerformTest() 30 delete str2; in PerformTest() 56 str2 = new BString("PREPEND", 4); in PerformTest() 57 str1->Prepend(*str2); in PerformTest() 60 delete str2; in PerformTest()
|
/haiku/src/tools/translation/inspector/ |
H A D | ImageView.cpp | 361 char str2[127] = { 0 }; in dump_translation_formats() local 362 sprintf(str2, "%f", pfmts[i].quality); in dump_translation_formats() 363 string.ReplaceFirst("%5", str2 ); in dump_translation_formats() 364 str2[0] = '\0'; in dump_translation_formats() 365 sprintf(str2, "%f", pfmts[i].capability); in dump_translation_formats() 366 string.ReplaceFirst("%6", str2 ); in dump_translation_formats() 405 char str2[127] = { 0 }; in UpdateInfoWindow() local 406 sprintf(str2, "%ld", fpbitmap->Bounds().IntegerWidth() + 1); in UpdateInfoWindow() 407 bstr.ReplaceFirst("%4", str2); in UpdateInfoWindow() 408 str2[0] = '\0'; in UpdateInfoWindow() [all …]
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KDiskDeviceUtils.h | 79 compare_string(const char *str1, const char *str2) in compare_string() argument 82 if (str2 == NULL) in compare_string() 85 } else if (str2 == NULL) in compare_string() 87 return strcmp(str1, str2); in compare_string()
|
/haiku/src/apps/mail/ |
H A D | Utilities.cpp | 66 cistrcmp(const char* str1, const char* str2) in cistrcmp() argument 78 c2 = str2[loop]; in cistrcmp() 97 cistrncmp(const char* str1, const char* str2, int32 max) in cistrncmp() argument 107 c2 = *str2++; in cistrncmp()
|
/haiku/src/libs/libsolv/solv/ |
H A D | util.c | 161 solv_dupjoin(const char *str1, const char *str2, const char *str3) in solv_dupjoin() argument 166 l2 = str2 ? strlen(str2) : 0; in solv_dupjoin() 176 strcpy(s, str2); in solv_dupjoin() 189 solv_dupappend(const char *str1, const char *str2, const char *str3) in solv_dupappend() argument 191 char *str = solv_dupjoin(str1, str2, str3); in solv_dupappend()
|
H A D | util.h | 37 extern char *solv_dupjoin(const char *str1, const char *str2, const char *str3); 38 extern char *solv_dupappend(const char *str1, const char *str2, const char *str3);
|
H A D | pool.h | 233 extern char *pool_tmpjoin(Pool *pool, const char *str1, const char *str2, const char *str3); 234 extern char *pool_tmpappend(Pool *pool, const char *str1, const char *str2, const char *str3);
|
H A D | pool.c | 1476 pool_tmpjoin(Pool *pool, const char *str1, const char *str2, const char *str3) in pool_tmpjoin() argument 1481 l2 = str2 ? strlen(str2) : 0; in pool_tmpjoin() 1491 strcpy(s, str2); in pool_tmpjoin() 1504 pool_tmpappend(Pool *pool, const char *str1, const char *str2, const char *str3) in pool_tmpappend() argument 1510 l2 = str2 ? strlen(str2) : 0; in pool_tmpappend() 1526 strcpy(s, str2); in pool_tmpappend()
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | MenuWindow.cpp | 170 void MenuWindow::UpdateStatus(const char* str1, const char* str2) in UpdateStatus() argument 176 if (str2) in UpdateStatus() 177 len2 = strlen(str2); in UpdateStatus() 185 if (str2) in UpdateStatus() 186 strcpy(updateText + len1, str2); in UpdateStatus()
|
H A D | MenuWindow.h | 55 const char* str2 = NULL);
|
/haiku/src/bin/ |
H A D | version.cpp | 107 str_less_equal(const char *str1, const char *str2) in str_less_equal() argument 110 char *ptr2 = const_cast<char*>(str2); in str_less_equal()
|
H A D | hey.cpp | 1400 char str2[6]; in format_data() local 1401 snprintf(str2, sizeof(str2), "%c%c%c%c ", in format_data() 1406 strcat(str, str2); in format_data() 1414 char str2[strlen(pinfo[pinfo_index].ctypes[i].pairs[j].name) + 8]; in format_data() local 1415 snprintf(str2, sizeof(str2), in format_data() 1422 strcat(str, str2); in format_data()
|
/haiku/src/apps/tv/ |
H A D | MainWin.cpp | 221 BString str2 = pixel_ratio; in CreateMenu() local 222 str2 << " 1.06666:1"; in CreateMenu() 223 fDebugMenu->AddItem(new BMenuItem(str2.String(), in CreateMenu() 580 BString str2 = pixel_aspect; in ShowContextMenu() local 581 str2 << " 1.06666:1"; in ShowContextMenu() 582 menu->AddItem(new BMenuItem(str2.String(), in ShowContextMenu()
|
/haiku/src/kits/storage/disk_device/ |
H A D | DiskDeviceJobGenerator.cpp | 54 compare_string(const char* str1, const char* str2) in compare_string() argument 57 if (str2 == NULL) in compare_string() 60 } else if (str2 == NULL) in compare_string() 63 return strcmp(str1, str2); in compare_string()
|
H A D | Partition.cpp | 71 compare_string(const char* str1, const char* str2) in compare_string() argument 74 if (str2 == NULL) in compare_string() 78 if (str2 == NULL) in compare_string() 80 return strcmp(str1, str2); in compare_string()
|
/haiku/src/apps/pulse/ |
H A D | NormalPulseView.cpp | 69 char* str2 = (char *)B_TRANSLATE("CPU progress bar"); in NormalPulseView() local 70 fProgressBars[x] = new ProgressBar(r, str2); in NormalPulseView()
|
/haiku/src/libs/iconv/ |
H A D | iconv.c | 188 static int strequal (const char* str1, const char* str2) 194 c2 = * (unsigned char *) str2++;
|
/haiku/src/libs/libsolv/ext/ |
H A D | testcase.c | 393 char *str2 = pool_tmpappend(pool, str, "@", s->repo->name); in testcase_solvid2str() local 394 for (; str2[l]; l++) in testcase_solvid2str() 395 if (str2[l] == ' ' || str2[l] == '\t') in testcase_solvid2str() 396 str2[l] = '_'; in testcase_solvid2str() 397 return str2; in testcase_solvid2str()
|
/haiku/src/bin/unzip/ |
H A D | unzpriv.h | 2239 # define STRLOWER(str1, str2) \ argument 2243 q = (char *)(str2); \ 2255 # define STRLOWER(str1, str2) \ argument 2259 q = (char *)(str2); \
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | vfprintf.c | 1175 const char *str2 = string; \ in vfprintf() 1179 if (__mbsnrtowcs (ignore, &str2, prec, prec, &ps) \ in vfprintf() 1185 if (str2 == NULL) \ in vfprintf() 1188 len = str2 - string - (ps.__count); \ in vfprintf()
|
/haiku/src/tests/kits/storage/ |
H A D | AppFileInfoTest.cpp | 513 BString str1, str2; in operator ==() local 515 && value.types.FindString("types", i, &str2) == B_OK in operator ==() 516 && str1 == str2; in operator ==()
|
H A D | MimeTypeTest.cpp | 2281 const char *str2; in types_fields_are_identical() local 2286 status_t err2 = msg2.FindString(typesField, i, &str2); in types_fields_are_identical() 2293 result &= to_lower(str1) == to_lower(str2); in types_fields_are_identical()
|