/dports/databases/xapian-core12/xapian-core-1.2.25/backends/chert/ |
H A D | chert_check.cc | 76 int dir_end = DIR_END(p); in report_block_full() local 82 for (int c = DIR_START; c < dir_end; c += D2) { in report_block_full() 104 int dir_end = DIR_END(p); in report_block() local 110 for (c = DIR_START; c < dir_end; c += D2) { in report_block() 136 size_t dir_end = DIR_END(p); in block_check() local 137 int total_free = block_size - dir_end; in block_check() 145 if (dir_end <= DIR_START || dir_end > block_size || (dir_end & 1) != 1) in block_check() 152 for (c = DIR_START; c < dir_end; c += D2) { in block_check() 156 if (o - dir_end < max_free) failure(30); in block_check() 169 for (c = DIR_START; c < dir_end; c += D2) { in block_check() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/quest/ |
H A D | geas_glk.cpp | 206 uint dir_start = 1, dir_end; in absolute_name() local 208 dir_end = dir_start; in absolute_name() 209 while (dir_end < parent.length() && parent[dir_end] != '/') in absolute_name() 210 dir_end ++; in absolute_name() 211 path.push_back(parent.substr(dir_start, dir_end - dir_start)); in absolute_name() 212 dir_start = dir_end + 1; in absolute_name() 218 dir_end = dir_start; in absolute_name() 219 while (dir_end < rel_name.length() && rel_name[dir_end] != '/') in absolute_name() 220 dir_end ++; in absolute_name() 221 tmp = rel_name.substr(dir_start, dir_end - dir_start); in absolute_name() [all …]
|
/dports/x11-wm/afterstep/AfterStep-1.0/lib/ |
H A D | findIconFile.c | 21 char *dir_end; in findIconFile() local 53 dir_end = strchr(pathlist, ':'); in findIconFile() 54 if (dir_end != NULL) in findIconFile() 56 strncpy(path, pathlist, dir_end - pathlist); in findIconFile() 57 path[dir_end - pathlist] = 0; in findIconFile() 71 if(dir_end == NULL) in findIconFile() 74 pathlist = dir_end + 1; in findIconFile()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/backends/brass/ |
H A D | brass_check.cc | 77 int dir_end = DIR_END(p); in report_block_full() local 83 for (int c = DIR_START; c < dir_end; c += D2) { in report_block_full() 105 int dir_end = DIR_END(p); in report_block() local 111 for (c = DIR_START; c < dir_end; c += D2) { in report_block() 137 size_t dir_end = DIR_END(p); in block_check() local 138 int total_free = block_size - dir_end; in block_check() 145 if (dir_end <= DIR_START || dir_end > block_size) failure(20); in block_check() 151 for (c = DIR_START; c < dir_end; c += D2) { in block_check() 155 if (o - dir_end < max_free) failure(30); in block_check() 168 for (c = DIR_START; c < dir_end; c += D2) { in block_check() [all …]
|
/dports/databases/xapian-core12/xapian-core-1.2.25/backends/flint/ |
H A D | flint_check.cc | 81 int dir_end = DIR_END(p); in report_block_full() local 87 for (int c = DIR_START; c < dir_end; c += D2) { in report_block_full() 109 int dir_end = DIR_END(p); in report_block() local 115 for (c = DIR_START; c < dir_end; c += D2) { in report_block() 141 size_t dir_end = DIR_END(p); in block_check() local 142 int total_free = block_size - dir_end; in block_check() 149 if (dir_end <= DIR_START || dir_end > block_size) failure(20); in block_check() 155 for (c = DIR_START; c < dir_end; c += D2) { in block_check() 159 if (o - dir_end < max_free) failure(30); in block_check() 172 for (c = DIR_START; c < dir_end; c += D2) { in block_check() [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/backends/glass/ |
H A D | glass_check.cc | 94 int dir_end = DIR_END(p); in report_block_full() local 122 int dir_end = DIR_END(p); in report_block() local 129 if (c >= DIR_START + 6 && c < dir_end - 6) { in report_block() 166 int dir_end = DIR_END(p); in block_check() local 167 int total_free = block_size - dir_end; in block_check() 175 if (dir_end <= DIR_START || dir_end > int(block_size) || (dir_end & 1) != 1) in block_check() 185 for (c = DIR_START; c < dir_end; c += D2) { in block_check() 190 if (o - dir_end < int(max_free)) in block_check() 202 for (c = DIR_START; c < dir_end; c += D2) { in block_check() 207 if (o - dir_end < int(max_free)) in block_check() [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/backends/chert/ |
H A D | chert_check.cc | 80 int dir_end = DIR_END(p); in report_block_full() local 108 int dir_end = DIR_END(p); in report_block() local 114 for (c = DIR_START; c < dir_end; c += D2) { in report_block() 115 if (c >= DIR_START + 6 && c < dir_end - 6) { in report_block() 141 int dir_end = DIR_END(p); in block_check() local 142 int total_free = block_size - dir_end; in block_check() 157 if (dir_end <= DIR_START || dir_end > int(block_size) || (dir_end & 1) != 1) in block_check() 171 if (o - dir_end < int(max_free)) in block_check() 224 if (c + D2 < dir_end && in block_check() 279 int dir_end = DIR_END(buf); in check() local [all …]
|
/dports/emulators/citra/citra-ac98458e0/src/common/ |
H A D | string_util.cpp | 64 std::size_t dir_end = full_path.find_last_of("/" in SplitPath() local 70 if (std::string::npos == dir_end) in SplitPath() 71 dir_end = 0; in SplitPath() 73 dir_end += 1; in SplitPath() 76 if (fname_end < dir_end || std::string::npos == fname_end) in SplitPath() 80 *_pPath = full_path.substr(0, dir_end); in SplitPath() 83 *_pFilename = full_path.substr(dir_end, fname_end - dir_end); in SplitPath()
|
/dports/emulators/citra-qt5/citra-ac98458e0/src/common/ |
H A D | string_util.cpp | 64 std::size_t dir_end = full_path.find_last_of("/" in SplitPath() local 70 if (std::string::npos == dir_end) in SplitPath() 71 dir_end = 0; in SplitPath() 73 dir_end += 1; in SplitPath() 76 if (fname_end < dir_end || std::string::npos == fname_end) in SplitPath() 80 *_pPath = full_path.substr(0, dir_end); in SplitPath() 83 *_pFilename = full_path.substr(dir_end, fname_end - dir_end); in SplitPath()
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/fvwm/ |
H A D | read.c | 92 char *dir_end; in get_current_read_dir() local 98 dir_end = strrchr(curr_read_file, '/'); in get_current_read_dir() 99 if (!dir_end) in get_current_read_dir() 101 dir_end = curr_read_file; in get_current_read_dir() 103 curr_read_dir = safemalloc(dir_end - curr_read_file + 1); in get_current_read_dir() 105 dir_end - curr_read_file); in get_current_read_dir() 106 curr_read_dir[dir_end - curr_read_file] = '\0'; in get_current_read_dir()
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/fvwm/ |
H A D | read.c | 91 char *dir_end; in get_current_read_dir() local 97 dir_end = strrchr(curr_read_file, '/'); in get_current_read_dir() 98 if (!dir_end) in get_current_read_dir() 100 dir_end = curr_read_file; in get_current_read_dir() 102 curr_read_dir = fxmalloc(dir_end - curr_read_file + 1); in get_current_read_dir() 104 dir_end - curr_read_file); in get_current_read_dir() 105 curr_read_dir[dir_end - curr_read_file] = '\0'; in get_current_read_dir()
|
/dports/emulators/yuzu/yuzu-0b47f7a46/src/common/ |
H A D | string_util.cpp | 69 std::size_t dir_end = full_path.find_last_of("/" in SplitPath() local 75 if (std::string::npos == dir_end) in SplitPath() 76 dir_end = 0; in SplitPath() 78 dir_end += 1; in SplitPath() 81 if (fname_end < dir_end || std::string::npos == fname_end) in SplitPath() 85 *_pPath = full_path.substr(0, dir_end); in SplitPath() 88 *_pFilename = full_path.substr(dir_end, fname_end - dir_end); in SplitPath()
|
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/archivers/gtar/tar-1.34/gnu/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/archivers/gcpio/cpio-2.13/gnu/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/devel/m4/m4-1.4.19/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/sysutils/coreutils/coreutils-8.32/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/editors/zile/zile-2.4.14/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/devel/gdb/gdb-11.1/gnulib/import/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/math/octave/octave-6.4.0/libgnu/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/misc/gnuls/coreutils-8.30/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/devel/rcs/rcs-5.10.0/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/www/wget2/wget2-2.0.0/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in chdir_long() local 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in chdir_long() 163 assure (dir <= dir_end); in chdir_long() 165 while (PATH_MAX <= dir_end - dir) in chdir_long() 188 if (dir < dir_end) in chdir_long()
|
/dports/devel/patch/patch-2.7.6/lib/ |
H A D | chdir-long.c | 118 char *dir_end = dir + len; in alloc_failed() 142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); in alloc_failed() 163 assure (dir <= dir_end); in alloc_failed() 165 while (PATH_MAX <= dir_end - dir) in alloc_failed() 188 if (dir < dir_end) in alloc_failed()
|