Lines Matching refs:path_len
151 int path_len; local
160 path_len = strlen(path);
161 if (path_len > (MAXPATHLEN - 1)) {
171 path_len = strlen(resolved_name);
172 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
209 path_len = path_file - path_tmp + 1;
211 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
212 if (path_len != 3) {
216 path_tmp[path_len] = '\0';
218 path_tmp[path_len - 1] = '\0';
221 path_tmp[path_len - 1] = '\0';
246 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {
413 int path_len = strlen(path_info); local
414 filename = emalloc(length + path_len + 2);
423 strncpy(filename + length, path_info, path_len + 1);