Searched refs:paths (Results 1 - 25 of 58) sorted by path

123

/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DKeyCommandMap.cpp269 BStringList paths; local
272 paths);
274 int32 count = paths.CountStrings();
276 if (command.StartsWith(paths.StringAt(i))) {
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DUserlandFSServer.cpp71 BStringList paths; local
73 "userlandfs", B_FIND_PATH_EXISTING_ONLY, paths);
78 for (int index = 0; index < paths.CountStrings(); index++) {
79 error = addOnPath.SetTo(paths.StringAt(index));
/haiku/src/bin/debug/
H A Ddebug_utils.cpp40 const char* paths = getenv("PATH"); local
41 if (!paths)
44 // iterate through the paths
46 const char* pathEnd = strchr(paths, ':');
47 int pathLen = (pathEnd ? pathEnd - paths : strlen(paths));
49 // We skip empty paths.
52 std::string path(paths, pathLen);
64 paths = (pathEnd ? pathEnd + 1 : NULL);
65 } while (paths);
[all...]
/haiku/src/bin/
H A Dfindpaths.cpp94 "Prints paths specified by directory constant <kind>. <subpath>, if\n"
107 " Concatenate the resulting paths, separated only by <separator>,\n"
115 " Print only paths that refer to existing entries.\n"
130 " Print paths in reverse order, i.e. from most general to most\n"
284 BStringList paths; local
286 subPath, existingOnly ? B_FIND_PATH_EXISTING_ONLY : 0, paths);
288 fprintf(stderr, "Error: Failed to find paths: %s\n",
293 int32 count = paths.CountStrings();
296 paths.Swap(i, count - i - 1);
300 BString result = paths
[all...]
H A Dgetarch.cpp77 BStringList paths; local
79 && BString(pathVariableValue).Split(":", true, paths)) {
80 int32 count = paths.CountStrings();
84 if (paths.StringAt(i)[0] != '/'
85 || path.SetTo(paths.StringAt(i), NULL, true) != B_OK) {
H A Dsetarch.cpp75 // get the primary architecture bin paths
79 // get the bin paths to insert
86 BStringList paths; local
88 && !BString(pathVariableValue).Split(":", true, paths)) {
93 // Filter the paths, removing any path that isn't associated with the
95 // bin paths.
97 int32 count = paths.CountStrings();
99 // We always keep relative paths. Filter absolute ones only.
100 const char* path = paths.StringAt(i);
120 if (!_paths.Add(paths
221 BStringList paths; local
[all...]
/haiku/src/bin/fwcontrol/
H A Deui64.c77 #include <paths.h>
/haiku/src/bin/network/ftpd/
H A Dpathnames.h37 #include <paths.h>
/haiku/src/bin/network/telnetd/
H A Dpathnames.h37 #include <paths.h>
H A Dtelnetd.c48 #include <paths.h>
/haiku/src/bin/pcmcia-cs/
H A Dcardctl.c104 static char *paths[] = {
111 for (p = paths; *p; p++) {
H A Ddump_cis.c89 static char *paths[] = {
96 for (p = paths; *p; p++) {
H A Ddump_cisreg.c88 static char *paths[] = {
95 for (p = paths; *p; p++) {
/haiku/src/kits/debug/
H A DTeamDebugger.cpp174 const char* paths = getenv("PATH"); local
175 if (!paths)
178 // iterate through the paths
180 const char* pathEnd = strchr(paths, ':');
181 int pathLen = (pathEnd ? pathEnd - paths : strlen(paths));
183 // We skip empty paths.
186 BString directory(paths, pathLen);
203 paths = (pathEnd ? pathEnd + 1 : NULL);
204 } while (paths);
[all...]
/haiku/src/kits/mail/
H A DMailSettings.cpp437 BStringList paths; local
439 paths);
443 for (int32 i = 0; i < paths.CountStrings(); i++) {
444 path.SetTo(paths.StringAt(i), pathString);
979 BStringList paths; local
980 BPathFinder().FindPaths(B_FIND_PATH_ADD_ONS_DIRECTORY, subPath, paths);
982 for (int32 i = 0; i < paths.CountStrings(); i++) {
983 BPath path(paths.StringAt(i), name);
/haiku/src/kits/translation/
H A DTranslatorRosterPrivate.h48 status_t AddPaths(const char* paths);
/haiku/src/libs/bsd/
H A Dreadpassphrase.c26 #include <paths.h>
/haiku/src/libs/print/libprint/
H A DTransport.cpp44 const directory_which paths[] = { local
51 for (uint32 i = 0; i < sizeof(paths) / sizeof(paths[0]); ++i) {
52 if (find_directory(paths[i], &path) != B_OK)
/haiku/src/preferences/mail/
H A DFilterList.cpp42 BStringList paths; local
43 BPathFinder().FindPaths(B_FIND_PATH_ADD_ONS_DIRECTORY, subPath, paths);
44 for (int32 i = 0; i < paths.CountStrings(); i++) {
45 BPath path(paths.StringAt(i));
/haiku/src/preferences/media/
H A DMidiSettingsView.cpp168 BStringList paths; local
170 "synth", paths);
176 for (int32 i = 0; i < paths.CountStrings(); i++) {
177 BDirectory directory(paths.StringAt(i).String());
189 BPath fullPath = paths.StringAt(i).String();
275 BStringList paths; local
276 BPathFinder().FindPaths(B_FIND_PATH_DATA_DIRECTORY, "synth", paths);
277 for (int32 i = 0; i < paths.CountStrings(); i++) {
278 BEntry entry(paths.StringAt(i));
/haiku/src/tests/add-ons/translators/bmptranslator/
H A DBMPTranslatorTest.cpp869 const TranslatePaths *paths, int32 len, bool bbmpinput)
876 CPPUNIT_ASSERT(bmpfile.SetTo(paths[i].bmpPath, B_READ_ONLY) == B_OK);
877 CPPUNIT_ASSERT(bitsfile.SetTo(paths[i].bitsPath, B_READ_ONLY) == B_OK);
879 printf(" [%s] ", paths[i].bmpPath);
882 printf(" [%s] ", paths[i].bitsPath);
915 if (!strstr(paths[i].bmpPath, "os2")) {
868 TranslateTests(BMPTranslatorTest *ptest, BTranslatorRoster *proster, const TranslatePaths *paths, int32 len, bool bbmpinput) argument
/haiku/src/tests/add-ons/translators/pngtranslator/
H A DPNGTranslatorTest.cpp99 const char **paths, int32 len, bool bbits)
110 fullpath += paths[i];
236 const TranslatePaths *paths, int32 len)
245 png_fpath += paths[i].pngPath;
246 bits_fpath += paths[i].bitsPath;
98 IdentifyTests(PNGTranslatorTest *ptest, BTranslatorRoster *proster, const char **paths, int32 len, bool bbits) argument
235 TranslateTests(PNGTranslatorTest *ptest, BTranslatorRoster *proster, const TranslatePaths *paths, int32 len) argument
/haiku/src/tests/add-ons/translators/stxttranslator/
H A DSTXTTranslatorTest.cpp80 const char **paths, int32 len, bool bplain)
88 printf(" [%s] ", paths[i]);
89 CPPUNIT_ASSERT(file.SetTo(paths[i], B_READ_ONLY) == B_OK);
201 const char **paths, int32 len, bool bplain)
206 ncurrent = strlen(paths[i]);
219 strcpy(styled_path, paths[i]);
221 strcpy(plain_path, paths[i]);
79 IdentifyTests(STXTTranslatorTest *ptest, BTranslatorRoster *proster, const char **paths, int32 len, bool bplain) argument
200 TranslateTests(STXTTranslatorTest *ptest, BTranslatorRoster *proster, const char **paths, int32 len, bool bplain) argument
/haiku/src/tests/add-ons/translators/tifftranslator/
H A DTIFFTranslatorTest.cpp240 const TranslatePaths *paths, int32 len)
247 CPPUNIT_ASSERT(tiff_file.SetTo(paths[i].tiffPath, B_READ_ONLY) == B_OK);
248 CPPUNIT_ASSERT(bits_file.SetTo(paths[i].bitsPath, B_READ_ONLY) == B_OK);
249 printf(" [%s] ", paths[i].tiffPath);
239 TranslateTests(TIFFTranslatorTest *ptest, BTranslatorRoster *proster, const TranslatePaths *paths, int32 len) argument
/haiku/src/tests/system/kernel/
H A Dpath_resolution_test.cpp33 const char* const paths[] = { local
44 for (int32 i = 0; paths[i] != NULL; i++)
45 time_lstat(paths[i]);

Completed in 111 milliseconds

123