Home
last modified time | relevance | path

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

/base/startup/init/ueventd/
Dueventd_device_handler.c101 char *slash = NULL; in SetDeviceLable() local
104 slash = strchr(path, '/'); in SetDeviceLable()
105 while (slash != NULL) { in SetDeviceLable()
106 int gap = slash - p; in SetDeviceLable()
107 p = slash + 1; in SetDeviceLable()
109 slash = strchr(p, '/'); in SetDeviceLable()
121 slash = strchr(p, '/'); in SetDeviceLable()
/base/startup/init/services/utils/
Dinit_utils.c446 char *slash = strchr(dir, '/'); in MakeDirRecursive() local
447 while (slash != NULL) { in MakeDirRecursive()
448 int gap = slash - p; in MakeDirRecursive()
449 p = slash + 1; in MakeDirRecursive()
451 slash = strchr(p, '/'); in MakeDirRecursive()
460 slash = strchr(p, '/'); in MakeDirRecursive()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_standard_test.cpp84 const char *slash = strchr(dir, '/'); in MakeDirRecursive() local
85 while (slash != nullptr) { in MakeDirRecursive()
86 int gap = slash - p; in MakeDirRecursive()
87 p = slash + 1; in MakeDirRecursive()
89 slash = strchr(p, '/'); in MakeDirRecursive()
102 slash = strchr(p, '/'); in MakeDirRecursive()