Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 19 of 19) sorted by relevance

/haiku/src/libs/bsd/
H A Dprogname.c29 const char *slash = strrchr(programName, '/'); in setprogname() local
30 if (slash != NULL) in setprogname()
31 __progname = slash + 1; in setprogname()
/haiku/src/build/libroot/
H A Dfind_directory.cpp40 const char *slash = strchr(&path[i], '/'); in create_path() local
43 if (slash == NULL) in create_path()
45 else if (i != slash - path) in create_path()
46 i = slash - path; in create_path()
/haiku/src/system/libroot/os/
H A Dfind_paths.cpp241 char* slash = path; in create_directory() local
243 while (!found && (slash = strchr(slash + 1, '/')) != NULL) { in create_directory()
244 *slash = '\0'; in create_directory()
248 *slash = '/'; in create_directory()
255 while (slash != NULL) { in create_directory()
256 *slash = '\0'; in create_directory()
258 *slash = '/'; in create_directory()
263 slash = strchr(slash + 1, '/'); in create_directory()
H A Dfind_directory.cpp211 char *slash = strchr(&path[i], '/'); in create_path() local
214 if (slash == NULL) in create_path()
216 else if (i != slash - path) in create_path()
217 i = slash - path; in create_path()
/haiku/src/preferences/datatranslations/
H A DTranslatorListView.cpp54 int32 slash = fSupertype.FindFirst('/'); in TranslatorItem() local
55 fSupertype.Truncate(slash); in TranslatorItem()
/haiku/src/bin/debug/profile/
H A DCallgrindProfileResult.cpp193 char* slash = entityName; in PrintResults() local
194 while ((slash = strchr(slash, '/')) != NULL) in PrintResults()
195 *slash = '-'; in PrintResults()
/haiku/src/kits/storage/mime/
H A DDatabaseLocation.cpp768 const char* slash = strchr(type, '/'); in _CreateTypeNode() local
770 if (slash != NULL) in _CreateTypeNode()
771 superTypeName.SetTo(type, slash - type); in _CreateTypeNode()
793 if (slash != NULL) { in _CreateTypeNode()
794 result = superTypeDirectory.CreateFile(BString(slash + 1).ToLower(), in _CreateTypeNode()
801 if (slash != NULL) in _CreateTypeNode()
/haiku/src/add-ons/input_server/devices/tablet/
H A DTabletInputDevice.cpp252 int32 slash = string.FindLast("/"); in _BuildShortName() local
253 string.CopyInto(name, slash + 1, string.Length() - slash); in _BuildShortName()
256 int32 previousSlash = string.FindLast("/", slash); in _BuildShortName()
257 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1); in _BuildShortName()
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.cpp105 int32 slash = string.FindLast("/"); in get_short_name() local
106 string.CopyInto(name, slash + 1, string.Length() - slash); in get_short_name()
109 int32 previousSlash = string.FindLast("/", slash); in get_short_name()
110 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1); in get_short_name()
/haiku/src/bin/network/telnetd/
H A Dutility.c427 char *slash; in putf() local
453 slash = strchr(line+1, '/'); in putf()
455 slash = strrchr(line, '/'); in putf()
457 if (slash == (char *) 0) in putf()
460 putstr(&slash[1]); in putf()
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp310 int32 slash = string.FindLast("/"); in _BuildShortName() local
311 string.CopyInto(deviceName, slash + 1, string.Length() - slash); in _BuildShortName()
316 int32 previousSlash = string.FindLast("/", slash); in _BuildShortName()
317 string.CopyInto(name, previousSlash + 1, slash - previousSlash - 1); in _BuildShortName()
/haiku/src/system/kernel/
H A Dtimer.cpp189 if (const char* slash = strchr(imageName, '/')) in dump_timers() local
190 imageName = slash + 1; in dump_timers()
/haiku/src/tests/add-ons/print/ppd/doc/
H A DPPD_Object_Model.txt32 # In case of translation string it is separated by newline or slash.
/haiku/docs/user/storage/
H A DPath.dox91 - A trailing slash ("/boot/ltj/")
112 - A trailing slash ("/boot/ltj/")
191 - A trailing slash ("/boot/ltj/")
216 - A trailing slash ("/boot/ltj/")
262 - A trailing slash ("/boot/ltj/")
/haiku/docs/user/support/
H A Dparsedate.dox75 - \b - dash or slash
/haiku/src/apps/terminal/
H A DTermView.cpp2223 int32 slash = string.FindLast("/"); in _DoSecondaryMouseDropAction() local
2224 string.Truncate(slash); in _DoSecondaryMouseDropAction()
/haiku/docs/develop/kernel/
H A Dobsolete_pnp_manager.rst60 name, seperated by a slash character (note: this only applies to dynamic
/haiku/data/system/data/fortunes/
H A DComputers2601 …throw the first person they see to the ground, tie the tourniquet on him, slash him with the knife…
/haiku/src/apps/mail/
H A Dwords23724 slash/DGS