Searched refs:slash (Results 1 - 13 of 13) sorted by relevance

/haiku/src/libs/bsd/
H A Dprogname.c29 const char *slash = strrchr(programName, '/'); local
30 if (slash != NULL)
31 __progname = slash + 1;
/haiku/src/build/libroot/
H A Dfind_directory.cpp40 const char *slash = strchr(&path[i], '/'); local
43 if (slash == NULL)
45 else if (i != slash - path)
46 i = slash - path;
/haiku/src/preferences/datatranslations/
H A DTranslatorListView.cpp54 int32 slash = fSupertype.FindFirst('/'); local
55 fSupertype.Truncate(slash);
/haiku/src/bin/debug/profile/
H A DCallgrindProfileResult.cpp184 char* slash = entityName; local
185 while ((slash = strchr(slash, '/')) != NULL)
186 *slash = '-';
/haiku/src/system/libroot/os/
H A Dfind_paths.cpp241 char* slash = path; local
243 while (!found && (slash = strchr(slash + 1, '/')) != NULL) {
244 *slash = '\0';
248 *slash = '/';
255 while (slash != NULL) {
256 *slash = '\0';
258 *slash = '/';
263 slash = strchr(slash
[all...]
H A Dfind_directory.cpp211 char *slash = strchr(&path[i], '/'); local
214 if (slash == NULL)
216 else if (i != slash - path)
217 i = slash - path;
/haiku/src/add-ons/input_server/devices/tablet/
H A DTabletInputDevice.cpp252 int32 slash = string.FindLast("/"); local
253 string.CopyInto(name, slash + 1, string.Length() - slash);
256 int32 previousSlash = string.FindLast("/", slash);
257 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1);
/haiku/src/kits/storage/mime/
H A DDatabaseLocation.cpp768 const char* slash = strchr(type, '/'); local
770 if (slash != NULL)
771 superTypeName.SetTo(type, slash - type);
793 if (slash != NULL) {
794 result = superTypeDirectory.CreateFile(BString(slash + 1).ToLower(),
801 if (slash != NULL)
/haiku/src/bin/network/telnetd/
H A Dutility.c421 char *slash; local
447 slash = strchr(line+1, '/');
449 slash = strrchr(line, '/');
451 if (slash == (char *) 0)
454 putstr(&slash[1]);
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp310 int32 slash = string.FindLast("/"); local
311 string.CopyInto(deviceName, slash + 1, string.Length() - slash);
316 int32 previousSlash = string.FindLast("/", slash);
317 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1);
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.cpp105 int32 slash = string.FindLast("/"); local
106 string.CopyInto(name, slash + 1, string.Length() - slash);
109 int32 previousSlash = string.FindLast("/", slash);
110 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1);
/haiku/src/system/kernel/
H A Dtimer.cpp192 if (const char* slash = strchr(imageName, '/'))
193 imageName = slash + 1;
/haiku/src/apps/terminal/
H A DTermView.cpp2223 int32 slash = string.FindLast("/"); local
2224 string.Truncate(slash);

Completed in 151 milliseconds