Lines Matching refs:path_len
147 size_t path_len; local
156 path_len = strlen(path);
157 if (path_len > (MAXPATHLEN - 1)) {
167 path_len = strlen(resolved_name);
168 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
199 path_len = path_file - path_tmp + 1;
201 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
202 if (path_len != 3) {
206 path_tmp[path_len] = '\0';
208 path_tmp[path_len - 1] = '\0';
211 path_tmp[path_len - 1] = '\0';
237 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {
409 int path_len = (int)strlen(path_info); local
410 filename = emalloc(length + path_len + 2);
419 strncpy(filename + length, path_info, path_len + 1);
769 int path_len; local
775 path_len = (int)strlen(filepath);
777 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
800 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;