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

/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp123 replace_executable_path_placeholder(const char*& dir, int& dirLength, argument
128 if (dirLength < (int)placeholderLength
164 dirLength -= placeholderLength;
172 try_open_executable(const char *dir, int dirLength, const char *name, argument
181 if (dirLength > 0) {
188 if (replace_executable_path_placeholder(dir, dirLength, "%A", 2,
190 || replace_executable_path_placeholder(dir, dirLength, "$ORIGIN", 7,
204 if (result == B_OK && strncmp(dir, buffer, dirLength) == 0) {
211 if (dirLength + 1 + subDirLen + nameLength >= pathLength)
214 memcpy(buffer, dir, dirLength);
[all...]

Completed in 33 milliseconds