Lines Matching refs:path_len
127 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat() local
150 path_len = strlen(path); in php_zip_ops_stat()
151 if (path_len >= MAXPATHLEN) { in php_zip_ops_stat()
155 memcpy(file_dirname, path, path_len - fragment_len); in php_zip_ops_stat()
156 file_dirname[path_len - fragment_len] = '\0'; in php_zip_ops_stat()
158 file_basename = php_basename((char *)path, path_len - fragment_len, NULL, 0); in php_zip_ops_stat()
176 if (path[path_len-1] != '/') { in php_zip_ops_stat()
284 size_t path_len; in php_stream_zip_opener() local
312 path_len = strlen(path); in php_stream_zip_opener()
313 if (path_len >= MAXPATHLEN || mode[0] != 'r') { in php_stream_zip_opener()
317 memcpy(file_dirname, path, path_len - fragment_len); in php_stream_zip_opener()
318 file_dirname[path_len - fragment_len] = '\0'; in php_stream_zip_opener()
320 file_basename = php_basename(path, path_len - fragment_len, NULL, 0); in php_stream_zip_opener()