Lines Matching refs:path_len
129 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat() local
152 path_len = strlen(path); in php_zip_ops_stat()
153 if (path_len >= MAXPATHLEN) { in php_zip_ops_stat()
157 memcpy(file_dirname, path, path_len - fragment_len); in php_zip_ops_stat()
158 file_dirname[path_len - fragment_len] = '\0'; in php_zip_ops_stat()
160 file_basename = php_basename((char *)path, path_len - fragment_len, NULL, 0); in php_zip_ops_stat()
178 if (path[path_len-1] != '/') { in php_zip_ops_stat()
269 size_t path_len; in php_stream_zip_opener() local
297 path_len = strlen(path); in php_stream_zip_opener()
298 if (path_len >= MAXPATHLEN || mode[0] != 'r') { in php_stream_zip_opener()
302 memcpy(file_dirname, path, path_len - fragment_len); in php_stream_zip_opener()
303 file_dirname[path_len - fragment_len] = '\0'; in php_stream_zip_opener()
305 file_basename = php_basename(path, path_len - fragment_len, NULL, 0); in php_stream_zip_opener()