3rdparty/proj2make/proj2make.cpp
157
const char* str() { return _s.c_str(); }
headers/cpp/std/bastring.h
354
const charT* c_str () const
headers/cpp/stl_rope.h
1774
const _CharT* c_str() const;
headers/private/userlandfs/private/FSCapabilities.h
244
PRINT(("FSCapabilities[%s]\n", capabilities.to_string().c_str()));
headers/tools/cppunit/ThreadManager.h
114
fName.c_str(), B_NORMAL_PRIORITY, this);
headers/tools/cppunit/ThreadedTestCaller.h
178
printf("%s", (*i).c_str());
src/add-ons/input_server/filters/shortcut_catcher/KeyInfos.cpp
192
keyCodeName.Append(sstream.str().c_str());
src/add-ons/locale/catalogs/plaintext/Catalog.cpp
213
fLanguageName = currentItem.c_str() ;
src/add-ons/locale/catalogs/plaintext/Catalog.cpp
219
fSignature = currentItem.c_str() ;
src/add-ons/locale/catalogs/plaintext/Catalog.cpp
264
SetString(originalString.c_str(), translated.c_str(), context.c_str(),
src/add-ons/locale/catalogs/plaintext/Catalog.cpp
265
comment.c_str());
src/add-ons/media/media-add-ons/usb_vision/Producer.cpp
1058
d_parameter->AddItem(i, (fLocales[fLocale]->GetChannel(i)).Name().c_str());
src/add-ons/media/media-add-ons/usb_vision/Producer.cpp
263
parameter->AddItem(i, (fLocales[fLocale]->GetChannel(i)).Name().c_str());
src/add-ons/media/media-add-ons/usb_vision/Producer.cpp
322
parameter->AddItem(i, fLocales[i]->Name().c_str());
src/add-ons/media/plugins/ape_reader/LibMonkeysAudio/LibMonkeysAudio.cpp
47
return saCright.c_str();
src/add-ons/print/drivers/gutenprint/GPBinding.cpp
76
const char* id = manufacturer.c_str();
src/add-ons/print/drivers/gutenprint/GPBinding.cpp
77
const char* name = manufacturer.c_str();
src/add-ons/print/drivers/gutenprint/GPDriver.cpp
111
const char* key = capability->fKey.c_str();
src/add-ons/print/drivers/gutenprint/GPDriver.cpp
139
capability = GetPrinterCap()->FindCapWithKey(category, value.c_str());
src/add-ons/print/drivers/gutenprint/GPJob.cpp
168
stp_set_string_parameter(fVariables, it->first.c_str(),
src/add-ons/print/drivers/gutenprint/GPJob.cpp
169
it->second.c_str());
src/add-ons/print/drivers/gutenprint/GPJob.cpp
177
stp_set_boolean_parameter(fVariables, it->first.c_str(),
src/add-ons/print/drivers/gutenprint/GPJob.cpp
186
stp_set_int_parameter(fVariables, it->first.c_str(),
src/add-ons/print/drivers/gutenprint/GPJob.cpp
195
stp_set_dimension_parameter(fVariables, it->first.c_str(),
src/add-ons/print/drivers/gutenprint/GPJob.cpp
204
stp_set_float_parameter(fVariables, it->first.c_str(),
src/add-ons/print/drivers/postscript/PS.cpp
350
GetSpoolMetaData()->GetDescription().c_str());
src/add-ons/print/drivers/postscript/PS.cpp
352
GetSpoolMetaData()->GetMimeType().c_str());
src/add-ons/print/drivers/postscript/PS.cpp
354
GetSpoolMetaData()->GetCreationTime().c_str());
src/add-ons/print/transports/ipp/HttpURLConnection.cpp
177
return (*it).value.c_str();
src/add-ons/print/transports/ipp/HttpURLConnection.cpp
197
return __response_message.c_str();
src/add-ons/print/transports/ipp/HttpURLConnection.cpp
87
return __method.c_str();
src/add-ons/print/transports/ipp/HttpURLConnection.h
134
return __error_msg.c_str();
src/add-ons/print/transports/ipp/IppContent.cpp
815
ifs.open(file_path.c_str(), ios::in | ios::binary);
src/add-ons/print/transports/ipp/IppContent.cpp
928
ifs.open(file_path.c_str(), ios::in | ios::binary);
src/add-ons/print/transports/ipp/IppSetupDlg.cpp
146
BAlert *alert = new BAlert("", error_msg.c_str(), "OK");
src/add-ons/print/transports/ipp/IppTransport.cpp
132
BAlert *alert = new BAlert("", error_msg.c_str(), "OK");
src/add-ons/print/transports/lpr/LprTransport.cpp
120
lpr.receiveControlFile(cfsize, cfname.str().c_str());
src/add-ons/print/transports/lpr/LprTransport.cpp
121
lpr.transferData(cf.str().c_str(), cfsize);
src/add-ons/print/transports/lpr/LprTransport.cpp
124
lpr.receiveDataFile(dfsize, dfname.str().c_str());
src/add-ons/print/transports/lpr/LpsClient.cpp
68
fSock = new Socket(fHost.c_str(), LPS_SERVER_PORT, localPort);
src/add-ons/print/transports/lpr/LpsClient.h
27
return fWhat.c_str();
src/add-ons/print/transports/shared/Socket.cpp
80
if ((inaddr = inet_addr(__host.c_str())) != INADDR_NONE) {
src/add-ons/print/transports/shared/Socket.cpp
83
} else if ((host_info = gethostbyname(__host.c_str())) != NULL) {
src/apps/codycam/FtpClient.cpp
148
addr.SetTo(server.c_str(), "tcp", "ftp");
src/apps/codycam/FtpClient.cpp
201
BFile infile(local.c_str(), B_READ_ONLY);
src/apps/codycam/FtpClient.cpp
284
BFile outfile(local.c_str(), B_READ_WRITE | B_CREATE_FILE);
src/apps/codycam/FtpClient.cpp
400
printf(B_TRANSLATE("cmd: '%s'\n"), cmd.c_str());
src/apps/codycam/FtpClient.cpp
454
puts(ccmd.c_str());
src/apps/codycam/FtpClient.cpp
458
if (fControl->Send(ccmd.c_str(), ccmd.length()) >= 0)
src/apps/codycam/FtpClient.cpp
553
puts(outString.c_str());
src/apps/codycam/FtpClient.cpp
556
outCode = atoi(tempString.c_str());
src/apps/codycam/FtpClient.cpp
562
puts(outString.c_str());
src/apps/codycam/FtpClient.cpp
623
if (sscanf(replyString.c_str(), "%d,%d,%d,%d,%d,%d",
src/apps/codycam/SftpClient.cpp
129
write(OutputPipe(), passwd.c_str(), strlen(passwd.c_str()));
src/apps/codycam/SftpClient.cpp
162
cmd << " " << local.c_str() << " " << remote.c_str() << "\n";
src/apps/codycam/SftpClient.cpp
208
cmd << " " << newPath.c_str() << "\n";
src/apps/codycam/SftpClient.cpp
235
cmd << " " << oldPath.c_str() << " " << newPath.c_str() << "\n";
src/apps/codycam/SftpClient.cpp
258
cmd << " " << mod.c_str() << " " << path.c_str() << "\n";
src/apps/codycam/SftpClient.cpp
36
cmd << " " << dir.c_str() << "\n";
src/apps/codycam/SftpClient.cpp
89
BString host(server.c_str());
src/apps/codycam/SftpClient.cpp
99
cmd << login.c_str();
src/apps/codycam/SpawningUploadClient.cpp
72
shellcmd << fCommand.c_str();
src/apps/devices/DevicePCI.cpp
51
return BString(ss.str().c_str());
src/apps/devices/DeviceUSB.cpp
71
return BString(ss.str().c_str());
src/apps/diskusage/InfoWindow.cpp
136
float w = smallFont.StringWidth((*i).first.c_str())
src/apps/diskusage/InfoWindow.cpp
139
w = smallFont.StringWidth((*i).second.c_str()) + 2.0 * kSmallHMargin;
src/apps/diskusage/InfoWindow.cpp
172
y + fontHeight), NULL, (*i).first.c_str());
src/apps/diskusage/InfoWindow.cpp
180
y + fontHeight), NULL, (*i).second.c_str());
src/apps/diskusage/PieView.cpp
476
displayName = snapshot->name.c_str();
src/apps/diskusage/Scanner.cpp
152
stringScan.ReplaceFirst("%refName%", fSnapshot->name.c_str());
src/apps/diskusage/Scanner.cpp
172
string.ReplaceFirst("%refName%", fSnapshot->name.c_str());
src/apps/diskusage/Scanner.cpp
293
char* workPath = strdup(fDesiredPath.c_str());
src/apps/diskusage/Scanner.h
42
{ return fTask.c_str(); }
src/apps/diskusage/StatusView.cpp
146
BString pathLabel = path.c_str();
src/bin/debug/debug_utils.cpp
58
if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) {
src/bin/debug/debug_utils.cpp
91
mutableArgs[0] = programPath.c_str();
src/bin/debug/strace/strace.cpp
368
syscall->Name().c_str() + 6, kTerminalTextNormal);
src/bin/debug/strace/strace.cpp
371
message.origin.thread, syscall->Name().c_str() + 6);
src/bin/debug/strace/strace.cpp
390
value.c_str());
src/bin/debug/strace/strace.cpp
428
syscall->Name().c_str() + 6, kTerminalTextNormal);
src/bin/debug/strace/strace.cpp
432
syscall->Name().c_str() + 6);
src/bin/debug/strace/strace.cpp
440
print_to_string(&string, &length, " = %s", value.c_str());
src/bin/debug/strace/strace.cpp
464
value.c_str());
src/bin/debug/strace/strace.cpp
507
signal_name(signalNumber).c_str(), strsignal(signalNumber),
src/bin/debug/strace/strace.cpp
508
kTerminalTextNormal, signal_info(message.info).c_str());
src/bin/debug/strace/strace.cpp
511
message.origin.thread, signal_name(signalNumber).c_str(),
src/bin/debug/strace/strace.cpp
512
strsignal(signalNumber), signal_info(message.info).c_str());
src/bin/debug/strace/strace.cpp
557
callIterator->first->c_str() + 6);
src/bin/diff_zip.cpp
102
printf("%*s%s\n", level, "", fName.c_str());
src/bin/diff_zip.cpp
108
if (lstat(path.c_str(), &st) == 0) {
src/bin/diff_zip.cpp
121
path.c_str(), strerror(errno));
src/bin/diff_zip.cpp
149
DIR* dir = opendir(path.c_str());
src/bin/diff_zip.cpp
152
path.c_str(), strerror(errno));
src/bin/diff_zip.cpp
165
if (lstat(entryPath.c_str(), &st) != 0) {
src/bin/diff_zip.cpp
167
entryPath.c_str(), strerror(errno));
src/bin/diff_zip.cpp
180
path.c_str(), strerror(errno));
src/bin/diff_zip.cpp
209
out->Write(path.c_str());
src/bin/diff_zip.cpp
214
DIR* dir = opendir(path.c_str());
src/bin/diff_zip.cpp
217
path.c_str(), strerror(errno));
src/bin/diff_zip.cpp
232
out->Write(entryPath.c_str());
src/bin/diff_zip.cpp
249
path.c_str(), strerror(errno));
src/bin/diff_zip.cpp
78
if (lstat(path.c_str(), &st) != 0)
src/bin/diff_zip.cpp
95
out->Write(path.c_str());
src/bin/mail_utils/spamdbm.cpp
2732
WordIter->c_str (), OptionalFileName);
src/bin/mail_utils/spamdbm.cpp
3212
ReplyMessagePntr->AddString ("words", WordRatioPntr->wordPntr->c_str ());
src/bin/mail_utils/spamdbm.cpp
3816
DataIter->first.c_str (), DataIter->second.age,
src/bin/mail_utils/spamdbm.cpp
3822
DataIter->first.c_str(), m_DatabaseFileName.String ());
src/bin/mail_utils/spamdbm.cpp
7508
strcpy (TempString, DataIter->first.c_str ());
src/bin/mail_utils/spamdbm.cpp
7755
strcpy (m_FirstDisplayedWord, DataIter->first.c_str ());
src/bin/mountvolume.cpp
450
const char* name = (*iterator).c_str();
src/bin/mountvolume.cpp
510
(*it).c_str());
src/bin/mountvolume.cpp
515
"found.\n", (*it).c_str());
src/bin/multiuser/groupmod.cpp
133
usersToRemove.begin()->c_str(), group);
src/bin/multiuser/groupmod.cpp
144
if (message.AddString("members", it->c_str()) != B_OK) {
src/bin/xres.cpp
223
status_t error = file.SetTo(fPath.c_str(), B_READ_ONLY);
src/bin/xres.cpp
226
fPath.c_str(), strerror(error));
src/bin/xres.cpp
236
"%s\n", fPath.c_str(), strerror(error));
src/bin/xres.cpp
244
fPath.c_str());
src/bin/xres.cpp
255
"\"%s\": %s\n", fPath.c_str(), strerror(bytesRead));
src/bin/xres.cpp
485
id.id, fOutputFilePath.c_str(), strerror(error));
src/bin/xres.cpp
497
"file \"%s\": %s\n", fOutputFilePath.c_str(),
src/bin/xres.cpp
515
status_t error = file.SetTo(fOutputFilePath.c_str(),
src/bin/xres.cpp
519
fOutputFilePath.c_str(), strerror(error));
src/bin/xres.cpp
528
"file \"%s\": %s\n", fOutputFilePath.c_str(), strerror(error));
src/bin/xres.cpp
567
state->SetOutput(fPath.c_str());
src/bin/xres.cpp
586
state->ProcessInput(fPath.c_str());
src/bin/xres.cpp
639
state->AddResource(fID, (fHasName ? fName.c_str() : NULL),
src/build/libbe/support/Archivable.cpp
293
out += spacenames[i].c_str();
src/build/libroot/LocalFD.h
41
return (fFD < 0 ? fPath.c_str() : NULL);
src/build/libroot/fs.cpp
1023
if (symlink(toPath, realPath.c_str()) < 0)
src/build/libroot/fs.cpp
1039
ssize_t bytesRead = readlink(realPath.c_str(), buffer, *_bufferSize);
src/build/libroot/fs.cpp
1056
if (lstat(realPath.c_str(), &linkStat) != 0)
src/build/libroot/fs.cpp
1076
if (unlink(realPath.c_str()) < 0)
src/build/libroot/fs.cpp
1098
if (rename(realOldPath.c_str(), realNewPath.c_str()) < 0)
src/build/libroot/fs.cpp
222
if (lstat(entryPath.c_str(), &st) == 0) {
src/build/libroot/fs.cpp
318
dirPath = dirPathString.c_str();
src/build/libroot/fs.cpp
372
if (stat(path.c_str(), &st) < 0) {
src/build/libroot/fs.cpp
470
if (strlcpy(userPath, path.c_str(), pathLength) >= pathLength)
src/build/libroot/fs.cpp
490
if (mkdir(realPath.c_str(), perms) < 0)
src/build/libroot/fs.cpp
508
if (mkdir(realPath.c_str(), perms) < 0)
src/build/libroot/fs.cpp
554
return open_dir(realPath.c_str());
src/build/libroot/fs.cpp
567
return open_dir(realPath.c_str());
src/build/libroot/fs.cpp
582
if (stat(realPath.c_str(), &st) < 0)
src/build/libroot/fs.cpp
591
error = find_dir_entry(realPath.c_str(), NodeRef(st),
src/build/libroot/fs.cpp
596
if (strlcpy(name, entryName.c_str(), nameLength) >= nameLength)
src/build/libroot/fs.cpp
601
return open_dir(realPath.c_str());
src/build/libroot/fs.cpp
682
descriptor = new SymlinkDescriptor(normalizedPath.c_str());
src/build/libroot/fs.cpp
710
return open_file(realPath.c_str(), openMode, perms);
src/build/libroot/fs.cpp
724
return open_file(realPath.c_str(), openMode, perms);
src/build/libroot/fs.cpp
856
result = stat(realPath.c_str(), st);
src/build/libroot/fs.cpp
858
result = lstat(realPath.c_str(), st);
src/build/libroot/fs.cpp
890
if (lstat(realPath.c_str(), &tmpStat) < 0)
src/build/libroot/fs.cpp
965
if (chmod(realPath.c_str(), st->st_mode) < 0)
src/build/libroot/fs.cpp
970
if (chown(realPath.c_str(), st->st_uid, (gid_t)-1) < 0)
src/build/libroot/fs.cpp
975
if (chown(realPath.c_str(), (uid_t)-1, st->st_gid) < 0)
src/build/libroot/fs.cpp
980
if (truncate(realPath.c_str(), st->st_size) < 0)
src/build/libroot/fs.cpp
989
if (stat(realPath.c_str(), &oldStat) < 0)
src/build/libroot/fs.cpp
996
if (utime(realPath.c_str(), &buffer) < 0)
src/build/libroot/fs_attr_generic.cpp
183
ssize_t bytesRead = get_attribute(fd, path, attributeName.c_str(), buffer,
src/build/libroot/fs_attr_generic.cpp
211
if (set_attribute(fd, path, attributeName.c_str(), id, strlen(id)) < 0)
src/build/libroot/fs_attr_generic.cpp
243
error = set_id_attribute(path, fd, id.c_str());
src/build/libroot/fs_attr_generic.cpp
297
if (lstat(attrDirPath.c_str(), &st) == 0) {
src/build/libroot/fs_attr_generic.cpp
310
if (mkdir(attrDirPath.c_str(), S_IRWXU | S_IRWXG | S_IRWXO) < 0)
src/build/libroot/fs_attr_generic.cpp
329
return opendir(dirPath.c_str());
src/build/libroot/fs_attr_generic.cpp
375
return get_attribute_path(ref, (pathValid ? path.c_str() : NULL),
src/build/libroot/fs_attr_generic.cpp
438
return open_attr_dir(NodeRef(st), (pathValid ? path.c_str() : NULL),
src/build/libroot/fs_attr_generic.cpp
463
strcpy(entry->d_name, attrName.c_str());
src/build/libroot/fs_attr_generic.cpp
496
bool exists = (lstat(attrPath.c_str(), &st) == 0);
src/build/libroot/fs_attr_generic.cpp
499
int attrFD = open(attrPath.c_str(), openMode, S_IRWXU | S_IRWXG | S_IRWXO);
src/build/libroot/fs_attr_generic.cpp
506
int typeFD = creat(typePath.c_str(), S_IRWXU | S_IRWXG | S_IRWXO);
src/build/libroot/fs_attr_generic.cpp
520
unlink(typePath.c_str());
src/build/libroot/fs_attr_generic.cpp
524
unlink(attrPath.c_str());
src/build/libroot/fs_attr_generic.cpp
620
if (unlink(attrPath.c_str()) < 0)
src/build/libroot/fs_attr_generic.cpp
623
unlink(typePath.c_str());
src/build/libroot/fs_attr_generic.cpp
648
if (lstat(attrPath.c_str(), &st) < 0)
src/build/libroot/fs_attr_generic.cpp
654
int typeFD = open(typePath.c_str(), O_RDONLY);
src/build/libroot/fs_attr_generic.cpp
702
DIR *dir = open_attr_dir(ref, (path ? realPath.c_str() : NULL),
src/build/libroot/fs_attr_generic.cpp
736
if (rename(fromAttrPath.c_str(), toAttrPath.c_str()) < 0)
src/build/libroot/fs_attr_generic.cpp
739
if (rename(fromTypePath.c_str(), toTypePath.c_str()) < 0) {
src/build/libroot/fs_attr_generic.cpp
743
rename(toAttrPath.c_str(), fromAttrPath.c_str());
src/build/libroot/fs_attr_generic.cpp
767
if (unlink(attrPath.c_str()) < 0)
src/build/libroot/fs_attr_generic.cpp
770
unlink(typePath.c_str());
src/build/libroot/fs_attr_generic.cpp
784
strcpy(buffer, dirPath.c_str());
src/build/libroot/fs_attr_haiku.cpp
283
dir = _haiku_build_fs_open_attr_dir(realPath.c_str());
src/build/libroot/fs_attr_untyped.cpp
241
path = tempPath.c_str();
src/build/libroot/fs_attr_untyped.cpp
296
name = demangledName.c_str();
src/build/libroot/fs_attr_untyped.cpp
332
ssize_t length = list_attributes(fFileFD, fPath.c_str(), listing,
src/build/libroot/fs_attr_untyped.cpp
520
bytesRead = get_attribute(-1, localFD.Path(), attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
523
bytesRead = get_attribute(localFD.FD(), NULL, attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
537
"AttributeHeader!\n", attribute.c_str());
src/build/libroot/fs_attr_untyped.cpp
597
result = set_attribute(-1, localFD.Path(), attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
600
result = set_attribute(localFD.FD(), NULL, attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
639
result = remove_attribute(-1, localFD.Path(), attribute.c_str());
src/build/libroot/fs_attr_untyped.cpp
641
result = remove_attribute(localFD.FD(), NULL, attribute.c_str());
src/build/libroot/fs_attr_untyped.cpp
677
bytesRead = get_attribute(-1, localFD.Path(), attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
680
bytesRead = get_attribute(localFD.FD(), NULL, attribute.c_str(),
src/build/libroot/fs_attr_untyped.cpp
694
"AttributeHeader!\n", attribute.c_str());
src/build/libroot/fs_attr_untyped.cpp
733
dir = fs_open_attr_dir(realPath.c_str());
src/build/libroot/fs_descriptors.cpp
195
DIR *dupDir = opendir(path.c_str());
src/build/libroot/fs_descriptors.cpp
215
result = stat(realPath.c_str(), st);
src/build/libroot/fs_descriptors.cpp
253
clone = new SymlinkDescriptor(path.c_str());
src/build/libroot/fs_descriptors.cpp
264
result = stat(path.c_str(), st);
src/build/libroot/fs_descriptors.cpp
266
result = lstat(path.c_str(), st);
src/kits/interface/ChannelControl.cpp
631
return (*iter).second.min_label.c_str();
src/kits/interface/ChannelControl.cpp
643
return (*iter).second.max_label.c_str();
src/kits/network/libnetapi/AbstractSocket.cpp
237
normalized.ToString().c_str(), strerror(errno));
src/kits/network/libnetapi/AbstractSocket.cpp
245
TRACE("%p: connected to %s (local %s)\n", this, peer.ToString().c_str(),
src/kits/network/libnetapi/AbstractSocket.cpp
246
fLocal.ToString().c_str());
src/kits/network/libnetapi/Socket.cpp
122
TRACE("%p: accepted from %s to %s\n", this, local.ToString().c_str(),
src/kits/network/libnetapi/Socket.cpp
123
peer.ToString().c_str());
src/kits/network/libnetservices2/ErrorsExt.cpp
77
ssize_t result = output->Write(stream.str().c_str(), stream.str().length() + 1);
src/kits/network/libnetservices2/HttpResultPrivate.h
65
data_wait = create_sem(1, name.c_str());
src/kits/package/PackageInfoParser.cpp
301
string.c_str());
src/kits/package/manager/PackageManager.cpp
973
status_t error = _path.SetTo(it->second.c_str());
src/kits/package/manager/PackageManager.cpp
975
DIE(error, "Failed to init package path %s", it->second.c_str());
src/kits/shared/ArgumentVector.cpp
186
memcpy(argument, sourceArgument.c_str(), argumentSize);
src/kits/storage/mime/AssociatedTypes.cpp
139
result->SetTo(i->c_str());
src/kits/storage/mime/AssociatedTypes.cpp
229
RemoveAssociatedType(i->c_str(), type);
src/kits/storage/mime/AssociatedTypes.cpp
261
printf("%s: ", i->first.c_str());
src/kits/storage/mime/AssociatedTypes.cpp
272
printf("%s", type->c_str());
src/kits/storage/mime/AssociatedTypes.cpp
440
AddAssociatedType(extStr.c_str(), type);
src/kits/storage/mime/AssociatedTypes.cpp
89
err = types->AddString(kTypesField, i->c_str());
src/kits/storage/mime/Database.cpp
1175
status_t status = fLocation->DeleteAttribute(type, attr.c_str());
src/kits/storage/mime/Database.cpp
1210
status_t status = fLocation->DeleteAttribute(type, attr.c_str());
src/kits/storage/mime/Database.cpp
471
err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize);
src/kits/storage/mime/Database.cpp
532
err = node.WriteAttr(attr.c_str(), attrType, 0, data, dataSize);
src/kits/storage/mime/InstalledTypes.cpp
486
err = msg.AddString(kTypesField, i->first.c_str());
src/kits/storage/mime/InstalledTypes.cpp
518
err = msg.AddString(kSupertypesField, i->first.c_str());
src/kits/storage/mime/SnifferRules.cpp
317
printf("%s: '%s'\n", i->type.c_str(), i->rule_string.c_str());
src/kits/storage/mime/SnifferRules.cpp
479
type->SetTo(i->type.c_str());
src/kits/storage/mime/SnifferRules.cpp
486
i->type.c_str(), i->rule_string.c_str()));
src/kits/storage/mime/Supertype.cpp
120
return fName.c_str();
src/kits/storage/mime/Supertype.cpp
136
sprintf(type, "%s/%s", fName.c_str(), (*i).c_str());
src/kits/storage/mime/Supertype.cpp
82
sprintf(type, "%s/%s", fName.c_str(), sub);
src/kits/storage/mime/SupportingApps.cpp
104
status = apps->AddString(kApplicationsField, (*i).c_str());
src/kits/storage/mime/SupportingApps.cpp
121
status = apps->AddString(kApplicationsField, (*i).c_str());
src/kits/storage/mime/SupportingApps.cpp
208
RemoveSupportingApp((*i).c_str(), app);
src/kits/storage/mime/SupportingApps.cpp
93
status = apps->AddString(kApplicationsField, (*i).c_str());
src/kits/storage/sniffer/Err.cpp
75
return SetTo(msg.c_str(), pos);
src/kits/storage/sniffer/Parser.cpp
1016
parseError->SetTo(ErrorMessage(err, rule).c_str());
src/kits/storage/sniffer/Parser.cpp
1352
+ ", found " + (found ? tokenTypeToString(found->Type()) : "NULL token")).c_str()
src/kits/storage/sniffer/Parser.cpp
1362
+ (found ? tokenTypeToString(found->Type()) : "NULL token")).c_str()
src/kits/storage/sniffer/Parser.cpp
551
AddInt(charStr.c_str(), startPos);
src/kits/storage/sniffer/Parser.cpp
605
AddInt(charStr.c_str(), startPos);
src/kits/storage/sniffer/Parser.cpp
621
AddFloat(charStr.c_str(), startPos);
src/kits/storage/sniffer/Parser.cpp
676
AddFloat(charStr.c_str(), startPos);
src/kits/storage/sniffer/Parser.cpp
860
+ ", found " + tokenTypeToString(t->Type())).c_str(), t->Pos());
src/kits/support/Archivable.cpp
163
out += spacenames[i].c_str();
src/libs/print/libprint/AboutBox.cpp
49
DrawString(fDriverName.c_str(), BPoint(10.0f, 16.0f));
src/libs/print/libprint/AboutBox.cpp
57
DrawString(fVersion.c_str());
src/libs/print/libprint/AboutBox.cpp
58
DrawString(fCopyright.c_str(), BPoint(10.0f, 30.0f));
src/libs/print/libprint/AddPrinterDlg.cpp
17
: BStringItem(cap->fLabel.c_str())
src/libs/print/libprint/AddPrinterDlg.cpp
32
return fProtocolClassCap->fDescription.c_str();
src/libs/print/libprint/GraphicsDriver.cpp
712
alert = new BAlert("", fTransport->LastError().c_str(), "OK");
src/libs/print/libprint/JobSetupDlg.cpp
546
const char* label = capability->fLabel.c_str();
src/libs/print/libprint/JobSetupDlg.cpp
558
PrinterCap::KeyPredicate predicate(value.c_str());
src/libs/print/libprint/JobSetupDlg.cpp
716
item = new BMenuItem(capability->fLabel.c_str(),
src/libs/print/libprint/JobSetupDlg.cpp
719
item = new BMenuItem(capability->fLabel.c_str(), NULL);
src/libs/print/libprint/JobSetupDlg.cpp
983
const char* key = it->first.c_str();
src/libs/print/libprint/PageSetupDlg.cpp
119
item = new BMenuItem((*paper_cap)->fLabel.c_str(), msg);
src/libs/print/libprint/PageSetupDlg.cpp
145
AddOrientationItem((*orientation_cap)->fLabel.c_str(),
src/libs/print/libprint/PageSetupDlg.cpp
158
item = new BMenuItem((*resolution_cap)->fLabel.c_str(), NULL);
src/libs/print/libprint/PrinterCap.cpp
24
return fLabel.c_str();
src/libs/print/libprint/PrinterCap.cpp
39
return fKey.c_str();
src/libs/print/libprint/Transport.cpp
33
return fWhat.c_str();
src/libs/print/libprint/Transport.cpp
57
path.Append(printerData->GetTransport().c_str());
src/libs/print/libprint/Transport.cpp
95
msg->AddString("printer_file", spool_path.c_str());
src/servers/net/Services.cpp
296
printf("Starting service '%s'\n", service.name.c_str());
src/servers/net/Services.cpp
304
printf("Stop service '%s'\n", service->name.c_str());
src/servers/net/Services.cpp
392
printf("New service %s\n", service->name.c_str());
src/servers/net/Services.cpp
398
printf("Restart service %s\n", service->name.c_str());
src/servers/net/Services.cpp
424
printf("Launch service: %s\n", service.arguments[0].c_str());
src/servers/net/Services.cpp
463
args[i] = service.arguments[i].c_str();
src/servers/net/Services.cpp
468
status = posix_spawn(&child, service.arguments[0].c_str(),
src/servers/net/Services.cpp
473
service.name.c_str());
src/servers/package/CommitTransactionHandler.cpp
1366
commandLine += FSUtils::ShellEscapeString(it->c_str()).String();
src/servers/package/CommitTransactionHandler.cpp
1367
if (system(commandLine.c_str()) != 0)
src/servers/package/CommitTransactionHandler.cpp
1368
ERROR("failed to remove user \"%s\"\n", it->c_str());
src/servers/package/CommitTransactionHandler.cpp
1375
commandLine += FSUtils::ShellEscapeString(it->c_str()).String();
src/servers/package/CommitTransactionHandler.cpp
1376
if (system(commandLine.c_str()) != 0)
src/servers/package/CommitTransactionHandler.cpp
1377
ERROR("failed to remove group \"%s\"\n", it->c_str());
src/servers/package/CommitTransactionHandler.cpp
746
if (system(commandLine.c_str()) != 0) {
src/servers/package/CommitTransactionHandler.cpp
796
if (system(commandLine.c_str()) != 0) {
src/servers/package/CommitTransactionHandler.cpp
813
if (system(commandLine.c_str()) != 0) {
src/servers/package/FSTransaction.cpp
106
status_t error = entry.SetTo(fToPath.c_str());
src/servers/package/FSTransaction.cpp
109
fToPath.c_str(), strerror(error));
src/servers/package/FSTransaction.cpp
113
error = entry.Rename(fFromPath.c_str(), true);
src/servers/package/FSTransaction.cpp
116
fToPath.c_str(), fFromPath.c_str(), strerror(error));
src/servers/package/FSTransaction.cpp
79
Entry(fFromPath.c_str()));
src/servers/package/FSTransaction.cpp
81
ERROR("Failed to remove \"%s\": %s\n", fFromPath.c_str(),
src/servers/package/FSTransaction.cpp
95
.CopyEntry(fToPath.c_str(), fFromPath.c_str());
src/servers/package/FSTransaction.cpp
98
fToPath.c_str(), fFromPath.c_str(), strerror(error));
src/servers/package/FSUtils.cpp
221
if (system(commandLine.c_str()) != 0)
src/servers/registrar/AuthenticationManager.cpp
275
|| (error = message.AddString("name", fName.c_str())) != B_OK
src/servers/registrar/AuthenticationManager.cpp
276
|| (error = message.AddString("password", fPassword.c_str()))
src/servers/registrar/AuthenticationManager.cpp
278
|| (error = message.AddString("home", fHome.c_str())) != B_OK
src/servers/registrar/AuthenticationManager.cpp
279
|| (error = message.AddString("shell", fShell.c_str())) != B_OK
src/servers/registrar/AuthenticationManager.cpp
280
|| (error = message.AddString("real name", fRealName.c_str()))
src/servers/registrar/AuthenticationManager.cpp
289
fShadowPassword.c_str())) != B_OK
src/servers/registrar/AuthenticationManager.cpp
306
fName.c_str(), fPassword.c_str(), (int)fUID, (int)fGID,
src/servers/registrar/AuthenticationManager.cpp
307
fRealName.c_str(), fHome.c_str(), fShell.c_str());
src/servers/registrar/AuthenticationManager.cpp
312
fprintf(file, "%s:%s:%d:", fName.c_str(), fShadowPassword.c_str(),
src/servers/registrar/AuthenticationManager.cpp
422
members[count++] = store.AppendString(it->c_str());
src/servers/registrar/AuthenticationManager.cpp
439
|| (error = message.AddString("name", fName.c_str())) != B_OK
src/servers/registrar/AuthenticationManager.cpp
440
|| (error = message.AddString("password", fPassword.c_str()))
src/servers/registrar/AuthenticationManager.cpp
447
if ((error = message.AddString("members", it->c_str())) != B_OK)
src/servers/registrar/AuthenticationManager.cpp
457
fName.c_str(), fPassword.c_str(), (int)fGID);
src/servers/registrar/AuthenticationManager.cpp
461
fprintf(file, "%s", it->c_str());
src/servers/registrar/AuthenticationManager.cpp
463
fprintf(file, ",%s", it->c_str());
src/servers/registrar/AuthenticationManager.cpp
562
rename(kPasswdFile, passwdBackup.c_str());
src/servers/registrar/AuthenticationManager.cpp
563
rename(kShadowPwdFile, shadowBackup.c_str());
src/servers/registrar/AuthenticationManager.cpp
687
rename(kGroupFile, groupBackup.c_str());
src/servers/registrar/AuthenticationManager.cpp
93
return (char*)AppendData(str.c_str(), str.length() + 1, false);
src/servers/registrar/RecentApps.cpp
175
if (GetRefForApp(item->c_str(), &ref) == B_OK)
src/servers/registrar/RecentApps.cpp
179
item->c_str()));
src/servers/registrar/RecentApps.cpp
205
printf("%d: '%s'\n", counter++, item->c_str());
src/servers/registrar/RecentApps.cpp
223
fprintf(file, "RecentApp %s\n", item->c_str());
src/servers/registrar/RecentApps.cpp
95
if (!strcasecmp((*i).c_str(), appSig)) {
src/servers/registrar/RecentEntries.cpp
118
if ((*item)->ref == *ref && !strcasecmp((*item)->sig.c_str(), appSig)) {
src/servers/registrar/RecentEntries.cpp
186
if (appSig != NULL && strcasecmp((*item)->sig.c_str(), appSig))
src/servers/registrar/RecentEntries.cpp
259
(*item)->sig.c_str(), (*item)->index);
src/servers/registrar/RecentEntries.cpp
320
fprintf(file, " \"%s\" %" B_PRId32, entry->sig.c_str(), entry->index);
src/servers/registrar/TRoster.cpp
1967
entry->ref.name, entry->sig.c_str(),
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
123
if (::stat(entry.path.c_str(), &stat) != 0) {
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
124
fprintf(stderr, "Could not stat file \"%s\": %s\n", entry.path.c_str(),
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
131
entry.path.c_str(), entry.node, stat.st_ino);
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
134
int file = open(entry.path.c_str(), O_RDONLY);
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
136
fprintf(stderr, "Could not open file \"%s\": %s\n", entry.path.c_str(),
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
143
fprintf(stderr, "Computing SHA failed \"%s\": %s\n", entry.path.c_str(),
src/tests/add-ons/kernel/file_systems/shared/consistency_check/consistency_check.cpp
149
fprintf(stderr, "\"%s\": Contents differ!\n", entry.path.c_str());
src/tests/add-ons/kernel/file_systems/shared/consistency_check/generate_hashs.cpp
223
write(file, entry.path.c_str(), length + 1);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
277
snprintf(buffer, sizeof(buffer), "%s/%s-%lu", parent.c_str(), prefix,
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
288
return open(name.c_str(), mode | (sDisableFileCache ? O_DIRECT : 0), 0666);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
394
error("opening file \"%s\" failed: %s", file.name.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
402
error("stat file \"%s\" failed: %s", file.name.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
406
file.name.c_str(), file.size, stat.st_size);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
425
error("reading \"%s\" failed: %s", file.name.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
436
error("block at %lld differ in \"%s\"!", offset, file.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
465
DIR* dir = opendir(path.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
467
warning("Could not open directory \"%s\": %s", path.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
481
rmdir(path.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
512
action("create dir %s (identifier %lu)", name.c_str(), sCount);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
514
if (mkdir(name.c_str(), 0777) != 0)
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
515
error("creating dir \"%s\" failed: %s", name.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
538
if (rmdir(name.c_str()) != 0) {
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
544
error("removing dir \"%s\" failed: %s", name.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
547
action("removed dir %s", name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
560
action("create file %s (identifier %lu)", name.c_str(), sCount);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
564
error("creating file \"%s\" failed: %s", name.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
593
if (remove(name.c_str()) != 0)
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
594
error("removing file \"%s\" failed: %s", name.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
596
action("removed file %s", name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
615
action("rename file \"%s\" to \"%s\"", oldName.c_str(), newName.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
617
if (rename(oldName.c_str(), newName.c_str()) != 0) {
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
618
error("renaming file \"%s\" to \"%s\" failed: %s", oldName.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
619
newName.c_str(), strerror(errno));
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
634
action("append to \"%s\"", file.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
638
error("appending to file \"%s\" failed: %s", file.name.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
655
action("replace \"%s\" contents", file.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
662
error("replacing file \"%s\" failed: %s", file.name.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
681
action("truncate \"%s\"", file.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
688
error("truncating file \"%s\" failed: %s", file.name.c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
804
if (mkdir(base.name.c_str(), 0777) != 0 && errno != EEXIST) {
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
810
mount_image(mountImage, base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
820
maxFileCount, size_to_string(sMaxFileSize).c_str(), maxDirCount, seed);
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
881
unmount_image(base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
882
mount_image(mountImage, base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
889
unmount_image(base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
890
mount_image(mountImage, base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
903
unmount_image(base.name.c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
908
printf("%s written in %s, %s/s\n", size_to_string(sWriteTotal).c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
909
time_to_string(sWriteTime).c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
911
/ (sWriteTime / 1000000.0))).c_str());
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
912
printf("%s read in %s, %s/s\n", size_to_string(sReadTotal).c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
913
time_to_string(sReadTime).c_str(),
src/tests/add-ons/kernel/file_systems/shared/random_file_actions.cpp
915
/ (sReadTime / 1000000.0))).c_str());
src/tests/add-ons/kernel/kernelland_emu/module.cpp
524
strcpy(buffer, name.c_str());
src/tests/kits/app/bmessage/MessageFlattenableItemTest.h
63
memcpy(buffer, (const void*)fData.c_str(), fData.length());
src/tests/kits/app/bmessage/MessageItemTest.h
29
(suitename)->addTest(new TestCaller<classname>(((string(#classbeingtested) + "::" + #funcname + "::" + typeid(Type).name()).c_str() ), \
src/tests/kits/app/bmessenger/SMTarget.cpp
141
fLocalPort = create_port(5, portName.c_str());
src/tests/kits/app/bmessenger/SMTarget.cpp
154
system(remoteApp.c_str());
src/tests/kits/app/broster/BroadcastTester.cpp
105
system((string("mkdir ") + testDir).c_str());
src/tests/kits/app/broster/BroadcastTester.cpp
117
system((string("rm -rf ") + testDir).c_str());
src/tests/kits/app/broster/BroadcastTester.cpp
78
system((string("cp ") + testApp.String() + " " + filename).c_str());
src/tests/kits/app/broster/BroadcastTester.cpp
80
system((string("chmod a+x ") + filename).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
104
system((string("touch ") + filename).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
106
system((string("chmod a+x ") + filename).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
126
system((string("echo -n \"") + contents + "\" > " + filename).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
128
system((string("touch ") + filename).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
201
system((string("mkdir ") + testDir).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
215
system((string("rm -rf ") + testDir).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
216
system((string("rm -f ") + get_trash_app_file()).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
561
system((string("ln -s ") + appFile1 + " " + appFile1).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
765
system((string("chmod a+x ") + testFile1).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
788
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
864
system((string("ln -s ") + testLink1 + " " + testLink1).c_str());
src/tests/kits/app/broster/FindAppTester.cpp
878
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
1356
system((string("ln -s ") + appFile1 + " " + appFile1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
148
system((string("cp ") + testApp.String() + " " + filename).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
150
system((string("chmod a+x ") + filename).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
174
system((string("echo -n \"") + contents + "\" > " + filename).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
176
system((string("touch ") + filename).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
1981
system((string("chmod a+x ") + testFile1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2006
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2114
system((string("ln -s ") + testLink1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2131
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2398
system((string("chmod a+x ") + testFile1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2422
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
249
system((string("mkdir ") + testDir).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2567
system((string("ln -s ") + testLink1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2585
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
263
system((string("rm -rf ") + testDir).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
264
system((string("rm -f ") + get_trash_app_file()).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2853
system((string("chmod a+x ") + testFile1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
2877
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
3026
system((string("ln -s ") + testLink1 + " " + testLink1).c_str());
src/tests/kits/app/broster/LaunchTester.cpp
3044
system((string("ln -s ") + testFile1 + " " + testLink1).c_str());
src/tests/kits/app/broster/RosterWatchingTester.cpp
157
system((string("mkdir ") + testDir).c_str());
src/tests/kits/app/broster/RosterWatchingTester.cpp
170
system((string("rm -rf ") + testDir).c_str());
src/tests/kits/app/broster/RosterWatchingTester.cpp
80
system((string("cp ") + testApp.String() + " " + filename).c_str());
src/tests/kits/app/broster/RosterWatchingTester.cpp
82
system((string("chmod a+x ") + filename).c_str());
src/tests/kits/interface/ChannelSliderTest.cpp
55
horizontal->SetLimitLabelsFor(i, kLabels[i].min_label.c_str(),
src/tests/kits/interface/ChannelSliderTest.cpp
56
kLabels[i].max_label.c_str());
src/tests/kits/interface/ChannelSliderTest.cpp
60
if (strcmp(horizontal->MinLimitLabelFor(i), kLabels[i].min_label.c_str()) != 0)
src/tests/kits/interface/ChannelSliderTest.cpp
62
if (strcmp(horizontal->MaxLimitLabelFor(i), kLabels[i].max_label.c_str()) != 0)
src/tests/kits/net/netservices2/TestServer.cpp
201
fprintf(stderr, "Unable to spawn `%s': %s\n", ostr.str().c_str(), strerror(errno));
src/tests/kits/net/netservices2/TestServer.cpp
269
return BUrl(baseUrl.c_str(), true);
src/tests/kits/net/netservices2/TestServer.cpp
44
argv[i] = args[i].c_str();
src/tests/kits/net/netservices2/TestServer.cpp
48
execv(args[0].c_str(), const_cast<char* const*>(argv));
src/tests/kits/net/service/HttpTest.cpp
371
testFilePath.c_str(),
src/tests/kits/net/service/HttpTest.cpp
435
form.AddFile("_uploadfile", BPath(testFilePath.c_str())));
src/tests/kits/net/service/TestServer.cpp
216
ostr.str().c_str(),
src/tests/kits/net/service/TestServer.cpp
277
return BUrl(baseUrl.c_str(), true);
src/tests/kits/net/service/TestServer.cpp
41
argv[i] = args[i].c_str();
src/tests/kits/net/service/TestServer.cpp
45
execv(args[0].c_str(), const_cast<char* const*>(argv));
src/tests/kits/storage/AppFileInfoTest.cpp
1009
CheckNoResource(file, attribute.c_str());
src/tests/kits/storage/AppFileInfoTest.cpp
369
return info.SetType(value.type.c_str());
src/tests/kits/storage/AppFileInfoTest.cpp
391
CheckAttr(file, kTypeAttribute, B_MIME_STRING_TYPE, value.type.c_str(),
src/tests/kits/storage/AppFileInfoTest.cpp
398
B_MIME_STRING_TYPE, value.type.c_str(),
src/tests/kits/storage/AppFileInfoTest.cpp
410
return info.SetSignature(value.type.c_str());
src/tests/kits/storage/AppFileInfoTest.cpp
432
CheckAttr(file, kSignatureAttribute, B_MIME_STRING_TYPE, value.type.c_str(),
src/tests/kits/storage/AppFileInfoTest.cpp
439
B_MIME_STRING_TYPE, value.type.c_str(),
src/tests/kits/storage/AppFileInfoTest.cpp
719
status_t error = info.SetIconForType(value.type.c_str(), &value.mini,
src/tests/kits/storage/AppFileInfoTest.cpp
722
error = info.SetIconForType(value.type.c_str(), &value.large,
src/tests/kits/storage/AppFileInfoTest.cpp
734
status_t error = info.GetIconForType(value.type.c_str(), &value.mini,
src/tests/kits/storage/AppFileInfoTest.cpp
737
error = info.GetIconForType(value.type.c_str(), &value.large,
src/tests/kits/storage/AppFileInfoTest.cpp
751
CheckAttr(file, attrNameM.c_str(), MINI_ICON_TYPE, value.mini.Bits(),
src/tests/kits/storage/AppFileInfoTest.cpp
755
CheckAttr(file, attrNameL.c_str(), LARGE_ICON_TYPE,
src/tests/kits/storage/AppFileInfoTest.cpp
763
::CheckResource(file, attrNameM.c_str(), kMiniIconForTypeResourceID,
src/tests/kits/storage/AppFileInfoTest.cpp
768
::CheckResource(file, attrNameL.c_str(), kLargeIconForTypeResourceID,
src/tests/kits/storage/AppFileInfoTest.cpp
936
CheckAttr(node, attribute.c_str(), iconType, data->Bits(),
src/tests/kits/storage/AppFileInfoTest.cpp
966
CheckResource(file, attribute.c_str(), resourceID, iconType, data->Bits(),
src/tests/kits/storage/AppFileInfoTest.cpp
988
CheckNoAttr(node, attribute.c_str());
src/tests/kits/storage/BasicTest.cpp
64
system(cmdLine.c_str());
src/tests/kits/storage/BasicTest.h
127
printf("TestSet::test(`%s')\n", name.c_str());
src/tests/kits/storage/BasicTest.h
132
printf(" `%s'\n", it->c_str());
src/tests/kits/storage/DirectoryTest.cpp
1385
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1390
CPPUNIT_ASSERT( entry == BEntry((dirPathName + entryName).c_str()) );
src/tests/kits/storage/DirectoryTest.cpp
1392
CPPUNIT_ASSERT( subdir.SetTo((dirPathName + entryName).c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1396
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
src/tests/kits/storage/DirectoryTest.cpp
1405
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1408
CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
src/tests/kits/storage/DirectoryTest.cpp
1413
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1416
CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
src/tests/kits/storage/DirectoryTest.cpp
1421
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
src/tests/kits/storage/DirectoryTest.cpp
1430
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1434
CPPUNIT_ASSERT( link.SetTo((dirPathName + entryName).c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1438
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1452
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1456
CPPUNIT_ASSERT( entry == BEntry(entryName.c_str()) );
src/tests/kits/storage/DirectoryTest.cpp
1458
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1462
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
src/tests/kits/storage/DirectoryTest.cpp
1470
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1473
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1477
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1480
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1484
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
src/tests/kits/storage/DirectoryTest.cpp
1492
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1496
CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1500
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1514
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1518
CPPUNIT_ASSERT( entry == BEntry(entryName.c_str()) );
src/tests/kits/storage/DirectoryTest.cpp
1520
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1524
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
src/tests/kits/storage/DirectoryTest.cpp
1532
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1535
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1539
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1542
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1546
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
src/tests/kits/storage/DirectoryTest.cpp
1554
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1558
CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1562
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1577
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1581
CPPUNIT_ASSERT( entry == BEntry((dirPathName + entryName).c_str()) );
src/tests/kits/storage/DirectoryTest.cpp
1583
CPPUNIT_ASSERT( subdir.SetTo((dirPathName + entryName).c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1587
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
src/tests/kits/storage/DirectoryTest.cpp
1595
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1598
CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
src/tests/kits/storage/DirectoryTest.cpp
1603
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1606
CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
src/tests/kits/storage/DirectoryTest.cpp
1611
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
src/tests/kits/storage/DirectoryTest.cpp
1619
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1623
CPPUNIT_ASSERT( link.SetTo((dirPathName + entryName).c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1627
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
src/tests/kits/storage/DirectoryTest.cpp
1660
CPPUNIT_ASSERT( equals(dir.CreateSymLink(entryName.c_str(), NULL, &link),
src/tests/kits/storage/DirectoryTest.cpp
1674
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), NULL) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1675
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1679
CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), NULL)
src/tests/kits/storage/DirectoryTest.cpp
1686
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1687
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1691
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, false) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1692
CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1696
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true)
src/tests/kits/storage/DirectoryTest.cpp
1702
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, NULL)
src/tests/kits/storage/DirectoryTest.cpp
1704
CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1708
CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, NULL)
src/tests/kits/storage/DirectoryTest.cpp
1781
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1783
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1788
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1789
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1794
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1795
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1805
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1806
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1811
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1812
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1817
CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
src/tests/kits/storage/DirectoryTest.cpp
1818
CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1337
CPPUNIT_ASSERT( entry.SetTo(&dir, entryName.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1429
CreateFile(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1432
CreateDir(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1435
CreateLink(pathname.c_str(), file1.cpath);
src/tests/kits/storage/EntryTest.cpp
1439
CreateFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1441
CPPUNIT_ASSERT( entry.SetTo(pathname.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1442
CPPUNIT_ASSERT( dir.SetTo(dirname.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1443
status_t result = entry.Rename(newName.c_str(), clobber);
src/tests/kits/storage/EntryTest.cpp
1445
printf("`%s'.Rename(`%s', %d): ", pathname.c_str(), newName.c_str(), clobber);
src/tests/kits/storage/EntryTest.cpp
1453
CPPUNIT_ASSERT( !PingFile(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1454
CPPUNIT_ASSERT( PingFile(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1457
CPPUNIT_ASSERT( !PingDir(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1458
CPPUNIT_ASSERT( PingDir(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1461
CPPUNIT_ASSERT( !PingLink(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1462
CPPUNIT_ASSERT( PingLink(newPathname.c_str(), file1.cpath) );
src/tests/kits/storage/EntryTest.cpp
1465
RemoveFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1469
CPPUNIT_ASSERT( PingFile(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1472
CPPUNIT_ASSERT( PingDir(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1475
CPPUNIT_ASSERT( PingLink(pathname.c_str(), file1.cpath) );
src/tests/kits/storage/EntryTest.cpp
1479
CPPUNIT_ASSERT( PingFile(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1480
RemoveFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1482
RemoveFile(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1659
CreateFile(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1662
CreateDir(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1665
CreateLink(pathname.c_str(), file1.cpath);
src/tests/kits/storage/EntryTest.cpp
1669
CreateFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1671
CPPUNIT_ASSERT( entry.SetTo(pathname.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1672
CPPUNIT_ASSERT( dir.SetTo(dirname.c_str()) == B_OK );
src/tests/kits/storage/EntryTest.cpp
1676
printf("`%s'.MoveTo(`%s', NULL, %d): ", pathname.c_str(), dirname.c_str(), clobber);
src/tests/kits/storage/EntryTest.cpp
1681
status_t result = entry.MoveTo(&dir, newName.c_str(), clobber);
src/tests/kits/storage/EntryTest.cpp
1683
printf("`%s'.MoveTo(`%s', `%s', %d): ", pathname.c_str(), newName.c_str(), dirname.c_str(), clobber);
src/tests/kits/storage/EntryTest.cpp
1692
CPPUNIT_ASSERT( !PingFile(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1693
CPPUNIT_ASSERT( PingFile(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1696
CPPUNIT_ASSERT( !PingDir(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1697
CPPUNIT_ASSERT( PingDir(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1700
CPPUNIT_ASSERT( !PingLink(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1701
CPPUNIT_ASSERT( PingLink(newPathname.c_str(), file1.cpath) );
src/tests/kits/storage/EntryTest.cpp
1704
RemoveFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1708
CPPUNIT_ASSERT( PingFile(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1711
CPPUNIT_ASSERT( PingDir(pathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1714
CPPUNIT_ASSERT( PingLink(pathname.c_str(), file1.cpath) );
src/tests/kits/storage/EntryTest.cpp
1718
CPPUNIT_ASSERT( PingFile(newPathname.c_str()) );
src/tests/kits/storage/EntryTest.cpp
1719
RemoveFile(newPathname.c_str());
src/tests/kits/storage/EntryTest.cpp
1721
RemoveFile(pathname.c_str());
src/tests/kits/storage/EntryTest.cpp
2383
testDir.initPath((string("/tmp/") + testDir.name).c_str());
src/tests/kits/storage/EntryTest.cpp
2595
cname = name.c_str();
src/tests/kits/storage/EntryTest.cpp
2596
cpath = path.c_str();
src/tests/kits/storage/EntryTest.cpp
2597
clink = link.c_str();
src/tests/kits/storage/EntryTest.cpp
433
BEntry entry(&dir, entryName.c_str(), traverse);
src/tests/kits/storage/EntryTest.cpp
916
status_t result = entry.SetTo(&dir, entryName.c_str(), traverse);
src/tests/kits/storage/MimeTypeTest.cpp
115
static void remove_type(const char *type, const char *databaseDir = mimeDatabaseDir.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
116
static bool type_exists(const char *type, const char *databaseDir = mimeDatabaseDir.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
135
BEntry dir(mimeDatabaseDir.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
141
ExecCommand(cmd.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
156
ExecCommand(cmd.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1634
BDirectory rootDir(mimeDatabaseDir.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1654
if (superEntry.IsDirectory() && BMimeType::IsValid(superLeaf.c_str())) {
src/tests/kits/storage/MimeTypeTest.cpp
1656
CHK(typeSet.find(superLeaf.c_str()) != typeSet.end());
src/tests/kits/storage/MimeTypeTest.cpp
1657
typeSet.erase(superLeaf.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1681
if (BMimeType::IsValid(subType.c_str())) {
src/tests/kits/storage/MimeTypeTest.cpp
1682
if (typeSet.find(subType.c_str()) == typeSet.end())
src/tests/kits/storage/MimeTypeTest.cpp
1684
CHK(typeSet.find(subType.c_str()) != typeSet.end());
src/tests/kits/storage/MimeTypeTest.cpp
1685
typeSet.erase(subType.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1714
BDirectory rootDir(mimeDatabaseDir.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1734
if (superEntry.IsDirectory() && BMimeType::IsValid(superLeaf.c_str())) {
src/tests/kits/storage/MimeTypeTest.cpp
1736
CHK(typeSet.find(superLeaf.c_str()) != typeSet.end());
src/tests/kits/storage/MimeTypeTest.cpp
1737
typeSet.erase(superLeaf.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
1742
CHK(BMimeType::GetInstalledTypes(superLeaf.c_str(), &msg) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
1771
if (BMimeType::IsValid(subType.c_str())) {
src/tests/kits/storage/MimeTypeTest.cpp
1772
CHK(subtypeSet.find(subType.c_str()) != subtypeSet.end());
src/tests/kits/storage/MimeTypeTest.cpp
1773
subtypeSet.erase(subType.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2182
BEntry entry((std::string(mimeDatabaseDir) + "/" + typeLower).c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2201
BEntry entry((std::string(databaseDir) + "/" + typeLower).c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2272
if (BMimeType::IsValid(strLower.c_str()))
src/tests/kits/storage/MimeTypeTest.cpp
2592
BNode node(appFile.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2627
app.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2639
BEntry entry((std::string(mimeDatabaseDir) + "/__mime_table").c_str());
src/tests/kits/storage/MimeTypeTest.cpp
2678
BMimeType mime(type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3514
BFile file(name.c_str(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
src/tests/kits/storage/MimeTypeTest.cpp
3528
return BEntry(name.c_str()).Remove();
src/tests/kits/storage/MimeTypeTest.cpp
3572
CHK(update_mime_info(file.name.c_str(), false, true, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3573
BNode node(file.name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3578
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3582
CHK(update_mime_info(file.name.c_str(), true, true, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3583
CHK(node.SetTo(file.name.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3587
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3601
CHK(update_mime_info(file.name.c_str(), false, false, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3604
BNode node(file.name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3609
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3613
CHK(update_mime_info(file.name.c_str(), true, false, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3616
CHK(node.SetTo(file.name.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3620
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3636
BNode node(file.name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3641
CHK(update_mime_info(file.name.c_str(), false, true, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3646
CHK(update_mime_info(file.name.c_str(), false, true, true) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3651
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3668
BNode node(file.name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3683
BNode node(file.name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3688
CHK(type == file.type.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3698
BEntry entry(files[0].name.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3702
CHK(update_mime_info(files[0].name.c_str(), false, true, false) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3715
BString value(_value.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3716
return node.WriteAttrString(name.c_str(), &value);
src/tests/kits/storage/MimeTypeTest.cpp
3771
BFile file(name.c_str(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
src/tests/kits/storage/MimeTypeTest.cpp
3811
error = resources.AddResource(B_STRING_TYPE, 2, type.c_str(),
src/tests/kits/storage/MimeTypeTest.cpp
3817
signature.c_str(),
src/tests/kits/storage/MimeTypeTest.cpp
3851
status_t error = BEntry(name.c_str()).Remove();
src/tests/kits/storage/MimeTypeTest.cpp
3855
error = type.SetTo(signature.c_str());
src/tests/kits/storage/MimeTypeTest.cpp
3876
CHK(type.SetTo(file.signature.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3881
BPath path(file.name.c_str(), NULL, true);
src/tests/kits/storage/MimeTypeTest.cpp
3891
CHK(typeFile.SetTo(typeFilename.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
3980
CHK(create_app_meta_mime(file.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
3995
CHK(create_app_meta_mime(file.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4009
CHK(create_app_meta_mime(file.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4013
CHK(type.SetTo(file.signature.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
4028
CHK(create_app_meta_mime(file.name.c_str(), false, false, false)
src/tests/kits/storage/MimeTypeTest.cpp
4044
CHK(create_app_meta_mime(file.name.c_str(), false, false, false)
src/tests/kits/storage/MimeTypeTest.cpp
4060
CHK(create_app_meta_mime(file.name.c_str(), false, false, false)
src/tests/kits/storage/MimeTypeTest.cpp
4065
CHK(type.SetTo(file.signature.c_str()) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
4097
CHK(create_app_meta_mime(file1.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4103
CHK(create_app_meta_mime(file2.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4108
CHK(create_app_meta_mime(file2.name.c_str(), false, true, true)
src/tests/kits/storage/MimeTypeTest.cpp
4131
CHK(create_app_meta_mime(file1.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4137
CHK(create_app_meta_mime(file2.name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4142
CHK(create_app_meta_mime(file2.name.c_str(), false, true, true)
src/tests/kits/storage/MimeTypeTest.cpp
4156
CHK(create_app_meta_mime(files[0].name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4160
CHK(create_app_meta_mime(files[0].name.c_str(), false, true, false)
src/tests/kits/storage/MimeTypeTest.cpp
4636
BFile file(name.c_str(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
src/tests/kits/storage/MimeTypeTest.cpp
4646
error = file.WriteAttr("META:TYPE", B_STRING_TYPE, 0, metaType.c_str(),
src/tests/kits/storage/MimeTypeTest.cpp
4655
return BEntry(name.c_str()).Remove();
src/tests/kits/storage/MimeTypeTest.cpp
4746
const char *filename = file.name.c_str();
src/tests/kits/storage/MimeTypeTest.cpp
4748
const char *extensionType = file.extensionType.c_str();
src/tests/kits/storage/MimeTypeTest.cpp
4749
const char *contentType = file.contentType.c_str();
src/tests/kits/storage/MimeTypeTest.cpp
4797
CHK(get_ref_for_path(filename.c_str(), &ref) == B_OK);
src/tests/kits/storage/MimeTypeTest.cpp
4807
const char *filename = file.name.c_str();
src/tests/kits/storage/MimeTypeTest.cpp
500
return mime.GetIconForType(fileType.c_str(), icon, size);
src/tests/kits/storage/MimeTypeTest.cpp
503
return mime.SetIconForType(fileType.c_str(), icon, size);
src/tests/kits/storage/MimeTypeTest.cpp
509
return mime.DeleteIconForType(fileType.c_str(), size);
src/tests/kits/storage/NodeTest.cpp
1208
LockTest(*node, nodeName.c_str());
src/tests/kits/storage/QueryTest.cpp
386
cpath = this->path.c_str();
src/tests/kits/storage/QueryTest.cpp
389
clinkToPath = this->linkToPath.c_str();
src/tests/kits/storage/ResourceStringsTest.cpp
152
return ref_for(get_app_path().c_str());
src/tests/kits/storage/StatableTest.cpp
115
CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
src/tests/kits/storage/StatableTest.cpp
215
CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
src/tests/kits/storage/StatableTest.cpp
42
CPPUNIT_ASSERT( lstat(entryName.c_str(), &st2) == 0 );
src/tests/kits/storage/StatableTest.cpp
74
CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
src/tests/kits/support/ArchivableTest.cpp
512
archive.AddString("add_on", GetLocalSignature().c_str());
src/tests/kits/support/ArchivableTest.cpp
559
fAddonId = load_add_on(libPath.c_str());
src/tests/kits/support/ArchivableTest.cpp
56
CppUnit::Exception re(s.c_str());
src/tests/misc/exception-test/exception-test.cpp
148
caught.c_str());
src/tests/servers/registrar/RosterShell.cpp
122
status_t error = get_ref_for_path(program.c_str(), &ref);
src/tests/servers/registrar/RosterShell.cpp
125
program.c_str(), strerror(error));
src/tests/servers/registrar/RosterShell.cpp
134
printf("launched \"%s\", team id: %" B_PRId32 "\n", program.c_str(),
src/tests/servers/registrar/RosterShell.cpp
138
program.c_str(), strerror(error));
src/tests/servers/registrar/RosterShell.cpp
148
if (sscanf(arg.c_str(), "%" B_PRId32, &team) > 0)
src/tests/system/kernel/util/VectorMapTest.cpp
890
int operator()(string value) const { return string_hash(value.c_str()); }
src/tools/cppunit/TestShell.cpp
507
BDirectory libDir((*i).c_str());
src/tools/cppunit/cppunit/Exception.cpp
83
return m_message.c_str ();
src/tools/fs_shell/fssh.cpp
148
return fName.c_str();
src/tools/fs_shell/fssh.cpp
1486
memcpy(fArgv[i], argVector[i].c_str(), len + 1);
src/tools/fs_shell/fssh.cpp
155
return fDescription.c_str();
src/tools/fs_shell/fssh.cpp
249
const char* name = it->first.c_str();
src/tools/fs_shell/fssh.cpp
339
file = path.c_str();
src/tools/fs_shell/fssh.cpp
413
fileType, permissions.c_str(), (int)st.fssh_st_uid, (int)st.fssh_st_gid,
src/tools/fs_shell/fssh.cpp
417
name, nameSuffix.c_str());
src/tools/gensyscalls/gensyscalls_common.h
27
return fMessage.c_str();
src/tools/locale/PlainTextCatalog.cpp
138
currentItem.c_str(), path);
src/tools/locale/PlainTextCatalog.cpp
156
fLanguageName = currentItem.c_str() ;
src/tools/locale/PlainTextCatalog.cpp
164
fSignature = currentItem.c_str() ;
src/tools/locale/PlainTextCatalog.cpp
177
currentItem.c_str(), path);
src/tools/locale/PlainTextCatalog.cpp
206
originalString.c_str(), path);
src/tools/locale/PlainTextCatalog.cpp
212
originalString.c_str(), path);
src/tools/locale/PlainTextCatalog.cpp
219
originalString.c_str(), path);
src/tools/locale/PlainTextCatalog.cpp
227
SetString(originalString.c_str(), translated.c_str(), context.c_str(),
src/tools/locale/PlainTextCatalog.cpp
228
comment.c_str());
src/tools/set_haiku_revision.cpp
703
fprintf(stderr, "%s: %s\n", exception.Description().c_str(),